Compartilhar via


ArmCosmosDBModelFactory.MongoDBDatabaseData Method

Definition

Overloads

MongoDBDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedMongoDBDatabaseResourceInfo, MongoDBDatabasePropertiesConfig)
MongoDBDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedMongoDBDatabaseResourceInfo, MongoDBDatabasePropertiesConfig, ManagedServiceIdentity)

Initializes a new instance of MongoDBDatabaseData.

MongoDBDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedMongoDBDatabaseResourceInfo, MongoDBDatabasePropertiesConfig)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.MongoDBDatabaseData MongoDBDatabaseData (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.ExtendedMongoDBDatabaseResourceInfo resource = default, Azure.ResourceManager.CosmosDB.Models.MongoDBDatabasePropertiesConfig options = default);
static member MongoDBDatabaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.ExtendedMongoDBDatabaseResourceInfo * Azure.ResourceManager.CosmosDB.Models.MongoDBDatabasePropertiesConfig -> Azure.ResourceManager.CosmosDB.MongoDBDatabaseData
Public Shared Function MongoDBDatabaseData (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 ExtendedMongoDBDatabaseResourceInfo = Nothing, Optional options As MongoDBDatabasePropertiesConfig = Nothing) As MongoDBDatabaseData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation

Returns

Applies to

MongoDBDatabaseData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ExtendedMongoDBDatabaseResourceInfo, MongoDBDatabasePropertiesConfig, ManagedServiceIdentity)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of MongoDBDatabaseData.

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

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.

identity
ManagedServiceIdentity

Identity for the resource.

Returns

A new MongoDBDatabaseData instance for mocking.

Applies to