Compartilhar via


ArmCosmosDBModelFactory.CosmosDBServiceProperties Método

Definição

Inicializa uma nova instância do CosmosDBServiceProperties.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties CosmosDBServiceProperties (DateTimeOffset? createdOn = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize? instanceSize = default, int? instanceCount = default, string serviceType = "Unknown", Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus? status = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member CosmosDBServiceProperties : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize> * Nullable<int> * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties
Public Shared Function CosmosDBServiceProperties (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional instanceSize As Nullable(Of CosmosDBServiceSize) = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing, Optional serviceType As String = "Unknown", Optional status As Nullable(Of CosmosDBServiceStatus) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As CosmosDBServiceProperties

Parâmetros

createdOn
Nullable<DateTimeOffset>

Hora da última alteração de estado (formato ISO-8601).

instanceSize
Nullable<CosmosDBServiceSize>

Tipo de instância para o serviço.

instanceCount
Nullable<Int32>

Contagem de instâncias para o serviço.

serviceType
String

ServiceType para o serviço.

status
Nullable<CosmosDBServiceStatus>

Descreve o status de um serviço.

additionalProperties
IDictionary<String,BinaryData>

Propriedades adicionais.

Retornos

Uma nova CosmosDBServiceProperties instância para simulação.

Aplica-se a