Description | : Deletes a deployment from the specified project-assigned resources. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "ConversationAuthoringDeployment_DeleteDeploymentFromResources", "Description": { "new": "Deletes a deployment from the specified project-assigned resources.", "old": "Deletes a project deployment from the specified assigned resources." }, "$parameters": [ { "#name": "body", "Description": { "new": "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.", "old": "The options for deleting the deployment." }, "$schema": { "Description": { "new": "Represents the payload for deleting a project deployment.", "old": "Represents the options for deleting a project deployment." }, "$properties": [ { "#name": "assignedResourceIds", "Description": { "new": "Represents the Language or AIService resource IDs to unassign from the project or delete the deployment from.", "old": "Represents the resource IDs to delete the deployment from. If not provided, the deployment will be rolled out from all the resources it is deployed to. If provided, it will delete the deployment only from the specified assigned resources, and leave it for the rest." } } ] } } ] }
⚼ Request
POST:
/authoring/analyze-conversations/projects/{projectName}/deployments/{deploymentName}/:delete-from-resources
{
api-version:
string
,
projectName:
string
,
deploymentName:
string
,
body:
}
{
,
assignedResourceIds:
}
[
,
string
,
]
⚐ Response (202)
{
operation-location:
string
,
}
⚐ Response (default)
{
$headers:
{
,
x-ms-error-code:
string
,
}
$schema:
}
{
,
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
innererror:
}
{
,
code:
string
,
innererror:
string
,
}