From e8966b2e6e5f3b2bc5905dc6ac07029bfac5d16d Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Thu, 18 May 2023 22:47:23 +0000 Subject: [PATCH 1/7] Added the spec --- .../2023-04-06/baremetalinfrastructure.json | 148 +++++++++++------- 1 file changed, 90 insertions(+), 58 deletions(-) diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json index 684dde3149bd..d652ebcc674f 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json @@ -6,20 +6,12 @@ "description": "The BareMetalInfrastructure Management client" }, "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], + "schemes": ["https"], + "consumes": ["application/json"], + "produces": ["application/json"], "security": [ { - "azure_auth": [ - "user_impersonation" - ] + "azure_auth": ["user_impersonation"] } ], "securityDefinitions": { @@ -36,9 +28,7 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances": { "get": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "operationId": "AzureBareMetalInstances_ListBySubscription", "summary": "Gets a list of Azure BareMetal instances in the specified subscription.", "description": "Gets a list of AzureBareMetal instances in the specified subscription. The operations returns various properties of each Azure BareMetal instance.", @@ -116,9 +106,7 @@ }, "/providers/Microsoft.BareMetalInfrastructure/operations": { "get": { - "tags": [ - "AzureBareMetal" - ], + "tags": ["AzureBareMetal"], "operationId": "Operations_List", "x-ms-examples": { "List all management operations supported by the AzureBareMetal RP": { @@ -126,12 +114,8 @@ } }, "description": "Gets a list of AzureBareMetal management operations.", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], + "consumes": ["application/json"], + "produces": ["application/json"], "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" @@ -158,9 +142,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}": { "get": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "operationId": "AzureBareMetalInstances_Get", "summary": "Gets an Azure BareMetal instance.", "description": "Gets an Azure BareMetal instance for the specified subscription, resource group, and instance name.", @@ -198,10 +180,79 @@ } } }, - "patch": { - "tags": [ - "BareMetalInfrastructure" + "delete": { + "tags": ["BareMetalInfrastructure"], + "operationId": "AzureBareMetalInstances_Delete", + "summary": "Deletes an Azure BareMetal instance.", + "description": "Deletes an Azure BareMetal instance for the specified subscription, resource group, and instance name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureBareMetalInstanceNameParameter" + } ], + "responses": { + "501": { + "description": "This action must be performed through our operations team." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": ["BareMetalInfrastructure"], + "operationId": "AzureBareMetalInstances_Put", + "summary": "Adds an Azure BareMetal Instance.", + "description": "Adds an Azure BareMetal instance for the specified subscription, resource group, and instance name.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureBareMetalInstanceNameParameter" + }, + { + "in": "body", + "name": "requestBodyParameters", + "required": false, + "schema": { + "$ref": "#/definitions/AzureBareMetalInstance" + }, + "description": "request body for put call" + } + ], + "responses": { + "501": { + "description": "This action must be performed through our operations team." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": ["BareMetalInfrastructure"], "operationId": "AzureBareMetalInstances_Update", "summary": "Patches the Tags field of a Azure BareMetal instance.", "description": "Patches the Tags field of a Azure BareMetal instance for the specified subscription, resource group, and instance name.", @@ -248,9 +299,7 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalStorageInstances": { "get": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "operationId": "AzureBareMetalStorageInstances_ListBySubscription", "summary": "Gets a list of Azure BareMetalStorage instances in the specified subscription.", "description": "Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns various properties of each Azure BareMetal instance.", @@ -328,9 +377,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalStorageInstances/{azureBareMetalStorageInstanceName}": { "get": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "operationId": "AzureBareMetalStorageInstances_Get", "summary": "Gets an Azure BareMetal Storage instance.", "description": "Gets an Azure BareMetal Storage instance for the specified subscription, resource group, and instance name.", @@ -369,9 +416,7 @@ } }, "put": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "summary": "Create an azure baremetal storage resource.", "operationId": "AzureBareMetalStorageInstances_Create", "x-ms-examples": { @@ -424,9 +469,7 @@ } }, "patch": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "operationId": "AzureBareMetalStorageInstances_Update", "summary": "Patches the Tags field of a Azure BareMetalStorage instance.", "description": "Patches the Tags field of a Azure BareMetalStorage instance for the specified subscription, resource group, and instance name.", @@ -471,9 +514,7 @@ } }, "delete": { - "tags": [ - "BareMetalInfrastructure" - ], + "tags": ["BareMetalInfrastructure"], "summary": "Delete an AzureBareMetalStorageInstance.", "operationId": "AzureBareMetalStorageInstances_Delete", "x-ms-examples": { @@ -629,10 +670,7 @@ "hardwareType": { "readOnly": true, "type": "string", - "enum": [ - "Cisco_UCS", - "HPE" - ], + "enum": ["Cisco_UCS", "HPE"], "x-ms-enum": { "name": "AzureBareMetalHardwareTypeNamesEnum", "modelAsString": true @@ -728,9 +766,7 @@ "items": { "$ref": "#/definitions/Disk" }, - "x-ms-identifiers": [ - "name" - ], + "x-ms-identifiers": ["name"], "description": "Specifies information about the operating system disk used by baremetal instance." } }, @@ -766,9 +802,7 @@ "items": { "$ref": "#/definitions/IpAddress" }, - "x-ms-identifiers": [ - "ipAddress" - ], + "x-ms-identifiers": ["ipAddress"], "description": "Specifies the network interfaces for the AzureBareMetal instance." }, "circuitId": { @@ -796,9 +830,7 @@ "items": { "$ref": "#/definitions/Operation" }, - "x-ms-identifiers": [ - "name" - ], + "x-ms-identifiers": ["name"], "description": "List of AzureBareMetal operations" } }, From 32e390117dcf8a7fbb3f0526ffe03a16eccc0acf Mon Sep 17 00:00:00 2001 From: dsmith111 Date: Fri, 19 May 2023 02:06:22 +0000 Subject: [PATCH 2/7] Prettier update --- .../2023-04-06/baremetalinfrastructure.json | 85 ++++++++++++++----- 1 file changed, 64 insertions(+), 21 deletions(-) diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json index d652ebcc674f..d37d9553e743 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json @@ -6,12 +6,20 @@ "description": "The BareMetalInfrastructure Management client" }, "host": "management.azure.com", - "schemes": ["https"], - "consumes": ["application/json"], - "produces": ["application/json"], + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -28,7 +36,9 @@ "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances": { "get": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalInstances_ListBySubscription", "summary": "Gets a list of Azure BareMetal instances in the specified subscription.", "description": "Gets a list of AzureBareMetal instances in the specified subscription. The operations returns various properties of each Azure BareMetal instance.", @@ -106,7 +116,9 @@ }, "/providers/Microsoft.BareMetalInfrastructure/operations": { "get": { - "tags": ["AzureBareMetal"], + "tags": [ + "AzureBareMetal" + ], "operationId": "Operations_List", "x-ms-examples": { "List all management operations supported by the AzureBareMetal RP": { @@ -114,8 +126,12 @@ } }, "description": "Gets a list of AzureBareMetal management operations.", - "consumes": ["application/json"], - "produces": ["application/json"], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" @@ -142,7 +158,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalInstances/{azureBareMetalInstanceName}": { "get": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalInstances_Get", "summary": "Gets an Azure BareMetal instance.", "description": "Gets an Azure BareMetal instance for the specified subscription, resource group, and instance name.", @@ -181,7 +199,9 @@ } }, "delete": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalInstances_Delete", "summary": "Deletes an Azure BareMetal instance.", "description": "Deletes an Azure BareMetal instance for the specified subscription, resource group, and instance name.", @@ -212,7 +232,9 @@ } }, "put": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalInstances_Put", "summary": "Adds an Azure BareMetal Instance.", "description": "Adds an Azure BareMetal instance for the specified subscription, resource group, and instance name.", @@ -252,7 +274,9 @@ } }, "patch": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalInstances_Update", "summary": "Patches the Tags field of a Azure BareMetal instance.", "description": "Patches the Tags field of a Azure BareMetal instance for the specified subscription, resource group, and instance name.", @@ -299,7 +323,9 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.BareMetalInfrastructure/bareMetalStorageInstances": { "get": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalStorageInstances_ListBySubscription", "summary": "Gets a list of Azure BareMetalStorage instances in the specified subscription.", "description": "Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns various properties of each Azure BareMetal instance.", @@ -377,7 +403,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BareMetalInfrastructure/bareMetalStorageInstances/{azureBareMetalStorageInstanceName}": { "get": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalStorageInstances_Get", "summary": "Gets an Azure BareMetal Storage instance.", "description": "Gets an Azure BareMetal Storage instance for the specified subscription, resource group, and instance name.", @@ -416,7 +444,9 @@ } }, "put": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "summary": "Create an azure baremetal storage resource.", "operationId": "AzureBareMetalStorageInstances_Create", "x-ms-examples": { @@ -469,7 +499,9 @@ } }, "patch": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "operationId": "AzureBareMetalStorageInstances_Update", "summary": "Patches the Tags field of a Azure BareMetalStorage instance.", "description": "Patches the Tags field of a Azure BareMetalStorage instance for the specified subscription, resource group, and instance name.", @@ -514,7 +546,9 @@ } }, "delete": { - "tags": ["BareMetalInfrastructure"], + "tags": [ + "BareMetalInfrastructure" + ], "summary": "Delete an AzureBareMetalStorageInstance.", "operationId": "AzureBareMetalStorageInstances_Delete", "x-ms-examples": { @@ -670,7 +704,10 @@ "hardwareType": { "readOnly": true, "type": "string", - "enum": ["Cisco_UCS", "HPE"], + "enum": [ + "Cisco_UCS", + "HPE" + ], "x-ms-enum": { "name": "AzureBareMetalHardwareTypeNamesEnum", "modelAsString": true @@ -766,7 +803,9 @@ "items": { "$ref": "#/definitions/Disk" }, - "x-ms-identifiers": ["name"], + "x-ms-identifiers": [ + "name" + ], "description": "Specifies information about the operating system disk used by baremetal instance." } }, @@ -802,7 +841,9 @@ "items": { "$ref": "#/definitions/IpAddress" }, - "x-ms-identifiers": ["ipAddress"], + "x-ms-identifiers": [ + "ipAddress" + ], "description": "Specifies the network interfaces for the AzureBareMetal instance." }, "circuitId": { @@ -830,7 +871,9 @@ "items": { "$ref": "#/definitions/Operation" }, - "x-ms-identifiers": ["name"], + "x-ms-identifiers": [ + "name" + ], "description": "List of AzureBareMetal operations" } }, From c844dbdcef710928493f6e7ef952e9e8edb5ff42 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Wed, 24 May 2023 21:52:54 +0000 Subject: [PATCH 3/7] Added x-ms-error-response: true to 501 error codes --- .../stable/2023-04-06/baremetalinfrastructure.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json index d652ebcc674f..4de8332e1cd0 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json @@ -201,7 +201,8 @@ ], "responses": { "501": { - "description": "This action must be performed through our operations team." + "description": "This action must be performed through our operations team.", + "x-ms-error-response": true }, "default": { "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", @@ -241,7 +242,8 @@ ], "responses": { "501": { - "description": "This action must be performed through our operations team." + "description": "This action must be performed through our operations team.", + "x-ms-error-response": true }, "default": { "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", From 59c016437f8d59b5c96878ee04a7c95f6a06faec Mon Sep 17 00:00:00 2001 From: dsmith111 Date: Thu, 1 Jun 2023 01:10:15 +0000 Subject: [PATCH 4/7] Add XMS examples --- .../stable/2023-04-06/baremetalinfrastructure.json | 10 ++++++++++ .../examples/AzureBareMetalInstances_Delete.json | 8 ++++++++ .../examples/AzureBareMetalInstances_Put.json | 8 ++++++++ 3 files changed, 26 insertions(+) create mode 100644 specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json create mode 100644 specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json index 98bfe944a60e..e9cd75a55c16 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json @@ -205,6 +205,11 @@ "operationId": "AzureBareMetalInstances_Delete", "summary": "Deletes an Azure BareMetal instance.", "description": "Deletes an Azure BareMetal instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Delete an AzureBareMetal instance": { + "$ref": "./examples/AzureBareMetalInstances_Delete.json" + } + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" @@ -239,6 +244,11 @@ "operationId": "AzureBareMetalInstances_Put", "summary": "Adds an Azure BareMetal Instance.", "description": "Adds an Azure BareMetal instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Put a new AzureBareMetal instance": { + "$ref": "./examples/AzureBareMetalInstances_Delete.json" + } + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json new file mode 100644 index 000000000000..5caed21612b9 --- /dev/null +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json @@ -0,0 +1,8 @@ +{ + "parameters": { + "api-version": "2023-04-06" + }, + "responses": { + "501": {} + } +} diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json new file mode 100644 index 000000000000..5caed21612b9 --- /dev/null +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json @@ -0,0 +1,8 @@ +{ + "parameters": { + "api-version": "2023-04-06" + }, + "responses": { + "501": {} + } +} From 9ffcf676996156658ae1caaa809c8703f27fb88a Mon Sep 17 00:00:00 2001 From: dsmith111 Date: Thu, 1 Jun 2023 01:30:24 +0000 Subject: [PATCH 5/7] Fix avocado error --- .../stable/2023-04-06/baremetalinfrastructure.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json index e9cd75a55c16..1256b92b810f 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/baremetalinfrastructure.json @@ -246,7 +246,7 @@ "description": "Adds an Azure BareMetal instance for the specified subscription, resource group, and instance name.", "x-ms-examples": { "Put a new AzureBareMetal instance": { - "$ref": "./examples/AzureBareMetalInstances_Delete.json" + "$ref": "./examples/AzureBareMetalInstances_Put.json" } }, "parameters": [ From 0e4d4ab8082e4804a1b8dbf2aaafccb392c1fe69 Mon Sep 17 00:00:00 2001 From: dsmith111 Date: Thu, 1 Jun 2023 01:39:30 +0000 Subject: [PATCH 6/7] Model validaiton fix --- .../2023-04-06/examples/AzureBareMetalInstances_Put.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json index 5caed21612b9..1badb1c150ac 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Put.json @@ -1,6 +1,9 @@ { "parameters": { - "api-version": "2023-04-06" + "api-version": "2023-04-06", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureBareMetalInstanceName": "myAzureBareMetalInstance" }, "responses": { "501": {} From 33471f82244c8a4ce93c4d6adeea56c0547db7c6 Mon Sep 17 00:00:00 2001 From: dsmith111 Date: Thu, 1 Jun 2023 01:58:46 +0000 Subject: [PATCH 7/7] Push Del changes --- .../2023-04-06/examples/AzureBareMetalInstances_Delete.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json index 5caed21612b9..1badb1c150ac 100644 --- a/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json +++ b/specification/baremetalinfrastructure/resource-manager/Microsoft.BareMetalInfrastructure/stable/2023-04-06/examples/AzureBareMetalInstances_Delete.json @@ -1,6 +1,9 @@ { "parameters": { - "api-version": "2023-04-06" + "api-version": "2023-04-06", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureBareMetalInstanceName": "myAzureBareMetalInstance" }, "responses": { "501": {}