ArmCosmosDBModelFactory.CosmosDBAccountConnectionString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CosmosDBAccountConnectionString(String, String)
- Source:
- ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString CosmosDBAccountConnectionString (string connectionString = default, string description = default);
static member CosmosDBAccountConnectionString : string * string -> Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString
Public Shared Function CosmosDBAccountConnectionString (Optional connectionString As String = Nothing, Optional description As String = Nothing) As CosmosDBAccountConnectionString
Parameters
- connectionString
- String
- description
- String
Returns
Applies to
CosmosDBAccountConnectionString(String, String, Nullable<CosmosDBKind>, Nullable<CosmosDBType>)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of CosmosDBAccountConnectionString.
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString CosmosDBAccountConnectionString (string connectionString = default, string description = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBKind? keyKind = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBType? keyType = default);
static member CosmosDBAccountConnectionString : string * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBKind> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBType> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString
Public Shared Function CosmosDBAccountConnectionString (Optional connectionString As String = Nothing, Optional description As String = Nothing, Optional keyKind As Nullable(Of CosmosDBKind) = Nothing, Optional keyType As Nullable(Of CosmosDBType) = Nothing) As CosmosDBAccountConnectionString
Parameters
- connectionString
- String
Value of the connection string.
- description
- String
Description of the connection string.
- keyKind
- Nullable<CosmosDBKind>
Kind of the connection string key.
- keyType
- Nullable<CosmosDBType>
Type of the connection string.
Returns
A new CosmosDBAccountConnectionString instance for mocking.