v10

latestSwagger 2.02026-07-137784220.8 KB
Custom Speech models:

Copies a model from one subscription to another.

This method can be used to copy a model from this speech resource to a target one. The authorization is obtained on the target speech resource. Only custom models can be copied to another speech resource.

post/models/{id}:copy

Path parameters

idstring uuid required

The identifier of the model that will be copied.

Request body

targetResourceRegionstring required

The region (aka location) of the target speech resource (e.g., westus2).

targetResourceIdstring required

The Azure Resource ID of the target speech resource.

targetResourceEndpointstring required

The endpoint (base url) of the target resource (with custom domain name when it is used).

sourceResourceIdstring required

The Azure Resource ID of the source speech resource.

expirationDateTimestring date-time required

The expiration date of this copy authorization.

idstring required

The ID of this copy authorization.

Response

The response contains information about the entity as payload and its location as header.

idstring uuid required

The identifier of this Operation.

selfstring uri

The location of this entity.

lastActionDateTimestring date-time

The time-stamp when the current status was entered. The time stamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).

status'NotStarted' | 'Running' | 'Succeeded' | 'Failed'

Describe the current state of the API

createdDateTimestring date-time

The time-stamp when the object was created. The time stamp is encoded as ISO 8601 date and time format ("YYYY-MM-DDThh:mm:ssZ", see https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations).