Compartilhar via


ArmCosmosDBModelFactory.RestorableMongoDBCollection Method

Definition

Initializes a new instance of RestorableMongoDBCollection.

public static Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection RestorableMongoDBCollection (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableMongoDBCollectionResourceInfo resource = default);
static member RestorableMongoDBCollection : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.CosmosDB.Models.ExtendedRestorableMongoDBCollectionResourceInfo -> Azure.ResourceManager.CosmosDB.Models.RestorableMongoDBCollection
Public Shared Function RestorableMongoDBCollection (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resource As ExtendedRestorableMongoDBCollectionResourceInfo = Nothing) As RestorableMongoDBCollection

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resource
ExtendedRestorableMongoDBCollectionResourceInfo

The resource of an Azure Cosmos DB MongoDB collection event.

Returns

A new RestorableMongoDBCollection instance for mocking.

Applies to