From 9efd4f7ddaece5190abce50774d36bdade7a9945 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 8 Aug 2023 15:54:43 -0700 Subject: [PATCH 01/21] Generate new Service for azurelargeinstance --- .../azurelargeinstance.json | 132 ++++++++++++++++++ .../examples/OperationGroupGet.json | 15 ++ .../resource-manager/readme.az.md | 28 ++++ .../resource-manager/readme.cli.md | 1 + .../resource-manager/readme.csharp.md | 15 ++ .../resource-manager/readme.go.md | 11 ++ .../resource-manager/readme.md | 78 +++++++++++ .../resource-manager/readme.python.md | 18 +++ .../resource-manager/readme.typescript.md | 14 ++ 9 files changed, 312 insertions(+) create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json create mode 100644 specification/azurelargeinstance/resource-manager/readme.az.md create mode 100644 specification/azurelargeinstance/resource-manager/readme.cli.md create mode 100644 specification/azurelargeinstance/resource-manager/readme.csharp.md create mode 100644 specification/azurelargeinstance/resource-manager/readme.go.md create mode 100644 specification/azurelargeinstance/resource-manager/readme.md create mode 100644 specification/azurelargeinstance/resource-manager/readme.python.md create mode 100644 specification/azurelargeinstance/resource-manager/readme.typescript.md diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json new file mode 100644 index 000000000000..11f85c588919 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -0,0 +1,132 @@ +{ + "swagger": "2.0", + "info": { + "version": "2023-07-20-preview", + "title": "azurelargeinstance", + "description": "Description of the new service", + "x-ms-code-generation-settings": { + "name": "azurelargeinstanceClient" + } + }, + "host": "management.azure.com", + "schemes": ["https"], + "consumes": ["application/json"], + "produces": ["application/json"], + "security": [ + { + "azure_auth": ["user_impersonation"] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/operations": { + "get": { + "tags": ["Tag1"], + "operationId": "OperationGroup_Get", + "x-ms-examples": { + "BatchAccountDelete": { "$ref": "./examples/OperationGroupGet.json" } + }, + "description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/Result" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + } + }, + "definitions": { + "Result": { + "description": "Sample result definition", + "properties": { + "sampleProperty": { + "type": "string", + "description": "Sample property of type string" + } + } + }, + "ErrorResponse": { + "description": "Error response.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request." + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json new file mode 100644 index 000000000000..209b9bc11c9e --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sampleacct", + "resourceGroupName": "azurelargeinstanceClient", + "api-version": "2023-07-20-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "sampleProperty": "sampleProperty" + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/readme.az.md b/specification/azurelargeinstance/resource-manager/readme.az.md new file mode 100644 index 000000000000..3171a9cc5df8 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.az.md @@ -0,0 +1,28 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: azurelargeinstance + namespace: azure.mgmt.azurelargeinstance + package-name: azure-mgmt-azurelargeinstance +az-output-folder: $(azure-cli-extension-folder)/src/azurelargeinstance +python-sdk-output-folder: "$(az-output-folder)/azext_azurelargeinstance/vendored_sdks/azurelargeinstance" +# add additional configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + + + +This is for command modules that already in azure cli main repo. +``` yaml $(az) && $(target-mode) == 'core' +az: + extensions: azurelargeinstance + namespace: azure.mgmt.azurelargeinstance + package-name: azure-mgmt-azurelargeinstance +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/azurelargeinstance +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/azurelargeinstance" +``` \ No newline at end of file diff --git a/specification/azurelargeinstance/resource-manager/readme.cli.md b/specification/azurelargeinstance/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.cli.md @@ -0,0 +1 @@ +## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/azurelargeinstance/resource-manager/readme.csharp.md b/specification/azurelargeinstance/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..21a25b9f3e70 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.AzureLargeInstance + output-folder: $(csharp-sdks-folder)/azurelargeinstance/management/Microsoft.AzureLargeInstance/GeneratedProtocol +``` diff --git a/specification/azurelargeinstance/resource-manager/readme.go.md b/specification/azurelargeinstance/resource-manager/readme.go.md new file mode 100644 index 000000000000..030a7ed78e63 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/azurelargeinstance/armazurelargeinstance +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/azurelargeinstance/resource-manager/readme.md b/specification/azurelargeinstance/resource-manager/readme.md new file mode 100644 index 000000000000..192585e57832 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.md @@ -0,0 +1,78 @@ +# azurelargeinstance + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for azurelargeinstance. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the azurelargeinstance. + +```yaml +openapi-type: arm +tag: package-2023-07-20-preview +``` + +### Tag: package-2023-07-20-preview + +These settings apply only when `--tag=package-2023-07-20-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-07-20-preview' +input-file: + - Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-cli-extensions + - repo: azure-powershell +``` +## Az + +See configuration in [readme.az.md](./readme.az.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/azurelargeinstance/resource-manager/readme.python.md b/specification/azurelargeinstance/resource-manager/readme.python.md new file mode 100644 index 000000000000..6772853b3e9e --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-azurelargeinstance +namespace: azure.mgmt.azurelargeinstance +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/azurelargeinstance/azure-mgmt-azurelargeinstance/azure/mgmt/azurelargeinstance +``` diff --git a/specification/azurelargeinstance/resource-manager/readme.typescript.md b/specification/azurelargeinstance/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..612c73d95356 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-azurelargeinstance" + output-folder: "$(typescript-sdks-folder)/sdk/azurelargeinstance/arm-azurelargeinstance" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +``` From bb7b623fea276e52a7feb06edeee3f9e8e841302 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 8 Aug 2023 23:39:46 +0000 Subject: [PATCH 02/21] Adding examples and spec --- custom-words.txt | 2 + .../azurelargeinstance.json | 1257 ++++++++++++++++- .../AzureLargeInstanceOperations_List.json | 33 + .../examples/AzureLargeInstance_Delete.json | 13 + .../examples/AzureLargeInstance_Get.json | 55 + ...zureLargeInstance_ListByResourceGroup.json | 106 ++ ...AzureLargeInstance_ListBySubscription.json | 100 ++ .../AzureLargeInstance_PatchTags.json | 63 + .../AzureLargeInstance_PatchTags_Delete.json | 59 + .../examples/AzureLargeInstance_Put.json | 101 ++ .../examples/AzureLargeInstance_Restart.json | 26 + .../examples/AzureLargeInstance_Shutdown.json | 26 + .../examples/AzureLargeInstance_Start.json | 26 + .../AzureLargeStorageInstance_Create.json | 100 ++ .../AzureLargeStorageInstance_Delete.json | 13 + .../AzureLargeStorageInstance_Get.json | 44 + ...geStorageInstance_ListByResourceGroup.json | 79 ++ ...rgeStorageInstance_ListBySubscription.json | 78 + .../AzureLargeStorageInstance_PatchTags.json | 49 + ...LargeStorageInstance_PatchTags_Delete.json | 45 + .../examples/OperationGroupGet.json | 15 - 21 files changed, 2222 insertions(+), 68 deletions(-) create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json create mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json delete mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json diff --git a/custom-words.txt b/custom-words.txt index c65e99c527f3..323e08e8139a 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -277,6 +277,7 @@ azureedge azurefiles azurehdinsight azureiotcentral +azurelargeinstance azuremigrate azureml azuresql @@ -2348,6 +2349,7 @@ scopemap scsv scvmm sddl +sdflex sdks sdwan searchbuffer diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 11f85c588919..7e4b9be440c0 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -3,18 +3,26 @@ "info": { "version": "2023-07-20-preview", "title": "azurelargeinstance", - "description": "Description of the new service", + "description": "The AzureLargeInstance Management client", "x-ms-code-generation-settings": { "name": "azurelargeinstanceClient" } }, "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": { @@ -26,36 +34,804 @@ "scopes": { "user_impersonation": "impersonate your user account" } - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/operations": { + } + }, + "tags": [ + { + "name": "Azure Large Instances", + "description": "Handle Operations for Compute Azure Large Instances." + }, + { + "name": "Azure Large Storage Instances", + "description": "Handle Operations for Storage Azure Large Instances." + }, + { + "name": "Common", + "description": "Handle Common Operations across Azure Large Instances (Compute, and Storage)" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeInstance": { + "get": { + "tags": [ + "Azure Large Instances" + ], + "operationId": "AzureLargeInstance_ListBySubscription", + "summary": "Gets a list of Azure Large Instances in the specified subscription.", + "description": "Gets a list of Azure Large Instances in the specified subscription. The operations returns various properties of each Azure Large Instance.", + "x-ms-examples": { + "List all Azure Large Instances in a subscription": { + "$ref": "./examples/AzureLargeInstance_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeInstanceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance": { + "get": { + "tags": [ + "Azure Large Instances" + ], + "operationId": "AzureLargeInstance_ListByResourceGroup", + "summary": "Gets a list of Azure Large Instances in the specified subscription and resource group.", + "description": "Gets a list of Azure Large Instances in the specified subscription and resource group. The operations returns various properties of each Azure Large Instance.", + "x-ms-examples": { + "List all Azure Large Instances in a resource group": { + "$ref": "./examples/AzureLargeInstance_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeInstanceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}/start": { + "post": { + "tags": [ + "Azure Large Instances" + ], + "summary": "Start an Azure Large Instance.", + "description": "The operation to start an Azure Large Instance (only for compute instances)", + "operationId": "AzureLargeInstance_Start", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + }, + "x-ms-examples": { + "Start an Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_Start.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureLargeInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning on and includes a 'Location' header to query the operation result.", + "headers": { + "Location": { + "type": "string", + "description": "URL to track the operation status of the Microsoft Azure Large Instance in the specified location." + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}/restart": { + "post": { + "tags": [ + "Azure Large Instances" + ], + "summary": "Restart an Azure Large Instance.", + "description": "The operation to restart an Azure Large Instance (only for compute instances)", + "operationId": "AzureLargeInstance_Restart", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + }, + "x-ms-examples": { + "Restart an Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_Restart.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureLargeInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning on and includes a 'Location' header to query the operation result.", + "headers": { + "Location": { + "type": "string", + "description": "URL to track the operation status of the Microsoft Azure Large Instance in the specified location." + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}/shutdown": { + "post": { + "tags": [ + "Azure Large Instances" + ], + "summary": "Shutdown an Azure Large Instance.", + "description": "The operation to shutdown an Azure Large Instance (only for compute instances)", + "operationId": "AzureLargeInstance_Shutdown", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + }, + "x-ms-examples": { + "Shutdown an AzureLarge instance": { + "$ref": "./examples/AzureLargeInstance_Shutdown.json" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureLargeInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning on and includes a 'Location' header to query the operation result.", + "headers": { + "Location": { + "type": "string", + "description": "URL to track the operation status of the Microsoft Azure Large Instance in the specified location." + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/providers/Microsoft.AzureLargeInstance/operations": { + "get": { + "tags": [ + "Common" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "List all management operations supported by the AzureLargeInstance RP": { + "$ref": "./examples/AzureLargeInstanceOperations_List.json" + } + }, + "summary": "Lists all of the available AzureLargeInstance REST API operations.", + "description": "Gets a list of AzureLargeInstance management operations.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}": { + "get": { + "tags": [ + "Azure Large Instances" + ], + "operationId": "AzureLargeInstance_Get", + "summary": "Gets an Azure Large Instance.", + "description": "Gets an Azure Large Instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Get an Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_Get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureLargeInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Azure Large Instances" + ], + "operationId": "AzureLargeInstance_Delete", + "summary": "Deletes an Azure Large Instance.", + "description": "Deletes an Azure Large Instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Delete an Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_Delete.json" + } + }, + "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/AzureLargeInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK. The Azure Large Instance is deleted." + }, + "204": { + "description": "NoContent" + }, + "501": { + "description": "This action must be performed through our operations team.", + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Azure Large Instances" + ], + "operationId": "AzureLargeInstance_Put", + "summary": "Adds an Azure Large Instance.", + "description": "Adds an Azure Large Instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Put a new Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_Put.json" + } + }, + "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/AzureLargeInstanceNameParameter" + }, + { + "in": "body", + "name": "requestBodyParameters", + "required": false, + "schema": { + "$ref": "#/definitions/AzureLargeInstance" + }, + "description": "request body for put call" + } + ], + "responses": { + "200": { + "description": "OK. The Azure Large Instance is updated.", + "schema": { + "$ref": "#/definitions/AzureLargeInstance" + } + }, + "201": { + "description": "Created.", + "schema": { + "$ref": "#/definitions/AzureLargeInstance" + } + }, + "501": { + "description": "This action must be performed through our operations team.", + "x-ms-error-response": true + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Azure Large Instances" + ], + "operationId": "AzureLargeInstance_Update", + "summary": "Patches the Tags field of an Azure Large Instance.", + "description": "Patches the Tags field of an Azure Large Instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Update Tags field of an Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_PatchTags.json" + }, + "Delete Tags field of an Azure Large Instance": { + "$ref": "./examples/AzureLargeInstance_PatchTags_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureLargeInstanceNameParameter" + }, + { + "$ref": "#/parameters/TagsParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstance": { + "get": { + "tags": [ + "Azure Large Storage Instances" + ], + "operationId": "AzureLargeStorageInstance_ListBySubscription", + "summary": "Gets a list of Azure Large Storage Instances in the specified subscription.", + "description": "Gets a list of AzureLargeStorageInstances in the specified subscription. The operations returns various properties of each Azure LargeStorage instance.", + "x-ms-examples": { + "List all AzureLargeStorageInstances in a subscription": { + "$ref": "./examples/AzureLargeStorageInstance_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeStorageInstanceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstance": { + "get": { + "tags": [ + "Azure Large Storage Instances" + ], + "operationId": "AzureLargeStorageInstance_ListByResourceGroup", + "summary": "Gets a list of Azure Large Storage Instances in the specified subscription and resource group.", + "description": "Gets a list of AzureLargeStorageInstances in the specified subscription and resource group. The operations returns various properties of each Azure LargeStorage instance.", + "x-ms-examples": { + "List all AzureLargeStorageInstances in a resource group": { + "$ref": "./examples/AzureLargeStorageInstance_ListByResourceGroup.json" + } + }, + "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" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeStorageInstanceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstance/{azureLargeStorageInstanceName}": { "get": { - "tags": ["Tag1"], - "operationId": "OperationGroup_Get", + "tags": [ + "Azure Large Storage Instances" + ], + "operationId": "AzureLargeStorageInstance_Get", + "summary": "Gets an Azure Large Storage Instance.", + "description": "Gets an Azure LargeStorage Storage instance for the specified subscription, resource group, and instance name.", + "x-ms-examples": { + "Get an AzureLargeStorageStorage instance": { + "$ref": "./examples/AzureLargeStorageInstance_Get.json" + } + }, + "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/AzureLargeStorageInstanceNameParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AzureLargeStorageInstance" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Azure Large Storage Instances" + ], + "summary": "Creates an Azure Large Storage Instance resource.", + "operationId": "AzureLargeStorageInstance_Create", + "x-ms-examples": { + "Put a new AzureLargeStorageInstance": { + "$ref": "./examples/AzureLargeStorageInstance_Create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/AzureLargeStorageInstanceNameParameter" + }, + { + "in": "body", + "name": "requestBodyParameters", + "required": true, + "schema": { + "$ref": "#/definitions/AzureLargeStorageInstance" + }, + "description": "request body for put call" + } + ], + "responses": { + "200": { + "description": "Update ok. Successfully created an Azure LargeStorageStorage resource.", + "schema": { + "$ref": "#/definitions/AzureLargeStorageInstance" + } + }, + "201": { + "description": "Created. The operation was successfully started and will complete asynchronously.", + "schema": { + "$ref": "#/definitions/AzureLargeStorageInstance" + } + }, + "501": { + "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.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Azure Large Storage Instances" + ], + "operationId": "AzureLargeStorageInstance_Update", + "summary": "Patches the Tags field of an Azure Large Storage instance.", + "description": "Patches the Tags field of a Azure Large Storage Instance for the specified subscription, resource group, and instance name.", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "./examples/OperationGroupGet.json" } + "Update Tags field of an AzureLargeStorageStorage instance": { + "$ref": "./examples/AzureLargeStorageInstance_PatchTags.json" + }, + "Delete Tags field of an AzureLargeStorageStorage instance": { + "$ref": "./examples/AzureLargeStorageInstance_PatchTags_Delete.json" + } }, - "description": "This is a sample get operation, please see guidelines in azure-rest-api-specs repository for more info", "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "$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/AzureLargeStorageInstanceNameParameter" }, { - "$ref": "#/parameters/ResourceGroupNameParameter" + "$ref": "#/parameters/TagsParameter" } ], "responses": { "200": { - "description": "Describe the result of a successful operation.", + "description": "OK", "schema": { - "$ref": "#/definitions/Result" + "$ref": "#/definitions/AzureLargeStorageInstance" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Azure Large Storage Instances" + ], + "summary": "Delete an Azure Large Storage Instance.", + "operationId": "AzureLargeStorageInstance_Delete", + "x-ms-examples": { + "Delete an AzureLargeStorageInstance": { + "$ref": "./examples/AzureLargeStorageInstance_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/AzureLargeStorageInstanceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The Azure Large Storage Instance is deleted." + }, + "204": { + "description": "NoContent" + }, + "501": { + "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.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -63,70 +839,445 @@ } }, "definitions": { - "Result": { - "description": "Sample result definition", + "AzureLargeInstanceListResult": { + "type": "object", "properties": { - "sampleProperty": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureLargeInstance" + }, + "description": "The list of Azure Large Instances." + }, + "nextLink": { "type": "string", - "description": "Sample property of type string" + "description": "The URL to get the next set of Azure Large Instances." } - } + }, + "description": "The response from the List Azure Large Instances operation." }, - "ErrorResponse": { - "description": "Error response.", + "AzureLargeInstance": { + "type": "object", "properties": { - "error": { - "$ref": "#/definitions/ErrorDefinition", - "description": "The error details." + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureLargeInstanceProperties", + "description": "Azure Large Instance properties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource.", + "readOnly": true } - } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ], + "description": "Azure Large Instance info on Azure (ARM properties and AzureLargeInstance properties)" }, - "ErrorDefinition": { - "description": "Error definition.", + "AzureLargeInstanceProperties": { + "type": "object", "properties": { - "code": { - "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Specifies the hardware settings for the Azure Large Instance." + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Specifies the storage settings for the Azure Large Instance disks." + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings for the Azure Large Instance." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Specifies the network settings for the Azure Large Instance." + }, + "azureLargeInstanceId": { + "readOnly": true, "type": "string", - "readOnly": true + "description": "Specifies the Azure Large Instance unique ID." }, - "message": { - "description": "Description of the error.", + "powerState": { + "readOnly": true, "type": "string", - "readOnly": true + "enum": [ + "starting", + "started", + "stopping", + "stopped", + "restarting", + "unknown" + ], + "x-ms-enum": { + "name": "AzureLargeInstancePowerStateEnum", + "modelAsString": true + }, + "description": "Resource power state" + }, + "proximityPlacementGroup": { + "readOnly": true, + "type": "string", + "description": "Resource proximity placement group" + }, + "hwRevision": { + "readOnly": true, + "type": "string", + "description": "Hardware revision of an Azure Large Instance" + }, + "partnerNodeId": { + "type": "string", + "description": "ARM ID of another AzureLargeInstance that will share a network with this AzureLargeInstance" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating", + "Canceled" + ], + "x-ms-enum": { + "name": "AzureLargeInstanceProvisioningStatesEnum", + "modelAsString": true + }, + "description": "State of provisioning of the AzureLargeInstance" + } + }, + "description": "Describes the properties of an Azure Large Instance." + }, + "HardwareProfile": { + "type": "object", + "properties": { + "hardwareType": { + "readOnly": true, + "type": "string", + "enum": [ + "Cisco_UCS", + "HPE", + "SDFLEX" + ], + "x-ms-enum": { + "name": "AzureLargeInstanceHardwareTypeNamesEnum", + "modelAsString": true + }, + "description": "Name of the hardware type (vendor and/or their product name)" + }, + "azureLargeInstanceSize": { + "readOnly": true, + "type": "string", + "enum": [ + "S72m", + "S144m", + "S72", + "S144", + "S192", + "S192m", + "S192xm", + "S96", + "S112", + "S224", + "S224m", + "S224om", + "S224oo", + "S224oom", + "S224ooo", + "S224se", + "S384", + "S384m", + "S384xm", + "S384xxm", + "S448", + "S448m", + "S448om", + "S448oo", + "S448oom", + "S448ooo", + "S448se", + "S576m", + "S576xm", + "S672", + "S672m", + "S672om", + "S672oo", + "S672oom", + "S672ooo", + "S768", + "S768m", + "S768xm", + "S896", + "S896m", + "S896om", + "S896oo", + "S896oom", + "S896ooo", + "S960m" + ], + "x-ms-enum": { + "name": "azureLargeInstanceSizeNamesEnum", + "modelAsString": true + }, + "description": "Specifies the Azure Large Instance SKU." + } + }, + "description": "Specifies the hardware settings for the Azure Large Instance." + }, + "Disk": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The disk name." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes." + } + }, + "description": "Specifies the disk information fo the Azure Large Instance" + }, + "StorageProfile": { + "type": "object", + "properties": { + "nfsIpAddress": { + "readOnly": true, + "type": "string", + "description": "IP Address to connect to storage." }, - "details": { - "description": "Internal error details.", + "osDisks": { "type": "array", "items": { - "$ref": "#/definitions/ErrorDefinition" + "$ref": "#/definitions/Disk" }, - "readOnly": true + "x-ms-identifiers": [ + "name" + ], + "description": "Specifies information about the operating system disk used by Azure Large Instance." } - } + }, + "description": "Specifies the storage settings for the Azure Large Instance disks." + }, + "OSProfile": { + "type": "object", + "properties": { + "computerName": { + "type": "string", + "description": "Specifies the host OS name of the Azure Large Instance." + }, + "osType": { + "readOnly": true, + "type": "string", + "description": "This property allows you to specify the type of the OS." + }, + "version": { + "readOnly": true, + "type": "string", + "description": "Specifies version of operating system." + }, + "sshPublicKey": { + "type": "string", + "description": "Specifies the SSH public key used to access the operating system." + } + }, + "description": "Specifies the operating system settings for the Azure Large Instance." + }, + "NetworkProfile": { + "type": "object", + "properties": { + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/IpAddress" + }, + "x-ms-identifiers": [ + "ipAddress" + ], + "description": "Specifies the network interfaces for the Azure Large Instance." + }, + "circuitId": { + "readOnly": true, + "type": "string", + "description": "Specifies the circuit id for connecting to express route." + } + }, + "description": "Specifies the network settings for the Azure Large Instance disks." + }, + "IpAddress": { + "type": "object", + "properties": { + "ipAddress": { + "type": "string", + "description": "Specifies the IP address of the network interface." + } + }, + "description": "Specifies the IP address of the network interface." + }, + "AzureLargeStorageInstanceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AzureLargeStorageInstance" + }, + "description": "The list of AzureLargeStorage instances.", + "x-ms-identifiers": [] + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of AzureLargeStorage instances." + } + }, + "description": "The response from the Get AzureLargeStorageInstances operation." + }, + "AzureLargeStorageInstance": { + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AzureLargeStorageInstanceProperties", + "description": "AzureLargeStorageInstance properties" + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "description": "The system metadata relating to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + } + ], + "description": "AzureLargeStorageInstance info on Azure (ARM properties and AzureLargeStorageInstance properties)" + }, + "AzureLargeStorageInstanceProperties": { + "type": "object", + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": { + "type": "string", + "description": "Specifies the AzureLargeStorageInstance unique ID." + }, + "storageProperties": { + "$ref": "#/definitions/StorageProperties", + "description": "Specifies the storage properties for the AzureLargeStorage instance." + } + }, + "description": "Describes the properties of an AzureLargeStorageInstance." + }, + "StorageProperties": { + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Canceled", + "Migrating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "description": "State of provisioning of the AzureLargeStorageInstance" + }, + "offeringType": { + "type": "string", + "description": "the offering type for which the resource is getting provisioned" + }, + "storageType": { + "type": "string", + "description": "the storage protocol for which the resource is getting provisioned" + }, + "generation": { + "type": "string", + "description": "the kind of storage instance" + }, + "hardwareType": { + "type": "string", + "description": "the hardware type of the storage instance" + }, + "workloadType": { + "type": "string", + "description": "the workload for which the resource is getting provisioned" + }, + "storageBillingProperties": { + "$ref": "#/definitions/StorageBillingProperties", + "description": "the billing related information for the resource" + } + }, + "description": "described the storage properties of the azure large storage instance" + }, + "StorageBillingProperties": { + "type": "object", + "properties": { + "billingMode": { + "type": "string", + "description": "the billing mode for the storage instance" + }, + "sku": { + "type": "string", + "description": "the SKU type that is provisioned" + } + }, + "description": "Describes the billing related details of the AzureLargeStorageInstance." + }, + "Tags": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Tags field of the AzureLargeInstance instance." + } + }, + "description": "Tags field of the AzureLargeInstance instance." } }, "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", + "AzureLargeInstanceNameParameter": { + "name": "azureLargeInstanceName", "in": "path", "required": true, "type": "string", - "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + "pattern": ".*", + "description": "Name of the AzureLargeInstance.", + "x-ms-parameter-location": "method" }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", + "AzureLargeStorageInstanceNameParameter": { + "name": "azureLargeStorageInstanceName", "in": "path", "required": true, "type": "string", - "description": "The name of the resource group.", + "pattern": ".*", + "description": "Name of the AzureLargeStorageInstance.", "x-ms-parameter-location": "method" }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", + "TagsParameter": { + "name": "tagsParameter", + "in": "body", "required": true, - "type": "string", - "description": "The API version to be used with the HTTP request." + "schema": { + "$ref": "#/definitions/Tags" + }, + "description": "Request body that only contains the new Tags field", + "x-ms-parameter-location": "method" } } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json new file mode 100644 index 000000000000..0ab5ce8f0b82 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AzureLargeInstanceOp1", + "display": { + "provider": "AzureLargeInstanceOp1ProviderName", + "resource": "AzureLargeInstanceOp1ResourceName", + "operation": "AzureLargeInstanceOp1OperationName", + "description": "AzureLargeInstanceOp1Description" + }, + "isDataAction": false + }, + { + "name": "AzureLargeInstanceOp2", + "display": { + "provider": "AzureLargeInstanceOp2ProviderName", + "resource": "AzureLargeInstanceOp2ResourceName", + "operation": "AzureLargeInstanceOp2OperationName", + "description": "AzureLargeInstanceOp2Description" + }, + "isDataAction": true + } + ] + } + } + } +}f diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json new file mode 100644 index 000000000000..b55afb5bc576 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myAzureLargeInstance" + }, + "responses": { + "200": {}, + "204": {}, + "501": {} + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json new file mode 100644 index 000000000000..8c269005dee0 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myAzureLargeInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance", + "location": "westus2", + "name": "myAzureLargeInstance", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "restarting", + "hwRevision": "Rev 4.2", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "123.123.123.123" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" + }, + "storageProfile": { + "nfsIpAddress": "123.123.119.123" + }, + "osProfile": { + "computerName": "myComputerName", + "osType": "SLES 12 SP2", + "version": "12 SP2" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json new file mode 100644 index 000000000000..02ed1176a81c --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeMetalInstance1", + "name": "myAzureLargeMetalInstance1", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "location": "westus", + "tags": { + "key": "value" + }, + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "started", + "proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", + "hwRevision": "Rev 3", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "100.100.100.100" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" + }, + "storageProfile": { + "nfsIpAddress": "200.200.200.200" + }, + "osProfile": { + "computerName": "myComputerName1", + "osType": "SUSE", + "version": "12 SP1", + "sshPublicKey": "{ssh-rsa public key}" + }, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myABMInstance2", + "name": "myABMInstance2", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "location": "westus", + "tags": { + "key": "value" + }, + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-21T08:01:22.0000000Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" + }, + "properties": { + "azureLargeInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9", + "powerState": "started", + "proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", + "hwRevision": "Rev 3", + "hardwareProfile": { + "hardwareType": "HPE", + "azureLargeInstanceSize": "S384" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "100.100.100.101" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" + }, + "storageProfile": { + "nfsIpAddress": "200.200.200.201" + }, + "osProfile": { + "computerName": "myComputerName2", + "osType": "SUSE", + "version": "12 SP1", + "sshPublicKey": "{ssh-rsa public key}" + }, + "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeMetalInstance1", + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json new file mode 100644 index 000000000000..f5abb5a1ef57 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance1", + "location": "westus2", + "name": "myAzureLargeInstance1", + "tags": { + "key": "value" + }, + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-21T08:01:22.0000000Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "restarting", + "hwRevision": "Rev 4.2", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "123.123.123.123" + } + ], + "circuitId": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" + }, + "storageProfile": { + "nfsIpAddress": "123.123.119.123" + }, + "osProfile": { + "computerName": "myComputerName", + "osType": "SLES 12 SP2", + "version": "12 SP2" + }, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance2", + "location": "westus2", + "name": "myAzureLargeInstance2", + "tags": { + "key": "value" + }, + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-21T08:01:22.0000000Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "properties": { + "azureLargeInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9", + "powerState": "restarting", + "hwRevision": "Rev 4.2", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "123.123.123.123" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" + }, + "storageProfile": { + "nfsIpAddress": "123.123.119.123" + }, + "osProfile": { + "computerName": "myComputerName2", + "osType": "SLES 12 SP2", + "version": "12 SP2" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json new file mode 100644 index 000000000000..aa1dac3d5da2 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myALInstance", + "tagsParameter": { + "tags": { + "testkey": "testvalue" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance", + "name": "myALInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "location": "westus", + "tags": { + "testkey": "testvalue" + }, + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "started", + "proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", + "hwRevision": "Rev 3", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "100.100.100.100" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" + }, + "storageProfile": { + "nfsIpAddress": "200.200.200.200" + }, + "osProfile": { + "computerName": "myComputerName", + "osType": "SUSE", + "version": "12 SP1", + "sshPublicKey": "{ssh-rsa public key}" + }, + "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance2", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json new file mode 100644 index 000000000000..86b7aa242b01 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myALInstance", + "tagsParameter": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance", + "name": "myALInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "location": "westus", + "tags": {}, + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "started", + "proximityPlacementGroup": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Compute/proximityPlacementGroups/myplacementgroup", + "hwRevision": "Rev 3", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "100.100.100.100" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuit" + }, + "storageProfile": { + "nfsIpAddress": "200.200.200.200" + }, + "osProfile": { + "computerName": "myComputerName", + "osType": "SUSE", + "version": "12 SP1", + "sshPublicKey": "{ssh-rsa public key}" + }, + "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance2", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json new file mode 100644 index 000000000000..98737e13b491 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myAzureLargeInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance", + "location": "westus2", + "name": "myAzureLargeInstance", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "restarting", + "hwRevision": "Rev 4.2", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "123.123.123.123" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" + }, + "storageProfile": { + "nfsIpAddress": "123.123.119.123" + }, + "osProfile": { + "computerName": "myComputerName", + "osType": "SLES 12 SP2", + "version": "12 SP2" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance", + "location": "westus2", + "name": "myAzureLargeInstance", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", + "powerState": "restarting", + "hwRevision": "Rev 4.2", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "azureLargeInstanceSize": "S72" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "123.123.123.123" + } + ], + "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" + }, + "storageProfile": { + "nfsIpAddress": "123.123.119.123" + }, + "osProfile": { + "computerName": "myComputerName", + "osType": "SLES 12 SP2", + "version": "12 SP2" + }, + "provisioningState": "Succeeded" + } + } + }, + "501": {} + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json new file mode 100644 index 000000000000..40c9ffa45967 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myALInstance" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000000001", + "status": "InProgress", + "startTime": "2023-08-04T21:17:24.9052926Z", + "error": { + "code": "", + "message": "" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json new file mode 100644 index 000000000000..40c9ffa45967 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myALInstance" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000000001", + "status": "InProgress", + "startTime": "2023-08-04T21:17:24.9052926Z", + "error": { + "code": "", + "message": "" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json new file mode 100644 index 000000000000..40c9ffa45967 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "azureLargeInstanceName": "myALInstance" + }, + "responses": { + "200": { + "body": { + "name": "00000000-0000-0000-0000-000000000001", + "status": "InProgress", + "startTime": "2023-08-04T21:17:24.9052926Z", + "error": { + "code": "", + "message": "" + } + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json new file mode 100644 index 000000000000..950cbb10855a --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "azureLargeStorageInstanceName": "myAzureLargeStorageInstance", + "requestBodyParameters": { + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + }, + "tags": { + "key": "value" + }, + "location": "westus2" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "location": "westus2", + "name": "myAzureLargeStorageInstance", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "location": "westus2", + "name": "myAzureLargeStorageInstance", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + } + }, + "501": {} + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json new file mode 100644 index 000000000000..031ad0da0159 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "azureLargeStorageInstanceName": "myAzureLargeStorageInstance" + }, + "responses": { + "200": {}, + "204": {}, + "501": {} + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json new file mode 100644 index 000000000000..880ec5d8e107 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeStorageInstanceName": "myAzureLargeStorageInstance" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "location": "westus2", + "name": "myAzureLargeStorageInstance", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json new file mode 100644 index 000000000000..16883391c3c1 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance1", + "location": "westus2", + "name": "myAzureLargeStorageInstance1", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + }, + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance2", + "location": "westus2", + "name": "myAzureLargeStorageInstance2", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-21T08:01:22.0000000Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24f7", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "NFS", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "Cogito", + "storageBillingProperties": { + "billingMode": "RI", + "sku": "" + } + } + } + } + ] + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json new file mode 100644 index 000000000000..3f10cbb47e07 --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeInstance1", + "location": "westus2", + "name": "myAzureLargeInstance1", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + }, + { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeInstance2", + "location": "westus2", + "name": "myAzureLargeInstance2", + "tags": { + "key": "value" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2021-07-21T08:01:22.0000000Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24f7", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "NFS", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "Cogito", + "storageBillingProperties": { + "billingMode": "RI", + "sku": "" + } + } + } + } + ] + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json new file mode 100644 index 000000000000..597b3e0eb3ab --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeStorageInstanceName": "myALSInstance", + "tagsParameter": { + "tags": { + "testkey": "testvalue" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "location": "westus2", + "name": "myAzureLargeStorageInstance", + "tags": { + "testkey": "testvalue" + }, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json new file mode 100644 index 000000000000..2d508663910d --- /dev/null +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2023-07-20-preview", + "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", + "resourceGroupName": "myResourceGroup", + "azureLargeStorageInstanceName": "myALSInstance", + "tagsParameter": { + "tags": {} + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "location": "westus2", + "name": "myAzureLargeStorageInstance", + "tags": {}, + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "systemData": { + "createdBy": "user@microsoft.com", + "createdByType": "User", + "createdAt": "2020-12-20T23:10:22.6828621Z", + "lastModifiedBy": "user@microsoft.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" + }, + "properties": { + "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", + "storageProperties": { + "provisioningState": "Succeeded", + "offeringType": "EPIC", + "storageType": "FC", + "generation": "Gen4", + "hardwareType": "NetApp", + "workloadType": "ODB", + "storageBillingProperties": { + "billingMode": "PAYG", + "sku": "" + } + } + } + } + } + } +} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json deleted file mode 100644 index 209b9bc11c9e..000000000000 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/OperationGroupGet.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "accountName": "sampleacct", - "resourceGroupName": "azurelargeinstanceClient", - "api-version": "2023-07-20-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "sampleProperty": "sampleProperty" - } - } - } -} From ffed86fc8d1fc7d6e03e9ae18d3a963cfc7f64da Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 8 Aug 2023 23:49:17 +0000 Subject: [PATCH 03/21] Fixed syntax error --- .../examples/AzureLargeInstanceOperations_List.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json index 0ab5ce8f0b82..05f784a49e69 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json @@ -30,4 +30,4 @@ } } } -}f +} From 886b621f1d085bf5aa13dc13f2e83cbd549aeb65 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Wed, 16 Aug 2023 21:26:10 +0000 Subject: [PATCH 04/21] Added force restart --- .../azurelargeinstance.json | 23 +++++++++++++++++++ .../examples/AzureLargeInstance_Restart.json | 5 +++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 7e4b9be440c0..bc951bee5dc7 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -233,6 +233,9 @@ }, { "$ref": "#/parameters/AzureLargeInstanceNameParameter" + }, + { + "$ref": "#/parameters/ForcePowerManagementOperationParameter" } ], "responses": { @@ -1248,6 +1251,16 @@ } }, "description": "Tags field of the AzureLargeInstance instance." + }, + "ForceFlag": { + "type": "object", + "properties": { + "force": { + "type": "boolean", + "description": "Whether to force restart by shutting all processes." + } + }, + "description": "The flag empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server" } }, "parameters": { @@ -1269,6 +1282,16 @@ "description": "Name of the AzureLargeStorageInstance.", "x-ms-parameter-location": "method" }, + "ForcePowerManagementOperationParameter": { + "name": "ForceParameter", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/ForceFlag" + }, + "description": "When set to 'true', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server", + "x-ms-parameter-location": "method" + }, "TagsParameter": { "name": "tagsParameter", "in": "body", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json index 40c9ffa45967..eb1590502ff6 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json @@ -3,7 +3,10 @@ "api-version": "2023-07-20-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", - "azureLargeInstanceName": "myALInstance" + "azureLargeInstanceName": "myALInstance", + "forceParameter": { + "force": true + } }, "responses": { "200": { From 8448a0e6cf44e3ab27e6f8f9c151c36dd4346701 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Mon, 21 Aug 2023 17:54:35 +0000 Subject: [PATCH 05/21] Corrected descriptions --- .../preview/2023-07-20-preview/azurelargeinstance.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index bc951bee5dc7..a6c919ff6404 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -246,7 +246,7 @@ } }, "202": { - "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning on and includes a 'Location' header to query the operation result.", + "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning off and includes a 'Location' header to query the operation result.", "headers": { "Location": { "type": "string", @@ -693,7 +693,7 @@ "tags": [ "Azure Large Storage Instances" ], - "summary": "Creates an Azure Large Storage Instance resource.", + "summary": "Creates an Azure Large Storage Instance.", "operationId": "AzureLargeStorageInstance_Create", "x-ms-examples": { "Put a new AzureLargeStorageInstance": { From 836371f35d832fed5ca503775ccad2e34edc54ed Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Mon, 21 Aug 2023 18:00:05 +0000 Subject: [PATCH 06/21] Corrected restart description --- .../preview/2023-07-20-preview/azurelargeinstance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index a6c919ff6404..ab30917c2e1e 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -246,7 +246,7 @@ } }, "202": { - "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning off and includes a 'Location' header to query the operation result.", + "description": "Accepted. The response indicates that the existing Azure Large Instance is now restarting and includes a 'Location' header to query the operation result.", "headers": { "Location": { "type": "string", From d3e501eea809c51f6cf8e8980493874592652b8b Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Mon, 21 Aug 2023 18:03:45 +0000 Subject: [PATCH 07/21] Corrected shutdown description --- .../preview/2023-07-20-preview/azurelargeinstance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index ab30917c2e1e..519d10cefcd8 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -309,7 +309,7 @@ } }, "202": { - "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning on and includes a 'Location' header to query the operation result.", + "description": "Accepted. The response indicates that the existing Azure Large Instance is now turning off and includes a 'Location' header to query the operation result.", "headers": { "Location": { "type": "string", From c80d5447b1885945c68ed4e8161666eb1d3b778d Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Mon, 21 Aug 2023 22:37:26 +0000 Subject: [PATCH 08/21] Addressing comments --- .../azurelargeinstance.json | 10 ++++++++-- .../AzureLargeInstanceOperations_List.json | 20 +++++++++---------- .../examples/AzureLargeInstance_Delete.json | 3 +-- .../examples/AzureLargeInstance_Put.json | 3 +-- .../AzureLargeStorageInstance_Create.json | 3 +-- .../AzureLargeStorageInstance_Delete.json | 3 +-- 6 files changed, 22 insertions(+), 20 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 519d10cefcd8..7293c502a676 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -2,10 +2,10 @@ "swagger": "2.0", "info": { "version": "2023-07-20-preview", - "title": "azurelargeinstance", + "title": "Azure Large Instance", "description": "The AzureLargeInstance Management client", "x-ms-code-generation-settings": { - "name": "azurelargeinstanceClient" + "name": "AzureLargeInstanceClient" } }, "host": "management.azure.com", @@ -1044,6 +1044,12 @@ "type": "integer", "format": "int32", "description": "Specifies the size of an empty data disk in gigabytes." + }, + "lun": { + "readOnly": true, + "type": "integer", + "format": "int32", + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." } }, "description": "Specifies the disk information fo the Azure Large Instance" diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json index 05f784a49e69..4f89110ea120 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstanceOperations_List.json @@ -7,22 +7,22 @@ "body": { "value": [ { - "name": "AzureLargeInstanceOp1", + "name": "Microsoft.AzureLargeInstance/read", "display": { - "provider": "AzureLargeInstanceOp1ProviderName", - "resource": "AzureLargeInstanceOp1ResourceName", - "operation": "AzureLargeInstanceOp1OperationName", - "description": "AzureLargeInstanceOp1Description" + "provider": "Microsoft Azure Large Instance", + "resource": "AzureLargeInstance", + "operation": "Read AzureLargeInstance", + "description": "Read any AzureLargeInstance" }, "isDataAction": false }, { - "name": "AzureLargeInstanceOp2", + "name": "Microsoft.AzureLargeInstance", "display": { - "provider": "AzureLargeInstanceOp2ProviderName", - "resource": "AzureLargeInstanceOp2ResourceName", - "operation": "AzureLargeInstanceOp2OperationName", - "description": "AzureLargeInstanceOp2Description" + "provider": "Microsoft Azure Large Instance", + "resource": "AzureLargeInstance", + "operation": "Start AzureLargeInstance", + "description": "Start any AzureLargeInstance" }, "isDataAction": true } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json index b55afb5bc576..10df13e9086d 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json @@ -7,7 +7,6 @@ }, "responses": { "200": {}, - "204": {}, - "501": {} + "204": {} } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json index 98737e13b491..dcbe552437b8 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json @@ -95,7 +95,6 @@ "provisioningState": "Succeeded" } } - }, - "501": {} + } } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json index 950cbb10855a..c6e19a362cdb 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json @@ -94,7 +94,6 @@ } } } - }, - "501": {} + } } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json index 031ad0da0159..b9127dc54774 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json @@ -7,7 +7,6 @@ }, "responses": { "200": {}, - "204": {}, - "501": {} + "204": {} } } From 5a39ff6ad72e1dfadf18a5181461e240d748244a Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 22 Aug 2023 16:52:34 +0000 Subject: [PATCH 09/21] Updated parameters to v5 --- .../azurelargeinstance.json | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 7293c502a676..98d9df57de8a 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -425,13 +425,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/AzureLargeInstanceNameParameter" @@ -470,13 +470,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/AzureLargeInstanceNameParameter" @@ -579,10 +579,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -619,13 +619,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -662,13 +662,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/AzureLargeStorageInstanceNameParameter" @@ -765,13 +765,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/AzureLargeStorageInstanceNameParameter" @@ -1158,13 +1158,13 @@ "description": "AzureLargeStorageInstance properties" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData", + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "The system metadata relating to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], "description": "AzureLargeStorageInstance info on Azure (ARM properties and AzureLargeStorageInstance properties)" From c6f1a1960bcc9091855953dafa08dcad22a189d1 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 22 Aug 2023 17:02:05 +0000 Subject: [PATCH 10/21] Corrected description typo --- .../preview/2023-07-20-preview/azurelargeinstance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 98d9df57de8a..adffdf6a5eb2 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -654,7 +654,7 @@ ], "operationId": "AzureLargeStorageInstance_Get", "summary": "Gets an Azure Large Storage Instance.", - "description": "Gets an Azure LargeStorage Storage instance for the specified subscription, resource group, and instance name.", + "description": "Gets an Azure Large Storage instance for the specified subscription, resource group, and instance name.", "x-ms-examples": { "Get an AzureLargeStorageStorage instance": { "$ref": "./examples/AzureLargeStorageInstance_Get.json" From d22ff2a987640757265498d2ebb7aefcd22250c9 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 22 Aug 2023 20:50:48 +0000 Subject: [PATCH 11/21] Removed put and delete operations --- .../azurelargeinstance.json | 208 ------------------ .../examples/AzureLargeInstance_Delete.json | 12 - .../examples/AzureLargeInstance_Put.json | 100 --------- .../AzureLargeStorageInstance_Create.json | 99 --------- .../AzureLargeStorageInstance_Delete.json | 12 - 5 files changed, 431 deletions(-) delete mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json delete mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json delete mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json delete mode 100644 specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index adffdf6a5eb2..925ad88872bb 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -411,111 +411,6 @@ } } }, - "delete": { - "tags": [ - "Azure Large Instances" - ], - "operationId": "AzureLargeInstance_Delete", - "summary": "Deletes an Azure Large Instance.", - "description": "Deletes an Azure Large Instance for the specified subscription, resource group, and instance name.", - "x-ms-examples": { - "Delete an Azure Large Instance": { - "$ref": "./examples/AzureLargeInstance_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureLargeInstanceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK. The Azure Large Instance is deleted." - }, - "204": { - "description": "NoContent" - }, - "501": { - "description": "This action must be performed through our operations team.", - "x-ms-error-response": true - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "Azure Large Instances" - ], - "operationId": "AzureLargeInstance_Put", - "summary": "Adds an Azure Large Instance.", - "description": "Adds an Azure Large Instance for the specified subscription, resource group, and instance name.", - "x-ms-examples": { - "Put a new Azure Large Instance": { - "$ref": "./examples/AzureLargeInstance_Put.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureLargeInstanceNameParameter" - }, - { - "in": "body", - "name": "requestBodyParameters", - "required": false, - "schema": { - "$ref": "#/definitions/AzureLargeInstance" - }, - "description": "request body for put call" - } - ], - "responses": { - "200": { - "description": "OK. The Azure Large Instance is updated.", - "schema": { - "$ref": "#/definitions/AzureLargeInstance" - } - }, - "201": { - "description": "Created.", - "schema": { - "$ref": "#/definitions/AzureLargeInstance" - } - }, - "501": { - "description": "This action must be performed through our operations team.", - "x-ms-error-response": true - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, "patch": { "tags": [ "Azure Large Instances" @@ -689,65 +584,6 @@ } } }, - "put": { - "tags": [ - "Azure Large Storage Instances" - ], - "summary": "Creates an Azure Large Storage Instance.", - "operationId": "AzureLargeStorageInstance_Create", - "x-ms-examples": { - "Put a new AzureLargeStorageInstance": { - "$ref": "./examples/AzureLargeStorageInstance_Create.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/AzureLargeStorageInstanceNameParameter" - }, - { - "in": "body", - "name": "requestBodyParameters", - "required": true, - "schema": { - "$ref": "#/definitions/AzureLargeStorageInstance" - }, - "description": "request body for put call" - } - ], - "responses": { - "200": { - "description": "Update ok. Successfully created an Azure LargeStorageStorage resource.", - "schema": { - "$ref": "#/definitions/AzureLargeStorageInstance" - } - }, - "201": { - "description": "Created. The operation was successfully started and will complete asynchronously.", - "schema": { - "$ref": "#/definitions/AzureLargeStorageInstance" - } - }, - "501": { - "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.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, "patch": { "tags": [ "Azure Large Storage Instances" @@ -794,50 +630,6 @@ } } } - }, - "delete": { - "tags": [ - "Azure Large Storage Instances" - ], - "summary": "Delete an Azure Large Storage Instance.", - "operationId": "AzureLargeStorageInstance_Delete", - "x-ms-examples": { - "Delete an AzureLargeStorageInstance": { - "$ref": "./examples/AzureLargeStorageInstance_Delete.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AzureLargeStorageInstanceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The Azure Large Storage Instance is deleted." - }, - "204": { - "description": "NoContent" - }, - "501": { - "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.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } } } }, diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json deleted file mode 100644 index 10df13e9086d..000000000000 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Delete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2023-07-20-preview", - "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", - "resourceGroupName": "myResourceGroup", - "azureLargeInstanceName": "myAzureLargeInstance" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json deleted file mode 100644 index dcbe552437b8..000000000000 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Put.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "parameters": { - "api-version": "2023-07-20-preview", - "subscriptionId": "f0f4887f-d13c-4943-a8ba-d7da28d2a3fd", - "resourceGroupName": "myResourceGroup", - "azureLargeInstanceName": "myAzureLargeInstance" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance", - "location": "westus2", - "name": "myAzureLargeInstance", - "tags": { - "key": "value" - }, - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "2020-12-20T23:10:22.6828621Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" - }, - "properties": { - "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", - "powerState": "restarting", - "hwRevision": "Rev 4.2", - "hardwareProfile": { - "hardwareType": "Cisco_UCS", - "azureLargeInstanceSize": "S72" - }, - "networkProfile": { - "networkInterfaces": [ - { - "ipAddress": "123.123.123.123" - } - ], - "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" - }, - "storageProfile": { - "nfsIpAddress": "123.123.119.123" - }, - "osProfile": { - "computerName": "myComputerName", - "osType": "SLES 12 SP2", - "version": "12 SP2" - }, - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance", - "location": "westus2", - "name": "myAzureLargeInstance", - "tags": { - "key": "value" - }, - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "2020-12-20T23:10:22.6828621Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" - }, - "properties": { - "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", - "powerState": "restarting", - "hwRevision": "Rev 4.2", - "hardwareProfile": { - "hardwareType": "Cisco_UCS", - "azureLargeInstanceSize": "S72" - }, - "networkProfile": { - "networkInterfaces": [ - { - "ipAddress": "123.123.123.123" - } - ], - "circuitId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.Network/expressRouteCircuits/myCircuitId" - }, - "storageProfile": { - "nfsIpAddress": "123.123.119.123" - }, - "osProfile": { - "computerName": "myComputerName", - "osType": "SLES 12 SP2", - "version": "12 SP2" - }, - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json deleted file mode 100644 index c6e19a362cdb..000000000000 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Create.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "parameters": { - "api-version": "2023-07-20-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "azureLargeStorageInstanceName": "myAzureLargeStorageInstance", - "requestBodyParameters": { - "properties": { - "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", - "storageProperties": { - "provisioningState": "Succeeded", - "offeringType": "EPIC", - "storageType": "FC", - "generation": "Gen4", - "hardwareType": "NetApp", - "workloadType": "ODB", - "storageBillingProperties": { - "billingMode": "PAYG", - "sku": "" - } - } - }, - "tags": { - "key": "value" - }, - "location": "westus2" - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", - "location": "westus2", - "name": "myAzureLargeStorageInstance", - "tags": { - "key": "value" - }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "2020-12-20T23:10:22.6828621Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" - }, - "properties": { - "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", - "storageProperties": { - "provisioningState": "Succeeded", - "offeringType": "EPIC", - "storageType": "FC", - "generation": "Gen4", - "hardwareType": "NetApp", - "workloadType": "ODB", - "storageBillingProperties": { - "billingMode": "PAYG", - "sku": "" - } - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", - "location": "westus2", - "name": "myAzureLargeStorageInstance", - "tags": { - "key": "value" - }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", - "systemData": { - "createdBy": "user@microsoft.com", - "createdByType": "User", - "createdAt": "2020-12-20T23:10:22.6828621Z", - "lastModifiedBy": "user@microsoft.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-07-21T08:01:22.0000000Z" - }, - "properties": { - "azureLargeStorageInstanceUniqueIdentifier": "23415635-4d7e-41dc-9598-8194f22c24e9", - "storageProperties": { - "provisioningState": "Succeeded", - "offeringType": "EPIC", - "storageType": "FC", - "generation": "Gen4", - "hardwareType": "NetApp", - "workloadType": "ODB", - "storageBillingProperties": { - "billingMode": "PAYG", - "sku": "" - } - } - } - } - } - } -} diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json deleted file mode 100644 index b9127dc54774..000000000000 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Delete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2023-07-20-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "azureLargeStorageInstanceName": "myAzureLargeStorageInstance" - }, - "responses": { - "200": {}, - "204": {} - } -} From a93331de7d999591bc9f54e919b13c3b63a1576d Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Thu, 24 Aug 2023 18:59:35 +0000 Subject: [PATCH 12/21] Removed unnecessary properties from AzureLargeStorageInstance --- .../preview/2023-07-20-preview/azurelargeinstance.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 925ad88872bb..68841da12506 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -658,11 +658,6 @@ "x-ms-client-flatten": true, "$ref": "#/definitions/AzureLargeInstanceProperties", "description": "Azure Large Instance properties" - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", - "description": "The system metadata relating to this resource.", - "readOnly": true } }, "allOf": [ @@ -942,7 +937,6 @@ }, "AzureLargeStorageInstance": { "type": "object", - "x-ms-azure-resource": true, "properties": { "properties": { "x-ms-client-flatten": true, From ab8a07dbbfffcb692ad1398bb79b8c4c799bdf95 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Wed, 6 Sep 2023 17:20:37 +0000 Subject: [PATCH 13/21] Updated force restart in spec --- .../azurelargeinstance.json | 22 +++++++++++++------ .../examples/AzureLargeInstance_Restart.json | 4 ++-- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 68841da12506..926dfdc53229 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -1044,15 +1044,23 @@ }, "description": "Tags field of the AzureLargeInstance instance." }, - "ForceFlag": { + "ForceState": { "type": "object", "properties": { - "force": { - "type": "boolean", + "forceState": { + "type": "string", + "enum": [ + "active", + "inactive" + ], + "x-ms-enum": { + "name": "AzureLargeInstanceForcePowerState", + "modelAsString": true + }, "description": "Whether to force restart by shutting all processes." } }, - "description": "The flag empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server" + "description": "The active state empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server" } }, "parameters": { @@ -1075,13 +1083,13 @@ "x-ms-parameter-location": "method" }, "ForcePowerManagementOperationParameter": { - "name": "ForceParameter", + "name": "forceParameter", "in": "body", "required": false, "schema": { - "$ref": "#/definitions/ForceFlag" + "$ref": "#/definitions/ForceState" }, - "description": "When set to 'true', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server", + "description": "When set to 'active', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server", "x-ms-parameter-location": "method" }, "TagsParameter": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json index eb1590502ff6..518cdded5aed 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json @@ -4,8 +4,8 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "azureLargeInstanceName": "myALInstance", - "forceParameter": { - "force": true + "forceState": { + "state": "active" } }, "responses": { From dd1d53aafe7832df3f4d0dca8ddc6d316be8507f Mon Sep 17 00:00:00 2001 From: Alexandra Avendano Date: Tue, 19 Sep 2023 13:16:06 -0700 Subject: [PATCH 14/21] Suppressing linter rule for PUT --- .../azurelargeinstance/resource-manager/readme.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specification/azurelargeinstance/resource-manager/readme.md b/specification/azurelargeinstance/resource-manager/readme.md index 192585e57832..ef14f6caca6e 100644 --- a/specification/azurelargeinstance/resource-manager/readme.md +++ b/specification/azurelargeinstance/resource-manager/readme.md @@ -76,3 +76,16 @@ See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp See configuration in [readme.csharp.md](./readme.csharp.md) + +### Suppress linting rules + +These set of linting rules aren't applicable to the AzureLargeInstance RP so suppressing them here. + +``` yaml +suppressions: + - code: TrackedResourcesMustHavePut + - reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. + - where: + - $definitions.AzureLargeInstance + - $definitions.AzureLargeStorageInstance +``` \ No newline at end of file From 59f47aab7f821eb8a9e5099668a64fcb760b15fa Mon Sep 17 00:00:00 2001 From: Alexandra Avendano Date: Wed, 20 Sep 2023 14:16:49 -0700 Subject: [PATCH 15/21] Fixing missing plurals --- .../2023-07-20-preview/azurelargeinstance.json | 16 ++++++++-------- .../examples/AzureLargeInstance_Get.json | 2 +- .../AzureLargeInstance_ListByResourceGroup.json | 6 +++--- .../AzureLargeInstance_ListBySubscription.json | 4 ++-- .../examples/AzureLargeInstance_PatchTags.json | 4 ++-- .../AzureLargeInstance_PatchTags_Delete.json | 4 ++-- .../examples/AzureLargeInstance_Restart.json | 2 +- .../examples/AzureLargeInstance_Shutdown.json | 2 +- .../examples/AzureLargeInstance_Start.json | 2 +- .../examples/AzureLargeStorageInstance_Get.json | 2 +- ...LargeStorageInstance_ListByResourceGroup.json | 4 ++-- ...eLargeStorageInstance_ListBySubscription.json | 4 ++-- .../AzureLargeStorageInstance_PatchTags.json | 2 +- ...ureLargeStorageInstance_PatchTags_Delete.json | 2 +- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 926dfdc53229..33796863c160 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -51,7 +51,7 @@ } ], "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeInstance": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeInstances": { "get": { "tags": [ "Azure Large Instances" @@ -91,7 +91,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances": { "get": { "tags": [ "Azure Large Instances" @@ -134,7 +134,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}/start": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}/start": { "post": { "tags": [ "Azure Large Instances" @@ -197,7 +197,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}/restart": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}/restart": { "post": { "tags": [ "Azure Large Instances" @@ -263,7 +263,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}/shutdown": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}/shutdown": { "post": { "tags": [ "Azure Large Instances" @@ -369,7 +369,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstance/{azureLargeInstanceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}": { "get": { "tags": [ "Azure Large Instances" @@ -499,7 +499,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstance": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances": { "get": { "tags": [ "Azure Large Storage Instances" @@ -542,7 +542,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstance/{azureLargeStorageInstanceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances/{azureLargeStorageInstanceName}": { "get": { "tags": [ "Azure Large Storage Instances" diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json index 8c269005dee0..21faa8e8f4ba 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeInstance", "location": "westus2", "name": "myAzureLargeInstance", "tags": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json index 02ed1176a81c..e98ac7bddee1 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json @@ -9,7 +9,7 @@ "body": { "value": [ { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeMetalInstance1", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeMetalInstance1", "name": "myAzureLargeMetalInstance1", "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", "location": "westus", @@ -54,7 +54,7 @@ } }, { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myABMInstance2", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myABMInstance2", "name": "myABMInstance2", "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", "location": "westus", @@ -95,7 +95,7 @@ "version": "12 SP1", "sshPublicKey": "{ssh-rsa public key}" }, - "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeMetalInstance1", + "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeMetalInstance1", "provisioningState": "Succeeded" } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json index f5abb5a1ef57..477c6b44a167 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance1", + "id": "/subscriptions/57d3422f-467a-448e-b798-ebf490849542/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeInstance1", "location": "westus2", "name": "myAzureLargeInstance1", "tags": { @@ -51,7 +51,7 @@ } }, { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myAzureLargeInstance2", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeInstance2", "location": "westus2", "name": "myAzureLargeInstance2", "tags": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json index aa1dac3d5da2..f84f3e5f5250 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json @@ -13,7 +13,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance", "name": "myALInstance", "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", "location": "westus", @@ -54,7 +54,7 @@ "version": "12 SP1", "sshPublicKey": "{ssh-rsa public key}" }, - "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance2", + "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance2", "provisioningState": "Succeeded" } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json index 86b7aa242b01..f93eb3d8ebb3 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json @@ -11,7 +11,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance", "name": "myALInstance", "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", "location": "westus", @@ -50,7 +50,7 @@ "version": "12 SP1", "sshPublicKey": "{ssh-rsa public key}" }, - "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstance/myALInstance2", + "partnerNodeId": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance2", "provisioningState": "Succeeded" } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json index 518cdded5aed..8ff8fd5750ea 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Restart.json @@ -22,7 +22,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" } } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json index 40c9ffa45967..86946a6476b4 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Shutdown.json @@ -19,7 +19,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" } } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json index 40c9ffa45967..86946a6476b4 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Start.json @@ -19,7 +19,7 @@ }, "202": { "headers": { - "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppPlatform/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2023-07-20" } } } diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json index 880ec5d8e107..39fd7e38925e 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -8,7 +8,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeStorageInstance", "location": "westus2", "name": "myAzureLargeStorageInstance", "tags": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json index 16883391c3c1..6d445b759b4f 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json @@ -9,7 +9,7 @@ "body": { "value": [ { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance1", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeStorageInstance1", "location": "westus2", "name": "myAzureLargeStorageInstance1", "tags": { @@ -41,7 +41,7 @@ } }, { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance2", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeStorageInstance2", "location": "westus2", "name": "myAzureLargeStorageInstance2", "tags": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json index 3f10cbb47e07..83e776cdb15f 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json @@ -8,7 +8,7 @@ "body": { "value": [ { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeInstance1", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeInstance1", "location": "westus2", "name": "myAzureLargeInstance1", "tags": { @@ -40,7 +40,7 @@ } }, { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeInstance2", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeInstance2", "location": "westus2", "name": "myAzureLargeInstance2", "tags": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json index 597b3e0eb3ab..ad72f0397874 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json @@ -13,7 +13,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeStorageInstance", "location": "westus2", "name": "myAzureLargeStorageInstance", "tags": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json index 2d508663910d..1ddde27ce11c 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json @@ -11,7 +11,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstance/myAzureLargeStorageInstance", + "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeStorageInstances/myAzureLargeStorageInstance", "location": "westus2", "name": "myAzureLargeStorageInstance", "tags": {}, From e1a34851436ff7c83682f133b4cc412137b380d1 Mon Sep 17 00:00:00 2001 From: Alexandra Avendano Date: Wed, 20 Sep 2023 15:10:10 -0700 Subject: [PATCH 16/21] Fixing plural in the example type --- .../preview/2023-07-20-preview/azurelargeinstance.json | 2 +- .../2023-07-20-preview/examples/AzureLargeInstance_Get.json | 2 +- .../examples/AzureLargeInstance_ListByResourceGroup.json | 4 ++-- .../examples/AzureLargeInstance_ListBySubscription.json | 4 ++-- .../examples/AzureLargeInstance_PatchTags.json | 2 +- .../examples/AzureLargeInstance_PatchTags_Delete.json | 2 +- .../examples/AzureLargeStorageInstance_Get.json | 2 +- .../AzureLargeStorageInstance_ListByResourceGroup.json | 4 ++-- .../AzureLargeStorageInstance_ListBySubscription.json | 4 ++-- .../examples/AzureLargeStorageInstance_PatchTags.json | 2 +- .../examples/AzureLargeStorageInstance_PatchTags_Delete.json | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index 33796863c160..b303e93c9458 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -459,7 +459,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstance": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeStorageInstances": { "get": { "tags": [ "Azure Large Storage Instances" diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json index 21faa8e8f4ba..943c0f04a6ad 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_Get.json @@ -14,7 +14,7 @@ "tags": { "key": "value" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json index e98ac7bddee1..8ee165ffef5b 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListByResourceGroup.json @@ -11,7 +11,7 @@ { "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myAzureLargeMetalInstance1", "name": "myAzureLargeMetalInstance1", - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "location": "westus", "tags": { "key": "value" @@ -56,7 +56,7 @@ { "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myABMInstance2", "name": "myABMInstance2", - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "location": "westus", "tags": { "key": "value" diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json index 477c6b44a167..91dd7c065016 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_ListBySubscription.json @@ -22,7 +22,7 @@ "lastModifiedByType": "User", "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "properties": { "azureLargeInstanceId": "23415635-4d7e-41dc-9598-8194f22c24e1", "powerState": "restarting", @@ -65,7 +65,7 @@ "lastModifiedByType": "User", "lastModifiedAt": "2021-08-13T08:01:22.1234567Z" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "properties": { "azureLargeInstanceId": "589bce49-9fe6-4dc8-82df-cf6ae25e0cb9", "powerState": "restarting", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json index f84f3e5f5250..9a30bb63c5bd 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags.json @@ -15,7 +15,7 @@ "body": { "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance", "name": "myALInstance", - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "location": "westus", "tags": { "testkey": "testvalue" diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json index f93eb3d8ebb3..fc21e85dc5e4 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeInstance_PatchTags_Delete.json @@ -13,7 +13,7 @@ "body": { "id": "/subscriptions/f0f4887f-d13c-4943-a8ba-d7da28d2a3fd/resourceGroups/myResourceGroup/providers/Microsoft.AzureLargeInstance/AzureLargeInstances/myALInstance", "name": "myALInstance", - "type": "Microsoft.AzureLargeInstance/AzureLargeInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeInstances", "location": "westus", "tags": {}, "systemData": { diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json index 39fd7e38925e..e331b0ffaa59 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_Get.json @@ -14,7 +14,7 @@ "tags": { "key": "value" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json index 6d445b759b4f..74f5b8809cda 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListByResourceGroup.json @@ -15,7 +15,7 @@ "tags": { "key": "value" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", @@ -47,7 +47,7 @@ "tags": { "key": "value" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json index 83e776cdb15f..09773c17350c 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_ListBySubscription.json @@ -14,7 +14,7 @@ "tags": { "key": "value" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", @@ -46,7 +46,7 @@ "tags": { "key": "value" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json index ad72f0397874..89803d4bdc1b 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags.json @@ -19,7 +19,7 @@ "tags": { "testkey": "testvalue" }, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json index 1ddde27ce11c..53895764f0c2 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/examples/AzureLargeStorageInstance_PatchTags_Delete.json @@ -15,7 +15,7 @@ "location": "westus2", "name": "myAzureLargeStorageInstance", "tags": {}, - "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstance", + "type": "Microsoft.AzureLargeInstance/AzureLargeStorageInstances", "systemData": { "createdBy": "user@microsoft.com", "createdByType": "User", From b972ec304fec8d329fde0289a0697c2fda800b98 Mon Sep 17 00:00:00 2001 From: Alexandra Avendano Date: Wed, 20 Sep 2023 16:49:28 -0700 Subject: [PATCH 17/21] Fixing pagination on operation list request --- .../preview/2023-07-20-preview/azurelargeinstance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json index b303e93c9458..5479cc294091 100644 --- a/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json +++ b/specification/azurelargeinstance/resource-manager/Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json @@ -365,7 +365,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, From 790d5a2927322a7bb34a56d0553a6fe32c0ea040 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 24 Oct 2023 17:01:06 +0000 Subject: [PATCH 18/21] Fixed formatting in readme.md --- specification/azurelargeinstance/resource-manager/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/readme.md b/specification/azurelargeinstance/resource-manager/readme.md index ef14f6caca6e..175246584524 100644 --- a/specification/azurelargeinstance/resource-manager/readme.md +++ b/specification/azurelargeinstance/resource-manager/readme.md @@ -84,8 +84,8 @@ These set of linting rules aren't applicable to the AzureLargeInstance RP so sup ``` yaml suppressions: - code: TrackedResourcesMustHavePut - - reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. - - where: + reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. + where: - $definitions.AzureLargeInstance - $definitions.AzureLargeStorageInstance ``` \ No newline at end of file From f66cf81d9aeceaefd116269c1a04293d9c3d7e5e Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 24 Oct 2023 18:00:42 +0000 Subject: [PATCH 19/21] Fixing suppression format --- specification/azurelargeinstance/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/azurelargeinstance/resource-manager/readme.md b/specification/azurelargeinstance/resource-manager/readme.md index 175246584524..7be5f436d832 100644 --- a/specification/azurelargeinstance/resource-manager/readme.md +++ b/specification/azurelargeinstance/resource-manager/readme.md @@ -84,6 +84,7 @@ These set of linting rules aren't applicable to the AzureLargeInstance RP so sup ``` yaml suppressions: - code: TrackedResourcesMustHavePut + from: Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. where: - $definitions.AzureLargeInstance From a4116ffefc8078914c3ecb002545f719683f4927 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 24 Oct 2023 21:29:11 +0000 Subject: [PATCH 20/21] Changed order ot suppression in readme --- specification/azurelargeinstance/resource-manager/readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/readme.md b/specification/azurelargeinstance/resource-manager/readme.md index 7be5f436d832..69cb9d906700 100644 --- a/specification/azurelargeinstance/resource-manager/readme.md +++ b/specification/azurelargeinstance/resource-manager/readme.md @@ -84,9 +84,8 @@ These set of linting rules aren't applicable to the AzureLargeInstance RP so sup ``` yaml suppressions: - code: TrackedResourcesMustHavePut - from: Microsoft.AzureLargeInstance/preview/2023-07-20-preview/azurelargeinstance.json - reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. where: - $definitions.AzureLargeInstance - $definitions.AzureLargeStorageInstance + reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. ``` \ No newline at end of file From e759fad5cfdb9a4a2a799039d62e13821c17e754 Mon Sep 17 00:00:00 2001 From: Ashwin Jeyaseelan Date: Tue, 24 Oct 2023 21:35:03 +0000 Subject: [PATCH 21/21] Fixed missing . in front of definitions under suppressions --- specification/azurelargeinstance/resource-manager/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/azurelargeinstance/resource-manager/readme.md b/specification/azurelargeinstance/resource-manager/readme.md index 69cb9d906700..573576192327 100644 --- a/specification/azurelargeinstance/resource-manager/readme.md +++ b/specification/azurelargeinstance/resource-manager/readme.md @@ -85,7 +85,7 @@ These set of linting rules aren't applicable to the AzureLargeInstance RP so sup suppressions: - code: TrackedResourcesMustHavePut where: - - $definitions.AzureLargeInstance - - $definitions.AzureLargeStorageInstance + - $.definitions.AzureLargeInstance + - $.definitions.AzureLargeStorageInstance reason: All PUT actions are carried out internally by our specialized team utilizing Geneva actions. This process is not currently available for external use. ``` \ No newline at end of file