Share via


ArmCosmosDBModelFactory.RestorableGremlinDatabase Method

Definition

Initializes a new instance of RestorableGremlinDatabase.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resource
ExtendedRestorableGremlinDatabaseResourceInfo

The resource of an Azure Cosmos DB Gremlin database event.

Returns

A new RestorableGremlinDatabase instance for mocking.

Applies to