copy_model_tos
Creates, updates, deletes, gets or lists a copy_model_tos resource.
Overview
| Name | copy_model_tos |
| Type | Resource |
| Id | azure.ai_document_intelligence.copy_model_tos |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
copy_model_to | exec | model_id, endpoint, targetResourceId, targetResourceRegion, targetModelId, targetModelLocation, accessToken, expirationDateTime | Copies document model to the target resource, region, and modelId. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpoint | string | The service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: ) |
model_id | string | Unique document model name. Required. |
Lifecycle Methods
- copy_model_to
Copies document model to the target resource, region, and modelId.
EXEC azure.ai_document_intelligence.copy_model_tos.copy_model_to
@model_id='{{ model_id }}' --required,
@endpoint='{{ endpoint }}' --required
@@json=
'{
"targetResourceId": "{{ targetResourceId }}",
"targetResourceRegion": "{{ targetResourceRegion }}",
"targetModelId": "{{ targetModelId }}",
"targetModelLocation": "{{ targetModelLocation }}",
"accessToken": "{{ accessToken }}",
"expirationDateTime": "{{ expirationDateTime }}"
}'
;