Compartilhar via


ArmCosmosDBModelFactory.MongoDBCollectionCreateOrUpdateContent Method

Definition

Overloads

MongoDBCollectionCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, MongoDBCollectionResourceInfo, CosmosDBCreateUpdateConfig)
MongoDBCollectionCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, MongoDBCollectionResourceInfo, CosmosDBCreateUpdateConfig, ManagedServiceIdentity)

Initializes a new instance of MongoDBCollectionCreateOrUpdateContent.

MongoDBCollectionCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, MongoDBCollectionResourceInfo, CosmosDBCreateUpdateConfig)

Source:
ArmCosmosDBModelFactory.cs
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);
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.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) As MongoDBCollectionCreateOrUpdateContent

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation

Returns

Applies to

MongoDBCollectionCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, MongoDBCollectionResourceInfo, CosmosDBCreateUpdateConfig, ManagedServiceIdentity)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

resource
MongoDBCollectionResourceInfo

The standard JSON format of a MongoDB collection.

options
CosmosDBCreateUpdateConfig

A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.

identity
ManagedServiceIdentity

Identity for the resource.

Returns

A new MongoDBCollectionCreateOrUpdateContent instance for mocking.

Applies to