共用方式為


ArmCognitiveServicesModelFactory.CognitiveServicesAccountDeploymentProperties Method

Definition

Initializes a new instance of CognitiveServicesAccountDeploymentProperties.

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProperties CognitiveServicesAccountDeploymentProperties (Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProvisioningState? provisioningState = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel model = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleSettings scaleSettings = default, System.Collections.Generic.IReadOnlyDictionary<string,string> capabilities = default, string raiPolicyName = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit callRateLimit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingRule> rateLimits = default, Azure.ResourceManager.CognitiveServices.Models.DeploymentModelVersionUpgradeOption? versionUpgradeOption = default, bool? isDynamicThrottlingEnabled = default, int? currentCapacity = default, Azure.ResourceManager.CognitiveServices.Models.DeploymentCapacitySettings capacitySettings = default, string parentDeploymentName = default);
static member CognitiveServicesAccountDeploymentProperties : Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProvisioningState> * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleSettings * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit * seq<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingRule> * Nullable<Azure.ResourceManager.CognitiveServices.Models.DeploymentModelVersionUpgradeOption> * Nullable<bool> * Nullable<int> * Azure.ResourceManager.CognitiveServices.Models.DeploymentCapacitySettings * string -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProperties
Public Shared Function CognitiveServicesAccountDeploymentProperties (Optional provisioningState As Nullable(Of CognitiveServicesAccountDeploymentProvisioningState) = Nothing, Optional model As CognitiveServicesAccountDeploymentModel = Nothing, Optional scaleSettings As CognitiveServicesAccountDeploymentScaleSettings = Nothing, Optional capabilities As IReadOnlyDictionary(Of String, String) = Nothing, Optional raiPolicyName As String = Nothing, Optional callRateLimit As ServiceAccountCallRateLimit = Nothing, Optional rateLimits As IEnumerable(Of ServiceAccountThrottlingRule) = Nothing, Optional versionUpgradeOption As Nullable(Of DeploymentModelVersionUpgradeOption) = Nothing, Optional isDynamicThrottlingEnabled As Nullable(Of Boolean) = Nothing, Optional currentCapacity As Nullable(Of Integer) = Nothing, Optional capacitySettings As DeploymentCapacitySettings = Nothing, Optional parentDeploymentName As String = Nothing) As CognitiveServicesAccountDeploymentProperties

Parameters

provisioningState
Nullable<CognitiveServicesAccountDeploymentProvisioningState>

Gets the status of the resource at the time the operation was called.

model
CognitiveServicesAccountDeploymentModel

Properties of Cognitive Services account deployment model.

scaleSettings
CognitiveServicesAccountDeploymentScaleSettings

Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.).

capabilities
IReadOnlyDictionary<String,String>

The capabilities.

raiPolicyName
String

The name of RAI policy.

callRateLimit
ServiceAccountCallRateLimit

The call rate limit Cognitive Services account.

versionUpgradeOption
Nullable<DeploymentModelVersionUpgradeOption>

Deployment model version upgrade option.

isDynamicThrottlingEnabled
Nullable<Boolean>

If the dynamic throttling is enabled.

currentCapacity
Nullable<Int32>

The current capacity.

capacitySettings
DeploymentCapacitySettings

Internal use only.

parentDeploymentName
String

The name of parent deployment.

Returns

A new CognitiveServicesAccountDeploymentProperties instance for mocking.

Applies to