From fb93b3125539abe4e94a2a08fcf8563d6fbbcbac Mon Sep 17 00:00:00 2001 From: Douglas Lee Date: Sun, 27 Dec 2020 16:41:58 -0500 Subject: [PATCH 01/10] found missing AVS/privateclouds/addons commit, moving it to 2020-07-17-preview API from PR repo --- .../examples/Addons_CreateOrUpdate.json | 41 +++ .../examples/Addons_Delete.json | 14 + .../examples/Addons_Get.json | 23 ++ .../examples/Addons_List.json | 26 ++ .../preview/2020-07-17-preview/vmware.json | 303 ++++++++++++++++++ 5 files changed, 407 insertions(+) create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_CreateOrUpdate.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Delete.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Get.json create mode 100644 specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_List.json diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_CreateOrUpdate.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_CreateOrUpdate.json new file mode 100644 index 000000000000..87d7253094cc --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_CreateOrUpdate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm", + "addon": { + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + }, + "201": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Updating" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Delete.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Delete.json new file mode 100644 index 000000000000..3b5f653d6281 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Get.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Get.json new file mode 100644 index 000000000000..eb443d098b00 --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_Get.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1", + "addonName": "srm" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_List.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_List.json new file mode 100644 index 000000000000..a756ae2f5e3a --- /dev/null +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/examples/Addons_List.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2020-07-17-preview", + "subscriptionId": "{subscription-id}", + "resourceGroupName": "group1", + "privateCloudName": "cloud1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", + "name": "srm", + "properties": { + "addonType": "SRM", + "licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", + "provisioningState": "Succeeded" + }, + "type": "Microsoft.AVS/privateClouds/addons" + } + ] + } + } + } +} diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 2eee285d3d9a..9740915709a6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -92,6 +92,14 @@ "description": "Name of the HCX Enterprise Site in the private cloud", "x-ms-parameter-location": "method" }, + "addonName": { + "name": "addonName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of the addon for the private cloud", + "x-ms-parameter-location": "method" + }, "authorizationName": { "name": "authorizationName", "in": "path", @@ -3162,6 +3170,206 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons": { + "get": { + "operationId": "Addons_List", + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "Addons" + ], + "summary": "List addons in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/AddonList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_List": { + "$ref": "./examples/Addons_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/addons/{addonName}": { + "get": { + "operationId": "Addons_Get", + "tags": [ + "Addons" + ], + "summary": "Get an addon by name in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/addonName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_Get": { + "$ref": "./examples/Addons_Get.json" + } + } + }, + "put": { + "operationId": "Addons_CreateOrUpdate", + "x-ms-long-running-operation": true, + "tags": [ + "Addons" + ], + "summary": "Create or update a addon in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "privateCloudName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private cloud." + }, + { + "$ref": "#/parameters/addonName" + }, + { + "name": "addon", + "description": "A addon in the private cloud", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Addon" + } + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "201": { + "description": "accepted operation", + "schema": { + "$ref": "#/definitions/Addon" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_CreateOrUpdate": { + "$ref": "./examples/Addons_CreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "Addons_Delete", + "x-ms-long-running-operation": true, + "tags": [ + "Addons" + ], + "summary": "Delete a addon in a private cloud", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/privateCloudName" + }, + { + "$ref": "#/parameters/addonName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The delete has succeeded" + }, + "202": { + "description": "Accepted. The delete will complete asynchronously" + }, + "204": { + "description": "No Content. No addon to delete" + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Addons_Delete": { + "$ref": "./examples/Addons_Delete.json" + } + } + } } }, "definitions": { @@ -3957,6 +4165,101 @@ } } }, + "Addon": { + "description": "An addon resource", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "The properties of an addon resource", + "$ref": "#/definitions/AddonProperties", + "x-ms-client-flatten": true + } + } + }, + "AddonUpdate": { + "description": "An update of an addon resource", + "properties": { + "properties": { + "description": "The properties of an addon resource that may be updated", + "$ref": "#/definitions/AddonUpdateProperties", + "x-ms-client-flatten": true + } + } + }, + "AddonUpdateProperties": { + "description": "The properties of an addon that may be updated", + "properties": { + "properties": { + "$ref": "#/definitions/AddonProperties", + "x-ms-client-flatten": true + } + } + }, + "AddonProperties": { + "description": "The properties of an SRM addon that may be updated", + "allOf": [ + { + "$ref": "#/definitions/AddonSrmProperties" + } + ], + "properties": { + "addonType": { + "description": "The type of private cloud addon", + "type": "string", + "enum": [ + "SRM", + "VR" + ] + }, + "provisioningState": { + "description": "The state of the addon provisioning", + "type": "string", + "readOnly": true, + "enum": [ + "Succeeded", + "Failed", + "Cancelled", + "Deleting", + "Updating" + ], + "x-ms-enum": { + "name": "AddonProvisioningState", + "modelAsString": true + } + } + } + }, + "AddonSrmProperties": { + "description": "The properties of an SRM addon that may be updated", + "properties": { + "licenseKey": { + "description": "The SRM license", + "type": "string" + } + } + }, + "AddonList": { + "description": "A paged list of addons", + "properties": { + "value": { + "description": "The items on a page", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Addon" + } + }, + "nextLink": { + "description": "URL to get the next page if any", + "type": "string", + "readOnly": true + } + } + }, "AdminCredentials": { "description": "Administrative credentials for accessing vCenter and NSX-T", "properties": { From 03d142f63bfcb69d23a5c5cfeb3c24b3ea00aef7 Mon Sep 17 00:00:00 2001 From: Douglas Lee Date: Sun, 27 Dec 2020 16:56:35 -0500 Subject: [PATCH 02/10] fixed prettier errors --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 9740915709a6..2d7451552493 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -4241,7 +4241,7 @@ "type": "string" } } - }, + }, "AddonList": { "description": "A paged list of addons", "properties": { From ad9e202246a8f1bc4a6d8e78f481da91f5730011 Mon Sep 17 00:00:00 2001 From: Douglas Lee Date: Mon, 28 Dec 2020 12:55:06 -0500 Subject: [PATCH 03/10] Fixed vladation warnings for x-ms-enum and missing description/title, related to addons --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 2d7451552493..965589dc64d4 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -4194,13 +4194,14 @@ "description": "The properties of an addon that may be updated", "properties": { "properties": { + "description":"reference specific properties definition for addon type being used", "$ref": "#/definitions/AddonProperties", "x-ms-client-flatten": true } } }, "AddonProperties": { - "description": "The properties of an SRM addon that may be updated", + "description": "The properties of an addon that may be updated", "allOf": [ { "$ref": "#/definitions/AddonSrmProperties" @@ -4213,7 +4214,11 @@ "enum": [ "SRM", "VR" - ] + ], + "x-ms-enum": { + "name": "AddonType", + "modelAsString": true + } }, "provisioningState": { "description": "The state of the addon provisioning", From 9f363e687b4ffa1704b58edcd4dd2be8585e906e Mon Sep 17 00:00:00 2001 From: Douglas Lee Date: Mon, 28 Dec 2020 13:16:35 -0500 Subject: [PATCH 04/10] fixed validation error for missing systemData for addons responses --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 965589dc64d4..4d0ff4c61589 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -4208,6 +4208,10 @@ } ], "properties": { + "systemData": { + "description": "required by CI process", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, "addonType": { "description": "The type of private cloud addon", "type": "string", From 38af7e42d83f540fb72841b2e8c9706768da4ea0 Mon Sep 17 00:00:00 2001 From: Douglas Lee Date: Mon, 28 Dec 2020 13:19:55 -0500 Subject: [PATCH 05/10] fixed prettier errors --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 4d0ff4c61589..4d361f782391 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -4194,7 +4194,7 @@ "description": "The properties of an addon that may be updated", "properties": { "properties": { - "description":"reference specific properties definition for addon type being used", + "description": "reference specific properties definition for addon type being used", "$ref": "#/definitions/AddonProperties", "x-ms-client-flatten": true } @@ -4209,8 +4209,8 @@ ], "properties": { "systemData": { - "description": "required by CI process", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "description": "required by CI process", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" }, "addonType": { "description": "The type of private cloud addon", From 4cb815fbe34ab15262d6241b75ed4a31c33e92b5 Mon Sep 17 00:00:00 2001 From: Douglas Lee Date: Mon, 28 Dec 2020 14:18:10 -0500 Subject: [PATCH 06/10] fixed validation error for missing systemData for addons responses --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 4d361f782391..452b26abae8d 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -3492,6 +3492,10 @@ "error": { "description": "An error returned by the API", "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" + }, + "systemData": { + "description": "required by CI process", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "description": "API error response" From d2d4a30247d78892e0bad2fc762b67ae67c07b42 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 28 Dec 2020 15:00:44 -0800 Subject: [PATCH 07/10] systemData for any Resource --- .../preview/2020-07-17-preview/vmware.json | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 452b26abae8d..535f8bd829bc 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -255,7 +255,7 @@ } }, "x-ms-examples": { - "CheckQuotaAvailability": { + "Locations_CheckTrialAvailability": { "$ref": "./examples/Locations_CheckTrialAvailability.json" } } @@ -298,7 +298,7 @@ } }, "x-ms-examples": { - "CheckQuotaAvailability": { + "Locations_CheckQuotaAvailability": { "$ref": "./examples/Locations_CheckQuotaAvailability.json" } } @@ -379,7 +379,7 @@ } }, "x-ms-examples": { - "PrivateClouds_List": { + "PrivateClouds_ListInSubscription": { "$ref": "./examples/PrivateClouds_ListInSubscription.json" } } @@ -3443,6 +3443,10 @@ "description": "Resource type.", "readOnly": true, "type": "string" + }, + "systemData": { + "description": "The system metadata relating to this resource", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "x-ms-azure-resource": true @@ -3492,10 +3496,6 @@ "error": { "description": "An error returned by the API", "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - }, - "systemData": { - "description": "required by CI process", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "description": "API error response" @@ -4212,10 +4212,6 @@ } ], "properties": { - "systemData": { - "description": "required by CI process", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, "addonType": { "description": "The type of private cloud addon", "type": "string", From 974362ce2012510e9aab46bf56d7de63096d7def Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 28 Dec 2020 15:08:28 -0800 Subject: [PATCH 08/10] make sure systemData is readOnly --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 535f8bd829bc..096a1705142a 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -3446,6 +3446,7 @@ }, "systemData": { "description": "The system metadata relating to this resource", + "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, From 3c0ca927d295dbafbff89b0c2f16e70edac9d86a Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 29 Dec 2020 09:06:31 -0800 Subject: [PATCH 09/10] systemData needs to go in a new api version --- .../Microsoft.AVS/preview/2020-07-17-preview/vmware.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json index 096a1705142a..b9e382738ec6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/preview/2020-07-17-preview/vmware.json @@ -3443,11 +3443,6 @@ "description": "Resource type.", "readOnly": true, "type": "string" - }, - "systemData": { - "description": "The system metadata relating to this resource", - "readOnly": true, - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "x-ms-azure-resource": true From f82d50da395c9d93a2939205f6d278d65810eb8f Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Tue, 29 Dec 2020 10:30:38 -0800 Subject: [PATCH 10/10] suppress systemData error --- specification/vmware/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 8f7461ad4b09..90e2880519a8 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -53,6 +53,9 @@ directive: from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json where: $.definitions.Operation.properties.properties reason: x-ms-client-flatten not needed for Operation + - suppress: R4009 + from: Microsoft.AVS/preview/2020-07-17-preview/vmware.json + reason: systemData will be in the next API version ``` ### Tag: package-2020-03-20