azure-native.cosmosdb.listDatabaseAccountConnectionStrings
Explore with Pulumi AI
Lists the connection strings for the specified Azure Cosmos DB database account.
Uses Azure REST API version 2024-11-15.
Other available API versions: 2015-04-01, 2015-04-08, 2015-11-06, 2016-03-19, 2016-03-31, 2019-08-01, 2019-12-12, 2020-03-01, 2020-04-01, 2020-06-01-preview, 2020-09-01, 2021-01-15, 2021-03-01-preview, 2021-03-15, 2021-04-01-preview, 2021-04-15, 2021-05-15, 2021-06-15, 2021-07-01-preview, 2021-10-15, 2021-10-15-preview, 2021-11-15-preview, 2022-02-15-preview, 2022-05-15, 2022-05-15-preview, 2022-08-15, 2022-08-15-preview, 2022-11-15, 2022-11-15-preview, 2023-03-01-preview, 2023-03-15, 2023-03-15-preview, 2023-04-15, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cosmosdb [ApiVersion]. See the version guide for details.
Using listDatabaseAccountConnectionStrings
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listDatabaseAccountConnectionStrings(args: ListDatabaseAccountConnectionStringsArgs, opts?: InvokeOptions): Promise<ListDatabaseAccountConnectionStringsResult>
function listDatabaseAccountConnectionStringsOutput(args: ListDatabaseAccountConnectionStringsOutputArgs, opts?: InvokeOptions): Output<ListDatabaseAccountConnectionStringsResult>def list_database_account_connection_strings(account_name: Optional[str] = None,
                                             resource_group_name: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> ListDatabaseAccountConnectionStringsResult
def list_database_account_connection_strings_output(account_name: Optional[pulumi.Input[str]] = None,
                                             resource_group_name: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[ListDatabaseAccountConnectionStringsResult]func ListDatabaseAccountConnectionStrings(ctx *Context, args *ListDatabaseAccountConnectionStringsArgs, opts ...InvokeOption) (*ListDatabaseAccountConnectionStringsResult, error)
func ListDatabaseAccountConnectionStringsOutput(ctx *Context, args *ListDatabaseAccountConnectionStringsOutputArgs, opts ...InvokeOption) ListDatabaseAccountConnectionStringsResultOutput> Note: This function is named ListDatabaseAccountConnectionStrings in the Go SDK.
public static class ListDatabaseAccountConnectionStrings 
{
    public static Task<ListDatabaseAccountConnectionStringsResult> InvokeAsync(ListDatabaseAccountConnectionStringsArgs args, InvokeOptions? opts = null)
    public static Output<ListDatabaseAccountConnectionStringsResult> Invoke(ListDatabaseAccountConnectionStringsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListDatabaseAccountConnectionStringsResult> listDatabaseAccountConnectionStrings(ListDatabaseAccountConnectionStringsArgs args, InvokeOptions options)
public static Output<ListDatabaseAccountConnectionStringsResult> listDatabaseAccountConnectionStrings(ListDatabaseAccountConnectionStringsArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cosmosdb:listDatabaseAccountConnectionStrings
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account
Name string - Cosmos DB database account name.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Account
Name string - Cosmos DB database account name.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- account
Name String - Cosmos DB database account name.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- account
Name string - Cosmos DB database account name.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- account_
name str - Cosmos DB database account name.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- account
Name String - Cosmos DB database account name.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
listDatabaseAccountConnectionStrings Result
The following output properties are available:
- Connection
Strings List<Pulumi.Azure Native. Cosmos DB. Outputs. Database Account Connection String Response>  - An array that contains the connection strings for the Cosmos DB account.
 
- Connection
Strings []DatabaseAccount Connection String Response  - An array that contains the connection strings for the Cosmos DB account.
 
- connection
Strings List<DatabaseAccount Connection String Response>  - An array that contains the connection strings for the Cosmos DB account.
 
- connection
Strings DatabaseAccount Connection String Response[]  - An array that contains the connection strings for the Cosmos DB account.
 
- connection_
strings Sequence[DatabaseAccount Connection String Response]  - An array that contains the connection strings for the Cosmos DB account.
 
- connection
Strings List<Property Map> - An array that contains the connection strings for the Cosmos DB account.
 
Supporting Types
DatabaseAccountConnectionStringResponse    
- Connection
String string - Value of the connection string
 - Description string
 - Description of the connection string
 - Key
Kind string - Kind of the connection string key
 - Type string
 - Type of the connection string
 
- Connection
String string - Value of the connection string
 - Description string
 - Description of the connection string
 - Key
Kind string - Kind of the connection string key
 - Type string
 - Type of the connection string
 
- connection
String String - Value of the connection string
 - description String
 - Description of the connection string
 - key
Kind String - Kind of the connection string key
 - type String
 - Type of the connection string
 
- connection
String string - Value of the connection string
 - description string
 - Description of the connection string
 - key
Kind string - Kind of the connection string key
 - type string
 - Type of the connection string
 
- connection_
string str - Value of the connection string
 - description str
 - Description of the connection string
 - key_
kind str - Kind of the connection string key
 - type str
 - Type of the connection string
 
- connection
String String - Value of the connection string
 - description String
 - Description of the connection string
 - key
Kind String - Kind of the connection string key
 - type String
 - Type of the connection string
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0