Compartilhar via


ArmCosmosDBModelFactory.MongoDBCollectionCreateOrUpdateContent Método

Definição

Inicializa uma nova instância de MongoDBCollectionCreateOrUpdateContent.

public static Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionCreateOrUpdateContent MongoDBCollectionCreateOrUpdateContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBCreateUpdateConfig options = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member MongoDBCollectionCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionResourceInfo * Azure.ResourceManager.CosmosDB.Models.CosmosDBCreateUpdateConfig * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionCreateOrUpdateContent
Public Shared Function MongoDBCollectionCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional resource As MongoDBCollectionResourceInfo = Nothing, Optional options As CosmosDBCreateUpdateConfig = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As MongoDBCollectionCreateOrUpdateContent

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

resource
MongoDBCollectionResourceInfo

O formato JSON padrão de uma coleção do MongoDB.

options
CosmosDBCreateUpdateConfig

Um par chave-valor de opções a serem aplicadas à solicitação. Isso corresponde aos cabeçalhos enviados com a solicitação.

identity
ManagedServiceIdentity

Identidade do recurso.

Retornos

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

Aplica-se a