ArmCosmosDBModelFactory.MongoDBCollectionData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MongoDBCollectionData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedMongoDBCollectionResourceInfo, MongoDBCollectionPropertiesConfig)
- Source:
- ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.MongoDBCollectionData MongoDBCollectionData (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.ExtendedMongoDBCollectionResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionPropertiesConfig options = default);
static member MongoDBCollectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo * Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionPropertiesConfig -> Azure.ResourceManager.CosmosDB.MongoDBCollectionData
Public Shared Function MongoDBCollectionData (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 ExtendedMongoDBCollectionResourceInfo = Nothing, Optional options As MongoDBCollectionPropertiesConfig = Nothing) As MongoDBCollectionData
Parameters
- name
- String
- resourceType
- ResourceType
- systemData
- SystemData
- tags
- IDictionary<String,String>
- location
- AzureLocation
Returns
Applies to
MongoDBCollectionData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedMongoDBCollectionResourceInfo, MongoDBCollectionPropertiesConfig, ManagedServiceIdentity)
- Source:
- ArmCosmosDBModelFactory.cs
Initializes a new instance of MongoDBCollectionData.
public static Azure.ResourceManager.CosmosDB.MongoDBCollectionData MongoDBCollectionData (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.ExtendedMongoDBCollectionResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionPropertiesConfig options = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member MongoDBCollectionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBCollectionResourceInfo * Azure.ResourceManager.CosmosDB.Models.MongoDBCollectionPropertiesConfig * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.MongoDBCollectionData
Public Shared Function MongoDBCollectionData (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 ExtendedMongoDBCollectionResourceInfo = Nothing, Optional options As MongoDBCollectionPropertiesConfig = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As MongoDBCollectionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- identity
- ManagedServiceIdentity
Identity for the resource.
Returns
A new MongoDBCollectionData instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET