共用方式為


ArmCosmosDBModelFactory.CosmosDBAccountConnectionString Method

Definition

Overloads

CosmosDBAccountConnectionString(String, String)
CosmosDBAccountConnectionString(String, String, Nullable<CosmosDBKind>, Nullable<CosmosDBType>)

Initializes a new instance of CosmosDBAccountConnectionString.

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.

Applies to