swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector MongoClusterOperations API schemes: - https tags: - name: MongoClusterOperations paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings : post: description: List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster. tags: - MongoClusterOperations operationId: microsoftAzureMongoclustersListconnectionstrings x-ms-examples: Get connection string: $ref: ./examples/mongo-cluster/CosmosDBMongoClusterListConnectionStrings.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/MongoClusterNameParameter' responses: '200': description: The operation completed successfully. schema: $ref: '#/definitions/ListConnectionStringsResult' default: description: Error response describing why the operation failed. schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Documentdb Mongoclusters Mongoclustername Listconnectionstrings definitions: ListConnectionStringsResult: type: object description: The connection strings for the given mongo cluster. properties: connectionStrings: readOnly: true type: array description: An array that contains the connection strings for a mongo cluster. x-ms-identifiers: [] items: $ref: '#/definitions/ConnectionString' ConnectionString: type: object description: Connection string for the mongo cluster properties: connectionString: readOnly: true type: string description: Value of the connection string description: readOnly: true type: string description: Description of the connection string parameters: MongoClusterNameParameter: name: mongoClusterName in: path required: true type: string description: The name of the mongo cluster. minLength: 3 maxLength: 40 x-ms-parameter-location: method pattern: ^[a-z0-9]+(-[a-z0-9]+)* x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'