你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConversationAuthoringDeployment.DeleteDeploymentFromResources Method

Definition

Overloads

Name Description
DeleteDeploymentFromResources(WaitUntil, ConversationAuthoringProjectResourceIds, CancellationToken)

Deletes a deployment from the specified project-assigned resources.

DeleteDeploymentFromResources(WaitUntil, RequestContent, RequestContext)

[Protocol Method] Deletes a deployment from the specified project-assigned resources.

DeleteDeploymentFromResources(WaitUntil, ConversationAuthoringProjectResourceIds, CancellationToken)

Source:
ConversationAuthoringDeployment.cs

Deletes a deployment from the specified project-assigned resources.

public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectResourceIds details, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteDeploymentFromResources : Azure.WaitUntil * Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectResourceIds * System.Threading.CancellationToken -> Azure.Operation
override this.DeleteDeploymentFromResources : Azure.WaitUntil * Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectResourceIds * System.Threading.CancellationToken -> Azure.Operation
Public Overridable Function DeleteDeploymentFromResources (waitUntil As WaitUntil, details As ConversationAuthoringProjectResourceIds, Optional cancellationToken As CancellationToken = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

details
ConversationAuthoringProjectResourceIds

The Language or AIService resource list for deleting the deployment.\r\n The deployment will only be deleted from the specified resources, and will remain for the rest.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

details is null.

Applies to

DeleteDeploymentFromResources(WaitUntil, RequestContent, RequestContext)

Source:
ConversationAuthoringDeployment.cs

[Protocol Method] Deletes a deployment from the specified project-assigned resources.

public virtual Azure.Operation DeleteDeploymentFromResources(Azure.WaitUntil waitUntil, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member DeleteDeploymentFromResources : Azure.WaitUntil * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Operation
override this.DeleteDeploymentFromResources : Azure.WaitUntil * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Operation
Public Overridable Function DeleteDeploymentFromResources (waitUntil As WaitUntil, content As RequestContent, Optional context As RequestContext = Nothing) As Operation

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
RequestContent

The content to send as the body of the request.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The Operation representing an asynchronous operation on the service.

Exceptions

content is null.

Service returned a non-success status code.

Applies to