Share via


ConversationAuthoringProject.AuthorizeProjectCopyAsync Method

Definition

Overloads

AuthorizeProjectCopyAsync(ConversationAuthoringProjectKind, String, Nullable<Boolean>, CancellationToken)

Generates a copy project operation authorization to the current target Azure resource.

AuthorizeProjectCopyAsync(RequestContent, RequestContext)

[Protocol Method] Generates a copy project operation authorization to the current target Azure resource.

AuthorizeProjectCopyAsync(ConversationAuthoringProjectKind, String, Nullable<Boolean>, CancellationToken)

Source:
ConversationAuthoringProject.cs

Generates a copy project operation authorization to the current target Azure resource.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails>> AuthorizeProjectCopyAsync(Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind projectKind, string storageInputContainerName = default, bool? allowOverwrite = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AuthorizeProjectCopyAsync : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails>>
override this.AuthorizeProjectCopyAsync : Azure.AI.Language.Conversations.Authoring.ConversationAuthoringProjectKind * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringCopyProjectDetails>>
Public Overridable Function AuthorizeProjectCopyAsync (projectKind As ConversationAuthoringProjectKind, Optional storageInputContainerName As String = Nothing, Optional allowOverwrite As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConversationAuthoringCopyProjectDetails))

Parameters

projectKind
ConversationAuthoringProjectKind

Represents the project kind.

storageInputContainerName
String

The name of the storage container.

allowOverwrite
Nullable<Boolean>

Whether to allow an existing project to be overwritten using the resulting copy authorization.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

AuthorizeProjectCopyAsync(RequestContent, RequestContext)

Source:
ConversationAuthoringProject.cs

[Protocol Method] Generates a copy project operation authorization to the current target Azure resource.

public virtual System.Threading.Tasks.Task<Azure.Response> AuthorizeProjectCopyAsync(Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AuthorizeProjectCopyAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AuthorizeProjectCopyAsync : Azure.Core.RequestContent * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function AuthorizeProjectCopyAsync (content As RequestContent, Optional context As RequestContext = Nothing) As Task(Of Response)

Parameters

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 response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to