Skip to content

Commit

Permalink
Adding xms ids to azsadmin (#17724)
Browse files Browse the repository at this point in the history
* Adding xms-ids for AzsAdmin - rebased

* reverting stale changes

* Adding additional xms

* prettier fix
  • Loading branch information
agalerrotaru authored Feb 10, 2022
1 parent b3a0b98 commit becbf3c
Show file tree
Hide file tree
Showing 37 changed files with 404 additions and 228 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
"description": "OK",
"schema": {
"$ref": "#/definitions/ActivationResourcesPage"
}
},
"x-ms-identifiers": [
"id"
]
},
"default": {
"description": "Default Response.",
Expand Down Expand Up @@ -298,6 +301,7 @@
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"x-ms-identifiers": [],
"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@
"items": {
"$ref": "#/definitions/Operation"
},
"x-ms-identifiers": [
"name"
],
"readOnly": true
},
"nextLink": {
Expand Down Expand Up @@ -286,7 +289,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ProductLink"
}
},
"x-ms-identifiers": [
"uri"
]
},
"Compatibility": {
"description": "Product compatibility",
Expand Down Expand Up @@ -460,6 +466,9 @@
"items": {
"$ref": "#/definitions/DataDiskImage"
},
"x-ms-identifiers": [
"sourceBlobSasUri"
],
"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/RoleOperationStatus"
}
},
"x-ms-identifiers": [
"roleName"
]
},
"RoleOperationStatus": {
"description": "Backup status for a role.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
"items": {
"$ref": "#/definitions/Operation"
},
"x-ms-identifiers": [
"name"
],
"readOnly": true
},
"nextLink": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@
}
],
"responses": {
"default": {
"description": "Default Response.",
"schema": {
"$ref": "#/definitions/ExtendedErrorInfo"
}
},
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/UsageAggregatePage"
}
},
"default": {
"description": "Default Response.",
"schema": {
"$ref": "#/definitions/ExtendedErrorInfo"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -127,14 +127,14 @@
}
],
"responses": {
"200": {
"description": "OK"
},
"default": {
"description": "Default Response.",
"schema": {
"$ref": "#/definitions/ExtendedErrorInfo"
}
},
"200": {
"description": "OK"
}
}
}
Expand Down Expand Up @@ -300,7 +300,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "URI to the next page of operations.",
Expand Down Expand Up @@ -338,6 +341,7 @@
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"x-ms-identifiers": [],
"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "URI to the next page of operations.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,14 @@
}
],
"responses": {
"200": {
"description": "OK"
},
"default": {
"description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).",
"schema": {
"$ref": "Compute.json#/definitions/CrpErrorResponse"
}
},
"200": {
"description": "OK"
}
}
}
Expand Down Expand Up @@ -251,7 +251,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/DataDisk"
}
},
"x-ms-identifiers": [
"lun"
]
},
"details": {
"description": "Information about the image.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/NodeView"
}
},
"x-ms-identifiers": [
"nodeName"
]
}
}
},
Expand Down Expand Up @@ -127,7 +130,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/VirtualMachineView"
}
},
"x-ms-identifiers": [
"vmId"
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@
}
],
"responses": {
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"200": {
"description": "OK -- The list of disk migration jobs has been returned.",
"schema": {
"$ref": "DiskMigrationJobs.json#/definitions/DiskMigrationJobList"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-ms-pageable": {
Expand Down Expand Up @@ -88,17 +88,17 @@
}
],
"responses": {
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"200": {
"description": "OK -- The disk migration job has been returned.",
"schema": {
"$ref": "DiskMigrationJobs.json#/definitions/DiskMigrationJob"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
},
Expand Down Expand Up @@ -140,17 +140,17 @@
}
],
"responses": {
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"200": {
"description": "OK -- Disk migration job is created successfully.",
"schema": {
"$ref": "DiskMigrationJobs.json#/definitions/DiskMigrationJob"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -182,17 +182,17 @@
}
],
"responses": {
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"200": {
"description": "OK -- Disk migration job cancellation is called.",
"schema": {
"$ref": "DiskMigrationJobs.json#/definitions/DiskMigrationJob"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
}
}
Expand Down Expand Up @@ -319,7 +319,10 @@
"type": "array",
"items": {
"$ref": "DiskMigrationJobs.json#/definitions/MigrationSubTask"
}
},
"x-ms-identifiers": [
"migrationSubTaskId"
]
},
"MigrationSubTask": {
"description": "Disk migration child task.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"x-ms-identifiers": [
"name"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ These are the global settings for the ContainerRegistry API.
title: ContainerRegistryAdminClient
description: ContainerRegistry Admin Client
openapi-type: arm
tag: package-2019-11-01
tag: package-2019-11-01-preview
```
### Tag: package-2019-11-01
### Tag: package-2019-11-01-preview
These settings apply only when `--tag=package-2019-11-01` is specified on the command line.
These settings apply only when `--tag=package-2019-11-01-preview` is specified on the command line.

``` yaml $(tag) == 'package-2019-11-01-preview'
input-file:
Expand Down Expand Up @@ -86,4 +86,3 @@ uncomment the `exclude-file` section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "URI to the next page.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"x-ms-identifiers": [],
"readOnly": true
}
}
Expand Down Expand Up @@ -164,7 +165,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"x-ms-identifiers": [
"name"
]
},
"nextLink": {
"description": "URI to the next page of operations.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/ErrorInfo"
}
},
"x-ms-identifiers": []
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/ProductLink"
}
},
"x-ms-identifiers": [
"uri"
]
},
"ProductPackageParameters": {
"description": "Parameters for creating a new product package.",
Expand Down
Loading

0 comments on commit becbf3c

Please sign in to comment.