Compartilhar via


ArmCosmosDBModelFactory.CosmosDBServiceData Método

Definição

Inicializa uma nova instância do CosmosDBServiceData.

public static Azure.ResourceManager.CosmosDB.CosmosDBServiceData CosmosDBServiceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties properties = default);
static member CosmosDBServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceProperties -> Azure.ResourceManager.CosmosDB.CosmosDBServiceData
Public Shared Function CosmosDBServiceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As CosmosDBServiceProperties = Nothing) As CosmosDBServiceData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

properties
CosmosDBServiceProperties

Recurso de resposta de serviços. CosmosDBServiceProperties Observe que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem DataTransferServiceProperties, MaterializedViewsBuilderServicePropertiesGraphApiComputeServicePropertiese SqlDedicatedGatewayServiceProperties.

Retornos

Uma nova CosmosDBServiceData instância para zombar.

Aplica-se a