Compartilhar via


ArmCosmosDBModelFactory.MongoDBDatabaseCreateOrUpdateContent Método

Definição

Inicializa uma nova instância de MongoDBDatabaseCreateOrUpdateContent.

public static Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseCreateOrUpdateContent MongoDBDatabaseCreateOrUpdateContent (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.MongoDBDatabaseResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBCreateUpdateConfig options = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member MongoDBDatabaseCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseResourceInfo * Azure.ResourceManager.CosmosDB.Models.CosmosDBCreateUpdateConfig * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.Models.MongoDBDatabaseCreateOrUpdateContent
Public Shared Function MongoDBDatabaseCreateOrUpdateContent (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 MongoDBDatabaseResourceInfo = Nothing, Optional options As CosmosDBCreateUpdateConfig = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As MongoDBDatabaseCreateOrUpdateContent

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
MongoDBDatabaseResourceInfo

O formato JSON padrão de um banco de dados 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 MongoDBDatabaseCreateOrUpdateContent instância para simulação.

Aplica-se a