From d97f10a440db16ec807b6047619f29fc21c6b7ec Mon Sep 17 00:00:00 2001 From: aeweston-msft <59626096+aeweston-msft@users.noreply.github.com> Date: Thu, 23 Sep 2021 22:12:00 -0700 Subject: [PATCH] Change hybrididentitymetadata vmid to resourceUid (#4921) * change hybrididentitymetadata vmid to resourceUid * update examples --- .../examples/CreateHybridIdentityMetadata.json | 4 ++-- .../examples/GetHybridIdentityMetadata.json | 2 +- .../HybridIdentityMetadata_ListByVirtualMachines.json | 2 +- .../preview/2021-09-01-preview/virtualMachines.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json index 019d640b8523..319c8296df5d 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json @@ -7,7 +7,7 @@ "metadataName": "default", "body": { "properties": { - "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2" } } @@ -19,7 +19,7 @@ "name": "testItem", "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata", "properties": { - "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", "identity": { "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json index fc36ac9137a6..3299cce23922 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json @@ -13,7 +13,7 @@ "name": "testItem", "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata", "properties": { - "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", "identity": { "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json index 92755fd141c5..1b5253277590 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json @@ -14,7 +14,7 @@ "name": "testItem", "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata", "properties": { - "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", + "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c", "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2", "identity": { "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json index eeba0e8b3fa1..599544997c13 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json @@ -1668,8 +1668,8 @@ "description": "Defines the resource properties.", "type": "object", "properties": { - "vmId": { - "description": "Gets or sets the Vm Id.", + "resourceUid": { + "description": "The unique identifier for the resource.", "type": "string" }, "publicKey": {