共用方式為


ArmCosmosDBModelFactory.RestorableSqlContainer Method

Definition

Initializes a new instance of RestorableSqlContainer.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resource
ExtendedRestorableSqlContainerResourceInfo

The resource of an Azure Cosmos DB SQL container event.

Returns

A new RestorableSqlContainer instance for mocking.

Applies to