DeploymentsOperations interface

Interface representing a Deployments operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Update the state of specified deployments associated with the Cognitive Services account.

delete

Deletes the specified deployment associated with the Cognitive Services account.

get

Gets the specified deployments associated with the Cognitive Services account.

list

Gets the deployments associated with the Cognitive Services account.

listSkus

Lists the specified deployments skus associated with the Cognitive Services account.

pause

Pauses inferencing on a deployment by setting the deploymentState to 'Paused' (see #/definitions/DeploymentProperties/properties/deploymentState). Only Standard, DataZoneStandard, and GlobalStandard SKUs support this operation. Inference requests to the paused deployment endpoint will receive HTTP 423 (Locked). This operation is idempotent.

resume

Resumes inferencing on a previously paused deployment by setting the deploymentState to 'Running' (see #/definitions/DeploymentProperties/properties/deploymentState). This operation is idempotent and can be safely called on already running deployments.

update

Update specified deployments associated with the Cognitive Services account.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Deployment>, Deployment>>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Deployment>, Deployment>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => Promise<Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => Promise<Deployment>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Deployment>, Deployment>>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Deployment>, Deployment>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams) => Promise<Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams) => Promise<Deployment>

createOrUpdate

Update the state of specified deployments associated with the Cognitive Services account.

createOrUpdate: (resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Deployment>, Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, deployment: Deployment, options?: DeploymentsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Deployment>, Deployment>

delete

Deletes the specified deployment associated with the Cognitive Services account.

delete: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets the specified deployments associated with the Cognitive Services account.

get: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsGetOptionalParams) => Promise<Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsGetOptionalParams) => Promise<Deployment>

list

Gets the deployments associated with the Cognitive Services account.

list: (resourceGroupName: string, accountName: string, options?: DeploymentsListOptionalParams) => PagedAsyncIterableIterator<Deployment, Deployment[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: DeploymentsListOptionalParams) => PagedAsyncIterableIterator<Deployment, Deployment[], PageSettings>

listSkus

Lists the specified deployments skus associated with the Cognitive Services account.

listSkus: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsListSkusOptionalParams) => PagedAsyncIterableIterator<SkuResource, SkuResource[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsListSkusOptionalParams) => PagedAsyncIterableIterator<SkuResource, SkuResource[], PageSettings>

pause

Pauses inferencing on a deployment by setting the deploymentState to 'Paused' (see #/definitions/DeploymentProperties/properties/deploymentState). Only Standard, DataZoneStandard, and GlobalStandard SKUs support this operation. Inference requests to the paused deployment endpoint will receive HTTP 423 (Locked). This operation is idempotent.

pause: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsPauseOptionalParams) => Promise<Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsPauseOptionalParams) => Promise<Deployment>

resume

Resumes inferencing on a previously paused deployment by setting the deploymentState to 'Running' (see #/definitions/DeploymentProperties/properties/deploymentState). This operation is idempotent and can be safely called on already running deployments.

resume: (resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsResumeOptionalParams) => Promise<Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, options?: DeploymentsResumeOptionalParams) => Promise<Deployment>

update

Update specified deployments associated with the Cognitive Services account.

update: (resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams) => PollerLike<OperationState<Deployment>, Deployment>

Property Value

(resourceGroupName: string, accountName: string, deploymentName: string, deployment: PatchResourceTagsAndSku, options?: DeploymentsUpdateOptionalParams) => PollerLike<OperationState<Deployment>, Deployment>