ArmCognitiveServicesModelFactory.CognitiveServicesManagedComputeDeploymentProperties Method

Definition

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentProperties CognitiveServicesManagedComputeDeploymentProperties(Uri model = default, string deploymentTemplate = default, string acceleratorType = default, Azure.ResourceManager.CognitiveServices.Models.DeploymentModelVersionUpgradeOption? versionUpgradeOption = default, string computeId = default, string priority = default, int? acceleratorsPerInstance = default, int? totalAccelerators = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountProvisioningState? provisioningState = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentProvisioningDetails provisioningDetails = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentRoutes routes = default);
static member CognitiveServicesManagedComputeDeploymentProperties : Uri * string * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.DeploymentModelVersionUpgradeOption> * string * string * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountProvisioningState> * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentProvisioningDetails * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentRoutes -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesManagedComputeDeploymentProperties
Public Shared Function CognitiveServicesManagedComputeDeploymentProperties (Optional model As Uri = Nothing, Optional deploymentTemplate As String = Nothing, Optional acceleratorType As String = Nothing, Optional versionUpgradeOption As Nullable(Of DeploymentModelVersionUpgradeOption) = Nothing, Optional computeId As String = Nothing, Optional priority As String = Nothing, Optional acceleratorsPerInstance As Nullable(Of Integer) = Nothing, Optional totalAccelerators As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of ServiceAccountProvisioningState) = Nothing, Optional provisioningDetails As CognitiveServicesManagedComputeDeploymentProvisioningDetails = Nothing, Optional routes As CognitiveServicesManagedComputeDeploymentRoutes = Nothing) As CognitiveServicesManagedComputeDeploymentProperties

Parameters

model
Uri

AzureML Registry model asset URI. Required on creation; immutable after creation. Example: azureml://registries/{registry}/models/{model}/versions/{version}

deploymentTemplate
String

Deployment template identifier. Optional on creation. Accepts an AzureML Registry deployment template URI or a project-scoped deployment template path for VmManagedCompute. Examples: azureml://registries/{registry}/deploymenttemplates/{template}/versions/{version}, projects/{project}/deploymentTemplates/{template}/versions/{version}

acceleratorType
String

Accelerator type (e.g., H100_80GB). Optional on creation; immutable after creation.

versionUpgradeOption
Nullable<DeploymentModelVersionUpgradeOption>

Template auto-upgrade policy. Defaults to OnceNewDefaultVersionAvailable.

computeId
String

Foundry compute ARM resource ID for VM-backed managed compute deployments. Required when sku.name is VmManagedCompute; immutable after creation.

priority
String

Scheduling priority for VM-backed managed compute deployments. Immutable after creation.

acceleratorsPerInstance
Nullable<Int32>

Read-only. Number of accelerators (GPUs) consumed by each model instance, sourced from the deployment template.

totalAccelerators
Nullable<Int32>

Read-only. Total accelerators allocated: sku.capacity (instances) x acceleratorsPerInstance.

provisioningState
Nullable<ServiceAccountProvisioningState>

Read-only. Current provisioning state.

provisioningDetails
CognitiveServicesManagedComputeDeploymentProvisioningDetails

Read-only. Status message and timestamp from the last provisioning operation.

routes
CognitiveServicesManagedComputeDeploymentRoutes

Read-only. Inference route paths relative to the account endpoint. Populated when provisioningState is Succeeded.

Returns

A new CognitiveServicesManagedComputeDeploymentProperties instance for mocking.

Applies to