Share via


ConversationAuthoringProject.AuthorizeProjectCopy Method

Definition

Overloads

Name Description
AuthorizeProjectCopy(RequestContent, RequestContext)

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

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

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

AuthorizeProjectCopy(RequestContent, RequestContext)

Source:
ConversationAuthoringProject.cs

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

public virtual Azure.Response AuthorizeProjectCopy(Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member AuthorizeProjectCopy : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.AuthorizeProjectCopy : Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function AuthorizeProjectCopy (content As RequestContent, Optional context As RequestContext = Nothing) As 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

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

Source:
ConversationAuthoringProject.cs

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

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