Skip to content

Commit

Permalink
Addressed comments, added x-ms-long-running-operation to a patch call (
Browse files Browse the repository at this point in the history
…#22005)

* Addressed comments, added x-ms-long-running-operation to a patch call

* fix examples for patch - remove body

* fixed formatting
  • Loading branch information
ivaliyivanov authored Dec 28, 2022
1 parent 43a9ffb commit 4483d3b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 156 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,85 +223,7 @@
}
},
"202": {
"headers": {},
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"properties": {
"string": "string"
},
"regionDetails": [
{
"location": "string",
"storageAccountDetails": [
{
"systemCreatedStorageAccount": {
"storageAccountType": "string",
"storageAccountHnsEnabled": false,
"armResourceId": {
"resourceId": "string"
},
"allowBlobPublicAccess": false
}
}
],
"acrDetails": [
{
"systemCreatedAcrAccount": {
"acrAccountSku": "string",
"armResourceId": {
"resourceId": "string"
}
}
}
]
}
],
"managedResourceGroup": {
"resourceId": "string"
},
"privateLinkCount": 0,
"publicNetworkAccess": "Disabled",
"mlFlowRegistryUri": "string",
"intellectualPropertyPublisher": "string",
"discoveryUrl": "string"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999Z",
"createdBy": "string",
"createdByType": "Key",
"lastModifiedAt": "2020-01-01T12:34:56.999Z",
"lastModifiedBy": "string",
"lastModifiedByType": "ManagedIdentity"
},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"userAssignedIdentities": {
"string": {
"principalId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
}
}
},
"sku": {
"name": "string",
"tier": "Standard",
"size": "string",
"family": "string",
"capacity": 1
}
}
"headers": {}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -211,81 +211,7 @@
}
},
"202": {
"headers": {},
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"properties": {
"string": "string"
},
"regionDetails": [
{
"location": "string",
"storageAccountDetails": [
{
"userCreatedStorageAccount": {
"armResourceId": {
"resourceId": "string"
}
}
}
],
"acrDetails": [
{
"userCreatedAcrAccount": {
"armResourceId": {
"resourceId": "string"
}
}
}
]
}
],
"managedResourceGroup": {
"resourceId": "string"
},
"privateLinkCount": 0,
"publicNetworkAccess": "Disabled",
"mlFlowRegistryUri": "string",
"intellectualPropertyPublisher": "string",
"discoveryUrl": "string"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999Z",
"createdBy": "string",
"createdByType": "Key",
"lastModifiedAt": "2020-01-01T12:34:56.999Z",
"lastModifiedBy": "string",
"lastModifiedByType": "ManagedIdentity"
},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "SystemAssigned,UserAssigned",
"principalId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"userAssignedIdentities": {
"string": {
"principalId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
}
}
},
"sku": {
"name": "string",
"tier": "Standard",
"size": "string",
"family": "string",
"capacity": 1
}
}
"headers": {}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@
],
"summary": "Update tags",
"operationId": "Registries_Update",
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"consumes": [
"application/json"
],
Expand Down

0 comments on commit 4483d3b

Please sign in to comment.