Skip to content

Commit a92bf5f

Browse files
authored
Adding xms ids for customerlockbox (#17644)
* Adding xms ids to customerlockbox * Adding xms ids to CustomProviders
1 parent fae6f25 commit a92bf5f

File tree

2 files changed

+29
-12
lines changed
  • specification
    • customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview
    • customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview

2 files changed

+29
-12
lines changed

specification/customerlockbox/resource-manager/Microsoft.CustomerLockbox/preview/2018-02-28-preview/customerlockbox.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,10 @@
293293
"readOnly": true,
294294
"items": {
295295
"$ref": "#/definitions/Operation"
296-
}
296+
},
297+
"x-ms-identifiers": [
298+
"name"
299+
]
297300
},
298301
"nextLink": {
299302
"description": "URL to get the next set of operation list results if there are any.",
@@ -561,6 +564,7 @@
561564
"items": {
562565
"$ref": "#/definitions/ErrorAdditionalInfo"
563566
},
567+
"x-ms-identifiers": [],
564568
"description": "A list of error details about the error."
565569
}
566570
}

specification/customproviders/resource-manager/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@
110110
}
111111
],
112112
"responses": {
113-
"201": {
114-
"description": "Created response definition. Resource has been created",
113+
"200": {
114+
"description": "OK response definition. Resource already exists and the changes have been accepted",
115115
"schema": {
116116
"$ref": "#/definitions/CustomRPManifest"
117117
}
118118
},
119-
"200": {
120-
"description": "OK response definition. Resource already exists and the changes have been accepted",
119+
"201": {
120+
"description": "Created response definition. Resource has been created",
121121
"schema": {
122122
"$ref": "#/definitions/CustomRPManifest"
123123
}
@@ -424,14 +424,14 @@
424424
}
425425
],
426426
"responses": {
427-
"201": {
428-
"description": "Created. Association has been created.",
427+
"200": {
428+
"description": "OK. Association already exists and the changes have been accepted.",
429429
"schema": {
430430
"$ref": "#/definitions/Association"
431431
}
432432
},
433-
"200": {
434-
"description": "OK. Association already exists and the changes have been accepted.",
433+
"201": {
434+
"description": "Created. Association has been created.",
435435
"schema": {
436436
"$ref": "#/definitions/Association"
437437
}
@@ -715,21 +715,30 @@
715715
"description": "A list of actions that the custom resource provider implements.",
716716
"items": {
717717
"$ref": "#/definitions/CustomRPActionRouteDefinition"
718-
}
718+
},
719+
"x-ms-identifiers": [
720+
"name",
721+
"endpoint"
722+
]
719723
},
720724
"resourceTypes": {
721725
"type": "array",
722726
"description": "A list of resource types that the custom resource provider implements.",
723727
"items": {
724728
"$ref": "#/definitions/CustomRPResourceTypeRouteDefinition"
725-
}
729+
},
730+
"x-ms-identifiers": [
731+
"name",
732+
"endpoint"
733+
]
726734
},
727735
"validations": {
728736
"type": "array",
729737
"description": "A list of validations to run on the custom resource provider's requests.",
730738
"items": {
731739
"$ref": "#/definitions/CustomRPValidations"
732-
}
740+
},
741+
"x-ms-identifiers": []
733742
},
734743
"provisioningState": {
735744
"type": "string",
@@ -766,6 +775,9 @@
766775
"items": {
767776
"$ref": "#/definitions/ResourceProviderOperation"
768777
},
778+
"x-ms-identifiers": [
779+
"name"
780+
],
769781
"description": "List of operations supported by this resource provider."
770782
},
771783
"nextLink": {
@@ -949,6 +961,7 @@
949961
"items": {
950962
"$ref": "#/definitions/ErrorDefinition"
951963
},
964+
"x-ms-identifiers": [],
952965
"readOnly": true
953966
}
954967
}

0 commit comments

Comments
 (0)