Compartilhar via


ArmCosmosDBModelFactory.CosmosDBThroughputPoolData Method

Definition

Initializes a new instance of CosmosDBThroughputPoolData.

public static Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolData CosmosDBThroughputPoolData (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.CosmosDBStatus? provisioningState = default, int? maxThroughput = default);
static member CosmosDBThroughputPoolData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBStatus> * Nullable<int> -> Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolData
Public Shared Function CosmosDBThroughputPoolData (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 provisioningState As Nullable(Of CosmosDBStatus) = Nothing, Optional maxThroughput As Nullable(Of Integer) = Nothing) As CosmosDBThroughputPoolData

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.

provisioningState
Nullable<CosmosDBStatus>

A provisioning state of the ThroughputPool.

maxThroughput
Nullable<Int32>

Value for throughput to be shared among CosmosDB resources in the pool.

Returns

A new CosmosDBThroughputPoolData instance for mocking.

Applies to