共用方式為


ArmCosmosDBModelFactory.CosmosDBThroughputPoolAccountData Method

Definition

Initializes a new instance of CosmosDBThroughputPoolAccountData.

public static Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountData CosmosDBThroughputPoolAccountData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBStatus? provisioningState = default, Azure.Core.ResourceIdentifier accountResourceIdentifier = default, Azure.Core.AzureLocation? accountLocation = default, string accountInstanceId = default);
static member CosmosDBThroughputPoolAccountData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBStatus> * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * string -> Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountData
Public Shared Function CosmosDBThroughputPoolAccountData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of CosmosDBStatus) = Nothing, Optional accountResourceIdentifier As ResourceIdentifier = Nothing, Optional accountLocation As Nullable(Of AzureLocation) = Nothing, Optional accountInstanceId As String = Nothing) As CosmosDBThroughputPoolAccountData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<CosmosDBStatus>

A provisioning state of the ThroughputPool Account.

accountResourceIdentifier
ResourceIdentifier

The resource identifier of global database account in the throughputPool.

accountLocation
Nullable<AzureLocation>

The location of global database account in the throughputPool.

accountInstanceId
String

The instance id of global database account in the throughputPool.

Returns

A new CosmosDBThroughputPoolAccountData instance for mocking.

Applies to