From 96e8b5e54205731955e02b2f86525329e58f9003 Mon Sep 17 00:00:00 2001
From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com>
Date: Mon, 3 Oct 2022 13:34:33 -0700
Subject: [PATCH 01/30] Adds base for updating Microsoft.AzureStackHCI from
version stable/2021-09-01 to version 2021-09-01-preview
---
.../2021-09-01-preview/arcSettings.json | 379 +++++++++++
.../preview/2021-09-01-preview/clusters.json | 643 ++++++++++++++++++
.../examples/CreateCluster.json | 50 ++
.../examples/DeleteArcSetting.json | 14 +
.../examples/DeleteCluster.json | 12 +
.../examples/DeleteExtension.json | 15 +
.../examples/GetArcSetting.json | 42 ++
.../examples/GetCluster.json | 90 +++
.../examples/GetExtension.json | 52 ++
.../examples/ListArcSettingsByCluster.json | 45 ++
.../examples/ListClustersByResourceGroup.json | 123 ++++
.../examples/ListClustersBySubscription.json | 122 ++++
.../examples/ListExtensionsByArcSetting.json | 93 +++
.../examples/PatchExtension.json | 64 ++
.../examples/PutArcSetting.json | 43 ++
.../examples/PutExtension.json | 107 +++
.../examples/UpdateCluster.json | 106 +++
.../2021-09-01-preview/extensions.json | 500 ++++++++++++++
.../2021-09-01-preview/operations.json | 68 ++
19 files changed, 2568 insertions(+)
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
new file mode 100644
index 000000000000..f3c927c15490
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
@@ -0,0 +1,379 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-09-01",
+ "title": "AzureStackHCI",
+ "description": "Azure Stack HCI management service"
+ },
+ "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.AzureStackHCI/clusters/{clusterName}/arcSettings": {
+ "get": {
+ "operationId": "ArcSettings_ListByCluster",
+ "description": "Get ArcSetting resources of HCI Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArcSettingList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List ArcSetting resources by HCI Cluster": {
+ "$ref": "./examples/ListArcSettingsByCluster.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}": {
+ "get": {
+ "operationId": "ArcSettings_Get",
+ "description": "Get ArcSetting resource details of HCI Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArcSetting"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ArcSetting": {
+ "$ref": "./examples/GetArcSetting.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "ArcSettings_Create",
+ "description": "Create ArcSetting for HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "name": "arcSetting",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArcSetting"
+ },
+ "description": "Parameters supplied to the Create ArcSetting resource for this HCI cluster."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ArcSetting"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create ArcSetting": {
+ "$ref": "./examples/PutArcSetting.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "ArcSettings_Delete",
+ "description": "Delete ArcSetting resource details of HCI Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Delete ArcSetting": {
+ "$ref": "./examples/DeleteArcSetting.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ArcSettingList": {
+ "description": "List of ArcSetting proxy resources for the HCI cluster.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of ArcSetting proxy resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArcSetting"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ArcSetting": {
+ "description": "ArcSetting details.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "description": "System data of ArcSetting resource",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ },
+ "properties": {
+ "description": "ArcSetting properties.",
+ "$ref": "#/definitions/ArcSettingProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ArcSettingProperties": {
+ "description": "ArcSetting properties.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the ArcSetting proxy resource.",
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Accepted",
+ "Provisioning"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "arcInstanceResourceGroup": {
+ "description": "The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources.",
+ "type": "string",
+ "readOnly": true
+ },
+ "aggregateState": {
+ "description": "Aggregate state of Arc agent across the nodes in this HCI cluster.",
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Error",
+ "Succeeded",
+ "Canceled",
+ "Failed",
+ "Connected",
+ "Disconnected",
+ "Deleted",
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Moving",
+ "PartiallySucceeded",
+ "PartiallyConnected",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ArcSettingAggregateState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "perNodeDetails": {
+ "description": "State of Arc agent in each of the nodes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PerNodeState"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "PerNodeState": {
+ "description": "Status of Arc agent for a particular node in HCI Cluster.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Name of the Node in HCI Cluster"
+ },
+ "arcInstance": {
+ "description": "Fully qualified resource ID for the Arc agent of this node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "State of Arc agent in this node.",
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Error",
+ "Succeeded",
+ "Canceled",
+ "Failed",
+ "Connected",
+ "Disconnected",
+ "Deleted",
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Moving"
+ ],
+ "x-ms-enum": {
+ "name": "NodeArcState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ClusterNameParameter": {
+ "name": "clusterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the cluster.",
+ "x-ms-parameter-location": "method"
+ },
+ "ArcSettingNameParameter": {
+ "name": "arcSettingName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the proxy resource holding details of HCI ArcSetting information.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
new file mode 100644
index 000000000000..b620fc0fe563
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
@@ -0,0 +1,643 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-09-01",
+ "title": "AzureStackHCI",
+ "description": "Azure Stack HCI management service"
+ },
+ "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}/providers/Microsoft.AzureStackHCI/clusters": {
+ "get": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_ListBySubscription",
+ "x-ms-examples": {
+ "List clusters in a given subscription": {
+ "$ref": "./examples/ListClustersBySubscription.json"
+ }
+ },
+ "description": "List all HCI clusters in a subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ClusterList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters": {
+ "get": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_ListByResourceGroup",
+ "x-ms-examples": {
+ "List clusters in a given resource group": {
+ "$ref": "./examples/ListClustersByResourceGroup.json"
+ }
+ },
+ "description": "List all HCI clusters in a resource group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ClusterList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}": {
+ "get": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_Get",
+ "x-ms-examples": {
+ "Get cluster": {
+ "$ref": "./examples/GetCluster.json"
+ }
+ },
+ "description": "Get HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Cluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_Create",
+ "x-ms-examples": {
+ "Create cluster": {
+ "$ref": "./examples/CreateCluster.json"
+ }
+ },
+ "description": "Create an HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "cluster",
+ "in": "body",
+ "description": "Details of the HCI cluster.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Cluster"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Cluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_Update",
+ "x-ms-examples": {
+ "Update cluster": {
+ "$ref": "./examples/UpdateCluster.json"
+ }
+ },
+ "description": "Update an HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "cluster",
+ "in": "body",
+ "description": "Details of the HCI cluster.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ClusterPatch"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Cluster"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Clusters"
+ ],
+ "operationId": "Clusters_Delete",
+ "x-ms-examples": {
+ "Delete cluster": {
+ "$ref": "./examples/DeleteCluster.json"
+ }
+ },
+ "description": "Delete an HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ClusterList": {
+ "description": "List of clusters.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of clusters.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Cluster"
+ }
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Cluster": {
+ "description": "Cluster details.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "description": "System data of Cluster resource",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Cluster properties.",
+ "$ref": "#/definitions/ClusterProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ClusterPatch": {
+ "description": "Cluster details to update.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "Cluster properties.",
+ "$ref": "#/definitions/ClusterPatchProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ClusterProperties": {
+ "description": "Cluster properties.",
+ "type": "object",
+ "required": [
+ "aadClientId",
+ "aadTenantId"
+ ],
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state.",
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Accepted",
+ "Provisioning"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "status": {
+ "description": "Status of the cluster agent.",
+ "type": "string",
+ "enum": [
+ "NotYetRegistered",
+ "ConnectedRecently",
+ "NotConnectedRecently",
+ "Disconnected",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "Status",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "cloudId": {
+ "description": "Unique, immutable resource id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "cloudManagementEndpoint": {
+ "description": "Endpoint configured for management from the Azure portal.",
+ "type": "string"
+ },
+ "aadClientId": {
+ "description": "App id of cluster AAD identity.",
+ "type": "string"
+ },
+ "aadTenantId": {
+ "description": "Tenant id of cluster AAD identity.",
+ "type": "string"
+ },
+ "desiredProperties": {
+ "description": "Desired properties of the cluster.",
+ "$ref": "#/definitions/ClusterDesiredProperties"
+ },
+ "reportedProperties": {
+ "description": "Properties reported by cluster agent.",
+ "$ref": "#/definitions/ClusterReportedProperties",
+ "readOnly": true
+ },
+ "trialDaysRemaining": {
+ "description": "Number of days remaining in the trial period.",
+ "type": "number",
+ "readOnly": true
+ },
+ "billingModel": {
+ "description": "Type of billing applied to the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "registrationTimestamp": {
+ "description": "First cluster sync timestamp.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "lastSyncTimestamp": {
+ "description": "Most recent cluster sync timestamp.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "lastBillingTimestamp": {
+ "description": "Most recent billing meter timestamp.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ }
+ }
+ },
+ "ClusterPatchProperties": {
+ "description": "Cluster properties.",
+ "type": "object",
+ "properties": {
+ "cloudManagementEndpoint": {
+ "description": "Endpoint configured for management from the Azure portal",
+ "type": "string"
+ },
+ "aadClientId": {
+ "description": "App id of cluster AAD identity.",
+ "type": "string"
+ },
+ "aadTenantId": {
+ "description": "Tenant id of cluster AAD identity.",
+ "type": "string"
+ },
+ "desiredProperties": {
+ "description": "Desired properties of the cluster.",
+ "$ref": "#/definitions/ClusterDesiredProperties"
+ }
+ }
+ },
+ "ClusterDesiredProperties": {
+ "description": "Desired properties of the cluster.",
+ "type": "object",
+ "properties": {
+ "windowsServerSubscription": {
+ "description": "Desired state of Windows Server Subscription.",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "WindowsServerSubscription",
+ "modelAsString": true
+ }
+ },
+ "diagnosticLevel": {
+ "description": "Desired level of diagnostic data emitted by the cluster.",
+ "type": "string",
+ "enum": [
+ "Off",
+ "Basic",
+ "Enhanced"
+ ],
+ "x-ms-enum": {
+ "name": "DiagnosticLevel",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ClusterReportedProperties": {
+ "description": "Properties reported by cluster agent.",
+ "type": "object",
+ "properties": {
+ "clusterName": {
+ "description": "Name of the on-prem cluster connected to this resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "clusterId": {
+ "description": "Unique id generated by the on-prem cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "clusterVersion": {
+ "description": "Version of the cluster software.",
+ "type": "string",
+ "readOnly": true
+ },
+ "nodes": {
+ "description": "List of nodes reported by the cluster.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ClusterNode"
+ },
+ "readOnly": true
+ },
+ "lastUpdated": {
+ "description": "Last time the cluster reported the data.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "imdsAttestation": {
+ "description": "IMDS attestation status of the cluster.",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "ImdsAttestation",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "diagnosticLevel": {
+ "description": "Level of diagnostic data emitted by the cluster.",
+ "type": "string",
+ "enum": [
+ "Off",
+ "Basic",
+ "Enhanced"
+ ],
+ "x-ms-enum": {
+ "name": "DiagnosticLevel",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ClusterNode": {
+ "description": "Cluster node details.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the cluster node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "Id of the node in the cluster.",
+ "type": "number",
+ "readOnly": true
+ },
+ "windowsServerSubscription": {
+ "description": "State of Windows Server Subscription.",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "x-ms-enum": {
+ "name": "WindowsServerSubscription",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "manufacturer": {
+ "description": "Manufacturer of the cluster node hardware.",
+ "type": "string",
+ "readOnly": true
+ },
+ "model": {
+ "description": "Model name of the cluster node hardware.",
+ "type": "string",
+ "readOnly": true
+ },
+ "osName": {
+ "description": "Operating system running on the cluster node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "osVersion": {
+ "description": "Version of the operating system running on the cluster node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serialNumber": {
+ "description": "Immutable id of the cluster node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "coreCount": {
+ "description": "Number of physical cores on the cluster node.",
+ "type": "number",
+ "readOnly": true
+ },
+ "memoryInGiB": {
+ "description": "Total available memory on the cluster node (in GiB).",
+ "type": "number",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ClusterNameParameter": {
+ "name": "clusterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the cluster.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
new file mode 100644
index 000000000000..a6070c9f1d2d
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01",
+ "cluster": {
+ "location": "East US",
+ "properties": {
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster",
+ "name": "myCluster",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "East US",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "NotYetRegistered",
+ "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Disabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {},
+ "trialDaysRemaining": 30,
+ "billingModel": "Trial"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
new file mode 100644
index 000000000000..b54012c9e1e6
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json
new file mode 100644
index 000000000000..23f0d48e58e8
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
new file mode 100644
index 000000000000..e20db81e58d5
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "extensionName": "MicrosoftMonitoringAgent",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
new file mode 100644
index 000000000000..7237a7944201
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "arcInstanceResourceGroup": "ArcInstance-rg",
+ "aggregateState": "PartiallyConnected",
+ "perNodeDetails": [
+ {
+ "name": "Node-1",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
+ "state": "Connected"
+ },
+ {
+ "name": "Node-2",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
+ "state": "Disconnected"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
new file mode 100644
index 000000000000..7d7faf5c2055
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster",
+ "name": "myCluster",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "East US",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "ConnectedRecently",
+ "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {
+ "clusterName": "cluster1",
+ "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
+ "clusterVersion": "10.0.17777",
+ "nodes": [
+ {
+ "name": "Node1",
+ "id": 1,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q45CZC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node2",
+ "id": 2,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44BSC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node3",
+ "id": 3,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44RFC3",
+ "coreCount": 16,
+ "memoryInGiB": 256
+ }
+ ],
+ "lastUpdated": "2020-03-11T19:24:42.1946017Z",
+ "imdsAttestation": "Disabled",
+ "diagnosticLevel": "Basic"
+ },
+ "trialDaysRemaining": 30,
+ "billingModel": "Trial",
+ "registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
new file mode 100644
index 000000000000..75f14c996485
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "extensionName": "MicrosoftMonitoringAgent",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent",
+ "name": "MicrosoftMonitoringAgent",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "workspaceId": "xx"
+ }
+ },
+ "aggregateState": "PartiallySucceeded",
+ "perNodeExtensionDetails": [
+ {
+ "name": "Node-1",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "state": "Succeeded"
+ },
+ {
+ "name": "Node-2",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "state": "Failed"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
new file mode 100644
index 000000000000..c35412be2cda
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "arcInstanceResourceGroup": "ArcInstance-rg",
+ "aggregateState": "PartiallyConnected",
+ "perNodeDetails": [
+ {
+ "name": "Node-1",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
+ "state": "Connected"
+ },
+ {
+ "name": "Node-2",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
+ "state": "Disconnected"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
new file mode 100644
index 000000000000..b4b96cb1664e
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster1",
+ "name": "myCluster1",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "East US",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "NotYetRegistered",
+ "cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {},
+ "trialDaysRemaining": 29,
+ "billingModel": "Trial"
+ }
+ },
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster2",
+ "name": "myCluster2",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "East US",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "ConnectedRecently",
+ "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {
+ "clusterName": "cluster1",
+ "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
+ "clusterVersion": "10.0.17777",
+ "nodes": [
+ {
+ "name": "Node1",
+ "id": 0,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q45CZC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node2",
+ "id": 1,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44BSC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node3",
+ "id": 2,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44RFC3",
+ "coreCount": 16,
+ "memoryInGiB": 256
+ }
+ ],
+ "lastUpdated": "2020-03-11T19:24:42.1946017Z",
+ "imdsAttestation": "Disabled",
+ "diagnosticLevel": "Basic"
+ },
+ "trialDaysRemaining": 30,
+ "billingModel": "Trial",
+ "registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
new file mode 100644
index 000000000000..d79a2d81b27f
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
@@ -0,0 +1,122 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg1/providers/Microsoft.AzureStackHCI/clusters/myCluster1",
+ "name": "myCluster1",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "East US",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "NotYetRegistered",
+ "cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {},
+ "trialDaysRemaining": 29,
+ "billingModel": "Trial"
+ }
+ },
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg2/providers/Microsoft.AzureStackHCI/clusters/myCluster2",
+ "name": "myCluster2",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "West US",
+ "tags": {},
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "ConnectedRecently",
+ "cloudId": "a3c0468f-e38e-4dda-ac48-817f620536f0",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "24a6e53d-04e5-44d2-b7cc-1b732a847dfc",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {
+ "clusterName": "cluster1",
+ "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
+ "clusterVersion": "10.0.17777",
+ "nodes": [
+ {
+ "name": "Node1",
+ "id": 0,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q45CZC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node2",
+ "id": 1,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44BSC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node3",
+ "id": 2,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44RFC3",
+ "coreCount": 16,
+ "memoryInGiB": 256
+ }
+ ],
+ "lastUpdated": "2020-03-11T19:24:42.1946017Z",
+ "imdsAttestation": "Disabled",
+ "diagnosticLevel": "Basic"
+ },
+ "trialDaysRemaining": 30,
+ "billingModel": "Trial",
+ "registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
new file mode 100644
index 000000000000..80791443fa19
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent",
+ "name": "MicrosoftMonitoringAgent",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "workspaceId": "xx"
+ }
+ },
+ "aggregateState": "PartiallyConnected",
+ "perNodeExtensionDetails": [
+ {
+ "name": "Node-1",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "state": "Connected"
+ },
+ {
+ "name": "Node-2",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "state": "Disconnected"
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/Extensions/SecurityExtension",
+ "name": "CustomScriptExtension",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "extensionParameters": {
+ "publisher": "Microsoft.CustomScriptExtension",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "scriptLocation": "xx"
+ }
+ },
+ "aggregateState": "PartiallySucceeded",
+ "perNodeExtensionDetails": [
+ {
+ "name": "Node-1",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/SecurityExtension",
+ "state": "Succeeded"
+ },
+ {
+ "name": "Node-2",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/SecurityExtension",
+ "state": "Failed"
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
new file mode 100644
index 000000000000..264ca3326446
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "extensionName": "MicrosoftMonitoringAgent",
+ "extension": {
+ "properties": {
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "typeHandlerVersion": "1.10",
+ "type": "MicrosoftMonitoringAgent",
+ "settings": {
+ "workspaceId": "xx"
+ }
+ }
+ }
+ },
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent",
+ "name": "MicrosoftMonitoringAgent",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "workspaceId": "xx"
+ }
+ },
+ "aggregateState": "PartiallyConnected",
+ "perNodeExtensionDetails": [
+ {
+ "name": "Node-1",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "state": "Connected"
+ },
+ {
+ "name": "Node-2",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "state": "Disconnected"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
new file mode 100644
index 000000000000..4a767675c633
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "arcSetting": {},
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "arcInstanceResourceGroup": "ArcInstance-rg",
+ "aggregateState": "Creating",
+ "perNodeDetails": [
+ {
+ "name": "Node-1",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
+ "state": "Creating"
+ },
+ {
+ "name": "Node-2",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
+ "state": "Creating"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
new file mode 100644
index 000000000000..620de88fab0f
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "arcSettingName": "default",
+ "extensionName": "MicrosoftMonitoringAgent",
+ "extension": {
+ "properties": {
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "typeHandlerVersion": "1.10",
+ "type": "MicrosoftMonitoringAgent",
+ "settings": {
+ "workspaceId": "xx"
+ },
+ "protectedSettings": {
+ "workspaceKey": "xx"
+ }
+ }
+ }
+ },
+ "api-version": "2021-09-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent",
+ "name": "MicrosoftMonitoringAgent",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "workspaceId": "xx"
+ }
+ },
+ "aggregateState": "PartiallySucceeded",
+ "perNodeExtensionDetails": [
+ {
+ "name": "Node-1",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "state": "Succeeded"
+ },
+ {
+ "name": "Node-2",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "state": "Failed"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster/arcSettings/default/extensions/MicrosoftMonitoringAgent",
+ "name": "MicrosoftMonitoringAgent",
+ "type": "Microsoft.AzureStackHCI/clusters/arcSettings/extensions",
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2021-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "extensionParameters": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "workspaceId": "xx"
+ }
+ },
+ "aggregateState": "PartiallySucceeded",
+ "perNodeExtensionDetails": [
+ {
+ "name": "Node-1",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "state": "Succeeded"
+ },
+ {
+ "name": "Node-2",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "state": "Failed"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
new file mode 100644
index 000000000000..b609dcf78657
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01",
+ "cluster": {
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/clusters/myCluster",
+ "name": "myCluster",
+ "type": "Microsoft.AzureStackHCI/clusters",
+ "location": "East US",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "systemData": {
+ "createdBy": "user1",
+ "createdByType": "User",
+ "createdAt": "2020-01-01T17:18:19.1234567Z",
+ "lastModifiedBy": "user2",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2020-01-02T17:18:19.1234567Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "status": "ConnectedRecently",
+ "cloudId": "91c2b355-4826-4e96-9164-e3f26dcf1cdd",
+ "cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
+ "aadClientId": "515da1c2-379e-49b4-9975-09e3e40c86be",
+ "aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
+ "desiredProperties": {
+ "windowsServerSubscription": "Enabled",
+ "diagnosticLevel": "Basic"
+ },
+ "reportedProperties": {
+ "clusterName": "cluster1",
+ "clusterId": "a76ac23a-1819-4e82-9410-e3e4ec3d1425",
+ "clusterVersion": "10.0.17777",
+ "nodes": [
+ {
+ "name": "Node1",
+ "id": 1,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q45CZC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node2",
+ "id": 2,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44BSC3",
+ "coreCount": 8,
+ "memoryInGiB": 128
+ },
+ {
+ "name": "Node3",
+ "id": 3,
+ "windowsServerSubscription": "Enabled",
+ "manufacturer": "Dell Inc.",
+ "model": "EMC AX740",
+ "osName": "Azure Stack HCI",
+ "osVersion": "10.0.17777.1061",
+ "serialNumber": "Q44RFC3",
+ "coreCount": 16,
+ "memoryInGiB": 256
+ }
+ ],
+ "lastUpdated": "2020-03-11T19:24:42.1946017Z",
+ "imdsAttestation": "Disabled",
+ "diagnosticLevel": "Basic"
+ },
+ "trialDaysRemaining": 30,
+ "billingModel": "Trial",
+ "registrationTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastSyncTimestamp": "2020-03-11T20:44:32.5625121Z",
+ "lastBillingTimestamp": "2020-03-12T08:12:55.2312022Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
new file mode 100644
index 000000000000..0c285788a726
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
@@ -0,0 +1,500 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-09-01",
+ "title": "AzureStackHCI",
+ "description": "Azure Stack HCI management service"
+ },
+ "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.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions": {
+ "get": {
+ "operationId": "Extensions_ListByArcSetting",
+ "description": "List all Extensions under ArcSetting resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ExtensionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List Extensions under ArcSetting resource": {
+ "$ref": "./examples/ListExtensionsByArcSetting.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}": {
+ "get": {
+ "operationId": "Extensions_Get",
+ "description": "Get particular Arc Extension of HCI Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ExtensionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Extension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get ArcSettings Extension": {
+ "$ref": "./examples/GetExtension.json"
+ }
+ }
+ },
+ "put": {
+ "operationId": "Extensions_Create",
+ "description": "Create Extension for HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ExtensionNameParameter"
+ },
+ {
+ "name": "extension",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Extension"
+ },
+ "description": "Details of the Machine Extension to be created."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Succeeded",
+ "schema": {
+ "$ref": "#/definitions/Extension"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Extension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Create Arc Extension": {
+ "$ref": "./examples/PutExtension.json"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "Extensions_Update",
+ "description": "Update Extension for HCI cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ExtensionNameParameter"
+ },
+ {
+ "name": "extension",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Extension"
+ },
+ "description": "Details of the Machine Extension to be created."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Extension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "original-uri"
+ },
+ "x-ms-examples": {
+ "Update Arc Extension": {
+ "$ref": "./examples/PatchExtension.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "Extensions_Delete",
+ "description": "Delete particular Arc Extension of HCI Cluster.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ClusterNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ArcSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ExtensionNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "OK"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Delete Arc Extension": {
+ "$ref": "./examples/DeleteExtension.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Extension": {
+ "description": "Details of a particular extension in HCI Cluster.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "systemData": {
+ "description": "System data of Extension resource.",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "x-ms-client-flatten": true,
+ "readOnly": true
+ },
+ "properties": {
+ "description": "Describes Machine Extension Properties.",
+ "$ref": "#/definitions/ExtensionProperties",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "ExtensionProperties": {
+ "description": "Status of Arc Extension for a particular node in HCI Cluster.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "Provisioning state of the Extension proxy resource.",
+ "type": "string",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Accepted",
+ "Provisioning"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "extensionParameters": {
+ "description": "Parameters specific to this extension type.",
+ "$ref": "#/definitions/ExtensionParameters",
+ "x-ms-client-flatten": true
+ },
+ "aggregateState": {
+ "description": "Aggregate state of Arc Extensions across the nodes in this HCI cluster.",
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Error",
+ "Succeeded",
+ "Canceled",
+ "Failed",
+ "Connected",
+ "Disconnected",
+ "Deleted",
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Moving",
+ "PartiallySucceeded",
+ "PartiallyConnected",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ExtensionAggregateState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ },
+ "perNodeExtensionDetails": {
+ "description": "State of Arc Extension in each of the nodes.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PerNodeExtensionState"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "PerNodeExtensionState": {
+ "description": "Status of Arc Extension for a particular node in HCI Cluster.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the node in HCI Cluster.",
+ "type": "string",
+ "readOnly": true
+ },
+ "extension": {
+ "description": "Fully qualified resource ID for the particular Arc Extension on this node.",
+ "type": "string",
+ "readOnly": true
+ },
+ "state": {
+ "description": "State of Arc Extension in this node.",
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Error",
+ "Succeeded",
+ "Canceled",
+ "Failed",
+ "Connected",
+ "Disconnected",
+ "Deleted",
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Moving"
+ ],
+ "x-ms-enum": {
+ "name": "NodeExtensionState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ExtensionList": {
+ "description": "List of Extensions in HCI cluster.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of Extensions in HCI cluster.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Extension"
+ },
+ "readOnly": true
+ },
+ "nextLink": {
+ "description": "Link to the next set of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ExtensionParameters": {
+ "description": "Describes the properties of a Machine Extension. This object mirrors the definition in HybridCompute.",
+ "type": "object",
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "Protected settings (may contain secrets).",
+ "x-ms-secret": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ClusterNameParameter": {
+ "name": "clusterName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the cluster.",
+ "x-ms-parameter-location": "method"
+ },
+ "ArcSettingNameParameter": {
+ "name": "arcSettingName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the proxy resource holding details of HCI ArcSetting information.",
+ "x-ms-parameter-location": "method"
+ },
+ "ExtensionNameParameter": {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
new file mode 100644
index 000000000000..52e8cd743b91
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
@@ -0,0 +1,68 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-09-01",
+ "title": "AzureStackHCI",
+ "description": "Azure Stack HCI management service"
+ },
+ "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": {
+ "/providers/Microsoft.AzureStackHCI/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "List all available Microsoft.AzureStackHCI provider operations",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {},
+ "parameters": {}
+}
From dca171bfa98ac83124be2e453ac1215e85b57597 Mon Sep 17 00:00:00 2001
From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com>
Date: Mon, 3 Oct 2022 13:34:37 -0700
Subject: [PATCH 02/30] Updates readme
---
.../azurestackhci/resource-manager/readme.md | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md
index 30db78820609..6c6a7c9cdeb5 100644
--- a/specification/azurestackhci/resource-manager/readme.md
+++ b/specification/azurestackhci/resource-manager/readme.md
@@ -29,7 +29,7 @@ title: AzureStackHCIClient
description: Azure Stack HCI management service
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2022-10
+tag: package-preview-2021-09
```
## Suppression
@@ -52,11 +52,22 @@ directive:
```
+### Tag: package-preview-2021-09
+
+These settings apply only when `--tag=package-preview-2021-09` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2021-09'
+input-file:
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+```
### Tag: package-2022-10
These settings apply only when `--tag=package-2022-10` is specified on the command line.
-```yaml $(tag) == 'package-2022-10'
+``` yaml $(tag) == 'package-2022-10'
input-file:
- Microsoft.AzureStackHCI/stable/2022-10-01/arcSettings.json
- Microsoft.AzureStackHCI/stable/2022-10-01/clusters.json
@@ -69,6 +80,7 @@ input-file:
- Microsoft.AzureStackHCI/stable/2022-10-01/updateSummaries.json
- Microsoft.AzureStackHCI/stable/2022-10-01/updates.json
```
+
### Tag: package-2022-09
These settings apply only when `--tag=package-2022-09` is specified on the command line.
From 9deca358d7fd1dbfc96408146d3f4a629ecd9430 Mon Sep 17 00:00:00 2001
From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com>
Date: Mon, 3 Oct 2022 13:34:40 -0700
Subject: [PATCH 03/30] Updates API version in new specs and examples
---
.../preview/2021-09-01-preview/arcSettings.json | 2 +-
.../preview/2021-09-01-preview/clusters.json | 2 +-
.../preview/2021-09-01-preview/examples/CreateCluster.json | 2 +-
.../preview/2021-09-01-preview/examples/DeleteArcSetting.json | 2 +-
.../preview/2021-09-01-preview/examples/DeleteCluster.json | 2 +-
.../preview/2021-09-01-preview/examples/DeleteExtension.json | 2 +-
.../preview/2021-09-01-preview/examples/GetArcSetting.json | 2 +-
.../preview/2021-09-01-preview/examples/GetCluster.json | 2 +-
.../preview/2021-09-01-preview/examples/GetExtension.json | 2 +-
.../2021-09-01-preview/examples/ListArcSettingsByCluster.json | 2 +-
.../examples/ListClustersByResourceGroup.json | 2 +-
.../2021-09-01-preview/examples/ListClustersBySubscription.json | 2 +-
.../2021-09-01-preview/examples/ListExtensionsByArcSetting.json | 2 +-
.../preview/2021-09-01-preview/examples/PatchExtension.json | 2 +-
.../preview/2021-09-01-preview/examples/PutArcSetting.json | 2 +-
.../preview/2021-09-01-preview/examples/PutExtension.json | 2 +-
.../preview/2021-09-01-preview/examples/UpdateCluster.json | 2 +-
.../preview/2021-09-01-preview/extensions.json | 2 +-
.../preview/2021-09-01-preview/operations.json | 2 +-
19 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
index f3c927c15490..a623ba83e849 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
index b620fc0fe563..be42b696425b 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
index a6070c9f1d2d..d5fa63cf59b6 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
@@ -3,7 +3,7 @@
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
- "api-version": "2021-09-01",
+ "api-version": "2021-09-01-preview",
"cluster": {
"location": "East US",
"properties": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
index b54012c9e1e6..7c58fe9a5a5b 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json
index 23f0d48e58e8..12e08473537b 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteCluster.json
@@ -3,7 +3,7 @@
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
index e20db81e58d5..586d066a37bb 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
@@ -5,7 +5,7 @@
"clusterName": "myCluster",
"arcSettingName": "default",
"extensionName": "MicrosoftMonitoringAgent",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
index 7237a7944201..933731552474 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
index 7d7faf5c2055..14aaf37557f1 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
@@ -3,7 +3,7 @@
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
index 75f14c996485..aa886f9bb778 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
@@ -5,7 +5,7 @@
"clusterName": "myCluster",
"arcSettingName": "default",
"extensionName": "MicrosoftMonitoringAgent",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
index c35412be2cda..0e2a2cc48b6f 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
@@ -3,7 +3,7 @@
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
index b4b96cb1664e..2067738bbf22 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
index d79a2d81b27f..ba809d3b67a3 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
index 80791443fa19..89fe7aacc085 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
"arcSettingName": "default",
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
index 264ca3326446..a4bdd5b0cf42 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
@@ -17,7 +17,7 @@
}
}
},
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"201": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
index 4a767675c633..5cec395a2dba 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
@@ -5,7 +5,7 @@
"clusterName": "myCluster",
"arcSettingName": "default",
"arcSetting": {},
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
index 620de88fab0f..0ab8e44205b9 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
@@ -20,7 +20,7 @@
}
}
},
- "api-version": "2021-09-01"
+ "api-version": "2021-09-01-preview"
},
"responses": {
"200": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
index b609dcf78657..6fe6b048eb58 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
@@ -3,7 +3,7 @@
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "test-rg",
"clusterName": "myCluster",
- "api-version": "2021-09-01",
+ "api-version": "2021-09-01-preview",
"cluster": {
"tags": {
"tag1": "value1",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
index 0c285788a726..f564214581b5 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
index 52e8cd743b91..e2ca687648ce 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
From 3d4b0bcfa68a487f84343430d5b9150927753a63 Mon Sep 17 00:00:00 2001
From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com>
Date: Mon, 6 Jun 2022 18:49:44 -0700
Subject: [PATCH 04/30] resolve conflicts
---
custom-words.txt | 7 +
.../examples/GetGalleryImage.json | 54 +
.../examples/GetVirtualHardDisk.json | 32 +
.../examples/GetVirtualMachine.json | 45 +
.../ListGalleryImageByResourceGroup.json | 51 +
.../ListGalleryImageBySubscription.json | 50 +
.../ListVirtualHardDiskByResourceGroup.json | 35 +
.../ListVirtualHardDiskBySubscription.json | 34 +
.../ListVirtualMachineByResourceGroup.json | 48 +
.../ListVirtualMachineBySubscription.json | 47 +
.../examples/PutGalleryImage.json | 97 +
.../examples/PutVirtualHardDisk.json | 64 +
.../examples/UpdateGalleryImage.json | 97 +
.../examples/UpdateVirtualHardDisk.json | 65 +
.../examples/UpdateVirtualMachine.json | 90 +
.../2021-09-01-preview/networkInterfaces.json | 515 ++++
.../2021-09-01-preview/virtualHardDisks.json | 470 ++++
.../2021-09-01-preview/virtualMachines.json | 2211 +++++++++++++++++
.../2021-09-01-preview/virtualNetworks.json | 624 +++++
.../stable/2022-01-01/operations.json | 5 +
.../DeleteMarketplaceGalleryImage.json | 12 +
.../examples/GetMarketplaceGalleryImage.json | 54 +
...arketplaceGalleryImageByResourceGroup.json | 57 +
...MarketplaceGalleryImageBySubscription.json | 56 +
.../examples/ListOperationByCluster.json | 13 +
.../examples/PutMarketplaceGalleryImage.json | 119 +
.../PutVirtualMachineWithGalleryImage.json | 116 +
...ualMachineWithMarketplaceGalleryImage.json | 116 +
.../examples/PutVirtualMachineWithOsDisk.json | 103 +
.../UpdateMarketplaceGalleryImage.json | 109 +
.../2022-09-01/marketplaceGalleryImages.json | 587 +++++
.../azurestackhci/resource-manager/readme.md | 19 +
.../2020-08-08-preview/controller.json | 18 +-
.../stable/2021-03-15/delegatedSubnets.json | 91 +
34 files changed, 6108 insertions(+), 3 deletions(-)
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualHardDisk.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json
diff --git a/custom-words.txt b/custom-words.txt
index 6ba0e9d0882e..60acbf5c77ef 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -819,6 +819,7 @@ Fulltext
fullyqualified
functionappsettings
galician
+galleryimage
galleryimages
Garda
Gbps
@@ -915,6 +916,7 @@ hana
hanaonazure
Hani
Hant
+harddisk
Hardenings
hbase
hbasephoenix
@@ -1248,7 +1250,12 @@ Maputnik
mariadb
Marketo
marketplaceagreementsapi
+<<<<<<< HEAD
marketplacecatalog
+=======
+marketplacegalleryimage
+marketplacegalleryimages
+>>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147)
marketplaceordering
maxclients
maxcoordinates
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGalleryImage.json
new file mode 100644
index 000000000000..6f7a49cfce84
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGalleryImage.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "galleryimagesName": "test-gallery-image",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualHardDisk.json
new file mode 100644
index 000000000000..05ca966614bb
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualHardDisk.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualharddisksName": "test-vhd",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Accepted",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualMachine.json
new file mode 100644
index 000000000000..2e7ca12f2a66
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualMachine.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
+ "name": "test-vm",
+ "type": "Microsoft.AzureStackHCI/virtualmachines",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageByResourceGroup.json
new file mode 100644
index 000000000000..03507f5b86f2
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageByResourceGroup.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Linux",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V2",
+ "version": {
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageBySubscription.json
new file mode 100644
index 000000000000..4765dbcd05e0
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListGalleryImageBySubscription.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Linux",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V2",
+ "version": {
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json
new file mode 100644
index 000000000000..c1005170d03f
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskByResourceGroup.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Accepted",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskBySubscription.json
new file mode 100644
index 000000000000..d9cd649e0e54
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualHardDiskBySubscription.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Accepted",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineByResourceGroup.json
new file mode 100644
index 000000000000..7b54b5cff0fc
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineByResourceGroup.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
+ "name": "test-vm",
+ "type": "Microsoft.AzureStackHCI/virtualmachines",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineBySubscription.json
new file mode 100644
index 000000000000..4db1201aef67
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualMachineBySubscription.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
+ "name": "test-vm",
+ "type": "Microsoft.AzureStackHCI/virtualmachines",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json
new file mode 100644
index 000000000000..67109eb5b475
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json
@@ -0,0 +1,97 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "galleryimagesName": "test-gallery-image",
+ "api-version": "2021-09-01-preview",
+ "galleryimages": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "imagePath": "C:\\test.vhdx",
+ "containerName": "Default_Container"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Linux",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V2",
+ "version": {
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-galimg3325",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Created",
+ "containerName": "Default_Container",
+ "osType": "Linux",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V2",
+ "version": {
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json
new file mode 100644
index 000000000000..70e85e45cc82
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualharddisksName": "test-vhd",
+ "api-version": "2021-09-01-preview",
+ "virtualharddisks": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "diskSizeBytes": 32
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Accepted",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Created",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json
new file mode 100644
index 000000000000..de39afa0febb
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json
@@ -0,0 +1,97 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "galleryimagesName": "test-gallery-image",
+ "api-version": "2021-09-01-preview",
+ "galleryimages": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-galimg3325",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Linux",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V2",
+ "version": {
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-galimg3325",
+ "name": "test-gallery-image",
+ "type": "Microsoft.AzureStackHCI/galleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "provisioningState": "Created",
+ "containerName": "Default_Container",
+ "osType": "Linux",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V2",
+ "version": {
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json
new file mode 100644
index 000000000000..e133362e66cb
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualharddisksName": "test-vhd",
+ "api-version": "2021-09-01-preview",
+ "virtualharddisks": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Accepted",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd",
+ "name": "test-vhd",
+ "type": "Microsoft.AzureStackHCI/virtualharddisks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "diskSizeBytes": 32,
+ "blockSizeBytes": 0,
+ "logicalSectorBytes": 512,
+ "physicalSectorBytes": 512,
+ "provisioningState": "Created",
+ "diskFileFormat": "vhdx",
+ "hyperVGeneration": "V2",
+ "dynamic": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualMachine.json
new file mode 100644
index 000000000000..ee761f22133b
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualMachine.json
@@ -0,0 +1,90 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
+ "name": "test-vm",
+ "type": "Microsoft.AzureStackHCI/virtualmachines",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ }
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
+ "name": "test-vm",
+ "type": "Microsoft.AzureStackHCI/virtualmachines",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
new file mode 100644
index 000000000000..2054f2ac9545
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
@@ -0,0 +1,515 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/networkinterfaces/{networkinterfacesName}": {
+ "get": {
+ "operationId": "networkinterfaces_Retrieve",
+ "description": "Gets networkinterfaces by resource name",
+ "x-ms-examples": {
+ "GetNetworkInterface": {
+ "$ref": "./examples/GetNetworkInterface.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/networkinterfacesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the networkinterfaces resource.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "networkinterfaces_CreateOrUpdate",
+ "x-ms-examples": {
+ "PutNetworkInterface": {
+ "$ref": "./examples/PutNetworkInterface.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/networkinterfacesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "networkinterfaces",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the networkinterfaces resource.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ },
+ "201": {
+ "description": "Creates the networkinterfaces resource.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "networkinterfaces_Delete",
+ "x-ms-examples": {
+ "DeleteNetworkInterface": {
+ "$ref": "./examples/DeleteNetworkInterface.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/networkinterfacesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the networkinterfaces resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "networkinterfaces_Update",
+ "x-ms-examples": {
+ "UpdateNetworkInterface": {
+ "$ref": "./examples/UpdateNetworkInterface.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/networkinterfacesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "networkinterfaces",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/networkinterfacesPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the networkinterfaces resource.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ },
+ "201": {
+ "description": "Updates the networkinterfaces resource.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkinterfaces": {
+ "get": {
+ "operationId": "networkinterfaces_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListNetworkInterfaceByResourceGroup": {
+ "$ref": "./examples/ListNetworkInterfaceByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all networkinterfaces under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfacesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/networkinterfaces": {
+ "get": {
+ "operationId": "networkinterfaces_ListBySubscription",
+ "x-ms-examples": {
+ "ListNetworkInterfaceBySubscription": {
+ "$ref": "./examples/ListNetworkInterfaceBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all networkinterfaces under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/networkinterfacesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "InterfaceDNSSettings": {
+ "type": "object",
+ "properties": {
+ "dnsServers": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of DNS server IP Addresses for the interface"
+ }
+ }
+ },
+ "networkinterfacesProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "ipConfigurations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ipConfiguration"
+ },
+ "description": "IPConfigurations - A list of IPConfigurations of the network interface.",
+ "x-ms-identifiers": []
+ },
+ "macAddress": {
+ "type": "string",
+ "description": "MacAddress - The MAC address of the network interface."
+ },
+ "dnsSettings": {
+ "$ref": "#/definitions/InterfaceDNSSettings",
+ "description": "DNS Settings for the interface"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "$ref": "#/definitions/networkInterfaceStatus"
+ }
+ },
+ "description": "networkInterfacesProperties defines a list of properties under networkinterfaces"
+ },
+ "networkInterfaceStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "NetworkInterface provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the network interface",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the network interface"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the network interface [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "description": "networkInterfaceStatus defines the observed state of networkinterfaces"
+ },
+ "ipConfiguration": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "properties": {
+ "type": "object",
+ "properties": {
+ "gateway": {
+ "x-ms-client-flatten": true,
+ "type": "string",
+ "description": "Gateway for network interface"
+ },
+ "prefixLength": {
+ "type": "string",
+ "description": "prefixLength for network interface"
+ },
+ "privateIPAddress": {
+ "type": "string",
+ "description": "PrivateIPAddress - Private IP address of the IP configuration."
+ },
+ "privateIPAllocationMethod": {
+ "type": "string",
+ "description": "PrivateIPAllocationMethod - The private IP address allocation method. Possible values include: 'Static', 'Dynamic'",
+ "enum": [
+ "Dynamic",
+ "Static"
+ ],
+ "x-ms-enum": {
+ "name": "PrivateIPAllocationMethodEnum",
+ "modelAsString": true
+ }
+ },
+ "subnet": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."
+ }
+ },
+ "description": "Subnet - Name of Subnet bound to the IP configuration."
+ }
+ },
+ "description": "InterfaceIPConfigurationPropertiesFormat properties of IP configuration."
+ }
+ },
+ "description": "InterfaceIPConfiguration iPConfiguration in a network interface."
+ },
+ "networkinterfaces": {
+ "type": "object",
+ "description": "The networkinterfaces resource definition.",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/networkinterfacesProperties"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "networkinterfacesPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The networkinterfaces resource patch definition."
+ },
+ "networkinterfacesListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/networkinterfaces"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "networkinterfacesNameParameter": {
+ "name": "networkinterfacesName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
new file mode 100644
index 000000000000..4267b2746682
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
@@ -0,0 +1,470 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/virtualharddisks/{virtualharddisksName}": {
+ "get": {
+ "operationId": "virtualharddisks_Retrieve",
+ "description": "Gets virtualharddisks by resource name",
+ "x-ms-examples": {
+ "GetVirtualHardDisk": {
+ "$ref": "./examples/GetVirtualHardDisk.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualharddisksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the virtualharddisks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "virtualharddisks_CreateOrUpdate",
+ "x-ms-examples": {
+ "PutVirtualHardDisk": {
+ "$ref": "./examples/PutVirtualHardDisk.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualharddisksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualharddisks",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the virtualharddisks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ },
+ "201": {
+ "description": "Creates the virtualharddisks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "virtualharddisks_Delete",
+ "x-ms-examples": {
+ "DeleteVirtualHardDisk": {
+ "$ref": "./examples/DeleteVirtualHardDisk.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualharddisksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the virtualharddisks resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "virtualharddisks_Update",
+ "x-ms-examples": {
+ "UpdateVirtualHardDisk": {
+ "$ref": "./examples/UpdateVirtualHardDisk.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualharddisksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualharddisks",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/virtualharddisksPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the virtualharddisks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ },
+ "201": {
+ "description": "Updates the virtualharddisks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualharddisks": {
+ "get": {
+ "operationId": "virtualharddisks_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListVirtualHardDiskByResourceGroup": {
+ "$ref": "./examples/ListVirtualHardDiskByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all virtualharddisks under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisksListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualharddisks": {
+ "get": {
+ "operationId": "virtualharddisks_ListBySubscription",
+ "x-ms-examples": {
+ "ListVirtualHardDiskByResourceGroup": {
+ "$ref": "./examples/ListVirtualHardDiskBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all virtualharddisks under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/virtualharddisksListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "virtualharddisksProperties": {
+ "type": "object",
+ "properties": {
+ "blockSizeBytes": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "diskSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "diskSizeBytes - size of the disk in GB"
+ },
+ "dynamic": {
+ "type": "boolean",
+ "description": "Boolean for enabling dynamic sizing on the virtual hard disk"
+ },
+ "logicalSectorBytes": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "physicalSectorBytes": {
+ "type": "integer",
+ "format": "int32"
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine [V1, V2]",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "diskFileFormat": {
+ "type": "string",
+ "description": "The format of the actual VHD file [vhd, vhdx]",
+ "enum": [
+ "vhdx",
+ "vhd"
+ ],
+ "x-ms-enum": {
+ "name": "DiskFileFormat",
+ "modelAsString": true
+ }
+ },
+ "provisioningState": {
+ "type": "string"
+ },
+ "containerId": {
+ "type": "string",
+ "description": "Storage ContainerID of the storage container to be used for VHD"
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "$ref": "#/definitions/virtualHardDiskStatus"
+ }
+ },
+ "description": "virtualharddisksProperties defines a list of properties under virtualharddisks"
+ },
+ "virtualHardDiskStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "VirtualHardDisk provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the virtual harddisk",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the virtual harddisk"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the virtual harddisk [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "description": "virtualHardDiskStatus defines the observed state of virtualharddisks"
+ },
+ "virtualharddisks": {
+ "type": "object",
+ "description": "The virtualharddisks resource definition.",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/virtualharddisksProperties"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "virtualharddisksPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The virtualharddisks resource patch definition."
+ },
+ "virtualharddisksListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/virtualharddisks"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "virtualharddisksNameParameter": {
+ "name": "virtualharddisksName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
new file mode 100644
index 000000000000..a6faab57220f
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -0,0 +1,2211 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/virtualmachines/{virtualmachinesName}": {
+ "get": {
+ "operationId": "virtualmachines_Retrieve",
+ "description": "Gets virtualmachines by resource name",
+ "x-ms-examples": {
+ "GetVirtualMachine": {
+ "$ref": "./examples/GetVirtualMachine.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the virtualmachines resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "virtualmachines_CreateOrUpdate",
+ "x-ms-examples": {
+ "PutVirtualMachineWithGalleryImage": {
+ "$ref": "./examples/PutVirtualMachineWithGalleryImage.json"
+ },
+ "PutVirtualMachineWithMarketplaceGalleryImage": {
+ "$ref": "./examples/PutVirtualMachineWithMarketplaceGalleryImage.json"
+ },
+ "PutVirtualMachineWithOsDisk": {
+ "$ref": "./examples/PutVirtualMachineWithOsDisk.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualmachines",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the virtualmachines resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ },
+ "201": {
+ "description": "Creates the virtualmachines resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "virtualmachines_Delete",
+ "x-ms-examples": {
+ "DeleteVirtualMachine": {
+ "$ref": "./examples/DeleteVirtualMachine.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the virtualmachines resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "virtualmachines_Update",
+ "x-ms-examples": {
+ "UpdateVirtualMachine": {
+ "$ref": "./examples/UpdateVirtualMachine.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualmachines",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/virtualmachinesPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the virtualmachines resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ },
+ "201": {
+ "description": "Updates the virtualmachines resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/start": {
+ "post": {
+ "operationId": "virtualmachines_Start",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "StartVirtualMachine": {
+ "$ref": "./examples/StartVirtualMachine.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Ok."
+ },
+ "202": {
+ "description": "Accepted."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/stop": {
+ "post": {
+ "operationId": "virtualmachines_Stop",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "StopVirtualMachine": {
+ "$ref": "./examples/StopVirtualMachine.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Ok."
+ },
+ "202": {
+ "description": "Accepted."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/restart": {
+ "post": {
+ "operationId": "virtualmachines_Restart",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "RestartVirtualMachine": {
+ "$ref": "./examples/RestartVirtualMachine.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualmachinesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Ok."
+ },
+ "202": {
+ "description": "Accepted."
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines": {
+ "get": {
+ "operationId": "virtualmachines_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListVirtualMachineByResourceGroup": {
+ "$ref": "./examples/ListVirtualMachineByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all virtualmachines under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachinesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualmachines": {
+ "get": {
+ "operationId": "virtualmachines_ListBySubscription",
+ "x-ms-examples": {
+ "ListVirtualMachineBySubscription": {
+ "$ref": "./examples/ListVirtualMachineBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all virtualmachines under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/virtualmachinesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{virtualMachineName}/hybridIdentityMetadata/{metadataName}": {
+ "put": {
+ "tags": [
+ "HybridIdentityMetadata"
+ ],
+ "operationId": "HybridIdentityMetadata_Create",
+ "description": "Create Or Update HybridIdentityMetadata.",
+ "summary": "Implements HybridIdentityMetadata PUT method.",
+ "x-ms-examples": {
+ "CreateHybridIdentityMetadata": {
+ "$ref": "./examples/CreateHybridIdentityMetadata.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "in": "path",
+ "name": "metadataName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the hybridIdentityMetadata."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Request payload.",
+ "schema": {
+ "$ref": "#/definitions/HybridIdentityMetadata"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/HybridIdentityMetadata"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "HybridIdentityMetadata"
+ ],
+ "operationId": "HybridIdentityMetadata_Get",
+ "summary": "Gets HybridIdentityMetadata.",
+ "description": "Implements HybridIdentityMetadata GET method.",
+ "x-ms-examples": {
+ "GetHybridIdentityMetadata": {
+ "$ref": "./examples/GetHybridIdentityMetadata.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "in": "path",
+ "name": "metadataName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the HybridIdentityMetadata."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/HybridIdentityMetadata"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "HybridIdentityMetadata"
+ ],
+ "operationId": "HybridIdentityMetadata_Delete",
+ "summary": "Deletes an HybridIdentityMetadata.",
+ "description": "Implements HybridIdentityMetadata DELETE method.",
+ "x-ms-examples": {
+ "DeleteHybridIdentityMetadata": {
+ "$ref": "./examples/DeleteHybridIdentityMetadata.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "in": "path",
+ "name": "metadataName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the HybridIdentityMetadata."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{virtualMachineName}/hybridIdentityMetadata": {
+ "get": {
+ "tags": [
+ "HybridIdentityMetadata"
+ ],
+ "operationId": "HybridIdentityMetadata_ListByVirtualMachines",
+ "summary": "Implements GET HybridIdentityMetadata in a vm.",
+ "description": "Returns the list of HybridIdentityMetadata of the given vm.",
+ "x-ms-examples": {
+ "HybridIdentityMetadataListByVirtualMachines": {
+ "$ref": "./examples/HybridIdentityMetadata_ListByVirtualMachines.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/HybridIdentityMetadataList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{name}/extensions/{extensionName}": {
+ "put": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_CreateOrUpdate",
+ "description": "The operation to create or update the extension.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine where the extension should be created or updated."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ {
+ "name": "extensionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ },
+ "description": "Parameters supplied to the Create Machine Extension operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
+ },
+ "201": {
+ "description": "HTTP 201 (Created) if the operation was successfully started and will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine Extension (PUT)": {
+ "$ref": "./examples/PutMachineExtension.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_Update",
+ "description": "The operation to update the extension.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine where the extension should be created or updated."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ },
+ {
+ "name": "extensionParameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MachineExtensionUpdate"
+ },
+ "description": "Parameters supplied to the Create Machine Extension operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or Update a Machine Extension (PATCH)": {
+ "$ref": "./examples/UpdateMachineExtension.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_Delete",
+ "description": "The operation to delete the extension.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine where the extension should be deleted."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a Machine Extension": {
+ "$ref": "./examples/DeleteMachineExtension.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_Get",
+ "description": "The operation to get the extension.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine containing the extension."
+ },
+ {
+ "name": "extensionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine extension."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtension"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Machine Extension": {
+ "$ref": "./examples/GetMachineExtension.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{name}/extensions": {
+ "get": {
+ "tags": [
+ "MachineExtensions"
+ ],
+ "operationId": "MachineExtensions_ListByVirtualMachines",
+ "description": "The operation to get all extensions of a non-Azure machine",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the machine containing the extension."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineExtensionsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get all Machine Extensions": {
+ "$ref": "./examples/ListMachineExtension.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{virtualMachineName}/guestAgents/{name}": {
+ "put": {
+ "tags": [
+ "GuestAgents"
+ ],
+ "operationId": "GuestAgent_Create",
+ "description": "Create Or Update GuestAgent.",
+ "summary": "Implements GuestAgent PUT method.",
+ "x-ms-examples": {
+ "CreateGuestAgent": {
+ "$ref": "./examples/CreateGuestAgent.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "description": "Name of the guestAgents."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Request payload.",
+ "schema": {
+ "$ref": "#/definitions/GuestAgent"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/GuestAgent"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GuestAgent"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "get": {
+ "tags": [
+ "GuestAgents"
+ ],
+ "operationId": "GuestAgent_Get",
+ "summary": "Gets GuestAgent.",
+ "description": "Implements GuestAgent GET method.",
+ "x-ms-examples": {
+ "GetGuestAgent": {
+ "$ref": "./examples/GetGuestAgent.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "description": "Name of the GuestAgent."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/GuestAgent"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GuestAgents"
+ ],
+ "operationId": "GuestAgent_Delete",
+ "summary": "Deletes an GuestAgent.",
+ "description": "Implements GuestAgent DELETE method.",
+ "x-ms-examples": {
+ "DeleteGuestAgent": {
+ "$ref": "./examples/DeleteGuestAgent.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "description": "Name of the GuestAgent."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{virtualMachineName}/guestAgents": {
+ "get": {
+ "tags": [
+ "GuestAgents"
+ ],
+ "operationId": "GuestAgents_ListByVirtualMachines",
+ "summary": "Implements GET GuestAgent in a vm.",
+ "description": "Returns the list of GuestAgent of the given vm.",
+ "x-ms-examples": {
+ "GuestAgentListByVirtualMachines": {
+ "$ref": "./examples/GuestAgent_ListByVirtualMachines.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "in": "path",
+ "name": "virtualMachineName",
+ "required": true,
+ "type": "string",
+ "description": "Name of the vm."
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/GuestAgentList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "virtualmachinesProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "hardwareProfile": {
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "type": "string"
+ },
+ "processors": {
+ "type": "integer",
+ "format": "int32",
+ "description": "number of processors for the virtual machine"
+ },
+ "memoryGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "RAM in gb for the virtual machine"
+ },
+ "dynamicMemoryConfig": {
+ "type": "object",
+ "properties": {
+ "maximumMemoryGB": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "minimumMemoryGB": {
+ "type": "integer",
+ "format": "int64"
+ },
+ "targetMemoryBuffer": {
+ "type": "integer",
+ "format": "int32"
+ }
+ }
+ }
+ },
+ "description": "HardwareProfile - Specifies the hardware settings for the virtual machine."
+ },
+ "networkProfile": {
+ "type": "object",
+ "properties": {
+ "networkInterfaces": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "ID - Resource Id of the network interface"
+ }
+ }
+ },
+ "description": "NetworkInterfaces - list of network interfaces to be attached to the virtual machine"
+ }
+ },
+ "description": "NetworkProfile - describes the network configuration the virtual machine"
+ },
+ "osProfile": {
+ "type": "object",
+ "properties": {
+ "adminPassword": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "AdminPassword - admin password",
+ "x-ms-mutability": [
+ "create"
+ ]
+ },
+ "adminUsername": {
+ "type": "string",
+ "description": "AdminUsername - admin username"
+ },
+ "computerName": {
+ "type": "string",
+ "description": "ComputerName - name of the compute"
+ },
+ "linuxConfiguration": {
+ "type": "object",
+ "properties": {
+ "disablePasswordAuthentication": {
+ "type": "boolean",
+ "description": "DisablePasswordAuthentication - whether password authentication should be disabled"
+ },
+ "ssh": {
+ "type": "object",
+ "properties": {
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Li nux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)."
+ },
+ "path": {
+ "type": "string",
+ "description": "Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys"
+ }
+ }
+ },
+ "description": "PublicKeys - The list of SSH public keys used to authenticate with linux based VMs.",
+ "x-ms-identifiers": []
+ }
+ },
+ "description": "SSH - contains settings related to ssh configuration"
+ },
+ "provisionVMAgent": {
+ "type": "boolean",
+ "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine creation process."
+ }
+ },
+ "description": "LinuxConfiguration - linux specific configuration values for the virtual machine"
+ },
+ "osType": {
+ "type": "string",
+ "description": "OsType - string specifying whether the OS is Linux or Windows",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "x-ms-enum": {
+ "name": "OsTypeEnum",
+ "modelAsString": true
+ }
+ },
+ "windowsConfiguration": {
+ "type": "object",
+ "properties": {
+ "enableAutomaticUpdates": {
+ "type": "boolean",
+ "description": "Whether to EnableAutomaticUpdates on the machine"
+ },
+ "ssh": {
+ "type": "object",
+ "properties": {
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Li nux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)."
+ },
+ "path": {
+ "type": "string",
+ "description": "Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys"
+ }
+ }
+ },
+ "description": "PublicKeys - The list of SSH public keys used to authenticate with linux based VMs.",
+ "x-ms-identifiers": []
+ }
+ },
+ "description": "SSH Configuration"
+ },
+ "timeZone": {
+ "type": "string",
+ "description": "TimeZone for the virtual machine"
+ },
+ "provisionVMAgent": {
+ "type": "boolean",
+ "description": "Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine creation process."
+ }
+ },
+ "description": "Windows Configuration for the virtual machine "
+ }
+ },
+ "description": "OsProfile - describes the configuration of the operating system and sets login data"
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "securityProfile": {
+ "type": "object",
+ "properties": {
+ "enableTPM": {
+ "type": "boolean"
+ },
+ "uefiSettings": {
+ "type": "object",
+ "properties": {
+ "secureBootEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether secure boot should be enabled on the virtual machine."
+ }
+ }
+ }
+ },
+ "description": "SecurityProfile - Specifies the security settings for the virtual machine."
+ },
+ "storageProfile": {
+ "type": "object",
+ "properties": {
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "adds data disks to the virtual machine",
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "imageReference": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name - Name of the image"
+ }
+ },
+ "description": "Which Image to use for the virtual machine"
+ },
+ "osDisk": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Specifies the virtual hard disk's ID"
+ }
+ },
+ "description": "VHD to attach as OS disk"
+ },
+ "vmConfigContainerName": {
+ "type": "string",
+ "description": "Name of the storage container that hosts the VM configuration file"
+ }
+ },
+ "description": "StorageProfile - contains information about the disks and storage information for the virtual machine"
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "$ref": "#/definitions/virtualMachineStatus"
+ },
+ "guestAgentProfile": {
+ "description": "Guest agent status properties.",
+ "$ref": "#/definitions/GuestAgentProfile"
+ },
+ "vmId": {
+ "description": "Unique identifier for the vm resource.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "virtualmachinesProperties defines a list of properties under virtualmachines"
+ },
+ "virtualMachineStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "VirtualMachine provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "powerState": {
+ "type": "string",
+ "description": "The power state of the virtual machine",
+ "enum": [
+ "Deallocated",
+ "Deallocating",
+ "Running",
+ "Starting",
+ "Stopped",
+ "Stopping",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "PowerStateEnum",
+ "modelAsString": true
+ }
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the virtual machine",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the virtual machine"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the virtual machine [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "description": "virtualMachineStatus defines the observed state of virtualmachines"
+ },
+ "virtualmachines": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "x-ms-azure-resource": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/virtualmachinesProperties"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "The identity of the resource."
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "The virtualmachines resource definition."
+ },
+ "hardwareProfileUpdate": {
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "type": "string",
+ "enum": [
+ "Default",
+ "Standard_A2_v2",
+ "Standard_A4_v2",
+ "Standard_D2s_v3",
+ "Standard_D4s_v3",
+ "Standard_D8s_v3",
+ "Standard_D16s_v3",
+ "Standard_D32s_v3",
+ "Standard_DS2_v2",
+ "Standard_DS3_v2",
+ "Standard_DS4_v2",
+ "Standard_DS5_v2",
+ "Standard_DS13_v2",
+ "Standard_K8S_v1",
+ "Standard_K8S2_v1",
+ "Standard_K8S3_v1",
+ "Standard_K8S4_v1",
+ "Standard_NK6",
+ "Standard_NK12",
+ "Standard_NV6",
+ "Standard_NV12",
+ "Standard_K8S5_v1",
+ "Custom"
+ ],
+ "x-ms-enum": {
+ "name": "VmSizeEnum",
+ "modelAsString": true
+ }
+ },
+ "processors": {
+ "type": "integer",
+ "format": "int32",
+ "description": "number of processors for the virtual machine"
+ },
+ "memoryGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "RAM in gb for the virtual machine"
+ }
+ },
+ "description": "HardwareProfile - Specifies the hardware settings for the virtual machine."
+ },
+ "networkProfileUpdate": {
+ "type": "object",
+ "properties": {
+ "networkInterfaces": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "ID - Resource ID of the network interface"
+ }
+ }
+ },
+ "description": "NetworkInterfaces - list of network interfaces to be attached to the virtual machine"
+ }
+ },
+ "description": "NetworkProfile - describes the network update configuration the virtual machine"
+ },
+ "storageProfileUpdate": {
+ "type": "object",
+ "properties": {
+ "dataDisks": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ }
+ }
+ },
+ "description": "adds data disks to the virtual machine for the update call",
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "virtualMachineUpdateProperties": {
+ "description": "Defines the resource properties for the update.",
+ "type": "object",
+ "properties": {
+ "hardwareProfile": {
+ "$ref": "#/definitions/hardwareProfileUpdate"
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/storageProfileUpdate"
+ },
+ "networkProfile": {
+ "$ref": "#/definitions/networkProfileUpdate"
+ }
+ }
+ },
+ "virtualmachinesPatch": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/virtualMachineUpdateProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The virtualmachines resource patch definition."
+ },
+ "virtualmachinesListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/virtualmachines"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ },
+ "GuestAgentProfile": {
+ "description": "Defines the resource properties.",
+ "type": "object",
+ "properties": {
+ "vmUuid": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the VM's unique SMBIOS ID."
+ },
+ "status": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The status of the hybrid machine agent.",
+ "enum": [
+ "Connected",
+ "Disconnected",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "StatusTypes",
+ "modelAsString": true
+ }
+ },
+ "lastStatusChange": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time of the last status change."
+ },
+ "agentVersion": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The hybrid machine agent full version."
+ },
+ "errorDetails": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail"
+ },
+ "description": "Details about the error state.",
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "HybridIdentityMetadataList": {
+ "description": "List of HybridIdentityMetadata.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "Url to follow for getting next page of HybridIdentityMetadata.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Array of HybridIdentityMetadata",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/HybridIdentityMetadata"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "HybridIdentityMetadata": {
+ "description": "Defines the HybridIdentityMetadata.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource",
+ "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags."
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Resource properties.",
+ "$ref": "#/definitions/HybridIdentityMetadataProperties"
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "The system data."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "HybridIdentityMetadataProperties": {
+ "description": "Defines the resource properties.",
+ "type": "object",
+ "properties": {
+ "resourceUid": {
+ "description": "The unique identifier for the resource.",
+ "type": "string"
+ },
+ "publicKey": {
+ "description": "Gets or sets the Public Key.",
+ "type": "string"
+ },
+ "identity": {
+ "$ref": "#/definitions/Identity",
+ "description": "The identity of the resource.",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Identity": {
+ "type": "object",
+ "required": [
+ "type"
+ ],
+ "properties": {
+ "principalId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The principal id of managed service identity."
+ },
+ "tenantId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The tenant of managed service identity."
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of managed service identity.",
+ "enum": [
+ "None",
+ "SystemAssigned"
+ ],
+ "x-ms-enum": {
+ "name": "IdentityType",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Managed service identity."
+ },
+ "ResourcePatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Object containing updates for patch operations."
+ },
+ "MachineExtension": {
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineExtensionProperties",
+ "description": "Describes Machine Extension Properties."
+ },
+ "location": {
+ "description": "Gets or sets the location.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "The system data."
+ },
+ "tags": {
+ "description": "Gets or sets the Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "name": {
+ "description": "Gets or sets the name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "id": {
+ "description": "Gets or sets the Id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Gets or sets the type of the resource.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "Describes a Machine Extension."
+ },
+ "MachineExtensionUpdate": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MachineExtensionUpdateProperties",
+ "description": "Describes Machine Extension Update Properties."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourcePatch"
+ }
+ ],
+ "description": "Describes a Machine Extension Update."
+ },
+ "MachineExtensionProperties": {
+ "type": "object",
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
+ "x-ms-secret": true
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/MachineExtensionInstanceView"
+ }
+ ],
+ "description": "The machine extension instance view."
+ }
+ },
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "MachineExtensionUpdateProperties": {
+ "type": "object",
+ "properties": {
+ "forceUpdateTag": {
+ "type": "string",
+ "description": "How the extension handler should be forced to update even if the extension configuration has not changed."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The name of the extension handler publisher."
+ },
+ "type": {
+ "type": "string",
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "description": "Specifies the version of the script handler."
+ },
+ "autoUpgradeMinorVersion": {
+ "type": "boolean",
+ "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
+ },
+ "settings": {
+ "type": "object",
+ "description": "Json formatted public settings for the extension."
+ },
+ "protectedSettings": {
+ "type": "object",
+ "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.",
+ "x-ms-secret": true
+ }
+ },
+ "description": "Describes the properties of a Machine Extension."
+ },
+ "MachineExtensionInstanceView": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The machine extension name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
+ },
+ "typeHandlerVersion": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Specifies the version of the script handler."
+ },
+ "status": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The status code."
+ },
+ "level": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The level code.",
+ "enum": [
+ "Info",
+ "Warning",
+ "Error"
+ ],
+ "x-ms-enum": {
+ "name": "StatusLevelTypes",
+ "modelAsString": true
+ }
+ },
+ "displayStatus": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The short localizable label for the status."
+ },
+ "message": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The detailed status message, including for alerts and error messages."
+ },
+ "time": {
+ "type": "string",
+ "readOnly": true,
+ "format": "date-time",
+ "description": "The time of the status."
+ }
+ },
+ "description": "Instance view status."
+ }
+ },
+ "description": "Describes the Machine Extension Instance View."
+ },
+ "MachineExtensionsListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MachineExtension"
+ },
+ "description": "The list of extensions"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of machine extensions. Call ListNext() with this to fetch the next page of extensions."
+ }
+ },
+ "description": "Describes the Machine Extensions List Result."
+ },
+ "GuestAgentList": {
+ "type": "object",
+ "description": "List of GuestAgent.",
+ "properties": {
+ "nextLink": {
+ "description": "Url to follow for getting next page of GuestAgent.",
+ "type": "string"
+ },
+ "value": {
+ "description": "Array of GuestAgent",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuestAgent"
+ }
+ }
+ },
+ "required": [
+ "value"
+ ]
+ },
+ "GuestAgent": {
+ "description": "Defines the GuestAgent.",
+ "required": [
+ "properties"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource",
+ "description": "The resource model definition for an Azure Resource Manager proxy resource. It will have everything other than required location and tags."
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Resource properties.",
+ "$ref": "#/definitions/GuestAgentProperties"
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData",
+ "description": "The system data."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProvisioningAction": {
+ "description": "Defines the different types of operations for guest agent.",
+ "enum": [
+ "install",
+ "uninstall",
+ "repair"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "ProvisioningAction"
+ }
+ },
+ "GuestCredential": {
+ "description": "Username / Password Credentials to connect to guest.",
+ "type": "object",
+ "properties": {
+ "username": {
+ "description": "Gets or sets username to connect with the guest.",
+ "type": "string"
+ },
+ "password": {
+ "description": "Gets or sets the password to connect with the guest.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "update"
+ ],
+ "x-ms-secret": true
+ }
+ }
+ },
+ "GuestAgentProperties": {
+ "description": "Defines the resource properties.",
+ "type": "object",
+ "properties": {
+ "credentials": {
+ "description": "Username / Password Credentials to provision guest agent.",
+ "$ref": "#/definitions/GuestCredential"
+ },
+ "httpProxyConfig": {
+ "description": "HTTP Proxy configuration for the VM.",
+ "$ref": "#/definitions/HttpProxyConfiguration"
+ },
+ "provisioningAction": {
+ "description": "Gets or sets the guest agent provisioning action.",
+ "$ref": "#/definitions/ProvisioningAction",
+ "type": "string"
+ },
+ "status": {
+ "description": "Gets or sets the guest agent status.",
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "Gets or sets the provisioning state.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "HttpProxyConfiguration": {
+ "description": "HTTP Proxy configuration for the VM.",
+ "type": "object",
+ "properties": {
+ "httpsProxy": {
+ "description": "Gets or sets httpsProxy url.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "virtualmachinesNameParameter": {
+ "name": "virtualmachinesName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
new file mode 100644
index 000000000000..7c692e7dfb35
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -0,0 +1,624 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/virtualnetworks/{virtualnetworksName}": {
+ "get": {
+ "operationId": "virtualnetworks_Retrieve",
+ "x-ms-examples": {
+ "GetVirtualNetwork": {
+ "$ref": "./examples/GetVirtualNetwork.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualnetworksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the virtualnetworks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "virtualnetworks_CreateOrUpdate",
+ "x-ms-examples": {
+ "PutVirtualNetwork": {
+ "$ref": "./examples/PutVirtualNetwork.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualnetworksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualnetworks",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the virtualnetworks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ },
+ "201": {
+ "description": "Creates the virtualnetworks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "virtualnetworks_Delete",
+ "x-ms-examples": {
+ "DeleteVirtualNetwork": {
+ "$ref": "./examples/DeleteVirtualNetwork.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualnetworksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the virtualnetworks resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "virtualnetworks_Update",
+ "x-ms-examples": {
+ "UpdateVirtualNetwork": {
+ "$ref": "./examples/UpdateVirtualNetwork.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/virtualnetworksNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "virtualnetworks",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/virtualnetworksPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the virtualnetworks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ },
+ "201": {
+ "description": "Updates the virtualnetworks resource.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualnetworks": {
+ "get": {
+ "operationId": "virtualnetworks_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListVirtualNetworkByResourceGroup": {
+ "$ref": "./examples/ListVirtualNetworkByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all virtualnetworks under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworksListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/virtualnetworks": {
+ "get": {
+ "operationId": "virtualnetworks_ListBySubscription",
+ "x-ms-examples": {
+ "ListVirtualNetworkBySubscription": {
+ "$ref": "./examples/ListVirtualNetworkBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all virtualnetworks under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/virtualnetworksListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "virtualnetworksProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "networkType": {
+ "type": "string",
+ "description": "Type of the network",
+ "enum": [
+ "NAT",
+ "Transparent",
+ "L2Bridge",
+ "L2Tunnel",
+ "ICS",
+ "Private",
+ "Overlay",
+ "Internal",
+ "Mirrored"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkTypeEnum",
+ "modelAsString": true
+ }
+ },
+ "subnets": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name - The name of the resource that is unique within a resource group. This name can be used to access the resource."
+ },
+ "properties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "addressPrefix": {
+ "type": "string",
+ "description": "Cidr for this subnet - IPv4, IPv6"
+ },
+ "addressPrefixes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "AddressPrefixes - List of address prefixes for the subnet."
+ },
+ "ipAllocationMethod": {
+ "type": "string",
+ "description": "IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic'",
+ "enum": [
+ "Dynamic",
+ "Static"
+ ],
+ "x-ms-enum": {
+ "name": "IpAllocationMethodEnum",
+ "modelAsString": true
+ }
+ },
+ "ipConfigurationReferences": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "ID": {
+ "type": "string",
+ "description": "IPConfigurationID"
+ }
+ },
+ "description": "IPConfigurationReference - Describes a IPConfiguration under the virtual network"
+ },
+ "x-ms-identifiers": [],
+ "description": "IPConfigurationReferences - list of IPConfigurationReferences"
+ },
+ "routeTable": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Etag - Gets a unique read-only string that changes whenever the resource is updated."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name - READ-ONLY; Resource name."
+ },
+ "properties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "routes": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name - name of the subnet"
+ },
+ "properties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "addressPrefix": {
+ "type": "string",
+ "description": "AddressPrefix - The destination CIDR to which the route applies."
+ },
+ "nextHopIpAddress": {
+ "type": "string",
+ "description": "NextHopIPAddress - The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance."
+ }
+ },
+ "description": "RoutePropertiesFormat - Properties of the route."
+ }
+ },
+ "description": "Route is associated with a subnet."
+ },
+ "description": "Routes - Collection of routes contained within a route table.",
+ "x-ms-identifiers": []
+ }
+ },
+ "description": "RouteTablePropertiesFormat route Table resource."
+ },
+ "type": {
+ "type": "string",
+ "description": "Type - READ-ONLY; Resource type."
+ }
+ },
+ "description": "RouteTable for the subnet"
+ },
+ "ipPools": {
+ "type": "array",
+ "description": "network associated pool of IP Addresses",
+ "items": {
+ "$ref": "#/definitions/IPPool"
+ },
+ "x-ms-identifiers": []
+ },
+ "vlan": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Vlan to use for the subnet"
+ }
+ },
+ "description": "SubnetProperties - Properties of the subnet."
+ }
+ },
+ "description": "Subnet subnet in a virtual network resource."
+ },
+ "description": "Subnet - list of subnets under the virtual network",
+ "x-ms-identifiers": []
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "$ref": "#/definitions/virtualNetworkStatus"
+ }
+ },
+ "description": "virtualnetworksProperties defines a list of properties under virtualnetworks"
+ },
+ "virtualNetworkStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "VirtualNetwork provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the virtual network",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the virtual network"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the virtual network [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "description": "virtualNetworkStatus defines the observed state of virtualnetworks"
+ },
+ "IPPoolInfo": {
+ "type": "object",
+ "properties": {
+ "used": {
+ "type": "string",
+ "readOnly": true,
+ "description": "no. of ip addresses allocated from the ip pool"
+ },
+ "available": {
+ "type": "string",
+ "readOnly": true,
+ "description": "no. of ip addresses available in the ip pool"
+ }
+ }
+ },
+ "IPPool": {
+ "type": "object",
+ "properties": {
+ "ipPoolType": {
+ "type": "string",
+ "enum": [
+ "vm",
+ "vippool"
+ ],
+ "x-ms-enum": {
+ "name": "IPPoolTypeEnum",
+ "modelAsString": false
+ },
+ "description": "ip pool type"
+ },
+ "start": {
+ "type": "string",
+ "description": "start of the ip address pool"
+ },
+ "end": {
+ "type": "string",
+ "description": "end of the ip address pool"
+ },
+ "info": {
+ "$ref": "#/definitions/IPPoolInfo"
+ }
+ }
+ },
+ "virtualnetworks": {
+ "type": "object",
+ "description": "The virtualnetworks resource definition.",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/virtualnetworksProperties"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "virtualnetworksPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The virtualnetworks resource patch definition."
+ },
+ "virtualnetworksListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/virtualnetworks"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "virtualnetworksNameParameter": {
+ "name": "virtualnetworksName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
index 61939ac9b06f..c69c460f40cb 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
@@ -64,6 +64,11 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "List operation resources": {
+ "$ref": "./examples/ListOperationByCluster.json"
+ }
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..f11eb04b81ab
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplace-gallery-image",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..4c9a0d980eb4
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplace-gallery-image",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json
new file mode 100644
index 000000000000..20c4caad664d
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json
new file mode 100644
index 000000000000..812bdeec84f9
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json
new file mode 100644
index 000000000000..1c523bf7b0d7
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..aa613499731d
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json
@@ -0,0 +1,119 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplace-gallery-image",
+ "api-version": "2021-09-01-preview",
+ "marketplacegalleryimages": {
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "InProgress"
+ },
+ "progressPercentage": 0,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json
new file mode 100644
index 000000000000..685740d05098
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json
@@ -0,0 +1,116 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin",
+ "adminPassword": "password"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..4b87ba21d859
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
@@ -0,0 +1,116 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin",
+ "adminPassword": "password"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json
new file mode 100644
index 000000000000..8c825818fc22
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json
@@ -0,0 +1,103 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..d922ceb12ca0
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json
@@ -0,0 +1,109 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplce-gallery-image",
+ "api-version": "2021-09-01-preview",
+ "marketplacegalleryimages": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "InProgress"
+ },
+ "progressPercentage": 0,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json
new file mode 100644
index 000000000000..6bb60e2ab293
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json
@@ -0,0 +1,587 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/marketplacegalleryimages/{marketplacegalleryimagesName}": {
+ "get": {
+ "operationId": "marketplacegalleryimages_Get",
+ "description": "Gets marketplacegalleryimages by resource name",
+ "x-ms-examples": {
+ "GetMarketplaceGalleryImage": {
+ "$ref": "./examples/GetMarketplaceGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "marketplacegalleryimages_CreateOrUpdate",
+ "description": "Creates or updates a marketplacegalleryimage",
+ "x-ms-examples": {
+ "PutMarketplaceGalleryImage": {
+ "$ref": "./examples/PutMarketplaceGalleryImage.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "marketplacegalleryimages",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ },
+ "201": {
+ "description": "Creates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "marketplacegalleryimages_Delete",
+ "description": "Deletes a marketplacegalleryimage",
+ "x-ms-examples": {
+ "DeleteMarketplaceGalleryImage": {
+ "$ref": "./examples/DeleteMarketplaceGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the marketplacegalleryimages resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "marketplacegalleryimages_Update",
+ "description": "Updates a marketplacegalleryimage",
+ "x-ms-examples": {
+ "UpdateMarketplaceGalleryImage": {
+ "$ref": "./examples/UpdateMarketplaceGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "marketplacegalleryimages",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimagesPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ },
+ "201": {
+ "description": "Updates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
+ "get": {
+ "operationId": "marketplacegalleryimages_ListByResourceGroup",
+ "description": "Lists all marketplacegalleryimages under the resource group",
+ "x-ms-examples": {
+ "ListMarketplaceGalleryImageByResourceGroup": {
+ "$ref": "./examples/ListMarketplaceGalleryImageByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all marketplacegalleryimages under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimagesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
+ "get": {
+ "operationId": "marketplacegalleryimages_ListBySubscription",
+ "description": "Lists all marketplacegalleryimages under the subscription",
+ "x-ms-examples": {
+ "ListMarketplaceGalleryImageBySubscription": {
+ "$ref": "./examples/ListMarketplaceGalleryImageBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all marketplacegalleryimages under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimagesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "marketplacegalleryimagesProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "containerName": {
+ "type": "string",
+ "description": "Container Name for storage container"
+ },
+ "osType": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ },
+ "description": "operating system type that the gallery image uses. Expected to be linux or windows"
+ },
+ "cloudInitDataSource": {
+ "type": "string",
+ "description": "Datasource for the gallery image when provisioning with cloud-init [Azure, NoCloud]",
+ "enum": [
+ "NoCloud",
+ "Azure"
+ ],
+ "x-ms-enum": {
+ "name": "CloudInitDataSource",
+ "modelAsString": true
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine [V1, V2]",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "identifier": {
+ "$ref": "#/definitions/galleryImageIdentifier"
+ },
+ "version": {
+ "$ref": "#/definitions/galleryImageVersion"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the gallery image.",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "$ref": "#/definitions/marketplaceGalleryImageStatus"
+ }
+ },
+ "description": "marketplacegalleryimagesProperties defines a list of properties under marketplacegalleryimages"
+ },
+ "marketplaceGalleryImageStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "MarketplaceGalleryImage provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the marketplace gallery image",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the marketplace gallery image"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the marketplace gallery image [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "downloadStatus": {
+ "type": "object",
+ "properties": {
+ "downloadSizeInMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The downloaded sized of the image in MB"
+ }
+ },
+ "description": "The download status of the marketplace gallery image"
+ },
+ "progressPercentage": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The progress of the operation in percentage"
+ }
+ },
+ "description": "marketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
+ },
+ "galleryImageIdentifier": {
+ "type": "object",
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The name of the gallery image definition publisher."
+ },
+ "offer": {
+ "type": "string",
+ "description": "The name of the gallery image definition offer."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The name of the gallery image definition SKU."
+ }
+ },
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
+ "description": "This is the gallery image definition identifier."
+ },
+ "galleryImageVersion": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the version of the gallery image."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/galleryImageVersionProperties"
+ }
+ },
+ "description": "Specifies information about the gallery image version that you want to create or update."
+ },
+ "galleryImageVersionProperties": {
+ "type": "object",
+ "properties": {
+ "storageProfile": {
+ "$ref": "#/definitions/galleryImageVersionStorageProfile"
+ }
+ },
+ "required": [
+ "storageProfile"
+ ],
+ "description": "Describes the properties of a gallery image version."
+ },
+ "galleryImageVersionStorageProfile": {
+ "type": "object",
+ "properties": {
+ "osDiskImage": {
+ "$ref": "#/definitions/galleryOSDiskImage"
+ }
+ },
+ "description": "This is the storage profile of a Gallery Image Version."
+ },
+ "galleryOSDiskImage": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/galleryDiskImage"
+ }
+ ],
+ "description": "This is the OS disk image."
+ },
+ "galleryDiskImage": {
+ "type": "object",
+ "properties": {
+ "sizeInMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "This property indicates the size of the VHD to be created."
+ }
+ },
+ "description": "This is the disk image base class."
+ },
+ "marketplacegalleryimages": {
+ "type": "object",
+ "description": "The marketplacegalleryimages resource definition.",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/marketplacegalleryimagesProperties"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "description": "The extendedLocation of the resource.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "marketplacegalleryimagesPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The marketplacegalleryimages resource patch definition."
+ },
+ "marketplacegalleryimagesListResult": {
+ "type": "object",
+ "description": "List of marketplacegalleryimages.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The itemed list of marketplacegalleryimages",
+ "items": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Link to the next set of results.",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "marketplacegalleryimagesNameParameter": {
+ "name": "marketplacegalleryimagesName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3,
+ "description": "Name of the marketplace gallery image"
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md
index 6c6a7c9cdeb5..a6921f02176c 100644
--- a/specification/azurestackhci/resource-manager/readme.md
+++ b/specification/azurestackhci/resource-manager/readme.md
@@ -129,6 +129,25 @@ input-file:
- Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
```
+### Tag: package-preview-2021-09
+
+These settings apply only when `--tag=package-preview-2021-09` is specified on the command line.
+
+``` yaml $(tag) == 'package-preview-2021-09'
+input-file:
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+ - Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+```
+
### Tag: package-2021-09
These settings apply only when `--tag=package-2021-09` is specified on the command line.
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
index 87d0683b9c8a..0d680ad0715d 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
@@ -317,17 +317,28 @@
"readOnly": true,
"description": "An identifier that represents the resource."
},
- "name": {
+ "errorMessage": {
"type": "string",
"readOnly": true,
"description": "The name of the resource."
},
- "type": {
+ "progressPercentage": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The progress of the operation in percentage"
+ }
+ },
+ "description": "galleryImageStatus defines the observed state of galleryimages"
+ },
+ "galleryImageIdentifier": {
+ "type": "object",
+ "properties": {
+ "publisher": {
"type": "string",
"readOnly": true,
"description": "The type of resource."
},
- "location": {
+ "offer": {
"type": "string",
"description": "Location of the resource."
},
@@ -357,6 +368,7 @@
"DelegatedControllers": {
"description": "An array of Delegated controller resources.",
"type": "object",
+ "description": "List of galleryimages.",
"properties": {
"value": {
"type": "array",
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
index 1eff9dddf478..39d641e10cc1 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
@@ -36,7 +36,12 @@
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/delegatedSubnets/{resourceName}": {
"get": {
+<<<<<<< HEAD:specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
"description": "Gets details about the specified dnc DelegatedSubnet Link.",
+=======
+ "operationId": "storagecontainers_Retrieve",
+ "description": "Gets storagecontainers by resource name",
+>>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147):specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
"x-ms-examples": {
"Get details of a delegated subnet": {
"$ref": "./examples/getDelegatedSubnet.json"
@@ -312,8 +317,94 @@
}
},
"definitions": {
+<<<<<<< HEAD:specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
"DelegatedSubnetResource": {
"description": "Represents an instance of a resource.",
+=======
+ "storagecontainersProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "Path of the storage container on the disk"
+ },
+ "provisioningState": {
+ "type": "string"
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "availableSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Amount of space available on the disk in MB"
+ },
+ "containerSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Total size of the disk in MB"
+ },
+ "status": {
+ "$ref": "#/definitions/storageContainerStatus"
+ }
+ },
+ "description": "storagecontainersProperties defines a list of properties under storagecontainers"
+ },
+ "storageContainerStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "StorageContainer provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "availableSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Amount of space available on the disk in MB"
+ },
+ "containerSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total size of the disk in MB"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the storage container",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the storage container"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the storage container [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ }
+ },
+ "description": "storageContainerStatus defines the observed state of storagecontainers"
+ },
+ "storagecontainers": {
+>>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147):specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
"type": "object",
"properties": {
"id": {
From 1e9e4203ed4e13174fce675c776fc4b56a606681 Mon Sep 17 00:00:00 2001
From: Patricia Huang <69329771+pathuang-sia@users.noreply.github.com>
Date: Mon, 6 Jun 2022 18:49:44 -0700
Subject: [PATCH 05/30] [Microsoft.AzureStackHCI] 2021-09-01-preview update
(#7147)
* GalleryImage, MarketplaceGalleryImage, VirtualMachine, and VirtualHardDisk 2021-09-01-preview changes (#6751)
* initial commit
* syntax error fix
* move galleryimageversionproperties under galleryimageproperties
* add galleryimageversion as child of galleryimageproperties
* update create/get galleryimage json example
* remove version readonly and fix version description
* add imagesource and fix imagepath example
* fix getgalleryimage.json
* pending to inprogress
* mark secret x-ms-secret
* fix osdisk uri to id in vms
* update to local
* create marketplacegalleryimages
* fix file name
* filenmae fix
* file rename
* file rename
* add missing exampl.es
* add enum
* update vm and vhd examples
* add num to galleryimages as well
* fix example: remove imagepath from response and fix sizeInMB
* update vhd example response with other properties
* fix vm create vlow
* fix example imagereference
* fix osdisk camel case
* remove securityprofile from response
* add readonly to sizeInMB
* update disksizeBytes and readonly to sizeInMB
* update missed diskSizeBytes in examples
* fix camelcase
* remove osprofile from response and request when osdisk is specified in vm put
* Add signature, set proper status properties to galleryImages & marketplaceGalleryImages (#6989)
* add signature, set proper status properties
* fix semantics
* fix status for all resources and remove signature
* remove imagePath from marketplacegalleryimage example
* fix status name
* add readonly to status
* add x-ms-client-flatten, and align errorMessage/errorCode description
* update property description
* add powerstate to virtualmachinestatus
* add provisioningstate enum and remove readonly for galleryimageversion.name
* Sync azurestackhci 2021-07 changes to 2021-09 (#7106)
* sync marketplacegalleryimage descriptions
* Add to custom words and fix example
* fix updatemarketplacegalleryimage.json
* add marketplaceGalleryImages to readme
* update all references to v3
* Revert "update all references to v3"
This reverts commit 186589ff6ab6f0d3b5257c2ebe8b078e1f29052a.
* npm run prettier
* User/vishalk/storage container rpsaasdev (#7084)
* swagger chanfes
* added availablesize and containersize in status
Co-authored-by: Vishal Kadam
* V3 to v2
* fix typo
* Revert "fix typo"
This reverts commit 8ea4035c868811dedcf3d7db17cfb9decb3814f9.
* Revert "V3 to v2"
This reverts commit c04f9f7254e28485bfe2fa6a9fbcf9cd921d518e.
* convert all to v3
* v3 to v2, add ListOperationByCluster example
* linter feedback
* more fix based on linter feedback
* fix breaking change errors
* continue fixing breaking change
* User/vishalk/storage container (#5953)
* updated VHD object
* updated storage container swagger
* added available size property
* updated description of path
Co-authored-by: Vishal Kadam
* Add canceled to provisioningState enum
Co-authored-by: Arka
Co-authored-by: vishal-kadam <33834843+vishal-kadam@users.noreply.github.com>
Co-authored-by: Vishal Kadam
---
custom-words.txt | 5 +
.../DeleteMarketplaceGalleryImage.json | 12 +
.../examples/GetMarketplaceGalleryImage.json | 54 ++
...arketplaceGalleryImageByResourceGroup.json | 57 ++
...MarketplaceGalleryImageBySubscription.json | 56 ++
.../examples/ListOperationByCluster.json | 13 +
.../examples/PutMarketplaceGalleryImage.json | 119 ++++
.../PutVirtualMachineWithGalleryImage.json | 116 ++++
...ualMachineWithMarketplaceGalleryImage.json | 116 ++++
.../examples/PutVirtualMachineWithOsDisk.json | 103 +++
.../UpdateMarketplaceGalleryImage.json | 109 ++++
.../marketplaceGalleryImages.json | 587 ++++++++++++++++++
.../2020-08-08-preview/delegatedSubnets.json | 18 +-
.../stable/2021-03-15/operations.json | 5 +
14 files changed, 1367 insertions(+), 3 deletions(-)
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListOperationByCluster.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMarketplaceGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
diff --git a/custom-words.txt b/custom-words.txt
index 60acbf5c77ef..40edb8b07235 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1251,11 +1251,16 @@ mariadb
Marketo
marketplaceagreementsapi
<<<<<<< HEAD
+<<<<<<< HEAD
marketplacecatalog
=======
marketplacegalleryimage
marketplacegalleryimages
>>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147)
+=======
+marketplacegalleryimage
+marketplacegalleryimages
+>>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147)
marketplaceordering
maxclients
maxcoordinates
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..f11eb04b81ab
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMarketplaceGalleryImage.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplace-gallery-image",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..4c9a0d980eb4
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMarketplaceGalleryImage.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplace-gallery-image",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "NoCloud",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json
new file mode 100644
index 000000000000..20c4caad664d
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageByResourceGroup.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json
new file mode 100644
index 000000000000..812bdeec84f9
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMarketplaceGalleryImageBySubscription.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListOperationByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListOperationByCluster.json
new file mode 100644
index 000000000000..1c523bf7b0d7
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListOperationByCluster.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "clusterName": "myCluster",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {}
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..aa613499731d
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMarketplaceGalleryImage.json
@@ -0,0 +1,119 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplace-gallery-image",
+ "api-version": "2021-09-01-preview",
+ "marketplacegalleryimages": {
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "InProgress"
+ },
+ "progressPercentage": 0,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
new file mode 100644
index 000000000000..685740d05098
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
@@ -0,0 +1,116 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin",
+ "adminPassword": "password"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..4b87ba21d859
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
@@ -0,0 +1,116 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin",
+ "adminPassword": "password"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
new file mode 100644
index 000000000000..8c825818fc22
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
@@ -0,0 +1,103 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "securityProfile": {
+ "enableTPM": true,
+ "uefiSettings": {
+ "secureBootEnabled": true
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "osDisk": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
+ },
+ "vmConfigContainerName": "Default_Container"
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMarketplaceGalleryImage.json
new file mode 100644
index 000000000000..d922ceb12ca0
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMarketplaceGalleryImage.json
@@ -0,0 +1,109 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "marketplacegalleryimagesName": "test-marketplce-gallery-image",
+ "api-version": "2021-09-01-preview",
+ "marketplacegalleryimages": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "InProgress"
+ },
+ "progressPercentage": 0,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
+ "name": "test-marketplace-gallery-image",
+ "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "containerName": "Default_Container",
+ "osType": "Windows",
+ "cloudInitDataSource": "Azure",
+ "hyperVGeneration": "V1",
+ "identifier": {
+ "publisher": "myPublisherName",
+ "offer": "myOfferName",
+ "sku": "mySkuName"
+ },
+ "version": {
+ "name": "1.0.0",
+ "properties": {
+ "storageProfile": {
+ "osDiskImage": {
+ "sizeInMB": 30270
+ }
+ }
+ }
+ },
+ "status": {
+ "provisioningStatus": {
+ "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
+ "status": "Succeeded"
+ },
+ "progressPercentage": 100,
+ "downloadStatus": {
+ "downloadSizeInMB": 9383
+ }
+ },
+ "provisioningState": "Creating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
new file mode 100644
index 000000000000..6bb60e2ab293
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -0,0 +1,587 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/marketplacegalleryimages/{marketplacegalleryimagesName}": {
+ "get": {
+ "operationId": "marketplacegalleryimages_Get",
+ "description": "Gets marketplacegalleryimages by resource name",
+ "x-ms-examples": {
+ "GetMarketplaceGalleryImage": {
+ "$ref": "./examples/GetMarketplaceGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "marketplacegalleryimages_CreateOrUpdate",
+ "description": "Creates or updates a marketplacegalleryimage",
+ "x-ms-examples": {
+ "PutMarketplaceGalleryImage": {
+ "$ref": "./examples/PutMarketplaceGalleryImage.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "marketplacegalleryimages",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ },
+ "201": {
+ "description": "Creates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "marketplacegalleryimages_Delete",
+ "description": "Deletes a marketplacegalleryimage",
+ "x-ms-examples": {
+ "DeleteMarketplaceGalleryImage": {
+ "$ref": "./examples/DeleteMarketplaceGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the marketplacegalleryimages resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "marketplacegalleryimages_Update",
+ "description": "Updates a marketplacegalleryimage",
+ "x-ms-examples": {
+ "UpdateMarketplaceGalleryImage": {
+ "$ref": "./examples/UpdateMarketplaceGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "marketplacegalleryimages",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimagesPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ },
+ "201": {
+ "description": "Updates the marketplacegalleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
+ "get": {
+ "operationId": "marketplacegalleryimages_ListByResourceGroup",
+ "description": "Lists all marketplacegalleryimages under the resource group",
+ "x-ms-examples": {
+ "ListMarketplaceGalleryImageByResourceGroup": {
+ "$ref": "./examples/ListMarketplaceGalleryImageByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all marketplacegalleryimages under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimagesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
+ "get": {
+ "operationId": "marketplacegalleryimages_ListBySubscription",
+ "description": "Lists all marketplacegalleryimages under the subscription",
+ "x-ms-examples": {
+ "ListMarketplaceGalleryImageBySubscription": {
+ "$ref": "./examples/ListMarketplaceGalleryImageBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all marketplacegalleryimages under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/marketplacegalleryimagesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "marketplacegalleryimagesProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "containerName": {
+ "type": "string",
+ "description": "Container Name for storage container"
+ },
+ "osType": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ },
+ "description": "operating system type that the gallery image uses. Expected to be linux or windows"
+ },
+ "cloudInitDataSource": {
+ "type": "string",
+ "description": "Datasource for the gallery image when provisioning with cloud-init [Azure, NoCloud]",
+ "enum": [
+ "NoCloud",
+ "Azure"
+ ],
+ "x-ms-enum": {
+ "name": "CloudInitDataSource",
+ "modelAsString": true
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine [V1, V2]",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "identifier": {
+ "$ref": "#/definitions/galleryImageIdentifier"
+ },
+ "version": {
+ "$ref": "#/definitions/galleryImageVersion"
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Provisioning state of the gallery image.",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "$ref": "#/definitions/marketplaceGalleryImageStatus"
+ }
+ },
+ "description": "marketplacegalleryimagesProperties defines a list of properties under marketplacegalleryimages"
+ },
+ "marketplaceGalleryImageStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "MarketplaceGalleryImage provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the marketplace gallery image",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the marketplace gallery image"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the marketplace gallery image [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "downloadStatus": {
+ "type": "object",
+ "properties": {
+ "downloadSizeInMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The downloaded sized of the image in MB"
+ }
+ },
+ "description": "The download status of the marketplace gallery image"
+ },
+ "progressPercentage": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The progress of the operation in percentage"
+ }
+ },
+ "description": "marketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
+ },
+ "galleryImageIdentifier": {
+ "type": "object",
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The name of the gallery image definition publisher."
+ },
+ "offer": {
+ "type": "string",
+ "description": "The name of the gallery image definition offer."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The name of the gallery image definition SKU."
+ }
+ },
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
+ "description": "This is the gallery image definition identifier."
+ },
+ "galleryImageVersion": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the version of the gallery image."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/galleryImageVersionProperties"
+ }
+ },
+ "description": "Specifies information about the gallery image version that you want to create or update."
+ },
+ "galleryImageVersionProperties": {
+ "type": "object",
+ "properties": {
+ "storageProfile": {
+ "$ref": "#/definitions/galleryImageVersionStorageProfile"
+ }
+ },
+ "required": [
+ "storageProfile"
+ ],
+ "description": "Describes the properties of a gallery image version."
+ },
+ "galleryImageVersionStorageProfile": {
+ "type": "object",
+ "properties": {
+ "osDiskImage": {
+ "$ref": "#/definitions/galleryOSDiskImage"
+ }
+ },
+ "description": "This is the storage profile of a Gallery Image Version."
+ },
+ "galleryOSDiskImage": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/galleryDiskImage"
+ }
+ ],
+ "description": "This is the OS disk image."
+ },
+ "galleryDiskImage": {
+ "type": "object",
+ "properties": {
+ "sizeInMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "This property indicates the size of the VHD to be created."
+ }
+ },
+ "description": "This is the disk image base class."
+ },
+ "marketplacegalleryimages": {
+ "type": "object",
+ "description": "The marketplacegalleryimages resource definition.",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/marketplacegalleryimagesProperties"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "description": "The extendedLocation of the resource.",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "marketplacegalleryimagesPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The marketplacegalleryimages resource patch definition."
+ },
+ "marketplacegalleryimagesListResult": {
+ "type": "object",
+ "description": "List of marketplacegalleryimages.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "The itemed list of marketplacegalleryimages",
+ "items": {
+ "$ref": "#/definitions/marketplacegalleryimages"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Link to the next set of results.",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "marketplacegalleryimagesNameParameter": {
+ "name": "marketplacegalleryimagesName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3,
+ "description": "Name of the marketplace gallery image"
+ }
+ }
+}
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
index 60f0d4955115..d86b1b1d88c9 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
@@ -321,17 +321,28 @@
"readOnly": true,
"description": "An identifier that represents the resource."
},
- "name": {
+ "errorMessage": {
"type": "string",
"readOnly": true,
"description": "The name of the resource."
},
- "type": {
+ "progressPercentage": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The progress of the operation in percentage"
+ }
+ },
+ "description": "galleryImageStatus defines the observed state of galleryimages"
+ },
+ "galleryImageIdentifier": {
+ "type": "object",
+ "properties": {
+ "publisher": {
"type": "string",
"readOnly": true,
"description": "The type of resource."
},
- "location": {
+ "offer": {
"type": "string",
"description": "Location of the resource."
},
@@ -360,6 +371,7 @@
"DelegatedSubnets": {
"description": "An array of DelegatedSubnet resources.",
"type": "object",
+ "description": "List of galleryimages.",
"properties": {
"value": {
"type": "array",
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json
index 5d4a9aeaa73d..2a549853f627 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json
@@ -67,6 +67,11 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "List operation resources": {
+ "$ref": "./examples/ListOperationByCluster.json"
+ }
}
}
}
From d44d85584fc4671d0ca5294752bd798ac4e9553f Mon Sep 17 00:00:00 2001
From: aeweston-msft <59626096+aeweston-msft@users.noreply.github.com>
Date: Mon, 23 Aug 2021 19:01:03 -0700
Subject: [PATCH 06/30] cherry-pick merge conflict resolution
---
.../preview/2021-09-01-preview/clusters.json | 8 +-
.../examples/CreateCluster.json | 2 +-
.../examples/CreateGuestAgent.json | 44 ++
.../CreateHybridIdentityMetadata.json | 33 ++
.../examples/DeleteGalleryImage.json | 12 +
.../examples/DeleteGuestAgent.json | 14 +
.../DeleteHybridIdentityMetadata.json | 13 +
.../examples/DeleteMachineExtension.json | 14 +
.../examples/DeleteNetworkInterface.json | 12 +
.../examples/DeleteStorageContainer.json | 12 +
.../examples/DeleteVirtualHardDisk.json | 12 +
.../examples/DeleteVirtualMachine.json | 12 +
.../examples/DeleteVirtualNetwork.json | 12 +
.../examples/GetArcSetting.json | 4 +-
.../examples/GetCluster.json | 5 +-
.../examples/GetExtension.json | 4 +-
.../examples/GetGuestAgent.json | 23 +
.../examples/GetHybridIdentityMetadata.json | 27 ++
.../examples/GetMachineExtension.json | 39 ++
.../examples/GetNetworkInterface.json | 35 ++
.../examples/GetStorageContainer.json | 26 ++
.../examples/GetVirtualNetwork.json | 26 ++
.../GuestAgent_ListByVirtualMachines.json | 26 ++
...dentityMetadata_ListByVirtualMachines.json | 30 ++
.../examples/ListArcSettingsByCluster.json | 4 +-
.../examples/ListClustersByResourceGroup.json | 7 +-
.../examples/ListClustersBySubscription.json | 7 +-
.../examples/ListExtensionsByArcSetting.json | 8 +-
.../examples/ListMachineExtension.json | 64 +++
.../ListNetworkInterfaceByResourceGroup.json | 39 ++
.../ListNetworkInterfaceBySubscription.json | 39 ++
.../ListStorageContainerByResourceGroup.json | 29 ++
.../ListStorageContainerBySubscription.json | 28 ++
.../ListVirtualNetworkByResourceGroup.json | 29 ++
.../ListVirtualNetworkBySubscription.json | 28 ++
.../examples/PatchExtension.json | 4 +-
.../examples/PutArcSetting.json | 4 +-
.../examples/PutExtension.json | 8 +-
.../examples/PutMachineExtension.json | 71 +++
.../examples/PutNetworkInterface.json | 79 ++++
.../examples/PutStorageContainer.json | 52 +++
.../examples/PutVirtualMachine.json | 101 +++++
.../examples/PutVirtualNetwork.json | 52 +++
.../examples/RestartVirtualMachine.json | 12 +
.../examples/StartVirtualMachine.json | 12 +
.../examples/StopVirtualMachine.json | 12 +
.../examples/UpdateCluster.json | 7 +-
.../examples/UpdateMachineExtension.json | 70 +++
.../examples/UpdateNetworkInterface.json | 65 +++
.../examples/UpdateStorageContainer.json | 53 +++
.../examples/UpdateVirtualNetwork.json | 53 +++
.../2021-09-01-preview/galleryImages.json | 426 ++++++++++++++++++
.../2021-09-01-preview/storageContainers.json | 410 +++++++++++++++++
.../azurestackhci/resource-manager/readme.md | 11 -
54 files changed, 2180 insertions(+), 49 deletions(-)
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGalleryImage.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteHybridIdentityMetadata.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteNetworkInterface.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteStorageContainer.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualHardDisk.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualNetwork.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGuestAgent.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMachineExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetNetworkInterface.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetStorageContainer.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualNetwork.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GuestAgent_ListByVirtualMachines.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMachineExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkByResourceGroup.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkBySubscription.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateStorageContainer.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
index be42b696425b..59d890de4c88 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
@@ -494,8 +494,8 @@
"type": "string",
"enum": [
"Off",
- "Basic",
- "Enhanced"
+ "Required",
+ "RequiredAndOptional"
],
"x-ms-enum": {
"name": "DiagnosticLevel",
@@ -555,8 +555,8 @@
"type": "string",
"enum": [
"Off",
- "Basic",
- "Enhanced"
+ "Required",
+ "RequiredAndOptional"
],
"x-ms-enum": {
"name": "DiagnosticLevel",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
index d5fa63cf59b6..ff454a496e57 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateCluster.json
@@ -38,7 +38,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Disabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Off"
},
"reportedProperties": {},
"trialDaysRemaining": 30,
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json
new file mode 100644
index 000000000000..00906ad0656e
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm",
+ "name": "default",
+ "body": {
+ "properties": {
+ "provisioningAction": "install",
+ "credentials": {
+ "username": "tempuser",
+ "password": ""
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/guestAgents/default",
+ "name": "default",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/guestAgents",
+ "properties": {
+ "provisioningAction": "install",
+ "status": "connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/guestAgents/default",
+ "name": "default",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/guestAgents",
+ "properties": {
+ "provisioningAction": "install",
+ "status": "connected",
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json
new file mode 100644
index 000000000000..019d640b8523
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm",
+ "metadataName": "default",
+ "body": {
+ "properties": {
+ "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/hybridIdentityMetadata/default",
+ "name": "testItem",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata",
+ "properties": {
+ "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
+ "identity": {
+ "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
+ "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
+ "type": "SystemAssigned"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGalleryImage.json
new file mode 100644
index 000000000000..377d8a9c1a9b
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGalleryImage.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "galleryimagesName": "test-gallery-image",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json
new file mode 100644
index 000000000000..cf4ce4a121ef
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm",
+ "name": "default"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteHybridIdentityMetadata.json
new file mode 100644
index 000000000000..f02221e87aad
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteHybridIdentityMetadata.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm",
+ "metadataName": "default"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json
new file mode 100644
index 000000000000..049212265a98
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "MMA",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteNetworkInterface.json
new file mode 100644
index 000000000000..1d49c40ffd00
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteNetworkInterface.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "networkinterfacesName": "test-nic",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteStorageContainer.json
new file mode 100644
index 000000000000..7ecf1eb41638
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteStorageContainer.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "storagecontainersName": "Default_Container",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualHardDisk.json
new file mode 100644
index 000000000000..4c000979e885
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualHardDisk.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualharddisksName": "test-vhd",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualMachine.json
new file mode 100644
index 000000000000..7d3ebad12c66
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualMachine.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualNetwork.json
new file mode 100644
index 000000000000..0c07cc326135
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteVirtualNetwork.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualnetworksName": "test-vnet",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
index 933731552474..6e8ea59feb8b 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetArcSetting.json
@@ -26,12 +26,12 @@
"perNodeDetails": [
{
"name": "Node-1",
- "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1",
"state": "Connected"
},
{
"name": "Node-2",
- "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2",
"state": "Disconnected"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
index 14aaf37557f1..6bbec43ff2b6 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetCluster.json
@@ -30,7 +30,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
},
"reportedProperties": {
"clusterName": "cluster1",
@@ -75,8 +75,7 @@
}
],
"lastUpdated": "2020-03-11T19:24:42.1946017Z",
- "imdsAttestation": "Disabled",
- "diagnosticLevel": "Basic"
+ "imdsAttestation": "Disabled"
},
"trialDaysRemaining": 30,
"billingModel": "Trial",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
index aa886f9bb778..b1d306dd8538 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetExtension.json
@@ -36,12 +36,12 @@
"perNodeExtensionDetails": [
{
"name": "Node-1",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1/Extensions/MicrosoftMonitoringAgent",
"state": "Succeeded"
},
{
"name": "Node-2",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2/Extensions/MicrosoftMonitoringAgent",
"state": "Failed"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGuestAgent.json
new file mode 100644
index 000000000000..a405bdbb3828
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetGuestAgent.json
@@ -0,0 +1,23 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm",
+ "name": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/guestAgents/default",
+ "name": "default",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/guestAgents",
+ "properties": {
+ "provisioningAction": "install",
+ "status": "connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json
new file mode 100644
index 000000000000..fc36ac9137a6
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm",
+ "metadataName": "default"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/hybridIdentityMetadata/default",
+ "name": "testItem",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata",
+ "properties": {
+ "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
+ "identity": {
+ "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
+ "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
+ "type": "SystemAssigned"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMachineExtension.json
new file mode 100644
index 000000000000..21fee04d4bc6
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetMachineExtension.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "CustomScriptExtension",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/CustomScriptExtension",
+ "name": "CustomScriptExtension",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VirtualMachines/extensions",
+ "location": "eastus2euap",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}",
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "name": "CustomScriptExtension",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "status": {
+ "code": "success",
+ "level": "Information",
+ "displayStatus": "Provisioning succeeded",
+ "message": "Finished executing command, StdOut: , StdErr:",
+ "time": "2019-08-08T20:42:10.999Z"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetNetworkInterface.json
new file mode 100644
index 000000000000..4721d6b46b52
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetNetworkInterface.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "networkinterfacesName": "test-nic",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "external"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetStorageContainer.json
new file mode 100644
index 000000000000..597bfb31a90c
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetStorageContainer.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "storagecontainersName": "Default_Container",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/Default_Container",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "path": "C:\\container_storage"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualNetwork.json
new file mode 100644
index 000000000000..e4a79cd13272
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetVirtualNetwork.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualnetworksName": "test-vnet",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "networkType": "Transparent"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GuestAgent_ListByVirtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GuestAgent_ListByVirtualMachines.json
new file mode 100644
index 000000000000..a57ffcd3245c
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GuestAgent_ListByVirtualMachines.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/guestAgents/default",
+ "name": "default",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/guestAgents",
+ "properties": {
+ "provisioningAction": "install",
+ "status": "connected",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json
new file mode 100644
index 000000000000..92755fd141c5
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2021-09-01-preview",
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "testrg",
+ "virtualMachineName": "ContosoVm"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualMachines/VitualMachines/ContosoVm/hybridIdentityMetadata/default",
+ "name": "testItem",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata",
+ "properties": {
+ "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
+ "identity": {
+ "principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
+ "tenantId": "ec46ca82-5d4a-4e3e-b4b7-e27f9318645d",
+ "type": "SystemAssigned"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
index 0e2a2cc48b6f..fa3769e887ba 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListArcSettingsByCluster.json
@@ -27,12 +27,12 @@
"perNodeDetails": [
{
"name": "Node-1",
- "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1",
"state": "Connected"
},
{
"name": "Node-2",
- "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2",
"state": "Disconnected"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
index 2067738bbf22..eae1896890af 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersByResourceGroup.json
@@ -31,7 +31,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
},
"reportedProperties": {},
"trialDaysRemaining": 29,
@@ -61,7 +61,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
},
"reportedProperties": {
"clusterName": "cluster1",
@@ -106,8 +106,7 @@
}
],
"lastUpdated": "2020-03-11T19:24:42.1946017Z",
- "imdsAttestation": "Disabled",
- "diagnosticLevel": "Basic"
+ "imdsAttestation": "Disabled"
},
"trialDaysRemaining": 30,
"billingModel": "Trial",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
index ba809d3b67a3..2ac2a421b1f8 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListClustersBySubscription.json
@@ -30,7 +30,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
},
"reportedProperties": {},
"trialDaysRemaining": 29,
@@ -60,7 +60,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
},
"reportedProperties": {
"clusterName": "cluster1",
@@ -105,8 +105,7 @@
}
],
"lastUpdated": "2020-03-11T19:24:42.1946017Z",
- "imdsAttestation": "Disabled",
- "diagnosticLevel": "Basic"
+ "imdsAttestation": "Disabled"
},
"trialDaysRemaining": 30,
"billingModel": "Trial",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
index 89fe7aacc085..bc3c14db9f4f 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListExtensionsByArcSetting.json
@@ -37,12 +37,12 @@
"perNodeExtensionDetails": [
{
"name": "Node-1",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1/Extensions/MicrosoftMonitoringAgent",
"state": "Connected"
},
{
"name": "Node-2",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2/Extensions/MicrosoftMonitoringAgent",
"state": "Disconnected"
}
]
@@ -75,12 +75,12 @@
"perNodeExtensionDetails": [
{
"name": "Node-1",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/SecurityExtension",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1/Extensions/SecurityExtension",
"state": "Succeeded"
},
{
"name": "Node-2",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/SecurityExtension",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2/Extensions/SecurityExtension",
"state": "Failed"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMachineExtension.json
new file mode 100644
index 000000000000..45aaad1de5a2
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListMachineExtension.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/CustomScriptExtension",
+ "name": "CustomScriptExtension",
+ "location": "eastus2euap",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VirtualMachines/extensions",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": {
+ "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\""
+ },
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "name": "CustomScriptExtension",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "status": {
+ "code": "success",
+ "level": "Information",
+ "displayStatus": "Provisioning succeeded",
+ "message": "formattedMessage: Finished executing command, StdOut: , StdErr: ",
+ "time": "2020-08-13T17:18:57.405Z"
+ }
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/winosupdateextension",
+ "name": "winosupdateextension",
+ "location": "eastus2euap",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VirtualMachines/extensions",
+ "properties": {
+ "publisher": "microsoft.softwareupdatemanagement.test",
+ "type": "windowsosupdateextension",
+ "typeHandlerVersion": "1.0.0.0",
+ "autoUpgradeMinorVersion": false,
+ "settings": {},
+ "provisioningState": "Creating",
+ "instanceView": {
+ "name": "winosupdateextension",
+ "type": "windowsosupdateextension",
+ "typeHandlerVersion": "1.0.0.0",
+ "status": {}
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json
new file mode 100644
index 000000000000..6b66418bfad8
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceByResourceGroup.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "networkinterfacesName": "test-nic",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "external"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceBySubscription.json
new file mode 100644
index 000000000000..6b66418bfad8
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListNetworkInterfaceBySubscription.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "networkinterfacesName": "test-nic",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "external"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerByResourceGroup.json
new file mode 100644
index 000000000000..99d29fa7c6db
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerByResourceGroup.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/Default_Container",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "path": "C:\\container_storage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerBySubscription.json
new file mode 100644
index 000000000000..3f288855d748
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListStorageContainerBySubscription.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/Default_Container",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "path": "C:\\container_storage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkByResourceGroup.json
new file mode 100644
index 000000000000..29b7159cf9e2
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkByResourceGroup.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "networkType": "Transparent"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkBySubscription.json
new file mode 100644
index 000000000000..566c6db575e2
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/ListVirtualNetworkBySubscription.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "networkType": "Transparent"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
index a4bdd5b0cf42..9e6799ead3bf 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PatchExtension.json
@@ -48,12 +48,12 @@
"perNodeExtensionDetails": [
{
"name": "Node-1",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1/Extensions/MicrosoftMonitoringAgent",
"state": "Connected"
},
{
"name": "Node-2",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2/Extensions/MicrosoftMonitoringAgent",
"state": "Disconnected"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
index 5cec395a2dba..be38dd92a982 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutArcSetting.json
@@ -27,12 +27,12 @@
"perNodeDetails": [
{
"name": "Node-1",
- "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1",
"state": "Creating"
},
{
"name": "Node-2",
- "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2",
+ "arcInstance": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2",
"state": "Creating"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
index 0ab8e44205b9..9005f1a10d65 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutExtension.json
@@ -51,12 +51,12 @@
"perNodeExtensionDetails": [
{
"name": "Node-1",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1/Extensions/MicrosoftMonitoringAgent",
"state": "Succeeded"
},
{
"name": "Node-2",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2/Extensions/MicrosoftMonitoringAgent",
"state": "Failed"
}
]
@@ -91,12 +91,12 @@
"perNodeExtensionDetails": [
{
"name": "Node-1",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-1/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-1/Extensions/MicrosoftMonitoringAgent",
"state": "Succeeded"
},
{
"name": "Node-2",
- "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.HybridCompute/machines/Node-2/Extensions/MicrosoftMonitoringAgent",
+ "extension": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/ArcInstance-rg/providers/Microsoft.AzureStackHCI/machine/Node-2/Extensions/MicrosoftMonitoringAgent",
"state": "Failed"
}
]
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json
new file mode 100644
index 000000000000..92fd71168424
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "CustomScriptExtension",
+ "api-version": "2021-09-01-preview",
+ "extensionParameters": {
+ "location": "eastus2euap",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "typeHandlerVersion": "1.10",
+ "type": "CustomScriptExtension",
+ "settings": {
+ "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\""
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/CustomScriptExtension",
+ "name": "CustomScriptExtension",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VirtualMachines/extensions",
+ "location": "eastus2euap",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}",
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "name": "CustomScriptExtension",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "status": {
+ "code": "success",
+ "level": "Information",
+ "message": "Finished executing command, StdOut: , StdErr:",
+ "time": "2020-08-08T20:42:10.999Z"
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/CustomScriptExtension",
+ "name": "CustomScriptExtension",
+ "type": "Microsoft.AzureStackHCI/VirtualMachines/extensions",
+ "location": "eastus2euap",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}",
+ "provisioningState": "Created",
+ "instanceView": {
+ "name": "CustomScriptExtension",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "status": {}
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json
new file mode 100644
index 000000000000..4bfc34b77197
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json
@@ -0,0 +1,79 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "networkinterfacesName": "test-nic",
+ "api-version": "2021-09-01-preview",
+ "networkinterfaces": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "test-vnet"
+ }
+ }
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-nic",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "test-vnet"
+ }
+ }
+ }
+ ],
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-nic",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "test-vnet"
+ }
+ }
+ }
+ ],
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json
new file mode 100644
index 000000000000..dfe808b651f7
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "storagecontainersName": "Default_Container",
+ "api-version": "2021-09-01-preview",
+ "storagecontainers": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "path": "C:\\container_storage"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/test-galimg3325",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "path": "C:\\container_storage"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/test-galimg3325",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "provisioningState": "Created",
+ "path": "C:\\container_storage"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json
new file mode 100644
index 000000000000..d570462fdcf5
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview",
+ "virtualmachines": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "test-gallery-image"
+ }
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin",
+ "adminPassword": "password"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "test-galimg"
+ }
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "storageProfile": {
+ "imageReference": {
+ "name": "test-galimg"
+ }
+ },
+ "hardwareProfile": {
+ "vmSize": "Default"
+ },
+ "osProfile": {
+ "computerName": "luamaster",
+ "adminUsername": "localadmin"
+ },
+ "networkProfile": {
+ "networkInterfaces": [
+ {
+ "id": "test-nic"
+ }
+ ]
+ },
+ "provisioningState": "created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json
new file mode 100644
index 000000000000..9a3268718343
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualnetworksName": "test-vnet",
+ "api-version": "2021-09-01-preview",
+ "virtualnetworks": {
+ "location": "West US2",
+ "extendedLocation": {
+ "type": "CustomLocation",
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
+ },
+ "properties": {
+ "networkType": "Transparent"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualnetworks/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "networkType": "Transparent",
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualnetworks/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "networkType": "Transparent",
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json
new file mode 100644
index 000000000000..454c0a69ec50
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json
new file mode 100644
index 000000000000..454c0a69ec50
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json
new file mode 100644
index 000000000000..454c0a69ec50
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualmachinesName": "test-vm",
+ "api-version": "2021-09-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
index 6fe6b048eb58..43c33ba72e98 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateCluster.json
@@ -13,7 +13,7 @@
"cloudManagementEndpoint": "https://98294836-31be-4668-aeae-698667faf99b.waconazure.com",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
}
}
}
@@ -46,7 +46,7 @@
"aadTenantId": "7e589cc1-a8b6-4dff-91bd-5ec0fa18db94",
"desiredProperties": {
"windowsServerSubscription": "Enabled",
- "diagnosticLevel": "Basic"
+ "diagnosticLevel": "Required"
},
"reportedProperties": {
"clusterName": "cluster1",
@@ -91,8 +91,7 @@
}
],
"lastUpdated": "2020-03-11T19:24:42.1946017Z",
- "imdsAttestation": "Disabled",
- "diagnosticLevel": "Basic"
+ "imdsAttestation": "Disabled"
},
"trialDaysRemaining": 30,
"billingModel": "Trial",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json
new file mode 100644
index 000000000000..6531290e72a6
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "name": "myMachine",
+ "extensionName": "CustomScriptExtension",
+ "api-version": "2021-09-01-preview",
+ "extensionParameters": {
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "typeHandlerVersion": "1.10",
+ "type": "CustomScriptExtension",
+ "settings": {
+ "commandToExecute": "powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\""
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/CustomScriptExtension",
+ "name": "CustomScriptExtension",
+ "type": "Microsoft.AzureStackHCI/virtualMachines/VirtualMachines/extensions",
+ "location": "eastus2euap",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"}",
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "name": "CustomScriptExtension",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "status": {
+ "code": "success",
+ "level": "Information",
+ "message": "Finished executing command, StdOut: , StdErr:",
+ "time": "2020-01-08T20:42:10.999Z"
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.AzureStackHCI/virtualMachines/myVirtualMachine/Extensions/CustomScriptExtension",
+ "name": "CustomScriptExtension",
+ "type": "Microsoft.AzureStackHCI/VirtualMachines/extensions",
+ "location": "eastus2euap",
+ "properties": {
+ "publisher": "Microsoft.Compute",
+ "type": "string",
+ "typeHandlerVersion": "1.10.3",
+ "autoUpgradeMinorVersion": false,
+ "settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"}",
+ "provisioningState": "Created",
+ "instanceView": {
+ "name": "CustomScriptExtension",
+ "type": "CustomScriptExtension",
+ "typeHandlerVersion": "1.10.3",
+ "status": {}
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json
new file mode 100644
index 000000000000..49142d8e751f
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json
@@ -0,0 +1,65 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "networkinterfacesName": "test-nic",
+ "api-version": "2021-09-01-preview",
+ "networkinterfaces": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-nic",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "test-vnet"
+ }
+ }
+ }
+ ],
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkinterfaces/test-nic",
+ "name": "test-nic",
+ "type": "Microsoft.AzureStackHCI/networkinterfaces",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "ipConfigurations": [
+ {
+ "name": "ipconfig-sample",
+ "properties": {
+ "subnet": {
+ "id": "test-vnet"
+ }
+ }
+ }
+ ],
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateStorageContainer.json
new file mode 100644
index 000000000000..2e447565ee4d
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateStorageContainer.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "storagecontainersName": "Default_Container",
+ "api-version": "2021-09-01-preview",
+ "storagecontainers": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/test-galimg3325",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "path": "C:\\container_storage"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storagecontainers/test-galimg3325",
+ "name": "Default_Container",
+ "type": "Microsoft.AzureStackHCI/storagecontainers",
+ "location": "West US2",
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "path": "C:\\container_storage"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json
new file mode 100644
index 000000000000..831b49742ce5
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
+ "resourceGroupName": "test-rg",
+ "virtualnetworksName": "test-vnet",
+ "api-version": "2021-09-01-preview",
+ "virtualnetworks": {
+ "tags": {
+ "additionalProperties": "sample"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualnetworks/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "networkType": "Transparent",
+ "provisioningState": "Accepted"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualnetworks/test-vnet",
+ "name": "test-vnet",
+ "type": "Microsoft.AzureStackHCI/virtualnetworks",
+ "location": "West US2",
+ "tags": {
+ "additionalProperties": "sample"
+ },
+ "extendedLocation": {
+ "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
+ "type": "CustomLocation"
+ },
+ "properties": {
+ "networkType": "Transparent",
+ "provisioningState": "Created"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
new file mode 100644
index 000000000000..0eb304ce9d9a
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -0,0 +1,426 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/galleryimages/{galleryimagesName}": {
+ "get": {
+ "operationId": "galleryimages_Retrieve",
+ "x-ms-examples": {
+ "GetGalleryImage": {
+ "$ref": "./examples/GetGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/galleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the galleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "galleryimages_CreateOrUpdate",
+ "x-ms-examples": {
+ "PutGalleryImage": {
+ "$ref": "./examples/PutGalleryImage.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/galleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryimages",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the galleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ },
+ "201": {
+ "description": "Creates the galleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "galleryimages_Delete",
+ "x-ms-examples": {
+ "DeleteGalleryImage": {
+ "$ref": "./examples/DeleteGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/galleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the galleryimages resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "galleryimages_Update",
+ "x-ms-examples": {
+ "UpdateGalleryImage": {
+ "$ref": "./examples/UpdateGalleryImage.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/galleryimagesNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryimages",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/galleryimagesPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the galleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ },
+ "201": {
+ "description": "Updates the galleryimages resource.",
+ "schema": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages": {
+ "get": {
+ "operationId": "galleryimages_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListGalleryImageByResourceGroup": {
+ "$ref": "./examples/ListGalleryImageByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all galleryimages under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/galleryimagesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryimages": {
+ "get": {
+ "operationId": "galleryimages_ListBySubscription",
+ "x-ms-examples": {
+ "ListGalleryImageByResourceGroup": {
+ "$ref": "./examples/ListGalleryImageBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all galleryimages under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/galleryimagesListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "galleryimagesProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "containerName": {
+ "type": "string",
+ "description": "Container Name for storage container"
+ },
+ "imagePath": {
+ "type": "string",
+ "description": "location of the image the gallery image should be created from"
+ },
+ "osType": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ },
+ "description": "operating system type that the gallery image uses. Expected to be linux or windows"
+ },
+ "provisioningState": {
+ "type": "string"
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "type": "object",
+ "description": "MOCGalleryImageStatus defines the observed state of MOCGalleryImage"
+ }
+ }
+ },
+ "galleryimages": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/galleryimagesProperties"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Type"
+ },
+ "location": {
+ "type": "string",
+ "description": "The resource location"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "description": "The galleryimages resource definition."
+ },
+ "galleryimagesPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The galleryimages resource patch definition."
+ },
+ "galleryimagesListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/galleryimages"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "galleryimagesNameParameter": {
+ "name": "galleryimagesName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
new file mode 100644
index 000000000000..d7ed3983b2fa
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -0,0 +1,410 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec.",
+ "version": "2021-09-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "AzureStackHCIClient"
+ }
+ },
+ "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.AzureStackHCI/storagecontainers/{storagecontainersName}": {
+ "get": {
+ "operationId": "storagecontainers_Retrieve",
+ "x-ms-examples": {
+ "GetStorageContainer": {
+ "$ref": "./examples/GetStorageContainer.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storagecontainersNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Retrieves the storagecontainers resource.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ }
+ }
+ },
+ "put": {
+ "operationId": "storagecontainers_CreateOrUpdate",
+ "x-ms-examples": {
+ "PutStorageContainer": {
+ "$ref": "./examples/PutStorageContainer.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storagecontainersNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "storagecontainers",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the storagecontainers resource.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ },
+ "201": {
+ "description": "Creates the storagecontainers resource.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ }
+ }
+ },
+ "delete": {
+ "operationId": "storagecontainers_Delete",
+ "x-ms-examples": {
+ "DeleteStorageContainer": {
+ "$ref": "./examples/DeleteStorageContainer.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storagecontainersNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Deletes the storagecontainers resource."
+ },
+ "204": {
+ "description": "No content"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "storagecontainers_Update",
+ "x-ms-examples": {
+ "UpdateStorageContainer": {
+ "$ref": "./examples/UpdateStorageContainer.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/storagecontainersNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "storagecontainers",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/storagecontainersPatch"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Updates the storagecontainers resource.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ },
+ "201": {
+ "description": "Updates the storagecontainers resource.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers": {
+ "get": {
+ "operationId": "storagecontainers_ListByResourceGroup",
+ "x-ms-examples": {
+ "ListStorageContainerByResourceGroup": {
+ "$ref": "./examples/ListStorageContainerByResourceGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all storagecontainers under the resource group.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainersListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/storagecontainers": {
+ "get": {
+ "operationId": "storagecontainers_ListBySubscription",
+ "x-ms-examples": {
+ "ListStorageContainerByResourceGroup": {
+ "$ref": "./examples/ListStorageContainerBySubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "Lists all storagecontainers under the subscription.",
+ "schema": {
+ "$ref": "#/definitions/storagecontainersListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "storagecontainersProperties": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "location of the image the gallery image should be created from"
+ },
+ "provisioningState": {
+ "type": "string"
+ },
+ "resourceName": {
+ "type": "string",
+ "description": "name of the object to be used in moc"
+ },
+ "status": {
+ "type": "object",
+ "description": "MOCStorageContainerStatus defines the observed state of MOCStorageContainer"
+ }
+ }
+ },
+ "storagecontainers": {
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/storagecontainersProperties"
+ },
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Type"
+ },
+ "location": {
+ "type": "string",
+ "description": "The resource location"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ },
+ "extendedLocation": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "The extended location type."
+ },
+ "name": {
+ "type": "string",
+ "description": "The extended location name."
+ }
+ }
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "description": "The storagecontainers resource definition."
+ },
+ "storagecontainersPatch": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "description": "The storagecontainers resource patch definition."
+ },
+ "storagecontainersListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/storagecontainers"
+ }
+ },
+ "nextLink": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "storagecontainersNameParameter": {
+ "name": "storagecontainersName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "maxLength": 64,
+ "minLength": 3
+ }
+ }
+}
diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md
index a6921f02176c..4ba53582183f 100644
--- a/specification/azurestackhci/resource-manager/readme.md
+++ b/specification/azurestackhci/resource-manager/readme.md
@@ -52,17 +52,6 @@ directive:
```
-### Tag: package-preview-2021-09
-
-These settings apply only when `--tag=package-preview-2021-09` is specified on the command line.
-
-```yaml $(tag) == 'package-preview-2021-09'
-input-file:
- - Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
- - Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
- - Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
- - Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
-```
### Tag: package-2022-10
These settings apply only when `--tag=package-2022-10` is specified on the command line.
From dfac3254943208078694952a4dfdd15fac51e7ba Mon Sep 17 00:00:00 2001
From: vishal-kadam <33834843+vishal-kadam@users.noreply.github.com>
Date: Wed, 6 Apr 2022 11:32:44 +0530
Subject: [PATCH 07/30] storage container changes (#6614)
* storage container changes
* added availableSizeGB and containerSizeGB properties
* changed data type of containersize and availablesize
* converted gb to mb
* made availableSizeMB and containerSizeMB fields readonly
Co-authored-by: Vishal Kadam
---
.../2021-09-01-preview/storageContainers.json | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index d7ed3983b2fa..812082bff677 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -296,7 +296,7 @@
"properties": {
"path": {
"type": "string",
- "description": "location of the image the gallery image should be created from"
+ "description": "Path of the storage container on the disk"
},
"provisioningState": {
"type": "string"
@@ -305,6 +305,18 @@
"type": "string",
"description": "name of the object to be used in moc"
},
+ "availableSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Amount of space available on the disk in MB"
+ },
+ "containerSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "Total size of the disk in MB"
+ },
"status": {
"type": "object",
"description": "MOCStorageContainerStatus defines the observed state of MOCStorageContainer"
From 1a696cfd866fffea128fe3d9d95311d587243563 Mon Sep 17 00:00:00 2001
From: aeweston-msft <59626096+aeweston-msft@users.noreply.github.com>
Date: Thu, 23 Sep 2021 22:12:00 -0700
Subject: [PATCH 08/30] Change hybrididentitymetadata vmid to resourceUid
(#4921)
* change hybrididentitymetadata vmid to resourceUid
* update examples
---
.../examples/CreateHybridIdentityMetadata.json | 4 ++--
.../examples/GetHybridIdentityMetadata.json | 2 +-
.../HybridIdentityMetadata_ListByVirtualMachines.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json
index 019d640b8523..319c8296df5d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateHybridIdentityMetadata.json
@@ -7,7 +7,7 @@
"metadataName": "default",
"body": {
"properties": {
- "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2"
}
}
@@ -19,7 +19,7 @@
"name": "testItem",
"type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata",
"properties": {
- "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
"identity": {
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json
index fc36ac9137a6..3299cce23922 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/GetHybridIdentityMetadata.json
@@ -13,7 +13,7 @@
"name": "testItem",
"type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata",
"properties": {
- "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
"identity": {
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json
index 92755fd141c5..1b5253277590 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/HybridIdentityMetadata_ListByVirtualMachines.json
@@ -14,7 +14,7 @@
"name": "testItem",
"type": "Microsoft.AzureStackHCI/virtualMachines/VitualMachines/hybridIdentityMetadata",
"properties": {
- "vmId": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
+ "resourceUid": "f8b82dff-38ef-4220-99ef-d3a3f86ddc6c",
"publicKey": "8ec7d60c-9700-40b1-8e6e-e5b2f6f477f2",
"identity": {
"principalId": "7b5129bc-8642-4a6a-95f8-63400ca6ec4d",
From 138bf00d51f51596cf4e4e2a91db9265fb3ed3c3 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 12 Sep 2022 15:06:58 -0700
Subject: [PATCH 09/30] fix missed merging changes
---
custom-words.txt | 8 --
.../azurestackhci/resource-manager/readme.md | 2 +-
.../2020-08-08-preview/controller.json | 17 +---
.../2020-08-08-preview/delegatedSubnets.json | 17 +---
.../stable/2021-03-15/delegatedSubnets.json | 91 -------------------
.../stable/2021-03-15/operations.json | 5 -
6 files changed, 7 insertions(+), 133 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index 40edb8b07235..bc07c0a3e308 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1250,17 +1250,9 @@ Maputnik
mariadb
Marketo
marketplaceagreementsapi
-<<<<<<< HEAD
-<<<<<<< HEAD
marketplacecatalog
-=======
marketplacegalleryimage
marketplacegalleryimages
->>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147)
-=======
-marketplacegalleryimage
-marketplacegalleryimages
->>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147)
marketplaceordering
maxclients
maxcoordinates
diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md
index 4ba53582183f..5a55b2d3e005 100644
--- a/specification/azurestackhci/resource-manager/readme.md
+++ b/specification/azurestackhci/resource-manager/readme.md
@@ -29,7 +29,7 @@ title: AzureStackHCIClient
description: Azure Stack HCI management service
openapi-type: arm
openapi-subtype: rpaas
-tag: package-preview-2021-09
+tag: package-2022-09
```
## Suppression
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
index 0d680ad0715d..afffe7e98903 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
@@ -317,28 +317,17 @@
"readOnly": true,
"description": "An identifier that represents the resource."
},
- "errorMessage": {
+ "name": {
"type": "string",
"readOnly": true,
"description": "The name of the resource."
},
- "progressPercentage": {
- "type": "integer",
- "format": "int64",
- "description": "The progress of the operation in percentage"
- }
- },
- "description": "galleryImageStatus defines the observed state of galleryimages"
- },
- "galleryImageIdentifier": {
- "type": "object",
- "properties": {
- "publisher": {
+ "type": {
"type": "string",
"readOnly": true,
"description": "The type of resource."
},
- "offer": {
+ "location": {
"type": "string",
"description": "Location of the resource."
},
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
index d86b1b1d88c9..9207b36cb668 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
@@ -321,28 +321,17 @@
"readOnly": true,
"description": "An identifier that represents the resource."
},
- "errorMessage": {
+ "name": {
"type": "string",
"readOnly": true,
"description": "The name of the resource."
},
- "progressPercentage": {
- "type": "integer",
- "format": "int64",
- "description": "The progress of the operation in percentage"
- }
- },
- "description": "galleryImageStatus defines the observed state of galleryimages"
- },
- "galleryImageIdentifier": {
- "type": "object",
- "properties": {
- "publisher": {
+ "type": {
"type": "string",
"readOnly": true,
"description": "The type of resource."
},
- "offer": {
+ "location": {
"type": "string",
"description": "Location of the resource."
},
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
index 39d641e10cc1..1eff9dddf478 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
@@ -36,12 +36,7 @@
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DelegatedNetwork/delegatedSubnets/{resourceName}": {
"get": {
-<<<<<<< HEAD:specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
"description": "Gets details about the specified dnc DelegatedSubnet Link.",
-=======
- "operationId": "storagecontainers_Retrieve",
- "description": "Gets storagecontainers by resource name",
->>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147):specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
"x-ms-examples": {
"Get details of a delegated subnet": {
"$ref": "./examples/getDelegatedSubnet.json"
@@ -317,94 +312,8 @@
}
},
"definitions": {
-<<<<<<< HEAD:specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json
"DelegatedSubnetResource": {
"description": "Represents an instance of a resource.",
-=======
- "storagecontainersProperties": {
- "type": "object",
- "x-ms-client-flatten": true,
- "properties": {
- "path": {
- "type": "string",
- "description": "Path of the storage container on the disk"
- },
- "provisioningState": {
- "type": "string"
- },
- "resourceName": {
- "type": "string",
- "description": "name of the object to be used in moc"
- },
- "availableSizeMB": {
- "type": "integer",
- "format": "int64",
- "readOnly": true,
- "description": "Amount of space available on the disk in MB"
- },
- "containerSizeMB": {
- "type": "integer",
- "format": "int64",
- "readOnly": true,
- "description": "Total size of the disk in MB"
- },
- "status": {
- "$ref": "#/definitions/storageContainerStatus"
- }
- },
- "description": "storagecontainersProperties defines a list of properties under storagecontainers"
- },
- "storageContainerStatus": {
- "type": "object",
- "x-ms-client-flatten": true,
- "readOnly": true,
- "properties": {
- "errorCode": {
- "type": "string",
- "description": "StorageContainer provisioning error code"
- },
- "errorMessage": {
- "type": "string",
- "description": "Descriptive error message"
- },
- "availableSizeMB": {
- "type": "integer",
- "format": "int64",
- "description": "Amount of space available on the disk in MB"
- },
- "containerSizeMB": {
- "type": "integer",
- "format": "int64",
- "description": "Total size of the disk in MB"
- },
- "provisioningStatus": {
- "type": "object",
- "description": "The provisioning status of the storage container",
- "properties": {
- "operationId": {
- "type": "string",
- "description": "The ID of the operation performed on the storage container"
- },
- "status": {
- "type": "string",
- "description": "The status of the operation performed on the storage container [Succeeded, Failed, InProgress]",
- "enum": [
- "Succeeded",
- "Failed",
- "InProgress"
- ],
- "x-ms-enum": {
- "name": "ProvisioningStatusEnum",
- "modelAsString": true
- }
- }
- }
- }
- },
- "description": "storageContainerStatus defines the observed state of storagecontainers"
- },
- "storagecontainers": {
->>>>>>> 858f624c15... [Microsoft.AzureStackHCI] 2021-09-01-preview update (#7147):specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
"type": "object",
"properties": {
"id": {
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json
index 2a549853f627..5d4a9aeaa73d 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/operations.json
@@ -67,11 +67,6 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-examples": {
- "List operation resources": {
- "$ref": "./examples/ListOperationByCluster.json"
- }
}
}
}
From 64d0a0d69dbfaf7adc6480a09fd00f05b5007e14 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 12 Sep 2022 15:16:47 -0700
Subject: [PATCH 10/30] cherry-pick merge conflict resolution
---
.../stable/2022-01-01/operations.json | 5 -
.../2022-09-01/marketplaceGalleryImages.json | 587 ------------------
.../2020-08-08-preview/controller.json | 1 -
.../2020-08-08-preview/delegatedSubnets.json | 1 -
4 files changed, 594 deletions(-)
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
index c69c460f40cb..61939ac9b06f 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-01-01/operations.json
@@ -64,11 +64,6 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-examples": {
- "List operation resources": {
- "$ref": "./examples/ListOperationByCluster.json"
- }
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json
deleted file mode 100644
index 6bb60e2ab293..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/marketplaceGalleryImages.json
+++ /dev/null
@@ -1,587 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "AzureStackHCI",
- "description": "The Microsoft.AzureStackHCI Rest API spec.",
- "version": "2021-09-01-preview",
- "x-ms-code-generation-settings": {
- "name": "AzureStackHCIClient"
- }
- },
- "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.AzureStackHCI/marketplacegalleryimages/{marketplacegalleryimagesName}": {
- "get": {
- "operationId": "marketplacegalleryimages_Get",
- "description": "Gets marketplacegalleryimages by resource name",
- "x-ms-examples": {
- "GetMarketplaceGalleryImage": {
- "$ref": "./examples/GetMarketplaceGalleryImage.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Retrieves the marketplacegalleryimages resource.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- }
- }
- },
- "put": {
- "operationId": "marketplacegalleryimages_CreateOrUpdate",
- "description": "Creates or updates a marketplacegalleryimage",
- "x-ms-examples": {
- "PutMarketplaceGalleryImage": {
- "$ref": "./examples/PutMarketplaceGalleryImage.json"
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "marketplacegalleryimages",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Updates the marketplacegalleryimages resource.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- },
- "201": {
- "description": "Creates the marketplacegalleryimages resource.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- }
- }
- },
- "delete": {
- "operationId": "marketplacegalleryimages_Delete",
- "description": "Deletes a marketplacegalleryimage",
- "x-ms-examples": {
- "DeleteMarketplaceGalleryImage": {
- "$ref": "./examples/DeleteMarketplaceGalleryImage.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Deletes the marketplacegalleryimages resource."
- },
- "204": {
- "description": "No content"
- }
- }
- },
- "patch": {
- "operationId": "marketplacegalleryimages_Update",
- "description": "Updates a marketplacegalleryimage",
- "x-ms-examples": {
- "UpdateMarketplaceGalleryImage": {
- "$ref": "./examples/UpdateMarketplaceGalleryImage.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "marketplacegalleryimages",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimagesPatch"
- }
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Updates the marketplacegalleryimages resource.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- },
- "201": {
- "description": "Updates the marketplacegalleryimages resource.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
- "get": {
- "operationId": "marketplacegalleryimages_ListByResourceGroup",
- "description": "Lists all marketplacegalleryimages under the resource group",
- "x-ms-examples": {
- "ListMarketplaceGalleryImageByResourceGroup": {
- "$ref": "./examples/ListMarketplaceGalleryImageByResourceGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Lists all marketplacegalleryimages under the resource group.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimagesListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
- "get": {
- "operationId": "marketplacegalleryimages_ListBySubscription",
- "description": "Lists all marketplacegalleryimages under the subscription",
- "x-ms-examples": {
- "ListMarketplaceGalleryImageBySubscription": {
- "$ref": "./examples/ListMarketplaceGalleryImageBySubscription.json"
- }
- },
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Lists all marketplacegalleryimages under the subscription.",
- "schema": {
- "$ref": "#/definitions/marketplacegalleryimagesListResult"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "marketplacegalleryimagesProperties": {
- "type": "object",
- "x-ms-client-flatten": true,
- "properties": {
- "containerName": {
- "type": "string",
- "description": "Container Name for storage container"
- },
- "osType": {
- "type": "string",
- "enum": [
- "Windows",
- "Linux"
- ],
- "x-ms-enum": {
- "name": "OperatingSystemTypes",
- "modelAsString": false
- },
- "description": "operating system type that the gallery image uses. Expected to be linux or windows"
- },
- "cloudInitDataSource": {
- "type": "string",
- "description": "Datasource for the gallery image when provisioning with cloud-init [Azure, NoCloud]",
- "enum": [
- "NoCloud",
- "Azure"
- ],
- "x-ms-enum": {
- "name": "CloudInitDataSource",
- "modelAsString": true
- }
- },
- "hyperVGeneration": {
- "type": "string",
- "description": "The hypervisor generation of the Virtual Machine [V1, V2]",
- "enum": [
- "V1",
- "V2"
- ],
- "x-ms-enum": {
- "name": "HyperVGeneration",
- "modelAsString": true
- }
- },
- "identifier": {
- "$ref": "#/definitions/galleryImageIdentifier"
- },
- "version": {
- "$ref": "#/definitions/galleryImageVersion"
- },
- "provisioningState": {
- "type": "string",
- "description": "Provisioning state of the gallery image.",
- "readOnly": true,
- "enum": [
- "Succeeded",
- "Failed",
- "InProgress",
- "Accepted",
- "Deleting",
- "Canceled"
- ],
- "x-ms-enum": {
- "name": "ProvisioningStateEnum",
- "modelAsString": true
- }
- },
- "resourceName": {
- "type": "string",
- "description": "name of the object to be used in moc"
- },
- "status": {
- "$ref": "#/definitions/marketplaceGalleryImageStatus"
- }
- },
- "description": "marketplacegalleryimagesProperties defines a list of properties under marketplacegalleryimages"
- },
- "marketplaceGalleryImageStatus": {
- "type": "object",
- "x-ms-client-flatten": true,
- "readOnly": true,
- "properties": {
- "errorCode": {
- "type": "string",
- "description": "MarketplaceGalleryImage provisioning error code"
- },
- "errorMessage": {
- "type": "string",
- "description": "Descriptive error message"
- },
- "provisioningStatus": {
- "type": "object",
- "description": "The provisioning status of the marketplace gallery image",
- "properties": {
- "operationId": {
- "type": "string",
- "description": "The ID of the operation performed on the marketplace gallery image"
- },
- "status": {
- "type": "string",
- "description": "The status of the operation performed on the marketplace gallery image [Succeeded, Failed, InProgress]",
- "enum": [
- "Succeeded",
- "Failed",
- "InProgress"
- ],
- "x-ms-enum": {
- "name": "ProvisioningStatusEnum",
- "modelAsString": true
- }
- }
- }
- },
- "downloadStatus": {
- "type": "object",
- "properties": {
- "downloadSizeInMB": {
- "type": "integer",
- "format": "int64",
- "description": "The downloaded sized of the image in MB"
- }
- },
- "description": "The download status of the marketplace gallery image"
- },
- "progressPercentage": {
- "type": "integer",
- "format": "int64",
- "description": "The progress of the operation in percentage"
- }
- },
- "description": "marketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
- },
- "galleryImageIdentifier": {
- "type": "object",
- "properties": {
- "publisher": {
- "type": "string",
- "description": "The name of the gallery image definition publisher."
- },
- "offer": {
- "type": "string",
- "description": "The name of the gallery image definition offer."
- },
- "sku": {
- "type": "string",
- "description": "The name of the gallery image definition SKU."
- }
- },
- "required": [
- "publisher",
- "offer",
- "sku"
- ],
- "description": "This is the gallery image definition identifier."
- },
- "galleryImageVersion": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "This is the version of the gallery image."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/galleryImageVersionProperties"
- }
- },
- "description": "Specifies information about the gallery image version that you want to create or update."
- },
- "galleryImageVersionProperties": {
- "type": "object",
- "properties": {
- "storageProfile": {
- "$ref": "#/definitions/galleryImageVersionStorageProfile"
- }
- },
- "required": [
- "storageProfile"
- ],
- "description": "Describes the properties of a gallery image version."
- },
- "galleryImageVersionStorageProfile": {
- "type": "object",
- "properties": {
- "osDiskImage": {
- "$ref": "#/definitions/galleryOSDiskImage"
- }
- },
- "description": "This is the storage profile of a Gallery Image Version."
- },
- "galleryOSDiskImage": {
- "allOf": [
- {
- "$ref": "#/definitions/galleryDiskImage"
- }
- ],
- "description": "This is the OS disk image."
- },
- "galleryDiskImage": {
- "type": "object",
- "properties": {
- "sizeInMB": {
- "type": "integer",
- "format": "int64",
- "readOnly": true,
- "description": "This property indicates the size of the VHD to be created."
- }
- },
- "description": "This is the disk image base class."
- },
- "marketplacegalleryimages": {
- "type": "object",
- "description": "The marketplacegalleryimages resource definition.",
- "x-ms-azure-resource": true,
- "x-ms-client-flatten": true,
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/marketplacegalleryimagesProperties"
- },
- "extendedLocation": {
- "type": "object",
- "description": "The extendedLocation of the resource.",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
- },
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
- }
- ]
- },
- "marketplacegalleryimagesPatch": {
- "type": "object",
- "properties": {
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "description": "The marketplacegalleryimages resource patch definition."
- },
- "marketplacegalleryimagesListResult": {
- "type": "object",
- "description": "List of marketplacegalleryimages.",
- "properties": {
- "value": {
- "type": "array",
- "description": "The itemed list of marketplacegalleryimages",
- "items": {
- "$ref": "#/definitions/marketplacegalleryimages"
- }
- },
- "nextLink": {
- "type": "string",
- "description": "Link to the next set of results.",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "marketplacegalleryimagesNameParameter": {
- "name": "marketplacegalleryimagesName",
- "in": "path",
- "required": true,
- "type": "string",
- "x-ms-parameter-location": "method",
- "maxLength": 64,
- "minLength": 3,
- "description": "Name of the marketplace gallery image"
- }
- }
-}
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
index afffe7e98903..87d0683b9c8a 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/controller.json
@@ -357,7 +357,6 @@
"DelegatedControllers": {
"description": "An array of Delegated controller resources.",
"type": "object",
- "description": "List of galleryimages.",
"properties": {
"value": {
"type": "array",
diff --git a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
index 9207b36cb668..60f0d4955115 100644
--- a/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
+++ b/specification/dnc/resource-manager/Microsoft.DelegatedNetwork/preview/2020-08-08-preview/delegatedSubnets.json
@@ -360,7 +360,6 @@
"DelegatedSubnets": {
"description": "An array of DelegatedSubnet resources.",
"type": "object",
- "description": "List of galleryimages.",
"properties": {
"value": {
"type": "array",
From c14768aa248b29f9aad66afe2b97efb6ca114037 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 12 Sep 2022 15:20:21 -0700
Subject: [PATCH 11/30] remove 2022-09-01 examples
---
.../DeleteMarketplaceGalleryImage.json | 12 --
.../examples/GetMarketplaceGalleryImage.json | 54 --------
...arketplaceGalleryImageByResourceGroup.json | 57 ---------
...MarketplaceGalleryImageBySubscription.json | 56 ---------
.../examples/ListOperationByCluster.json | 13 --
.../examples/PutMarketplaceGalleryImage.json | 119 ------------------
.../PutVirtualMachineWithGalleryImage.json | 116 -----------------
...ualMachineWithMarketplaceGalleryImage.json | 116 -----------------
.../examples/PutVirtualMachineWithOsDisk.json | 103 ---------------
.../UpdateMarketplaceGalleryImage.json | 109 ----------------
10 files changed, 755 deletions(-)
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json
deleted file mode 100644
index f11eb04b81ab..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/DeleteMarketplaceGalleryImage.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "marketplacegalleryimagesName": "test-marketplace-gallery-image",
- "api-version": "2021-09-01-preview"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json
deleted file mode 100644
index 4c9a0d980eb4..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/GetMarketplaceGalleryImage.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "marketplacegalleryimagesName": "test-marketplace-gallery-image",
- "api-version": "2021-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "properties": {
- "provisioningState": "Accepted",
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "NoCloud",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "Succeeded"
- },
- "progressPercentage": 100,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- }
- }
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json
deleted file mode 100644
index 20c4caad664d..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageByResourceGroup.json
+++ /dev/null
@@ -1,57 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "api-version": "2021-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "properties": {
- "provisioningState": "Accepted",
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "Succeeded"
- },
- "progressPercentage": 100,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json
deleted file mode 100644
index 812bdeec84f9..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListMarketplaceGalleryImageBySubscription.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "api-version": "2021-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "properties": {
- "provisioningState": "Accepted",
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "Succeeded"
- },
- "progressPercentage": 100,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- }
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json
deleted file mode 100644
index 1c523bf7b0d7..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/ListOperationByCluster.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "clusterName": "myCluster",
- "api-version": "2021-09-01-preview"
- },
- "responses": {
- "200": {
- "body": {}
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json
deleted file mode 100644
index aa613499731d..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutMarketplaceGalleryImage.json
+++ /dev/null
@@ -1,119 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "marketplacegalleryimagesName": "test-marketplace-gallery-image",
- "api-version": "2021-09-01-preview",
- "marketplacegalleryimages": {
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "properties": {
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "properties": {
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "InProgress"
- },
- "progressPercentage": 0,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- },
- "provisioningState": "Accepted"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "properties": {
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "Succeeded"
- },
- "progressPercentage": 100,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- },
- "provisioningState": "Creating"
- }
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json
deleted file mode 100644
index 685740d05098..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithGalleryImage.json
+++ /dev/null
@@ -1,116 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "virtualmachinesName": "test-vm",
- "api-version": "2021-09-01-preview",
- "virtualmachines": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin",
- "adminPassword": "password"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "securityProfile": {
- "enableTPM": true,
- "uefiSettings": {
- "secureBootEnabled": true
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "securityProfile": {
- "enableTPM": true,
- "uefiSettings": {
- "secureBootEnabled": true
- }
- },
- "provisioningState": "Accepted"
- }
- }
- },
- "201": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryimages/test-gallery-image"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "provisioningState": "created"
- }
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
deleted file mode 100644
index 4b87ba21d859..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
+++ /dev/null
@@ -1,116 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "virtualmachinesName": "test-vm",
- "api-version": "2021-09-01-preview",
- "virtualmachines": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin",
- "adminPassword": "password"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "securityProfile": {
- "enableTPM": true,
- "uefiSettings": {
- "secureBootEnabled": true
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "securityProfile": {
- "enableTPM": true,
- "uefiSettings": {
- "secureBootEnabled": true
- }
- },
- "provisioningState": "Accepted"
- }
- }
- },
- "201": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "provisioningState": "created"
- }
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json
deleted file mode 100644
index 8c825818fc22..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/PutVirtualMachineWithOsDisk.json
+++ /dev/null
@@ -1,103 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "virtualmachinesName": "test-vm",
- "api-version": "2021-09-01-preview",
- "virtualmachines": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "osDisk": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "securityProfile": {
- "enableTPM": true,
- "uefiSettings": {
- "secureBootEnabled": true
- }
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "osDisk": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "securityProfile": {
- "enableTPM": true,
- "uefiSettings": {
- "secureBootEnabled": true
- }
- },
- "provisioningState": "Accepted"
- }
- }
- },
- "201": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "osDisk": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualharddisks/test-vhd"
- },
- "vmConfigContainerName": "Default_Container"
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "provisioningState": "created"
- }
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json
deleted file mode 100644
index d922ceb12ca0..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/stable/2022-09-01/examples/UpdateMarketplaceGalleryImage.json
+++ /dev/null
@@ -1,109 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "marketplacegalleryimagesName": "test-marketplce-gallery-image",
- "api-version": "2021-09-01-preview",
- "marketplacegalleryimages": {
- "tags": {
- "additionalProperties": "sample"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "tags": {
- "additionalProperties": "sample"
- },
- "properties": {
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "InProgress"
- },
- "progressPercentage": 0,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- },
- "provisioningState": "Accepted"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/test-marketplace-gallery-image",
- "name": "test-marketplace-gallery-image",
- "type": "Microsoft.AzureStackHCI/marketplacegalleryimages",
- "location": "West US2",
- "extendedLocation": {
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
- "type": "CustomLocation"
- },
- "tags": {
- "additionalProperties": "sample"
- },
- "properties": {
- "containerName": "Default_Container",
- "osType": "Windows",
- "cloudInitDataSource": "Azure",
- "hyperVGeneration": "V1",
- "identifier": {
- "publisher": "myPublisherName",
- "offer": "myOfferName",
- "sku": "mySkuName"
- },
- "version": {
- "name": "1.0.0",
- "properties": {
- "storageProfile": {
- "osDiskImage": {
- "sizeInMB": 30270
- }
- }
- }
- },
- "status": {
- "provisioningStatus": {
- "operationId": "79cfc696-44f5-4a68-a620-21850f7e9fb0",
- "status": "Succeeded"
- },
- "progressPercentage": 100,
- "downloadStatus": {
- "downloadSizeInMB": 9383
- }
- },
- "provisioningState": "Creating"
- }
- }
- }
- }
-}
From 0e387db3371fc7a0a87d2976bc108a50b38abc3e Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 12 Sep 2022 15:38:58 -0700
Subject: [PATCH 12/30] git difftool align differences with RPSaaSMaster
---
.../examples/PutVirtualMachine.json | 101 --------
.../2021-09-01-preview/galleryImages.json | 236 +++++++++++++++---
.../2021-09-01-preview/operations.json | 7 +-
.../2021-09-01-preview/storageContainers.json | 56 ++++-
4 files changed, 259 insertions(+), 141 deletions(-)
delete mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json
deleted file mode 100644
index d570462fdcf5..000000000000
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachine.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
- "resourceGroupName": "test-rg",
- "virtualmachinesName": "test-vm",
- "api-version": "2021-09-01-preview",
- "virtualmachines": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "test-gallery-image"
- }
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin",
- "adminPassword": "password"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "test-galimg"
- }
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "provisioningState": "Accepted"
- }
- }
- },
- "201": {
- "body": {
- "location": "West US2",
- "extendedLocation": {
- "type": "CustomLocation",
- "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"
- },
- "properties": {
- "storageProfile": {
- "imageReference": {
- "name": "test-galimg"
- }
- },
- "hardwareProfile": {
- "vmSize": "Default"
- },
- "osProfile": {
- "computerName": "luamaster",
- "adminUsername": "localadmin"
- },
- "networkProfile": {
- "networkInterfaces": [
- {
- "id": "test-nic"
- }
- ]
- },
- "provisioningState": "created"
- }
- }
- }
- }
-}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
index 0eb304ce9d9a..de2e78923a42 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -40,6 +40,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages/{galleryimagesName}": {
"get": {
"operationId": "galleryimages_Retrieve",
+ "description": "Gets galleryimages by resource name",
"x-ms-examples": {
"GetGalleryImage": {
"$ref": "./examples/GetGalleryImage.json"
@@ -76,6 +77,7 @@
},
"put": {
"operationId": "galleryimages_CreateOrUpdate",
+ "description": "Create or update a galleryimage.",
"x-ms-examples": {
"PutGalleryImage": {
"$ref": "./examples/PutGalleryImage.json"
@@ -130,6 +132,7 @@
},
"delete": {
"operationId": "galleryimages_Delete",
+ "description": "Delete a galleryimage.",
"x-ms-examples": {
"DeleteGalleryImage": {
"$ref": "./examples/DeleteGalleryImage.json"
@@ -166,6 +169,7 @@
},
"patch": {
"operationId": "galleryimages_Update",
+ "description": "Update a galleryimage.",
"x-ms-examples": {
"UpdateGalleryImage": {
"$ref": "./examples/UpdateGalleryImage.json"
@@ -218,6 +222,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages": {
"get": {
"operationId": "galleryimages_ListByResourceGroup",
+ "description": "Lists all galleryimages under the resource group.",
"x-ms-examples": {
"ListGalleryImageByResourceGroup": {
"$ref": "./examples/ListGalleryImageByResourceGroup.json"
@@ -256,6 +261,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryimages": {
"get": {
"operationId": "galleryimages_ListBySubscription",
+ "description": "List all galleryimages under the subscription",
"x-ms-examples": {
"ListGalleryImageByResourceGroup": {
"$ref": "./examples/ListGalleryImageBySubscription.json"
@@ -300,6 +306,7 @@
},
"imagePath": {
"type": "string",
+ "x-ms-secret": true,
"description": "location of the image the gallery image should be created from"
},
"osType": {
@@ -314,59 +321,208 @@
},
"description": "operating system type that the gallery image uses. Expected to be linux or windows"
},
+ "cloudInitDataSource": {
+ "type": "string",
+ "description": "Datasource for the gallery image when provisioning with cloud-init (Azure or NoCloud)",
+ "enum": [
+ "NoCloud",
+ "Azure"
+ ],
+ "x-ms-enum": {
+ "name": "CloudInitDataSource",
+ "modelAsString": true
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine [V1, V2]",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "identifier": {
+ "$ref": "#/definitions/galleryImageIdentifier"
+ },
+ "version": {
+ "$ref": "#/definitions/galleryImageVersion"
+ },
"provisioningState": {
- "type": "string"
+ "type": "string",
+ "description": "Provisioning state of the gallery image.",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
},
"resourceName": {
"type": "string",
"description": "name of the object to be used in moc"
},
"status": {
- "type": "object",
- "description": "MOCGalleryImageStatus defines the observed state of MOCGalleryImage"
+ "$ref": "#/definitions/galleryImageStatus"
}
- }
+ },
+ "description": "galleryimagesProperties defines a list of properties under galleryimages"
},
- "galleryimages": {
+ "galleryImageStatus": {
"type": "object",
- "x-ms-azure-resource": true,
"x-ms-client-flatten": true,
+ "readOnly": true,
"properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/galleryimagesProperties"
- },
- "id": {
+ "errorCode": {
"type": "string",
- "readOnly": true,
- "description": "Resource Id"
+ "description": "GalleryImage provisioning error code"
},
- "name": {
+ "errorMessage": {
"type": "string",
- "readOnly": true,
- "description": "Resource Name"
+ "description": "Descriptive error message"
+ },
+ "provisioningStatus": {
+ "type": "object",
+ "description": "The provisioning status of the gallery image",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the gallery image"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the gallery image [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "downloadStatus": {
+ "type": "object",
+ "properties": {
+ "downloadSizeInMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The downloaded sized of the image in MB"
+ }
+ },
+ "description": "The download status of the gallery image"
},
- "type": {
+ "progressPercentage": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The progress of the operation in percentage"
+ }
+ },
+ "description": "galleryImageStatus defines the observed state of galleryimages"
+ },
+ "galleryImageIdentifier": {
+ "type": "object",
+ "properties": {
+ "publisher": {
"type": "string",
- "readOnly": true,
- "description": "Resource Type"
+ "description": "The name of the gallery image definition publisher."
},
- "location": {
+ "offer": {
"type": "string",
- "description": "The resource location"
+ "description": "The name of the gallery image definition offer."
},
- "tags": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
+ "sku": {
+ "type": "string",
+ "description": "The name of the gallery image definition SKU."
+ }
+ },
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
+ "description": "This is the gallery image definition identifier."
+ },
+ "galleryImageVersion": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the version of the gallery image."
},
- "systemData": {
- "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/galleryImageVersionProperties"
+ }
+ },
+ "description": "Specifies information about the gallery image version that you want to create or update."
+ },
+ "galleryImageVersionProperties": {
+ "type": "object",
+ "properties": {
+ "storageProfile": {
+ "$ref": "#/definitions/galleryImageVersionStorageProfile"
+ }
+ },
+ "required": [
+ "storageProfile"
+ ],
+ "description": "Describes the properties of a gallery image version."
+ },
+ "galleryImageVersionStorageProfile": {
+ "type": "object",
+ "properties": {
+ "osDiskImage": {
+ "$ref": "#/definitions/galleryOSDiskImage"
+ }
+ },
+ "description": "This is the storage profile of a Gallery Image Version."
+ },
+ "galleryOSDiskImage": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/galleryDiskImage"
+ }
+ ],
+ "description": "This is the OS disk image."
+ },
+ "galleryDiskImage": {
+ "type": "object",
+ "properties": {
+ "sizeInMB": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "This property indicates the size of the VHD to be created."
+ }
+ },
+ "description": "This is the disk image base class."
+ },
+ "galleryimages": {
+ "type": "object",
+ "description": "The galleryimages resource definition.",
+ "x-ms-azure-resource": true,
+ "x-ms-client-flatten": true,
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/galleryimagesProperties"
},
"extendedLocation": {
"type": "object",
+ "description": "The extendedLocation of the resource.",
"properties": {
"type": {
"type": "string",
@@ -377,12 +533,16 @@
"description": "The extended location name."
}
}
+ },
+ "systemData": {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
}
},
- "required": [
- "location"
- ],
- "description": "The galleryimages resource definition."
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
+ }
+ ]
},
"galleryimagesPatch": {
"type": "object",
@@ -399,6 +559,7 @@
},
"galleryimagesListResult": {
"type": "object",
+ "description": "List of galleryimages.",
"properties": {
"value": {
"type": "array",
@@ -407,7 +568,9 @@
}
},
"nextLink": {
- "type": "string"
+ "type": "string",
+ "description": "Link to the next set of results.",
+ "readOnly": true
}
}
}
@@ -420,7 +583,8 @@
"type": "string",
"x-ms-parameter-location": "method",
"maxLength": 64,
- "minLength": 3
+ "minLength": 3,
+ "description": "Name of the gallery image"
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
index e2ca687648ce..9569b2f77c67 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
@@ -59,10 +59,15 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "List operation resources": {
+ "$ref": "./examples/ListOperationByCluster.json"
+ }
}
}
}
},
"definitions": {},
"parameters": {}
-}
+}
\ No newline at end of file
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index 812082bff677..4e9d817b3420 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -40,6 +40,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storagecontainersName}": {
"get": {
"operationId": "storagecontainers_Retrieve",
+ "description": "Gets storagecontainers by resource name",
"x-ms-examples": {
"GetStorageContainer": {
"$ref": "./examples/GetStorageContainer.json"
@@ -318,10 +319,59 @@
"description": "Total size of the disk in MB"
},
"status": {
+ "$ref": "#/definitions/storageContainerStatus"
+ }
+ },
+ "description": "storagecontainersProperties defines a list of properties under storagecontainers"
+ },
+ "storageContainerStatus": {
+ "type": "object",
+ "x-ms-client-flatten": true,
+ "readOnly": true,
+ "properties": {
+ "errorCode": {
+ "type": "string",
+ "description": "StorageContainer provisioning error code"
+ },
+ "errorMessage": {
+ "type": "string",
+ "description": "Descriptive error message"
+ },
+ "availableSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Amount of space available on the disk in MB"
+ },
+ "containerSizeMB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Total size of the disk in MB"
+ },
+ "provisioningStatus": {
"type": "object",
- "description": "MOCStorageContainerStatus defines the observed state of MOCStorageContainer"
+ "description": "The provisioning status of the storage container",
+ "properties": {
+ "operationId": {
+ "type": "string",
+ "description": "The ID of the operation performed on the storage container"
+ },
+ "status": {
+ "type": "string",
+ "description": "The status of the operation performed on the storage container [Succeeded, Failed, InProgress]",
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStatusEnum",
+ "modelAsString": true
+ }
+ }
+ }
}
- }
+ },
+ "description": "storageContainerStatus defines the observed state of storagecontainers"
},
"storagecontainers": {
"type": "object",
@@ -419,4 +469,4 @@
"minLength": 3
}
}
-}
+}
\ No newline at end of file
From 6d9ee483cceabd4fc3b7fdbb1e33589c4b7e9875 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 12 Sep 2022 15:53:59 -0700
Subject: [PATCH 13/30] spellcheck fix
---
custom-words.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/custom-words.txt b/custom-words.txt
index bc07c0a3e308..bd206cc17972 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1409,6 +1409,7 @@ Netdev
netezza
netfilter
Netfilter
+networkinterfaces
networkruleset
networkrulesets
networkstatus
@@ -2071,6 +2072,7 @@ stopwords
Stor
storageaccount
storageaccounts
+storagecontainers
storagedatalake
storageimportexport
storagesku
@@ -2370,7 +2372,9 @@ vhds
VHDX
videosearch
viewp
+vippool
virtualclusters
+virutalharddisks
virtualip
virtualmachine
virtualmachineimagebuilder
From d70db1e2cbf9afc81cb1be5957d390763b9c4f4e Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 12 Sep 2022 15:56:33 -0700
Subject: [PATCH 14/30] breaking change cross version fix
---
.../preview/2021-09-01-preview/arcSettings.json | 4 ++--
.../preview/2021-09-01-preview/clusters.json | 12 ++++++------
.../preview/2021-09-01-preview/extensions.json | 4 ++--
.../preview/2021-09-01-preview/operations.json | 7 +------
4 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
index a623ba83e849..177e57a8df4e 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01-preview",
+ "version": "2021-09-01",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
@@ -376,4 +376,4 @@
"x-ms-parameter-location": "method"
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
index 59d890de4c88..aa9da0160550 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01-preview",
+ "version": "2021-09-01",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
@@ -494,8 +494,8 @@
"type": "string",
"enum": [
"Off",
- "Required",
- "RequiredAndOptional"
+ "Basic",
+ "Enhanced"
],
"x-ms-enum": {
"name": "DiagnosticLevel",
@@ -555,8 +555,8 @@
"type": "string",
"enum": [
"Off",
- "Required",
- "RequiredAndOptional"
+ "Basic",
+ "Enhanced"
],
"x-ms-enum": {
"name": "DiagnosticLevel",
@@ -640,4 +640,4 @@
"x-ms-parameter-location": "method"
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
index f564214581b5..a4af7ec1f2b6 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01-preview",
+ "version": "2021-09-01",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
@@ -497,4 +497,4 @@
"x-ms-parameter-location": "method"
}
}
-}
+}
\ No newline at end of file
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
index 9569b2f77c67..da288f8b8ca2 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01-preview",
+ "version": "2021-09-01",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
@@ -59,11 +59,6 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
- },
- "x-ms-examples": {
- "List operation resources": {
- "$ref": "./examples/ListOperationByCluster.json"
- }
}
}
}
From 51e7ad6313051edc756b3073f3fb1252be1d6174 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 13 Sep 2022 11:08:53 -0700
Subject: [PATCH 15/30] fix version
---
.../preview/2021-09-01-preview/arcSettings.json | 2 +-
.../preview/2021-09-01-preview/clusters.json | 2 +-
.../preview/2021-09-01-preview/extensions.json | 2 +-
.../preview/2021-09-01-preview/operations.json | 7 ++++++-
4 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
index 177e57a8df4e..42b47469ed49 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
index aa9da0160550..ee47a02319a3 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
index a4af7ec1f2b6..67496147b207 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
index da288f8b8ca2..9569b2f77c67 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-09-01",
+ "version": "2021-09-01-preview",
"title": "AzureStackHCI",
"description": "Azure Stack HCI management service"
},
@@ -59,6 +59,11 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
+ },
+ "x-ms-examples": {
+ "List operation resources": {
+ "$ref": "./examples/ListOperationByCluster.json"
+ }
}
}
}
From 1a0e7b30b114842148f769dfef2be950d675c92a Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 13 Sep 2022 11:11:54 -0700
Subject: [PATCH 16/30] fix custom word typo
---
custom-words.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/custom-words.txt b/custom-words.txt
index bd206cc17972..a71405b53ca0 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -2374,7 +2374,7 @@ videosearch
viewp
vippool
virtualclusters
-virutalharddisks
+virtualharddisks
virtualip
virtualmachine
virtualmachineimagebuilder
From 9fc25c96af04231338f73ba9093ca7d060c1b0e3 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 3 Oct 2022 15:07:00 -0700
Subject: [PATCH 17/30] fix default tag to 2022-10
---
specification/azurestackhci/resource-manager/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md
index 5a55b2d3e005..4fa84246228f 100644
--- a/specification/azurestackhci/resource-manager/readme.md
+++ b/specification/azurestackhci/resource-manager/readme.md
@@ -29,7 +29,7 @@ title: AzureStackHCIClient
description: Azure Stack HCI management service
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2022-09
+tag: package-2022-10
```
## Suppression
From 2d9427edcaf45ebebeb42ab9d180b3e4caac95a8 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 7 Nov 2022 15:56:33 -0800
Subject: [PATCH 18/30] address description and example feedback
---
custom-words.txt | 5 +-
.../examples/CreateGuestAgent.json | 2 +-
.../examples/PutGalleryImage.json | 2 +-
.../examples/PutMachineExtension.json | 2 +-
.../examples/PutNetworkInterface.json | 2 +-
.../examples/PutStorageContainer.json | 2 +-
.../examples/PutVirtualHardDisk.json | 2 +-
.../PutVirtualMachineWithGalleryImage.json | 2 +-
...ualMachineWithMarketplaceGalleryImage.json | 2 +-
.../examples/PutVirtualMachineWithOsDisk.json | 2 +-
.../examples/PutVirtualNetwork.json | 2 +-
.../examples/UpdateGalleryImage.json | 2 +-
.../examples/UpdateMachineExtension.json | 2 +-
.../examples/UpdateNetworkInterface.json | 2 +-
.../examples/UpdateVirtualHardDisk.json | 2 +-
.../examples/UpdateVirtualNetwork.json | 2 +-
.../2021-09-01-preview/galleryImages.json | 26 +++++------
.../marketplaceGalleryImages.json | 26 +++++------
.../2021-09-01-preview/networkInterfaces.json | 26 +++++------
.../2021-09-01-preview/storageContainers.json | 18 ++++----
.../2021-09-01-preview/virtualHardDisks.json | 24 +++++-----
.../2021-09-01-preview/virtualMachines.json | 46 +++++++++----------
.../2021-09-01-preview/virtualNetworks.json | 22 ++++-----
23 files changed, 110 insertions(+), 113 deletions(-)
diff --git a/custom-words.txt b/custom-words.txt
index a71405b53ca0..65bf57397a31 100644
--- a/custom-words.txt
+++ b/custom-words.txt
@@ -1,4 +1,4 @@
-A128CBCPAD
+A128CBCPAD
A192CBCPAD
A256CBCPAD
AADDS
@@ -819,7 +819,6 @@ Fulltext
fullyqualified
functionappsettings
galician
-galleryimage
galleryimages
Garda
Gbps
@@ -916,7 +915,6 @@ hana
hanaonazure
Hani
Hant
-harddisk
Hardenings
hbase
hbasephoenix
@@ -1251,7 +1249,6 @@ mariadb
Marketo
marketplaceagreementsapi
marketplacecatalog
-marketplacegalleryimage
marketplacegalleryimages
marketplaceordering
maxclients
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json
index 00906ad0656e..3be2f928aa4d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/CreateGuestAgent.json
@@ -36,7 +36,7 @@
"properties": {
"provisioningAction": "install",
"status": "connected",
- "provisioningState": "Created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json
index 67109eb5b475..7e77787d4d45 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutGalleryImage.json
@@ -66,7 +66,7 @@
"type": "CustomLocation"
},
"properties": {
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"containerName": "Default_Container",
"osType": "Linux",
"cloudInitDataSource": "NoCloud",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json
index 92fd71168424..30af4df4b242 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutMachineExtension.json
@@ -57,7 +57,7 @@
"typeHandlerVersion": "1.10.3",
"autoUpgradeMinorVersion": false,
"settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"}",
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"instanceView": {
"name": "CustomScriptExtension",
"type": "CustomScriptExtension",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json
index 4bfc34b77197..b29e8dcdaf75 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutNetworkInterface.json
@@ -71,7 +71,7 @@
}
}
],
- "provisioningState": "Created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json
index dfe808b651f7..a70e6378201f 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutStorageContainer.json
@@ -43,7 +43,7 @@
"type": "CustomLocation"
},
"properties": {
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"path": "C:\\container_storage"
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json
index 70e85e45cc82..9f3532f43eac 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualHardDisk.json
@@ -53,7 +53,7 @@
"blockSizeBytes": 0,
"logicalSectorBytes": 512,
"physicalSectorBytes": 512,
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"diskFileFormat": "vhdx",
"hyperVGeneration": "V2",
"dynamic": true
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
index 685740d05098..3b093bc51b8d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
@@ -108,7 +108,7 @@
}
]
},
- "provisioningState": "created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
index 4b87ba21d859..99005ffca589 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
@@ -108,7 +108,7 @@
}
]
},
- "provisioningState": "created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
index 8c825818fc22..c4b235c53223 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
@@ -95,7 +95,7 @@
}
]
},
- "provisioningState": "created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json
index 9a3268718343..da75e646d97a 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualNetwork.json
@@ -44,7 +44,7 @@
},
"properties": {
"networkType": "Transparent",
- "provisioningState": "Created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json
index de39afa0febb..3c44cab542a5 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateGalleryImage.json
@@ -66,7 +66,7 @@
"additionalProperties": "sample"
},
"properties": {
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"containerName": "Default_Container",
"osType": "Linux",
"cloudInitDataSource": "NoCloud",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json
index 6531290e72a6..cc1ccb59594c 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateMachineExtension.json
@@ -56,7 +56,7 @@
"typeHandlerVersion": "1.10.3",
"autoUpgradeMinorVersion": false,
"settings": "@{commandToExecute=powershell.exe -c \"Get-Process | Where-Object { $_.CPU -lt 100 }\"}",
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"instanceView": {
"name": "CustomScriptExtension",
"type": "CustomScriptExtension",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json
index 49142d8e751f..7319f4cc93c8 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateNetworkInterface.json
@@ -57,7 +57,7 @@
}
}
],
- "provisioningState": "Created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json
index e133362e66cb..9fd33a9822c3 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualHardDisk.json
@@ -54,7 +54,7 @@
"blockSizeBytes": 0,
"logicalSectorBytes": 512,
"physicalSectorBytes": 512,
- "provisioningState": "Created",
+ "provisioningState": "Succeeded",
"diskFileFormat": "vhdx",
"hyperVGeneration": "V2",
"dynamic": true
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json
index 831b49742ce5..9f6d0c27d62e 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/UpdateVirtualNetwork.json
@@ -45,7 +45,7 @@
},
"properties": {
"networkType": "Transparent",
- "provisioningState": "Created"
+ "provisioningState": "Succeeded"
}
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
index de2e78923a42..9989f3cd34f3 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -68,7 +68,7 @@
}
},
"200": {
- "description": "Retrieves the galleryimages resource.",
+ "description": "Retrieved the gallery image resource.",
"schema": {
"$ref": "#/definitions/galleryimages"
}
@@ -77,7 +77,7 @@
},
"put": {
"operationId": "galleryimages_CreateOrUpdate",
- "description": "Create or update a galleryimage.",
+ "description": "Create or update a gallery image.",
"x-ms-examples": {
"PutGalleryImage": {
"$ref": "./examples/PutGalleryImage.json"
@@ -117,13 +117,13 @@
}
},
"200": {
- "description": "Updates the galleryimages resource.",
+ "description": "Updates the gallery image resource.",
"schema": {
"$ref": "#/definitions/galleryimages"
}
},
"201": {
- "description": "Creates the galleryimages resource.",
+ "description": "Creates the gallery image resource.",
"schema": {
"$ref": "#/definitions/galleryimages"
}
@@ -132,7 +132,7 @@
},
"delete": {
"operationId": "galleryimages_Delete",
- "description": "Delete a galleryimage.",
+ "description": "Delete a gallery image.",
"x-ms-examples": {
"DeleteGalleryImage": {
"$ref": "./examples/DeleteGalleryImage.json"
@@ -160,7 +160,7 @@
}
},
"200": {
- "description": "Deletes the galleryimages resource."
+ "description": "Deletes the gallery image resource."
},
"204": {
"description": "No content"
@@ -169,7 +169,7 @@
},
"patch": {
"operationId": "galleryimages_Update",
- "description": "Update a galleryimage.",
+ "description": "Update a gallery image.",
"x-ms-examples": {
"UpdateGalleryImage": {
"$ref": "./examples/UpdateGalleryImage.json"
@@ -205,13 +205,13 @@
}
},
"200": {
- "description": "Updates the galleryimages resource.",
+ "description": "Updates the gallery image resource.",
"schema": {
"$ref": "#/definitions/galleryimages"
}
},
"201": {
- "description": "Updates the galleryimages resource.",
+ "description": "Updates the gallery image resource.",
"schema": {
"$ref": "#/definitions/galleryimages"
}
@@ -375,7 +375,7 @@
"$ref": "#/definitions/galleryImageStatus"
}
},
- "description": "galleryimagesProperties defines a list of properties under galleryimages"
+ "description": "Properties of a gallery image resource"
},
"galleryImageStatus": {
"type": "object",
@@ -384,7 +384,7 @@
"properties": {
"errorCode": {
"type": "string",
- "description": "GalleryImage provisioning error code"
+ "description": "Gallery image provisioning error code"
},
"errorMessage": {
"type": "string",
@@ -512,7 +512,7 @@
},
"galleryimages": {
"type": "object",
- "description": "The galleryimages resource definition.",
+ "description": "The gallery image resource definition.",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
@@ -555,7 +555,7 @@
"description": "Resource tags"
}
},
- "description": "The galleryimages resource patch definition."
+ "description": "The gallery image resource patch definition."
},
"galleryimagesListResult": {
"type": "object",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
index 6bb60e2ab293..dc72272e4015 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -68,7 +68,7 @@
}
},
"200": {
- "description": "Retrieves the marketplacegalleryimages resource.",
+ "description": "Retrieved the marketplace gallery image resource.",
"schema": {
"$ref": "#/definitions/marketplacegalleryimages"
}
@@ -77,7 +77,7 @@
},
"put": {
"operationId": "marketplacegalleryimages_CreateOrUpdate",
- "description": "Creates or updates a marketplacegalleryimage",
+ "description": "Creates or updates a marketplace gallery image",
"x-ms-examples": {
"PutMarketplaceGalleryImage": {
"$ref": "./examples/PutMarketplaceGalleryImage.json"
@@ -117,13 +117,13 @@
}
},
"200": {
- "description": "Updates the marketplacegalleryimages resource.",
+ "description": "Updates the marketplace gallery image resource.",
"schema": {
"$ref": "#/definitions/marketplacegalleryimages"
}
},
"201": {
- "description": "Creates the marketplacegalleryimages resource.",
+ "description": "Creates the marketplace gallery image resource.",
"schema": {
"$ref": "#/definitions/marketplacegalleryimages"
}
@@ -132,7 +132,7 @@
},
"delete": {
"operationId": "marketplacegalleryimages_Delete",
- "description": "Deletes a marketplacegalleryimage",
+ "description": "Deletes a marketplace gallery image",
"x-ms-examples": {
"DeleteMarketplaceGalleryImage": {
"$ref": "./examples/DeleteMarketplaceGalleryImage.json"
@@ -160,7 +160,7 @@
}
},
"200": {
- "description": "Deletes the marketplacegalleryimages resource."
+ "description": "Deletes the marketplace gallery image resource."
},
"204": {
"description": "No content"
@@ -169,7 +169,7 @@
},
"patch": {
"operationId": "marketplacegalleryimages_Update",
- "description": "Updates a marketplacegalleryimage",
+ "description": "Updates a marketplace gallery image",
"x-ms-examples": {
"UpdateMarketplaceGalleryImage": {
"$ref": "./examples/UpdateMarketplaceGalleryImage.json"
@@ -205,13 +205,13 @@
}
},
"200": {
- "description": "Updates the marketplacegalleryimages resource.",
+ "description": "Updates the marketplace gallery image resource.",
"schema": {
"$ref": "#/definitions/marketplacegalleryimages"
}
},
"201": {
- "description": "Updates the marketplacegalleryimages resource.",
+ "description": "Updates the marketplace gallery image resource.",
"schema": {
"$ref": "#/definitions/marketplacegalleryimages"
}
@@ -371,7 +371,7 @@
"$ref": "#/definitions/marketplaceGalleryImageStatus"
}
},
- "description": "marketplacegalleryimagesProperties defines a list of properties under marketplacegalleryimages"
+ "description": "Properties of a marketplace gallery image resource"
},
"marketplaceGalleryImageStatus": {
"type": "object",
@@ -380,7 +380,7 @@
"properties": {
"errorCode": {
"type": "string",
- "description": "MarketplaceGalleryImage provisioning error code"
+ "description": "Marketplace gallery image provisioning error code"
},
"errorMessage": {
"type": "string",
@@ -508,7 +508,7 @@
},
"marketplacegalleryimages": {
"type": "object",
- "description": "The marketplacegalleryimages resource definition.",
+ "description": "The marketplace gallery image resource definition.",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
@@ -551,7 +551,7 @@
"description": "Resource tags"
}
},
- "description": "The marketplacegalleryimages resource patch definition."
+ "description": "The marketplace gallery image resource patch definition."
},
"marketplacegalleryimagesListResult": {
"type": "object",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
index 2054f2ac9545..5954e6e69bc0 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
@@ -40,7 +40,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkinterfaces/{networkinterfacesName}": {
"get": {
"operationId": "networkinterfaces_Retrieve",
- "description": "Gets networkinterfaces by resource name",
+ "description": "Gets network interfaces by resource name",
"x-ms-examples": {
"GetNetworkInterface": {
"$ref": "./examples/GetNetworkInterface.json"
@@ -68,7 +68,7 @@
}
},
"200": {
- "description": "Retrieves the networkinterfaces resource.",
+ "description": "Retrieved the network interface resource.",
"schema": {
"$ref": "#/definitions/networkinterfaces"
}
@@ -116,13 +116,13 @@
}
},
"200": {
- "description": "Updates the networkinterfaces resource.",
+ "description": "Updates the network interface resource.",
"schema": {
"$ref": "#/definitions/networkinterfaces"
}
},
"201": {
- "description": "Creates the networkinterfaces resource.",
+ "description": "Creates the network interface resource.",
"schema": {
"$ref": "#/definitions/networkinterfaces"
}
@@ -158,7 +158,7 @@
}
},
"200": {
- "description": "Deletes the networkinterfaces resource."
+ "description": "Deletes the network interface resource."
},
"204": {
"description": "No content"
@@ -202,13 +202,13 @@
}
},
"200": {
- "description": "Updates the networkinterfaces resource.",
+ "description": "Updates the network interface resource.",
"schema": {
"$ref": "#/definitions/networkinterfaces"
}
},
"201": {
- "description": "Updates the networkinterfaces resource.",
+ "description": "Updates the network interface resource.",
"schema": {
"$ref": "#/definitions/networkinterfaces"
}
@@ -243,7 +243,7 @@
}
},
"200": {
- "description": "Lists all networkinterfaces under the resource group.",
+ "description": "Lists all network interfaces under the resource group.",
"schema": {
"$ref": "#/definitions/networkinterfacesListResult"
}
@@ -278,7 +278,7 @@
}
},
"200": {
- "description": "Lists all networkinterfaces under the subscription.",
+ "description": "Lists all network interfaces under the subscription.",
"schema": {
"$ref": "#/definitions/networkinterfacesListResult"
}
@@ -347,7 +347,7 @@
"$ref": "#/definitions/networkInterfaceStatus"
}
},
- "description": "networkInterfacesProperties defines a list of properties under networkinterfaces"
+ "description": "Properties of a network interface resource"
},
"networkInterfaceStatus": {
"type": "object",
@@ -386,7 +386,7 @@
}
}
},
- "description": "networkInterfaceStatus defines the observed state of networkinterfaces"
+ "description": "networkInterfaceStatus defines the observed state of network interfaces"
},
"ipConfiguration": {
"type": "object",
@@ -442,7 +442,7 @@
},
"networkinterfaces": {
"type": "object",
- "description": "The networkinterfaces resource definition.",
+ "description": "The network interface resource definition.",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
@@ -484,7 +484,7 @@
"description": "Resource tags"
}
},
- "description": "The networkinterfaces resource patch definition."
+ "description": "The network interface resource patch definition."
},
"networkinterfacesListResult": {
"type": "object",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index 4e9d817b3420..f440af736b9e 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -68,7 +68,7 @@
}
},
"200": {
- "description": "Retrieves the storagecontainers resource.",
+ "description": "Retrieved the storage container resource.",
"schema": {
"$ref": "#/definitions/storagecontainers"
}
@@ -116,13 +116,13 @@
}
},
"200": {
- "description": "Updates the storagecontainers resource.",
+ "description": "Updates the storage container resource.",
"schema": {
"$ref": "#/definitions/storagecontainers"
}
},
"201": {
- "description": "Creates the storagecontainers resource.",
+ "description": "Creates the storage container resource.",
"schema": {
"$ref": "#/definitions/storagecontainers"
}
@@ -158,7 +158,7 @@
}
},
"200": {
- "description": "Deletes the storagecontainers resource."
+ "description": "Deletes the storage container resource."
},
"204": {
"description": "No content"
@@ -202,13 +202,13 @@
}
},
"200": {
- "description": "Updates the storagecontainers resource.",
+ "description": "Updates the storage container resource.",
"schema": {
"$ref": "#/definitions/storagecontainers"
}
},
"201": {
- "description": "Updates the storagecontainers resource.",
+ "description": "Updates the storage container resource.",
"schema": {
"$ref": "#/definitions/storagecontainers"
}
@@ -322,7 +322,7 @@
"$ref": "#/definitions/storageContainerStatus"
}
},
- "description": "storagecontainersProperties defines a list of properties under storagecontainers"
+ "description": "Properties of a storage container resource"
},
"storageContainerStatus": {
"type": "object",
@@ -428,7 +428,7 @@
"required": [
"location"
],
- "description": "The storagecontainers resource definition."
+ "description": "The storage container resource definition."
},
"storagecontainersPatch": {
"type": "object",
@@ -441,7 +441,7 @@
"description": "Resource tags"
}
},
- "description": "The storagecontainers resource patch definition."
+ "description": "The storage container resource patch definition."
},
"storagecontainersListResult": {
"type": "object",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
index 4267b2746682..b60121541d4b 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
@@ -68,7 +68,7 @@
}
},
"200": {
- "description": "Retrieves the virtualharddisks resource.",
+ "description": "Retrieved the virtual hard disk resource.",
"schema": {
"$ref": "#/definitions/virtualharddisks"
}
@@ -116,13 +116,13 @@
}
},
"200": {
- "description": "Updates the virtualharddisks resource.",
+ "description": "Updates the virtual hard disk resource.",
"schema": {
"$ref": "#/definitions/virtualharddisks"
}
},
"201": {
- "description": "Creates the virtualharddisks resource.",
+ "description": "Creates the virtual hard disk resource.",
"schema": {
"$ref": "#/definitions/virtualharddisks"
}
@@ -158,7 +158,7 @@
}
},
"200": {
- "description": "Deletes the virtualharddisks resource."
+ "description": "Deletes the virtual hard disk resource."
},
"204": {
"description": "No content"
@@ -202,13 +202,13 @@
}
},
"200": {
- "description": "Updates the virtualharddisks resource.",
+ "description": "Updates the virtual hard disk resource.",
"schema": {
"$ref": "#/definitions/virtualharddisks"
}
},
"201": {
- "description": "Updates the virtualharddisks resource.",
+ "description": "Updates the virtual hard disk resource.",
"schema": {
"$ref": "#/definitions/virtualharddisks"
}
@@ -354,7 +354,7 @@
"$ref": "#/definitions/virtualHardDiskStatus"
}
},
- "description": "virtualharddisksProperties defines a list of properties under virtualharddisks"
+ "description": "Properties of a virtual hard disk resource"
},
"virtualHardDiskStatus": {
"type": "object",
@@ -371,15 +371,15 @@
},
"provisioningStatus": {
"type": "object",
- "description": "The provisioning status of the virtual harddisk",
+ "description": "The provisioning status of the virtual hard disk",
"properties": {
"operationId": {
"type": "string",
- "description": "The ID of the operation performed on the virtual harddisk"
+ "description": "The ID of the operation performed on the virtual hard disk"
},
"status": {
"type": "string",
- "description": "The status of the operation performed on the virtual harddisk [Succeeded, Failed, InProgress]",
+ "description": "The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress]",
"enum": [
"Succeeded",
"Failed",
@@ -397,7 +397,7 @@
},
"virtualharddisks": {
"type": "object",
- "description": "The virtualharddisks resource definition.",
+ "description": "The virtual hard disk resource definition.",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
@@ -439,7 +439,7 @@
"description": "Resource tags"
}
},
- "description": "The virtualharddisks resource patch definition."
+ "description": "The virtual hard disk resource patch definition."
},
"virtualharddisksListResult": {
"type": "object",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index a6faab57220f..54ab5689412d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -40,7 +40,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}": {
"get": {
"operationId": "virtualmachines_Retrieve",
- "description": "Gets virtualmachines by resource name",
+ "description": "Gets virtual machines by resource name",
"x-ms-examples": {
"GetVirtualMachine": {
"$ref": "./examples/GetVirtualMachine.json"
@@ -68,7 +68,7 @@
}
},
"200": {
- "description": "Retrieves the virtualmachines resource.",
+ "description": "Retrieved the virtual machine resource.",
"schema": {
"$ref": "#/definitions/virtualmachines"
}
@@ -122,13 +122,13 @@
}
},
"200": {
- "description": "Updates the virtualmachines resource.",
+ "description": "Updates the virtual machine resource.",
"schema": {
"$ref": "#/definitions/virtualmachines"
}
},
"201": {
- "description": "Creates the virtualmachines resource.",
+ "description": "Creates the virtual machine resource.",
"schema": {
"$ref": "#/definitions/virtualmachines"
}
@@ -164,7 +164,7 @@
}
},
"200": {
- "description": "Deletes the virtualmachines resource."
+ "description": "Deletes the virtual machine resource."
},
"204": {
"description": "No content"
@@ -208,13 +208,13 @@
}
},
"200": {
- "description": "Updates the virtualmachines resource.",
+ "description": "Updates the virtual machine resource.",
"schema": {
"$ref": "#/definitions/virtualmachines"
}
},
"201": {
- "description": "Updates the virtualmachines resource.",
+ "description": "Updates the virtual machine resource.",
"schema": {
"$ref": "#/definitions/virtualmachines"
}
@@ -1471,7 +1471,7 @@
"readOnly": true
}
},
- "description": "virtualmachinesProperties defines a list of properties under virtualmachines"
+ "description": "Properties of a virtual machine resource"
},
"virtualMachineStatus": {
"type": "object",
@@ -1564,7 +1564,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource"
}
],
- "description": "The virtualmachines resource definition."
+ "description": "The virtual machine resource definition."
},
"hardwareProfileUpdate": {
"type": "object",
@@ -1682,7 +1682,7 @@
"description": "Resource tags"
}
},
- "description": "The virtualmachines resource patch definition."
+ "description": "The virtual machine resource patch definition."
},
"virtualmachinesListResult": {
"type": "object",
@@ -1797,7 +1797,7 @@
"type": "string"
},
"publicKey": {
- "description": "Gets or sets the Public Key.",
+ "description": "The Public Key.",
"type": "string"
},
"identity": {
@@ -1806,7 +1806,7 @@
"readOnly": true
},
"provisioningState": {
- "description": "Gets or sets the provisioning state.",
+ "description": "The provisioning state.",
"type": "string",
"readOnly": true
}
@@ -1866,7 +1866,7 @@
"description": "Describes Machine Extension Properties."
},
"location": {
- "description": "Gets or sets the location.",
+ "description": "The geo-location where the resource lives",
"type": "string",
"x-ms-mutability": [
"read",
@@ -1878,24 +1878,24 @@
"description": "The system data."
},
"tags": {
- "description": "Gets or sets the Resource tags.",
+ "description": "Resource tags.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"name": {
- "description": "Gets or sets the name.",
+ "description": "The name of the resource",
"type": "string",
"readOnly": true
},
"id": {
- "description": "Gets or sets the Id.",
+ "description": "Fully qualified resource ID for the resource.",
"type": "string",
"readOnly": true
},
"type": {
- "description": "Gets or sets the type of the resource.",
+ "description": "The type of the resource.",
"type": "string",
"readOnly": true
}
@@ -2143,11 +2143,11 @@
"type": "object",
"properties": {
"username": {
- "description": "Gets or sets username to connect with the guest.",
+ "description": "The username to connect with the guest.",
"type": "string"
},
"password": {
- "description": "Gets or sets the password to connect with the guest.",
+ "description": "The password to connect with the guest.",
"type": "string",
"x-ms-mutability": [
"create",
@@ -2170,17 +2170,17 @@
"$ref": "#/definitions/HttpProxyConfiguration"
},
"provisioningAction": {
- "description": "Gets or sets the guest agent provisioning action.",
+ "description": "The guest agent provisioning action.",
"$ref": "#/definitions/ProvisioningAction",
"type": "string"
},
"status": {
- "description": "Gets or sets the guest agent status.",
+ "description": "The guest agent status.",
"type": "string",
"readOnly": true
},
"provisioningState": {
- "description": "Gets or sets the provisioning state.",
+ "description": "The provisioning state.",
"type": "string",
"readOnly": true
}
@@ -2191,7 +2191,7 @@
"type": "object",
"properties": {
"httpsProxy": {
- "description": "Gets or sets httpsProxy url.",
+ "description": "The httpsProxy url.",
"type": "string"
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
index 7c692e7dfb35..f4321a67d311 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -67,7 +67,7 @@
}
},
"200": {
- "description": "Retrieves the virtualnetworks resource.",
+ "description": "Retrieved the virtual network resource.",
"schema": {
"$ref": "#/definitions/virtualnetworks"
}
@@ -121,7 +121,7 @@
}
},
"201": {
- "description": "Creates the virtualnetworks resource.",
+ "description": "Creates the virtual networks resource.",
"schema": {
"$ref": "#/definitions/virtualnetworks"
}
@@ -157,7 +157,7 @@
}
},
"200": {
- "description": "Deletes the virtualnetworks resource."
+ "description": "Deletes the virtual network resource."
},
"204": {
"description": "No content"
@@ -201,13 +201,13 @@
}
},
"200": {
- "description": "Updates the virtualnetworks resource.",
+ "description": "Updates the virtual network resource.",
"schema": {
"$ref": "#/definitions/virtualnetworks"
}
},
"201": {
- "description": "Updates the virtualnetworks resource.",
+ "description": "Updates the virtual network resource.",
"schema": {
"$ref": "#/definitions/virtualnetworks"
}
@@ -242,7 +242,7 @@
}
},
"200": {
- "description": "Lists all virtualnetworks under the resource group.",
+ "description": "Lists all virtual networks under the resource group.",
"schema": {
"$ref": "#/definitions/virtualnetworksListResult"
}
@@ -277,7 +277,7 @@
}
},
"200": {
- "description": "Lists all virtualnetworks under the subscription.",
+ "description": "Lists all virtual networks under the subscription.",
"schema": {
"$ref": "#/definitions/virtualnetworksListResult"
}
@@ -465,7 +465,7 @@
"$ref": "#/definitions/virtualNetworkStatus"
}
},
- "description": "virtualnetworksProperties defines a list of properties under virtualnetworks"
+ "description": "Properties of a virtual network resource"
},
"virtualNetworkStatus": {
"type": "object",
@@ -504,7 +504,7 @@
}
}
},
- "description": "virtualNetworkStatus defines the observed state of virtualnetworks"
+ "description": "virtualNetworkStatus defines the observed state of virtual networks"
},
"IPPoolInfo": {
"type": "object",
@@ -551,7 +551,7 @@
},
"virtualnetworks": {
"type": "object",
- "description": "The virtualnetworks resource definition.",
+ "description": "The virtual network resource definition.",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
@@ -593,7 +593,7 @@
"description": "Resource tags"
}
},
- "description": "The virtualnetworks resource patch definition."
+ "description": "The virtual network resource patch definition."
},
"virtualnetworksListResult": {
"type": "object",
From c241255199edcbc1f5181adf8046a36f996741de Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Mon, 7 Nov 2022 16:10:39 -0800
Subject: [PATCH 19/30] address swagger modelvalidation errors
---
.../examples/DeleteArcSetting.json | 18 +++++++++++++++---
.../examples/DeleteExtension.json | 18 +++++++++++++++---
.../examples/DeleteGuestAgent.json | 18 +++++++++++++++---
.../examples/DeleteMachineExtension.json | 18 +++++++++++++++---
.../PutVirtualMachineWithGalleryImage.json | 2 ++
...tualMachineWithMarketplaceGalleryImage.json | 2 ++
.../examples/PutVirtualMachineWithOsDisk.json | 1 +
.../examples/RestartVirtualMachine.json | 12 ++++++++++--
.../examples/StartVirtualMachine.json | 12 ++++++++++--
.../examples/StopVirtualMachine.json | 12 ++++++++++--
10 files changed, 95 insertions(+), 18 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
index 7c58fe9a5a5b..0bd4760ac783 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteArcSetting.json
@@ -7,8 +7,20 @@
"api-version": "2021-09-01-preview"
},
"responses": {
- "200": {},
- "202": {},
- "204": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
index 586d066a37bb..c2cb3f41aaa9 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteExtension.json
@@ -8,8 +8,20 @@
"api-version": "2021-09-01-preview"
},
"responses": {
- "200": {},
- "202": {},
- "204": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json
index cf4ce4a121ef..82211aaad1dc 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteGuestAgent.json
@@ -7,8 +7,20 @@
"name": "default"
},
"responses": {
- "200": {},
- "202": {},
- "204": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json
index 049212265a98..ef2cddddcc69 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/DeleteMachineExtension.json
@@ -7,8 +7,20 @@
"api-version": "2021-09-01-preview"
},
"responses": {
- "200": {},
- "202": {},
- "204": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
index 3b093bc51b8d..8e80bc3b4d2c 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithGalleryImage.json
@@ -44,6 +44,7 @@
"responses": {
"200": {
"body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"location": "West US2",
"extendedLocation": {
"type": "CustomLocation",
@@ -82,6 +83,7 @@
},
"201": {
"body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"location": "West US2",
"extendedLocation": {
"type": "CustomLocation",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
index 99005ffca589..d8bd0cebdf15 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithMarketplaceGalleryImage.json
@@ -44,6 +44,7 @@
"responses": {
"200": {
"body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"location": "West US2",
"extendedLocation": {
"type": "CustomLocation",
@@ -82,6 +83,7 @@
},
"201": {
"body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"location": "West US2",
"extendedLocation": {
"type": "CustomLocation",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
index c4b235c53223..24d348f77359 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
@@ -73,6 +73,7 @@
},
"201": {
"body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"location": "West US2",
"extendedLocation": {
"type": "CustomLocation",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json
index 454c0a69ec50..86878b3bbf72 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/RestartVirtualMachine.json
@@ -6,7 +6,15 @@
"api-version": "2021-09-01-preview"
},
"responses": {
- "200": {},
- "202": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json
index 454c0a69ec50..86878b3bbf72 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StartVirtualMachine.json
@@ -6,7 +6,15 @@
"api-version": "2021-09-01-preview"
},
"responses": {
- "200": {},
- "202": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json
index 454c0a69ec50..86878b3bbf72 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/StopVirtualMachine.json
@@ -6,7 +6,15 @@
"api-version": "2021-09-01-preview"
},
"responses": {
- "200": {},
- "202": {}
+ "200": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-asyncoperation": "http://azure.async.operation/status"
+ }
+ }
}
}
From 94e2365f15cc0df84a21890006eb1d6e595cc97a Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 8 Nov 2022 09:40:55 -0800
Subject: [PATCH 20/30] missed linter and model validation error
---
.../examples/PutVirtualMachineWithOsDisk.json | 1 +
.../2021-09-01-preview/storageContainers.json | 14 +++++++-------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
index 24d348f77359..9749f264dfaf 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/examples/PutVirtualMachineWithOsDisk.json
@@ -39,6 +39,7 @@
"responses": {
"200": {
"body": {
+ "id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualmachines/test-vm",
"location": "West US2",
"extendedLocation": {
"type": "CustomLocation",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index f440af736b9e..8a184306e4c8 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storagecontainersName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storageContainersName}": {
"get": {
"operationId": "storagecontainers_Retrieve",
"description": "Gets storagecontainers by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/storageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/storageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/storageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/storageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -459,8 +459,8 @@
}
},
"parameters": {
- "storagecontainersNameParameter": {
- "name": "storagecontainersName",
+ "storageContainersNameParameter": {
+ "name": "storageContainersName",
"in": "path",
"required": true,
"type": "string",
From f368bb1659fc1fdad16f7a8d6120217fb0c93a2d Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 8 Nov 2022 09:43:36 -0800
Subject: [PATCH 21/30] prettier fix
---
.../preview/2021-09-01-preview/arcSettings.json | 2 +-
.../preview/2021-09-01-preview/clusters.json | 2 +-
.../preview/2021-09-01-preview/extensions.json | 2 +-
.../preview/2021-09-01-preview/galleryImages.json | 2 +-
.../preview/2021-09-01-preview/operations.json | 2 +-
.../preview/2021-09-01-preview/storageContainers.json | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
index 42b47469ed49..a623ba83e849 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/arcSettings.json
@@ -376,4 +376,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
index ee47a02319a3..be42b696425b 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/clusters.json
@@ -640,4 +640,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
index 67496147b207..f564214581b5 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/extensions.json
@@ -497,4 +497,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
index 9989f3cd34f3..e8b5d24a1e8d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -587,4 +587,4 @@
"description": "Name of the gallery image"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
index 9569b2f77c67..6e39a3f131d0 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/operations.json
@@ -70,4 +70,4 @@
},
"definitions": {},
"parameters": {}
-}
\ No newline at end of file
+}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index 8a184306e4c8..a9a64902b1fb 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -469,4 +469,4 @@
"minLength": 3
}
}
-}
\ No newline at end of file
+}
From a49adb6c329f5bcc4ff8325c0151e587c3f2d1ac Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 8 Nov 2022 10:19:03 -0800
Subject: [PATCH 22/30] fixing breaking change errors
---
.../2021-09-01-preview/galleryImages.json | 20 +++--------
.../marketplaceGalleryImages.json | 6 ++--
.../2021-09-01-preview/networkInterfaces.json | 19 +++--------
.../2021-09-01-preview/storageContainers.json | 14 ++++----
.../2021-09-01-preview/virtualHardDisks.json | 33 ++++++++++---------
.../2021-09-01-preview/virtualMachines.json | 19 +++--------
.../2021-09-01-preview/virtualNetworks.json | 19 +++--------
7 files changed, 48 insertions(+), 82 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
index e8b5d24a1e8d..d8e1461cda2c 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -372,12 +372,12 @@
"description": "name of the object to be used in moc"
},
"status": {
- "$ref": "#/definitions/galleryImageStatus"
+ "$ref": "#/definitions/GalleryImageStatus"
}
},
"description": "Properties of a gallery image resource"
},
- "galleryImageStatus": {
+ "GalleryImageStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -430,7 +430,7 @@
"description": "The progress of the operation in percentage"
}
},
- "description": "galleryImageStatus defines the observed state of galleryimages"
+ "description": "GalleryImageStatus defines the observed state of galleryimages"
},
"galleryImageIdentifier": {
"type": "object",
@@ -521,18 +521,8 @@
"$ref": "#/definitions/galleryimagesProperties"
},
"extendedLocation": {
- "type": "object",
- "description": "The extendedLocation of the resource.",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
+ "$ref": "./common.json#/definitions/ExtendedLocation",
+ "description": "The extendedLocation of the resource."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
index dc72272e4015..8b43ad47f8df 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -368,12 +368,12 @@
"description": "name of the object to be used in moc"
},
"status": {
- "$ref": "#/definitions/marketplaceGalleryImageStatus"
+ "$ref": "#/definitions/MarketplaceGalleryImageStatus"
}
},
"description": "Properties of a marketplace gallery image resource"
},
- "marketplaceGalleryImageStatus": {
+ "MarketplaceGalleryImageStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -426,7 +426,7 @@
"description": "The progress of the operation in percentage"
}
},
- "description": "marketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
+ "description": "MarketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
},
"galleryImageIdentifier": {
"type": "object",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
index 5954e6e69bc0..a4e259ebc9f2 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
@@ -344,12 +344,12 @@
"description": "name of the object to be used in moc"
},
"status": {
- "$ref": "#/definitions/networkInterfaceStatus"
+ "$ref": "#/definitions/NetworkInterfaceStatus"
}
},
"description": "Properties of a network interface resource"
},
- "networkInterfaceStatus": {
+ "NetworkInterfaceStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -386,7 +386,7 @@
}
}
},
- "description": "networkInterfaceStatus defines the observed state of network interfaces"
+ "description": "NetworkInterfaceStatus defines the observed state of network interfaces"
},
"ipConfiguration": {
"type": "object",
@@ -451,17 +451,8 @@
"$ref": "#/definitions/networkinterfacesProperties"
},
"extendedLocation": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
+ "$ref": "./common.json#/definitions/ExtendedLocation",
+ "description": "The extendedLocation of the resource."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index a9a64902b1fb..76d459b00442 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storageContainersName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storagecontainersName}": {
"get": {
"operationId": "storagecontainers_Retrieve",
"description": "Gets storagecontainers by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -459,8 +459,8 @@
}
},
"parameters": {
- "storageContainersNameParameter": {
- "name": "storageContainersName",
+ "storagecontainersNameParameter": {
+ "name": "storagecontainersName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
index b60121541d4b..2669902a15fd 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
@@ -340,7 +340,19 @@
}
},
"provisioningState": {
- "type": "string"
+ "type": "string",
+ "readOnly": true,
+ "enum": [
+ "Succeeded",
+ "Failed",
+ "InProgress",
+ "Accepted",
+ "Deleting"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningStateEnum",
+ "modelAsString": true
+ }
},
"containerId": {
"type": "string",
@@ -351,12 +363,12 @@
"description": "name of the object to be used in moc"
},
"status": {
- "$ref": "#/definitions/virtualHardDiskStatus"
+ "$ref": "#/definitions/VirtualHardDiskStatus"
}
},
"description": "Properties of a virtual hard disk resource"
},
- "virtualHardDiskStatus": {
+ "VirtualHardDiskStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -393,7 +405,7 @@
}
}
},
- "description": "virtualHardDiskStatus defines the observed state of virtualharddisks"
+ "description": "VirtualHardDiskStatus defines the observed state of virtualharddisks"
},
"virtualharddisks": {
"type": "object",
@@ -406,17 +418,8 @@
"$ref": "#/definitions/virtualharddisksProperties"
},
"extendedLocation": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
+ "$ref": "./common.json#/definitions/ExtendedLocation",
+ "description": "The extendedLocation of the resource."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index 54ab5689412d..db259437c4f4 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -1459,7 +1459,7 @@
}
},
"status": {
- "$ref": "#/definitions/virtualMachineStatus"
+ "$ref": "#/definitions/VirtualMachineStatus"
},
"guestAgentProfile": {
"description": "Guest agent status properties.",
@@ -1473,7 +1473,7 @@
},
"description": "Properties of a virtual machine resource"
},
- "virtualMachineStatus": {
+ "VirtualMachineStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -1527,7 +1527,7 @@
}
}
},
- "description": "virtualMachineStatus defines the observed state of virtualmachines"
+ "description": "VirtualMachineStatus defines the observed state of virtualmachines"
},
"virtualmachines": {
"type": "object",
@@ -1539,17 +1539,8 @@
"$ref": "#/definitions/virtualmachinesProperties"
},
"extendedLocation": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
+ "$ref": "./common.json#/definitions/ExtendedLocation",
+ "description": "The extendedLocation of the resource."
},
"identity": {
"$ref": "#/definitions/Identity",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
index f4321a67d311..cd742cd9ef20 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -462,12 +462,12 @@
"description": "name of the object to be used in moc"
},
"status": {
- "$ref": "#/definitions/virtualNetworkStatus"
+ "$ref": "#/definitions/VirtualNetworkStatus"
}
},
"description": "Properties of a virtual network resource"
},
- "virtualNetworkStatus": {
+ "VirtualNetworkStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -504,7 +504,7 @@
}
}
},
- "description": "virtualNetworkStatus defines the observed state of virtual networks"
+ "description": "VirtualNetworkStatus defines the observed state of virtual networks"
},
"IPPoolInfo": {
"type": "object",
@@ -560,17 +560,8 @@
"$ref": "#/definitions/virtualnetworksProperties"
},
"extendedLocation": {
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
+ "$ref": "./common.json#/definitions/ExtendedLocation",
+ "description": "The extendedLocation of the resource."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
From eec803a86cae6c432efee64590c5fb2753d50235 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 8 Nov 2022 10:44:34 -0800
Subject: [PATCH 23/30] backport common.json from 2021-07-01-preview
---
.../preview/2021-09-01-preview/common.json | 64 +++++++++++++++++++
.../marketplaceGalleryImages.json | 14 +---
2 files changed, 66 insertions(+), 12 deletions(-)
create mode 100644 specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json
new file mode 100644
index 000000000000..1c0c2c489cdc
--- /dev/null
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json
@@ -0,0 +1,64 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec",
+ "version": "2021-09-01-preview"
+ },
+ "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": {},
+ "definitions": {
+ "ExtendedLocationType": {
+ "type": "string",
+ "description": "The type of extendedLocation.",
+ "enum": [
+ "CustomLocation"
+ ],
+ "x-ms-enum": {
+ "name": "ExtendedLocationTypes",
+ "modelAsString": true
+ }
+ },
+ "ExtendedLocation": {
+ "description": "The complex type of the extended location.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the extended location."
+ },
+ "type": {
+ "$ref": "#/definitions/ExtendedLocationType",
+ "description": "The type of the extended location."
+ }
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
index 8b43ad47f8df..d08e2b8fd75e 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -517,18 +517,8 @@
"$ref": "#/definitions/marketplacegalleryimagesProperties"
},
"extendedLocation": {
- "type": "object",
- "description": "The extendedLocation of the resource.",
- "properties": {
- "type": {
- "type": "string",
- "description": "The extended location type."
- },
- "name": {
- "type": "string",
- "description": "The extended location name."
- }
- }
+ "$ref": "./common.json#/definitions/ExtendedLocation",
+ "description": "The extendedLocation of the resource."
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
From 2e16e51bc3c42d684523a07af12899e3276544d1 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Tue, 8 Nov 2022 10:55:40 -0800
Subject: [PATCH 24/30] prettier on common.json
---
.../preview/2021-09-01-preview/common.json | 114 +++++++++---------
1 file changed, 57 insertions(+), 57 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json
index 1c0c2c489cdc..37d73e6caaf7 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/common.json
@@ -1,64 +1,64 @@
{
- "swagger": "2.0",
- "info": {
- "title": "AzureStackHCI",
- "description": "The Microsoft.AzureStackHCI Rest API spec",
- "version": "2021-09-01-preview"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "swagger": "2.0",
+ "info": {
+ "title": "AzureStackHCI",
+ "description": "The Microsoft.AzureStackHCI Rest API spec",
+ "version": "2021-09-01-preview"
+ },
+ "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"
}
- ],
- "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": {},
+ "definitions": {
+ "ExtendedLocationType": {
+ "type": "string",
+ "description": "The type of extendedLocation.",
+ "enum": [
+ "CustomLocation"
+ ],
+ "x-ms-enum": {
+ "name": "ExtendedLocationTypes",
+ "modelAsString": true
}
},
- "paths": {},
- "definitions": {
- "ExtendedLocationType": {
- "type": "string",
- "description": "The type of extendedLocation.",
- "enum": [
- "CustomLocation"
- ],
- "x-ms-enum": {
- "name": "ExtendedLocationTypes",
- "modelAsString": true
- }
- },
- "ExtendedLocation": {
- "description": "The complex type of the extended location.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the extended location."
- },
- "type": {
- "$ref": "#/definitions/ExtendedLocationType",
- "description": "The type of the extended location."
- }
+ "ExtendedLocation": {
+ "description": "The complex type of the extended location.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the extended location."
+ },
+ "type": {
+ "$ref": "#/definitions/ExtendedLocationType",
+ "description": "The type of the extended location."
}
}
}
- }
\ No newline at end of file
+ }
+}
From e59e73a7c4561c9e37c0182d78a2939214ed5ca6 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Wed, 9 Nov 2022 11:03:38 -0800
Subject: [PATCH 25/30] replace Idenitty from v2 definitions
---
.../2021-09-01-preview/virtualMachines.json | 37 +------------------
1 file changed, 2 insertions(+), 35 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index db259437c4f4..cdc2c64b17ae 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -1543,8 +1543,7 @@
"description": "The extendedLocation of the resource."
},
"identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource."
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity"
},
"systemData": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData"
@@ -1792,8 +1791,7 @@
"type": "string"
},
"identity": {
- "$ref": "#/definitions/Identity",
- "description": "The identity of the resource.",
+ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Identity",
"readOnly": true
},
"provisioningState": {
@@ -1803,37 +1801,6 @@
}
}
},
- "Identity": {
- "type": "object",
- "required": [
- "type"
- ],
- "properties": {
- "principalId": {
- "readOnly": true,
- "type": "string",
- "description": "The principal id of managed service identity."
- },
- "tenantId": {
- "readOnly": true,
- "type": "string",
- "description": "The tenant of managed service identity."
- },
- "type": {
- "type": "string",
- "description": "The type of managed service identity.",
- "enum": [
- "None",
- "SystemAssigned"
- ],
- "x-ms-enum": {
- "name": "IdentityType",
- "modelAsString": true
- }
- }
- },
- "description": "Managed service identity."
- },
"ResourcePatch": {
"type": "object",
"properties": {
From e12954fd01b69bd48c9ddec70673e00b43026aa8 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Wed, 9 Nov 2022 11:46:47 -0800
Subject: [PATCH 26/30] fix property bag capitalization
---
.../2021-09-01-preview/galleryImages.json | 82 +++++++++----------
.../marketplaceGalleryImages.json | 66 +++++++--------
.../2021-09-01-preview/networkInterfaces.json | 48 +++++------
.../2021-09-01-preview/storageContainers.json | 54 ++++++------
.../2021-09-01-preview/virtualHardDisks.json | 52 ++++++------
.../2021-09-01-preview/virtualMachines.json | 72 ++++++++--------
.../2021-09-01-preview/virtualNetworks.json | 36 ++++----
7 files changed, 205 insertions(+), 205 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
index d8e1461cda2c..8ec07edce1b1 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -37,10 +37,10 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages/{galleryimagesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages/{galleryImagesName}": {
"get": {
"operationId": "galleryimages_Retrieve",
- "description": "Gets galleryimages by resource name",
+ "description": "Gets gallery images by resource name",
"x-ms-examples": {
"GetGalleryImage": {
"$ref": "./examples/GetGalleryImage.json"
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/galleryimagesNameParameter"
+ "$ref": "#/parameters/GalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the gallery image resource.",
"schema": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
}
}
@@ -95,7 +95,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/galleryimagesNameParameter"
+ "$ref": "#/parameters/GalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -105,7 +105,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
}
],
@@ -119,13 +119,13 @@
"200": {
"description": "Updates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
},
"201": {
"description": "Creates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
}
}
@@ -146,7 +146,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/galleryimagesNameParameter"
+ "$ref": "#/parameters/GalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -183,7 +183,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/galleryimagesNameParameter"
+ "$ref": "#/parameters/GalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -193,7 +193,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/galleryimagesPatch"
+ "$ref": "#/definitions/GalleryImagesPatch"
}
}
],
@@ -207,13 +207,13 @@
"200": {
"description": "Updates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
},
"201": {
"description": "Updates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
}
}
@@ -222,7 +222,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages": {
"get": {
"operationId": "galleryimages_ListByResourceGroup",
- "description": "Lists all galleryimages under the resource group.",
+ "description": "Lists all gallery images under the resource group.",
"x-ms-examples": {
"ListGalleryImageByResourceGroup": {
"$ref": "./examples/ListGalleryImageByResourceGroup.json"
@@ -247,9 +247,9 @@
}
},
"200": {
- "description": "Lists all galleryimages under the resource group.",
+ "description": "Lists all gallery images under the resource group.",
"schema": {
- "$ref": "#/definitions/galleryimagesListResult"
+ "$ref": "#/definitions/GalleryImagesListResult"
}
}
},
@@ -261,7 +261,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryimages": {
"get": {
"operationId": "galleryimages_ListBySubscription",
- "description": "List all galleryimages under the subscription",
+ "description": "List all gallery images under the subscription",
"x-ms-examples": {
"ListGalleryImageByResourceGroup": {
"$ref": "./examples/ListGalleryImageBySubscription.json"
@@ -283,9 +283,9 @@
}
},
"200": {
- "description": "Lists all galleryimages under the subscription.",
+ "description": "Lists all gallery images under the subscription.",
"schema": {
- "$ref": "#/definitions/galleryimagesListResult"
+ "$ref": "#/definitions/GalleryImagesListResult"
}
}
},
@@ -296,7 +296,7 @@
}
},
"definitions": {
- "galleryimagesProperties": {
+ "GalleryImagesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -346,10 +346,10 @@
}
},
"identifier": {
- "$ref": "#/definitions/galleryImageIdentifier"
+ "$ref": "#/definitions/GalleryImageIdentifier"
},
"version": {
- "$ref": "#/definitions/galleryImageVersion"
+ "$ref": "#/definitions/GalleryImageVersion"
},
"provisioningState": {
"type": "string",
@@ -430,9 +430,9 @@
"description": "The progress of the operation in percentage"
}
},
- "description": "GalleryImageStatus defines the observed state of galleryimages"
+ "description": "GalleryImageStatus defines the observed state of gallery images"
},
- "galleryImageIdentifier": {
+ "GalleryImageIdentifier": {
"type": "object",
"properties": {
"publisher": {
@@ -455,7 +455,7 @@
],
"description": "This is the gallery image definition identifier."
},
- "galleryImageVersion": {
+ "GalleryImageVersion": {
"type": "object",
"properties": {
"name": {
@@ -464,16 +464,16 @@
},
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/galleryImageVersionProperties"
+ "$ref": "#/definitions/GalleryImageVersionProperties"
}
},
"description": "Specifies information about the gallery image version that you want to create or update."
},
- "galleryImageVersionProperties": {
+ "GalleryImageVersionProperties": {
"type": "object",
"properties": {
"storageProfile": {
- "$ref": "#/definitions/galleryImageVersionStorageProfile"
+ "$ref": "#/definitions/GalleryImageVersionStorageProfile"
}
},
"required": [
@@ -481,24 +481,24 @@
],
"description": "Describes the properties of a gallery image version."
},
- "galleryImageVersionStorageProfile": {
+ "GalleryImageVersionStorageProfile": {
"type": "object",
"properties": {
"osDiskImage": {
- "$ref": "#/definitions/galleryOSDiskImage"
+ "$ref": "#/definitions/GalleryOSDiskImage"
}
},
"description": "This is the storage profile of a Gallery Image Version."
},
- "galleryOSDiskImage": {
+ "GalleryOSDiskImage": {
"allOf": [
{
- "$ref": "#/definitions/galleryDiskImage"
+ "$ref": "#/definitions/GalleryDiskImage"
}
],
"description": "This is the OS disk image."
},
- "galleryDiskImage": {
+ "GalleryDiskImage": {
"type": "object",
"properties": {
"sizeInMB": {
@@ -510,7 +510,7 @@
},
"description": "This is the disk image base class."
},
- "galleryimages": {
+ "GalleryImages": {
"type": "object",
"description": "The gallery image resource definition.",
"x-ms-azure-resource": true,
@@ -518,7 +518,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/galleryimagesProperties"
+ "$ref": "#/definitions/GalleryImagesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -534,7 +534,7 @@
}
]
},
- "galleryimagesPatch": {
+ "GalleryImagesPatch": {
"type": "object",
"properties": {
"tags": {
@@ -547,14 +547,14 @@
},
"description": "The gallery image resource patch definition."
},
- "galleryimagesListResult": {
+ "GalleryImagesListResult": {
"type": "object",
- "description": "List of galleryimages.",
+ "description": "List of gallery images.",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/galleryimages"
+ "$ref": "#/definitions/GalleryImages"
}
},
"nextLink": {
@@ -566,8 +566,8 @@
}
},
"parameters": {
- "galleryimagesNameParameter": {
- "name": "galleryimagesName",
+ "GalleryImagesNameParameter": {
+ "name": "galleryImagesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
index d08e2b8fd75e..5e4e6b4a4afd 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
}
}
@@ -95,7 +95,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -105,7 +105,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
}
],
@@ -119,13 +119,13 @@
"200": {
"description": "Updates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
},
"201": {
"description": "Creates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
}
}
@@ -146,7 +146,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -183,7 +183,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
+ "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -193,7 +193,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/marketplacegalleryimagesPatch"
+ "$ref": "#/definitions/MarketplaceGalleryImagesPatch"
}
}
],
@@ -207,13 +207,13 @@
"200": {
"description": "Updates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
},
"201": {
"description": "Updates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
}
}
@@ -249,7 +249,7 @@
"200": {
"description": "Lists all marketplacegalleryimages under the resource group.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimagesListResult"
+ "$ref": "#/definitions/MarketplaceGalleryImagesListResult"
}
}
},
@@ -285,7 +285,7 @@
"200": {
"description": "Lists all marketplacegalleryimages under the subscription.",
"schema": {
- "$ref": "#/definitions/marketplacegalleryimagesListResult"
+ "$ref": "#/definitions/MarketplaceGalleryImagesListResult"
}
}
},
@@ -296,7 +296,7 @@
}
},
"definitions": {
- "marketplacegalleryimagesProperties": {
+ "MarketplaceGalleryImagesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -341,10 +341,10 @@
}
},
"identifier": {
- "$ref": "#/definitions/galleryImageIdentifier"
+ "$ref": "#/definitions/GalleryImageIdentifier"
},
"version": {
- "$ref": "#/definitions/galleryImageVersion"
+ "$ref": "#/definitions/GalleryImageVersion"
},
"provisioningState": {
"type": "string",
@@ -428,7 +428,7 @@
},
"description": "MarketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
},
- "galleryImageIdentifier": {
+ "GalleryImageIdentifier": {
"type": "object",
"properties": {
"publisher": {
@@ -451,7 +451,7 @@
],
"description": "This is the gallery image definition identifier."
},
- "galleryImageVersion": {
+ "GalleryImageVersion": {
"type": "object",
"properties": {
"name": {
@@ -460,16 +460,16 @@
},
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/galleryImageVersionProperties"
+ "$ref": "#/definitions/GalleryImageVersionProperties"
}
},
"description": "Specifies information about the gallery image version that you want to create or update."
},
- "galleryImageVersionProperties": {
+ "GalleryImageVersionProperties": {
"type": "object",
"properties": {
"storageProfile": {
- "$ref": "#/definitions/galleryImageVersionStorageProfile"
+ "$ref": "#/definitions/GalleryImageVersionStorageProfile"
}
},
"required": [
@@ -477,24 +477,24 @@
],
"description": "Describes the properties of a gallery image version."
},
- "galleryImageVersionStorageProfile": {
+ "GalleryImageVersionStorageProfile": {
"type": "object",
"properties": {
"osDiskImage": {
- "$ref": "#/definitions/galleryOSDiskImage"
+ "$ref": "#/definitions/GalleryOSDiskImage"
}
},
"description": "This is the storage profile of a Gallery Image Version."
},
- "galleryOSDiskImage": {
+ "GalleryOSDiskImage": {
"allOf": [
{
- "$ref": "#/definitions/galleryDiskImage"
+ "$ref": "#/definitions/GalleryDiskImage"
}
],
"description": "This is the OS disk image."
},
- "galleryDiskImage": {
+ "GalleryDiskImage": {
"type": "object",
"properties": {
"sizeInMB": {
@@ -506,7 +506,7 @@
},
"description": "This is the disk image base class."
},
- "marketplacegalleryimages": {
+ "MarketplaceGalleryImages": {
"type": "object",
"description": "The marketplace gallery image resource definition.",
"x-ms-azure-resource": true,
@@ -514,7 +514,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/marketplacegalleryimagesProperties"
+ "$ref": "#/definitions/MarketplaceGalleryImagesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -530,7 +530,7 @@
}
]
},
- "marketplacegalleryimagesPatch": {
+ "MarketplaceGalleryImagesPatch": {
"type": "object",
"properties": {
"tags": {
@@ -543,7 +543,7 @@
},
"description": "The marketplace gallery image resource patch definition."
},
- "marketplacegalleryimagesListResult": {
+ "MarketplaceGalleryImagesListResult": {
"type": "object",
"description": "List of marketplacegalleryimages.",
"properties": {
@@ -551,7 +551,7 @@
"type": "array",
"description": "The itemed list of marketplacegalleryimages",
"items": {
- "$ref": "#/definitions/marketplacegalleryimages"
+ "$ref": "#/definitions/MarketplaceGalleryImages"
}
},
"nextLink": {
@@ -563,8 +563,8 @@
}
},
"parameters": {
- "marketplacegalleryimagesNameParameter": {
- "name": "marketplacegalleryimagesName",
+ "MarketplaceGalleryImagesNameParameter": {
+ "name": "marketplaceGalleryImagesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
index a4e259ebc9f2..fb1f286ad8e6 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkinterfaces/{networkinterfacesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkinterfaces/{networkInterfacesName}": {
"get": {
"operationId": "networkinterfaces_Retrieve",
"description": "Gets network interfaces by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/networkinterfacesNameParameter"
+ "$ref": "#/parameters/NetworkInterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the network interface resource.",
"schema": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
}
}
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/networkinterfacesNameParameter"
+ "$ref": "#/parameters/NetworkInterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -104,7 +104,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
}
],
@@ -118,13 +118,13 @@
"200": {
"description": "Updates the network interface resource.",
"schema": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
},
"201": {
"description": "Creates the network interface resource.",
"schema": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
}
}
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/networkinterfacesNameParameter"
+ "$ref": "#/parameters/NetworkInterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/networkinterfacesNameParameter"
+ "$ref": "#/parameters/NetworkInterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -190,7 +190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/networkinterfacesPatch"
+ "$ref": "#/definitions/NetworkInterfacesPatch"
}
}
],
@@ -204,13 +204,13 @@
"200": {
"description": "Updates the network interface resource.",
"schema": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
},
"201": {
"description": "Updates the network interface resource.",
"schema": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
}
}
@@ -245,7 +245,7 @@
"200": {
"description": "Lists all network interfaces under the resource group.",
"schema": {
- "$ref": "#/definitions/networkinterfacesListResult"
+ "$ref": "#/definitions/NetworkInterfacesListResult"
}
}
},
@@ -280,7 +280,7 @@
"200": {
"description": "Lists all network interfaces under the subscription.",
"schema": {
- "$ref": "#/definitions/networkinterfacesListResult"
+ "$ref": "#/definitions/NetworkInterfacesListResult"
}
}
},
@@ -303,14 +303,14 @@
}
}
},
- "networkinterfacesProperties": {
+ "NetworkInterfacesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
"ipConfigurations": {
"type": "array",
"items": {
- "$ref": "#/definitions/ipConfiguration"
+ "$ref": "#/definitions/IpConfiguration"
},
"description": "IPConfigurations - A list of IPConfigurations of the network interface.",
"x-ms-identifiers": []
@@ -388,7 +388,7 @@
},
"description": "NetworkInterfaceStatus defines the observed state of network interfaces"
},
- "ipConfiguration": {
+ "IpConfiguration": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -440,7 +440,7 @@
},
"description": "InterfaceIPConfiguration iPConfiguration in a network interface."
},
- "networkinterfaces": {
+ "NetworkInterfaces": {
"type": "object",
"description": "The network interface resource definition.",
"x-ms-azure-resource": true,
@@ -448,7 +448,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/networkinterfacesProperties"
+ "$ref": "#/definitions/NetworkInterfacesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -464,7 +464,7 @@
}
]
},
- "networkinterfacesPatch": {
+ "NetworkinterfacesPatch": {
"type": "object",
"properties": {
"tags": {
@@ -477,13 +477,13 @@
},
"description": "The network interface resource patch definition."
},
- "networkinterfacesListResult": {
+ "NetworkInterfacesListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/networkinterfaces"
+ "$ref": "#/definitions/NetworkInterfaces"
}
},
"nextLink": {
@@ -493,8 +493,8 @@
}
},
"parameters": {
- "networkinterfacesNameParameter": {
- "name": "networkinterfacesName",
+ "NetworkInterfacesNameParameter": {
+ "name": "networkInterfacesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index 76d459b00442..d781b27481ce 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storagecontainersName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storageContainersName}": {
"get": {
"operationId": "storagecontainers_Retrieve",
"description": "Gets storagecontainers by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/storageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the storage container resource.",
"schema": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
}
}
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/StorageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -104,7 +104,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
}
],
@@ -118,13 +118,13 @@
"200": {
"description": "Updates the storage container resource.",
"schema": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
},
"201": {
"description": "Creates the storage container resource.",
"schema": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
}
}
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/StorageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storagecontainersNameParameter"
+ "$ref": "#/parameters/StorageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -190,7 +190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/storagecontainersPatch"
+ "$ref": "#/definitions/StorageContainersPatch"
}
}
],
@@ -204,13 +204,13 @@
"200": {
"description": "Updates the storage container resource.",
"schema": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
},
"201": {
"description": "Updates the storage container resource.",
"schema": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
}
}
@@ -243,9 +243,9 @@
}
},
"200": {
- "description": "Lists all storagecontainers under the resource group.",
+ "description": "Lists all storage containers under the resource group.",
"schema": {
- "$ref": "#/definitions/storagecontainersListResult"
+ "$ref": "#/definitions/StorageContainersListResult"
}
}
},
@@ -278,9 +278,9 @@
}
},
"200": {
- "description": "Lists all storagecontainers under the subscription.",
+ "description": "Lists all storage containers under the subscription.",
"schema": {
- "$ref": "#/definitions/storagecontainersListResult"
+ "$ref": "#/definitions/StorageContainersListResult"
}
}
},
@@ -291,7 +291,7 @@
}
},
"definitions": {
- "storagecontainersProperties": {
+ "StorageContainersProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -319,12 +319,12 @@
"description": "Total size of the disk in MB"
},
"status": {
- "$ref": "#/definitions/storageContainerStatus"
+ "$ref": "#/definitions/StorageContainerStatus"
}
},
"description": "Properties of a storage container resource"
},
- "storageContainerStatus": {
+ "StorageContainerStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -371,16 +371,16 @@
}
}
},
- "description": "storageContainerStatus defines the observed state of storagecontainers"
+ "description": "storageContainerStatus defines the observed state of storage containers"
},
- "storagecontainers": {
+ "StorageContainers": {
"type": "object",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/storagecontainersProperties"
+ "$ref": "#/definitions/StorageContainersProperties"
},
"id": {
"type": "string",
@@ -430,7 +430,7 @@
],
"description": "The storage container resource definition."
},
- "storagecontainersPatch": {
+ "StorageContainersPatch": {
"type": "object",
"properties": {
"tags": {
@@ -443,13 +443,13 @@
},
"description": "The storage container resource patch definition."
},
- "storagecontainersListResult": {
+ "StorageContainersListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/storagecontainers"
+ "$ref": "#/definitions/StorageContainers"
}
},
"nextLink": {
@@ -459,8 +459,8 @@
}
},
"parameters": {
- "storagecontainersNameParameter": {
- "name": "storagecontainersName",
+ "StorageContainersNameParameter": {
+ "name": "storageContainersName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
index 2669902a15fd..2f32d9bd1134 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
@@ -37,10 +37,10 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualharddisks/{virtualharddisksName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualharddisks/{virtualHardDisksName}": {
"get": {
"operationId": "virtualharddisks_Retrieve",
- "description": "Gets virtualharddisks by resource name",
+ "description": "Gets virtual hard disks by resource name",
"x-ms-examples": {
"GetVirtualHardDisk": {
"$ref": "./examples/GetVirtualHardDisk.json"
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualharddisksNameParameter"
+ "$ref": "#/parameters/VirtualHardDisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
}
}
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualharddisksNameParameter"
+ "$ref": "#/parameters/VirtualHardDisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -104,7 +104,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
}
],
@@ -118,13 +118,13 @@
"200": {
"description": "Updates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
},
"201": {
"description": "Creates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
}
}
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualharddisksNameParameter"
+ "$ref": "#/parameters/VirtualHardDisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualharddisksNameParameter"
+ "$ref": "#/parameters/VirtualHardDisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -190,7 +190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/virtualharddisksPatch"
+ "$ref": "#/definitions/VirtualHardDisksPatch"
}
}
],
@@ -204,13 +204,13 @@
"200": {
"description": "Updates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
},
"201": {
"description": "Updates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
}
}
@@ -243,9 +243,9 @@
}
},
"200": {
- "description": "Lists all virtualharddisks under the resource group.",
+ "description": "Lists all virtual hard disks under the resource group.",
"schema": {
- "$ref": "#/definitions/virtualharddisksListResult"
+ "$ref": "#/definitions/VirtualHardDisksListResult"
}
}
},
@@ -278,9 +278,9 @@
}
},
"200": {
- "description": "Lists all virtualharddisks under the subscription.",
+ "description": "Lists all virtual hard disks under the subscription.",
"schema": {
- "$ref": "#/definitions/virtualharddisksListResult"
+ "$ref": "#/definitions/VirtualHardDisksListResult"
}
}
},
@@ -291,7 +291,7 @@
}
},
"definitions": {
- "virtualharddisksProperties": {
+ "VirtualHardDisksProperties": {
"type": "object",
"properties": {
"blockSizeBytes": {
@@ -405,9 +405,9 @@
}
}
},
- "description": "VirtualHardDiskStatus defines the observed state of virtualharddisks"
+ "description": "VirtualHardDiskStatus defines the observed state of virtual hard disks"
},
- "virtualharddisks": {
+ "VirtualHardDisks": {
"type": "object",
"description": "The virtual hard disk resource definition.",
"x-ms-azure-resource": true,
@@ -415,7 +415,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/virtualharddisksProperties"
+ "$ref": "#/definitions/VirtualHardDisksProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -431,7 +431,7 @@
}
]
},
- "virtualharddisksPatch": {
+ "VirtualHardDisksPatch": {
"type": "object",
"properties": {
"tags": {
@@ -444,13 +444,13 @@
},
"description": "The virtual hard disk resource patch definition."
},
- "virtualharddisksListResult": {
+ "VirtualHardDisksListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/virtualharddisks"
+ "$ref": "#/definitions/VirtualHardDisks"
}
},
"nextLink": {
@@ -460,8 +460,8 @@
}
},
"parameters": {
- "virtualharddisksNameParameter": {
- "name": "virtualharddisksName",
+ "VirtualHardDisksNameParameter": {
+ "name": "virtualHardDisksName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index cdc2c64b17ae..cfb6f0ecda3d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}": {
"get": {
"operationId": "virtualmachines_Retrieve",
"description": "Gets virtual machines by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
}
}
@@ -100,7 +100,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -110,7 +110,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
}
],
@@ -124,13 +124,13 @@
"200": {
"description": "Updates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
},
"201": {
"description": "Creates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
}
}
@@ -150,7 +150,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -186,7 +186,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -196,7 +196,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/virtualmachinesPatch"
+ "$ref": "#/definitions/VirtualMachinesPatch"
}
}
],
@@ -210,19 +210,19 @@
"200": {
"description": "Updates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
},
"201": {
"description": "Updates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/start": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}/start": {
"post": {
"operationId": "virtualmachines_Start",
"x-ms-long-running-operation": true,
@@ -242,7 +242,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -264,7 +264,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/stop": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}/stop": {
"post": {
"operationId": "virtualmachines_Stop",
"x-ms-long-running-operation": true,
@@ -284,7 +284,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -306,7 +306,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/restart": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}/restart": {
"post": {
"operationId": "virtualmachines_Restart",
"x-ms-long-running-operation": true,
@@ -326,7 +326,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualmachinesNameParameter"
+ "$ref": "#/parameters/VirtualMachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -375,9 +375,9 @@
}
},
"200": {
- "description": "Lists all virtualmachines under the resource group.",
+ "description": "Lists all virtual machines under the resource group.",
"schema": {
- "$ref": "#/definitions/virtualmachinesListResult"
+ "$ref": "#/definitions/VirtualMachinesListResult"
}
}
},
@@ -410,9 +410,9 @@
}
},
"200": {
- "description": "Lists all virtualmachines under the subscription.",
+ "description": "Lists all virtual machines under the subscription.",
"schema": {
- "$ref": "#/definitions/virtualmachinesListResult"
+ "$ref": "#/definitions/VirtualMachinesListResult"
}
}
},
@@ -1200,7 +1200,7 @@
}
},
"definitions": {
- "virtualmachinesProperties": {
+ "VirtualMachinesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -1527,16 +1527,16 @@
}
}
},
- "description": "VirtualMachineStatus defines the observed state of virtualmachines"
+ "description": "VirtualMachineStatus defines the observed state of virtual machines"
},
- "virtualmachines": {
+ "VirtualMachines": {
"type": "object",
"x-ms-client-flatten": true,
"x-ms-azure-resource": true,
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/virtualmachinesProperties"
+ "$ref": "#/definitions/VirtualMachinesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -1643,26 +1643,26 @@
}
}
},
- "virtualMachineUpdateProperties": {
+ "VirtualMachineUpdateProperties": {
"description": "Defines the resource properties for the update.",
"type": "object",
"properties": {
"hardwareProfile": {
- "$ref": "#/definitions/hardwareProfileUpdate"
+ "$ref": "#/definitions/HardwareProfileUpdate"
},
"storageProfile": {
- "$ref": "#/definitions/storageProfileUpdate"
+ "$ref": "#/definitions/StorageProfileUpdate"
},
"networkProfile": {
- "$ref": "#/definitions/networkProfileUpdate"
+ "$ref": "#/definitions/NetworkProfileUpdate"
}
}
},
- "virtualmachinesPatch": {
+ "VirtualMachinesPatch": {
"type": "object",
"properties": {
"properties": {
- "$ref": "#/definitions/virtualMachineUpdateProperties"
+ "$ref": "#/definitions/VirtualMachineUpdateProperties"
},
"tags": {
"type": "object",
@@ -1674,13 +1674,13 @@
},
"description": "The virtual machine resource patch definition."
},
- "virtualmachinesListResult": {
+ "VirtualMachinesListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/virtualmachines"
+ "$ref": "#/definitions/VirtualMachines"
}
},
"nextLink": {
@@ -2156,8 +2156,8 @@
}
},
"parameters": {
- "virtualmachinesNameParameter": {
- "name": "virtualmachinesName",
+ "VirtualMachinesNameParameter": {
+ "name": "virtualMachinesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
index cd742cd9ef20..9afb7aaa9486 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualnetworks/{virtualnetworksName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualnetworks/{virtualNetworksName}": {
"get": {
"operationId": "virtualnetworks_Retrieve",
"x-ms-examples": {
@@ -69,7 +69,7 @@
"200": {
"description": "Retrieved the virtual network resource.",
"schema": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
}
}
@@ -103,7 +103,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
}
],
@@ -117,13 +117,13 @@
"200": {
"description": "Updates the virtualnetworks resource.",
"schema": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
},
"201": {
"description": "Creates the virtual networks resource.",
"schema": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
}
}
@@ -189,7 +189,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/virtualnetworksPatch"
+ "$ref": "#/definitions/VirtualNetworksPatch"
}
}
],
@@ -203,13 +203,13 @@
"200": {
"description": "Updates the virtual network resource.",
"schema": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
},
"201": {
"description": "Updates the virtual network resource.",
"schema": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
}
}
@@ -244,7 +244,7 @@
"200": {
"description": "Lists all virtual networks under the resource group.",
"schema": {
- "$ref": "#/definitions/virtualnetworksListResult"
+ "$ref": "#/definitions/VirtualNetworksListResult"
}
}
},
@@ -279,7 +279,7 @@
"200": {
"description": "Lists all virtual networks under the subscription.",
"schema": {
- "$ref": "#/definitions/virtualnetworksListResult"
+ "$ref": "#/definitions/VirtualNetworksListResult"
}
}
},
@@ -290,7 +290,7 @@
}
},
"definitions": {
- "virtualnetworksProperties": {
+ "VirtualnetworksProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -549,7 +549,7 @@
}
}
},
- "virtualnetworks": {
+ "VirtualNetworks": {
"type": "object",
"description": "The virtual network resource definition.",
"x-ms-azure-resource": true,
@@ -557,7 +557,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/virtualnetworksProperties"
+ "$ref": "#/definitions/VirtualNetworksProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -573,7 +573,7 @@
}
]
},
- "virtualnetworksPatch": {
+ "VirtualNetworksPatch": {
"type": "object",
"properties": {
"tags": {
@@ -586,13 +586,13 @@
},
"description": "The virtual network resource patch definition."
},
- "virtualnetworksListResult": {
+ "VirtualNetworksListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/virtualnetworks"
+ "$ref": "#/definitions/VirtualNetworks"
}
},
"nextLink": {
@@ -602,8 +602,8 @@
}
},
"parameters": {
- "virtualnetworksNameParameter": {
- "name": "virtualnetworksName",
+ "VirtualNetworksNameParameter": {
+ "name": "virtualNetworksName",
"in": "path",
"required": true,
"type": "string",
From bf435b4eb6026d22a8cb3634e6c37863cf1d2383 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Wed, 9 Nov 2022 13:20:08 -0800
Subject: [PATCH 27/30] Add missed capitalization modifications
---
.../marketplaceGalleryImages.json | 18 +++++++++---------
.../2021-09-01-preview/networkInterfaces.json | 2 +-
.../2021-09-01-preview/storageContainers.json | 2 +-
.../2021-09-01-preview/virtualMachines.json | 2 +-
.../2021-09-01-preview/virtualNetworks.json | 8 ++++----
5 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
index 5e4e6b4a4afd..0d9ab8c731c1 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -37,10 +37,10 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/{marketplacegalleryimagesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/{marketplaceGalleryImagesName}": {
"get": {
"operationId": "marketplacegalleryimages_Get",
- "description": "Gets marketplacegalleryimages by resource name",
+ "description": "Gets marketplace gallery images by resource name",
"x-ms-examples": {
"GetMarketplaceGalleryImage": {
"$ref": "./examples/GetMarketplaceGalleryImage.json"
@@ -222,7 +222,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
"get": {
"operationId": "marketplacegalleryimages_ListByResourceGroup",
- "description": "Lists all marketplacegalleryimages under the resource group",
+ "description": "Lists all marketplace gallery images under the resource group",
"x-ms-examples": {
"ListMarketplaceGalleryImageByResourceGroup": {
"$ref": "./examples/ListMarketplaceGalleryImageByResourceGroup.json"
@@ -247,7 +247,7 @@
}
},
"200": {
- "description": "Lists all marketplacegalleryimages under the resource group.",
+ "description": "Lists all marketplace gallery images under the resource group.",
"schema": {
"$ref": "#/definitions/MarketplaceGalleryImagesListResult"
}
@@ -261,7 +261,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
"get": {
"operationId": "marketplacegalleryimages_ListBySubscription",
- "description": "Lists all marketplacegalleryimages under the subscription",
+ "description": "Lists all marketplace gallery images under the subscription",
"x-ms-examples": {
"ListMarketplaceGalleryImageBySubscription": {
"$ref": "./examples/ListMarketplaceGalleryImageBySubscription.json"
@@ -283,7 +283,7 @@
}
},
"200": {
- "description": "Lists all marketplacegalleryimages under the subscription.",
+ "description": "Lists all marketplace gallery images under the subscription.",
"schema": {
"$ref": "#/definitions/MarketplaceGalleryImagesListResult"
}
@@ -426,7 +426,7 @@
"description": "The progress of the operation in percentage"
}
},
- "description": "MarketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
+ "description": "MarketplaceGalleryImageStatus defines the observed state of marketplace gallery images"
},
"GalleryImageIdentifier": {
"type": "object",
@@ -545,11 +545,11 @@
},
"MarketplaceGalleryImagesListResult": {
"type": "object",
- "description": "List of marketplacegalleryimages.",
+ "description": "List of marketplace gallery images.",
"properties": {
"value": {
"type": "array",
- "description": "The itemed list of marketplacegalleryimages",
+ "description": "The itemed list of marketplace gallery images",
"items": {
"$ref": "#/definitions/MarketplaceGalleryImages"
}
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
index fb1f286ad8e6..12f6e077819d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
@@ -464,7 +464,7 @@
}
]
},
- "NetworkinterfacesPatch": {
+ "NetworkInterfacesPatch": {
"type": "object",
"properties": {
"tags": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index d781b27481ce..e6a06dd62144 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/storageContainersNameParameter"
+ "$ref": "#/parameters/StorageContainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index cfb6f0ecda3d..0daf9ed2d848 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -1556,7 +1556,7 @@
],
"description": "The virtual machine resource definition."
},
- "hardwareProfileUpdate": {
+ "HardwareProfileUpdate": {
"type": "object",
"properties": {
"vmSize": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
index 9afb7aaa9486..f5e9819c1ec3 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -53,7 +53,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualnetworksNameParameter"
+ "$ref": "#/parameters/VirtualNetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -93,7 +93,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualnetworksNameParameter"
+ "$ref": "#/parameters/VirtualNetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -143,7 +143,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualnetworksNameParameter"
+ "$ref": "#/parameters/VirtualNetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -179,7 +179,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/virtualnetworksNameParameter"
+ "$ref": "#/parameters/VirtualNetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
From 13543c6f142775dae8184a5a6a23494e1e46655b Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Wed, 9 Nov 2022 13:28:58 -0800
Subject: [PATCH 28/30] Add missed semantic fix
---
.../preview/2021-09-01-preview/virtualMachines.json | 2 +-
.../preview/2021-09-01-preview/virtualNetworks.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index 0daf9ed2d848..757aeeca0319 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -1623,7 +1623,7 @@
},
"description": "NetworkProfile - describes the network update configuration the virtual machine"
},
- "storageProfileUpdate": {
+ "StorageProfileUpdate": {
"type": "object",
"properties": {
"dataDisks": {
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
index f5e9819c1ec3..8173221c1e5d 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -290,7 +290,7 @@
}
},
"definitions": {
- "VirtualnetworksProperties": {
+ "VirtualNetworksProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
From f19849309e5e6938f8bf05f26ef122bfe7eae807 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Wed, 9 Nov 2022 13:39:26 -0800
Subject: [PATCH 29/30] Add missed semantic fix
---
.../preview/2021-09-01-preview/virtualMachines.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index 757aeeca0319..4e20d0224bb7 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -1604,7 +1604,7 @@
},
"description": "HardwareProfile - Specifies the hardware settings for the virtual machine."
},
- "networkProfileUpdate": {
+ "NetworkProfileUpdate": {
"type": "object",
"properties": {
"networkInterfaces": {
From f4fee3c75180313a31315dab3b3228ff4273acc5 Mon Sep 17 00:00:00 2001
From: Patricia Huang
Date: Fri, 11 Nov 2022 12:12:03 -0800
Subject: [PATCH 30/30] revert property definition capitalization according to
reviewer feedback
---
.../2021-09-01-preview/galleryImages.json | 82 +++++++++---------
.../marketplaceGalleryImages.json | 84 +++++++++----------
.../2021-09-01-preview/networkInterfaces.json | 48 +++++------
.../2021-09-01-preview/storageContainers.json | 54 ++++++------
.../2021-09-01-preview/virtualHardDisks.json | 52 ++++++------
.../2021-09-01-preview/virtualMachines.json | 78 ++++++++---------
.../2021-09-01-preview/virtualNetworks.json | 44 +++++-----
7 files changed, 221 insertions(+), 221 deletions(-)
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
index 8ec07edce1b1..d8e1461cda2c 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/galleryImages.json
@@ -37,10 +37,10 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages/{galleryImagesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages/{galleryimagesName}": {
"get": {
"operationId": "galleryimages_Retrieve",
- "description": "Gets gallery images by resource name",
+ "description": "Gets galleryimages by resource name",
"x-ms-examples": {
"GetGalleryImage": {
"$ref": "./examples/GetGalleryImage.json"
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/GalleryImagesNameParameter"
+ "$ref": "#/parameters/galleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the gallery image resource.",
"schema": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
}
}
@@ -95,7 +95,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/GalleryImagesNameParameter"
+ "$ref": "#/parameters/galleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -105,7 +105,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
}
],
@@ -119,13 +119,13 @@
"200": {
"description": "Updates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
},
"201": {
"description": "Creates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
}
}
@@ -146,7 +146,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/GalleryImagesNameParameter"
+ "$ref": "#/parameters/galleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -183,7 +183,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/GalleryImagesNameParameter"
+ "$ref": "#/parameters/galleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -193,7 +193,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/GalleryImagesPatch"
+ "$ref": "#/definitions/galleryimagesPatch"
}
}
],
@@ -207,13 +207,13 @@
"200": {
"description": "Updates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
},
"201": {
"description": "Updates the gallery image resource.",
"schema": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
}
}
@@ -222,7 +222,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryimages": {
"get": {
"operationId": "galleryimages_ListByResourceGroup",
- "description": "Lists all gallery images under the resource group.",
+ "description": "Lists all galleryimages under the resource group.",
"x-ms-examples": {
"ListGalleryImageByResourceGroup": {
"$ref": "./examples/ListGalleryImageByResourceGroup.json"
@@ -247,9 +247,9 @@
}
},
"200": {
- "description": "Lists all gallery images under the resource group.",
+ "description": "Lists all galleryimages under the resource group.",
"schema": {
- "$ref": "#/definitions/GalleryImagesListResult"
+ "$ref": "#/definitions/galleryimagesListResult"
}
}
},
@@ -261,7 +261,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/galleryimages": {
"get": {
"operationId": "galleryimages_ListBySubscription",
- "description": "List all gallery images under the subscription",
+ "description": "List all galleryimages under the subscription",
"x-ms-examples": {
"ListGalleryImageByResourceGroup": {
"$ref": "./examples/ListGalleryImageBySubscription.json"
@@ -283,9 +283,9 @@
}
},
"200": {
- "description": "Lists all gallery images under the subscription.",
+ "description": "Lists all galleryimages under the subscription.",
"schema": {
- "$ref": "#/definitions/GalleryImagesListResult"
+ "$ref": "#/definitions/galleryimagesListResult"
}
}
},
@@ -296,7 +296,7 @@
}
},
"definitions": {
- "GalleryImagesProperties": {
+ "galleryimagesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -346,10 +346,10 @@
}
},
"identifier": {
- "$ref": "#/definitions/GalleryImageIdentifier"
+ "$ref": "#/definitions/galleryImageIdentifier"
},
"version": {
- "$ref": "#/definitions/GalleryImageVersion"
+ "$ref": "#/definitions/galleryImageVersion"
},
"provisioningState": {
"type": "string",
@@ -430,9 +430,9 @@
"description": "The progress of the operation in percentage"
}
},
- "description": "GalleryImageStatus defines the observed state of gallery images"
+ "description": "GalleryImageStatus defines the observed state of galleryimages"
},
- "GalleryImageIdentifier": {
+ "galleryImageIdentifier": {
"type": "object",
"properties": {
"publisher": {
@@ -455,7 +455,7 @@
],
"description": "This is the gallery image definition identifier."
},
- "GalleryImageVersion": {
+ "galleryImageVersion": {
"type": "object",
"properties": {
"name": {
@@ -464,16 +464,16 @@
},
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImageVersionProperties"
+ "$ref": "#/definitions/galleryImageVersionProperties"
}
},
"description": "Specifies information about the gallery image version that you want to create or update."
},
- "GalleryImageVersionProperties": {
+ "galleryImageVersionProperties": {
"type": "object",
"properties": {
"storageProfile": {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
+ "$ref": "#/definitions/galleryImageVersionStorageProfile"
}
},
"required": [
@@ -481,24 +481,24 @@
],
"description": "Describes the properties of a gallery image version."
},
- "GalleryImageVersionStorageProfile": {
+ "galleryImageVersionStorageProfile": {
"type": "object",
"properties": {
"osDiskImage": {
- "$ref": "#/definitions/GalleryOSDiskImage"
+ "$ref": "#/definitions/galleryOSDiskImage"
}
},
"description": "This is the storage profile of a Gallery Image Version."
},
- "GalleryOSDiskImage": {
+ "galleryOSDiskImage": {
"allOf": [
{
- "$ref": "#/definitions/GalleryDiskImage"
+ "$ref": "#/definitions/galleryDiskImage"
}
],
"description": "This is the OS disk image."
},
- "GalleryDiskImage": {
+ "galleryDiskImage": {
"type": "object",
"properties": {
"sizeInMB": {
@@ -510,7 +510,7 @@
},
"description": "This is the disk image base class."
},
- "GalleryImages": {
+ "galleryimages": {
"type": "object",
"description": "The gallery image resource definition.",
"x-ms-azure-resource": true,
@@ -518,7 +518,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImagesProperties"
+ "$ref": "#/definitions/galleryimagesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -534,7 +534,7 @@
}
]
},
- "GalleryImagesPatch": {
+ "galleryimagesPatch": {
"type": "object",
"properties": {
"tags": {
@@ -547,14 +547,14 @@
},
"description": "The gallery image resource patch definition."
},
- "GalleryImagesListResult": {
+ "galleryimagesListResult": {
"type": "object",
- "description": "List of gallery images.",
+ "description": "List of galleryimages.",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/GalleryImages"
+ "$ref": "#/definitions/galleryimages"
}
},
"nextLink": {
@@ -566,8 +566,8 @@
}
},
"parameters": {
- "GalleryImagesNameParameter": {
- "name": "galleryImagesName",
+ "galleryimagesNameParameter": {
+ "name": "galleryimagesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
index 0d9ab8c731c1..d08e2b8fd75e 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/marketplaceGalleryImages.json
@@ -37,10 +37,10 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/{marketplaceGalleryImagesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages/{marketplacegalleryimagesName}": {
"get": {
"operationId": "marketplacegalleryimages_Get",
- "description": "Gets marketplace gallery images by resource name",
+ "description": "Gets marketplacegalleryimages by resource name",
"x-ms-examples": {
"GetMarketplaceGalleryImage": {
"$ref": "./examples/GetMarketplaceGalleryImage.json"
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
}
}
@@ -95,7 +95,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -105,7 +105,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
}
],
@@ -119,13 +119,13 @@
"200": {
"description": "Updates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
},
"201": {
"description": "Creates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
}
}
@@ -146,7 +146,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -183,7 +183,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/MarketplaceGalleryImagesNameParameter"
+ "$ref": "#/parameters/marketplacegalleryimagesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -193,7 +193,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImagesPatch"
+ "$ref": "#/definitions/marketplacegalleryimagesPatch"
}
}
],
@@ -207,13 +207,13 @@
"200": {
"description": "Updates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
},
"201": {
"description": "Updates the marketplace gallery image resource.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
}
}
@@ -222,7 +222,7 @@
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
"get": {
"operationId": "marketplacegalleryimages_ListByResourceGroup",
- "description": "Lists all marketplace gallery images under the resource group",
+ "description": "Lists all marketplacegalleryimages under the resource group",
"x-ms-examples": {
"ListMarketplaceGalleryImageByResourceGroup": {
"$ref": "./examples/ListMarketplaceGalleryImageByResourceGroup.json"
@@ -247,9 +247,9 @@
}
},
"200": {
- "description": "Lists all marketplace gallery images under the resource group.",
+ "description": "Lists all marketplacegalleryimages under the resource group.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImagesListResult"
+ "$ref": "#/definitions/marketplacegalleryimagesListResult"
}
}
},
@@ -261,7 +261,7 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/marketplacegalleryimages": {
"get": {
"operationId": "marketplacegalleryimages_ListBySubscription",
- "description": "Lists all marketplace gallery images under the subscription",
+ "description": "Lists all marketplacegalleryimages under the subscription",
"x-ms-examples": {
"ListMarketplaceGalleryImageBySubscription": {
"$ref": "./examples/ListMarketplaceGalleryImageBySubscription.json"
@@ -283,9 +283,9 @@
}
},
"200": {
- "description": "Lists all marketplace gallery images under the subscription.",
+ "description": "Lists all marketplacegalleryimages under the subscription.",
"schema": {
- "$ref": "#/definitions/MarketplaceGalleryImagesListResult"
+ "$ref": "#/definitions/marketplacegalleryimagesListResult"
}
}
},
@@ -296,7 +296,7 @@
}
},
"definitions": {
- "MarketplaceGalleryImagesProperties": {
+ "marketplacegalleryimagesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -341,10 +341,10 @@
}
},
"identifier": {
- "$ref": "#/definitions/GalleryImageIdentifier"
+ "$ref": "#/definitions/galleryImageIdentifier"
},
"version": {
- "$ref": "#/definitions/GalleryImageVersion"
+ "$ref": "#/definitions/galleryImageVersion"
},
"provisioningState": {
"type": "string",
@@ -426,9 +426,9 @@
"description": "The progress of the operation in percentage"
}
},
- "description": "MarketplaceGalleryImageStatus defines the observed state of marketplace gallery images"
+ "description": "MarketplaceGalleryImageStatus defines the observed state of marketplacegalleryimages"
},
- "GalleryImageIdentifier": {
+ "galleryImageIdentifier": {
"type": "object",
"properties": {
"publisher": {
@@ -451,7 +451,7 @@
],
"description": "This is the gallery image definition identifier."
},
- "GalleryImageVersion": {
+ "galleryImageVersion": {
"type": "object",
"properties": {
"name": {
@@ -460,16 +460,16 @@
},
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GalleryImageVersionProperties"
+ "$ref": "#/definitions/galleryImageVersionProperties"
}
},
"description": "Specifies information about the gallery image version that you want to create or update."
},
- "GalleryImageVersionProperties": {
+ "galleryImageVersionProperties": {
"type": "object",
"properties": {
"storageProfile": {
- "$ref": "#/definitions/GalleryImageVersionStorageProfile"
+ "$ref": "#/definitions/galleryImageVersionStorageProfile"
}
},
"required": [
@@ -477,24 +477,24 @@
],
"description": "Describes the properties of a gallery image version."
},
- "GalleryImageVersionStorageProfile": {
+ "galleryImageVersionStorageProfile": {
"type": "object",
"properties": {
"osDiskImage": {
- "$ref": "#/definitions/GalleryOSDiskImage"
+ "$ref": "#/definitions/galleryOSDiskImage"
}
},
"description": "This is the storage profile of a Gallery Image Version."
},
- "GalleryOSDiskImage": {
+ "galleryOSDiskImage": {
"allOf": [
{
- "$ref": "#/definitions/GalleryDiskImage"
+ "$ref": "#/definitions/galleryDiskImage"
}
],
"description": "This is the OS disk image."
},
- "GalleryDiskImage": {
+ "galleryDiskImage": {
"type": "object",
"properties": {
"sizeInMB": {
@@ -506,7 +506,7 @@
},
"description": "This is the disk image base class."
},
- "MarketplaceGalleryImages": {
+ "marketplacegalleryimages": {
"type": "object",
"description": "The marketplace gallery image resource definition.",
"x-ms-azure-resource": true,
@@ -514,7 +514,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/MarketplaceGalleryImagesProperties"
+ "$ref": "#/definitions/marketplacegalleryimagesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -530,7 +530,7 @@
}
]
},
- "MarketplaceGalleryImagesPatch": {
+ "marketplacegalleryimagesPatch": {
"type": "object",
"properties": {
"tags": {
@@ -543,15 +543,15 @@
},
"description": "The marketplace gallery image resource patch definition."
},
- "MarketplaceGalleryImagesListResult": {
+ "marketplacegalleryimagesListResult": {
"type": "object",
- "description": "List of marketplace gallery images.",
+ "description": "List of marketplacegalleryimages.",
"properties": {
"value": {
"type": "array",
- "description": "The itemed list of marketplace gallery images",
+ "description": "The itemed list of marketplacegalleryimages",
"items": {
- "$ref": "#/definitions/MarketplaceGalleryImages"
+ "$ref": "#/definitions/marketplacegalleryimages"
}
},
"nextLink": {
@@ -563,8 +563,8 @@
}
},
"parameters": {
- "MarketplaceGalleryImagesNameParameter": {
- "name": "marketplaceGalleryImagesName",
+ "marketplacegalleryimagesNameParameter": {
+ "name": "marketplacegalleryimagesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
index 12f6e077819d..a4e259ebc9f2 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/networkInterfaces.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkinterfaces/{networkInterfacesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkinterfaces/{networkinterfacesName}": {
"get": {
"operationId": "networkinterfaces_Retrieve",
"description": "Gets network interfaces by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkInterfacesNameParameter"
+ "$ref": "#/parameters/networkinterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the network interface resource.",
"schema": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
}
}
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkInterfacesNameParameter"
+ "$ref": "#/parameters/networkinterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -104,7 +104,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
}
],
@@ -118,13 +118,13 @@
"200": {
"description": "Updates the network interface resource.",
"schema": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
},
"201": {
"description": "Creates the network interface resource.",
"schema": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
}
}
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkInterfacesNameParameter"
+ "$ref": "#/parameters/networkinterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/NetworkInterfacesNameParameter"
+ "$ref": "#/parameters/networkinterfacesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -190,7 +190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/NetworkInterfacesPatch"
+ "$ref": "#/definitions/networkinterfacesPatch"
}
}
],
@@ -204,13 +204,13 @@
"200": {
"description": "Updates the network interface resource.",
"schema": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
},
"201": {
"description": "Updates the network interface resource.",
"schema": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
}
}
@@ -245,7 +245,7 @@
"200": {
"description": "Lists all network interfaces under the resource group.",
"schema": {
- "$ref": "#/definitions/NetworkInterfacesListResult"
+ "$ref": "#/definitions/networkinterfacesListResult"
}
}
},
@@ -280,7 +280,7 @@
"200": {
"description": "Lists all network interfaces under the subscription.",
"schema": {
- "$ref": "#/definitions/NetworkInterfacesListResult"
+ "$ref": "#/definitions/networkinterfacesListResult"
}
}
},
@@ -303,14 +303,14 @@
}
}
},
- "NetworkInterfacesProperties": {
+ "networkinterfacesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
"ipConfigurations": {
"type": "array",
"items": {
- "$ref": "#/definitions/IpConfiguration"
+ "$ref": "#/definitions/ipConfiguration"
},
"description": "IPConfigurations - A list of IPConfigurations of the network interface.",
"x-ms-identifiers": []
@@ -388,7 +388,7 @@
},
"description": "NetworkInterfaceStatus defines the observed state of network interfaces"
},
- "IpConfiguration": {
+ "ipConfiguration": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -440,7 +440,7 @@
},
"description": "InterfaceIPConfiguration iPConfiguration in a network interface."
},
- "NetworkInterfaces": {
+ "networkinterfaces": {
"type": "object",
"description": "The network interface resource definition.",
"x-ms-azure-resource": true,
@@ -448,7 +448,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/NetworkInterfacesProperties"
+ "$ref": "#/definitions/networkinterfacesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -464,7 +464,7 @@
}
]
},
- "NetworkInterfacesPatch": {
+ "networkinterfacesPatch": {
"type": "object",
"properties": {
"tags": {
@@ -477,13 +477,13 @@
},
"description": "The network interface resource patch definition."
},
- "NetworkInterfacesListResult": {
+ "networkinterfacesListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/NetworkInterfaces"
+ "$ref": "#/definitions/networkinterfaces"
}
},
"nextLink": {
@@ -493,8 +493,8 @@
}
},
"parameters": {
- "NetworkInterfacesNameParameter": {
- "name": "networkInterfacesName",
+ "networkinterfacesNameParameter": {
+ "name": "networkinterfacesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
index e6a06dd62144..76d459b00442 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/storageContainers.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storageContainersName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storagecontainers/{storagecontainersName}": {
"get": {
"operationId": "storagecontainers_Retrieve",
"description": "Gets storagecontainers by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/StorageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the storage container resource.",
"schema": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
}
}
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/StorageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -104,7 +104,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
}
],
@@ -118,13 +118,13 @@
"200": {
"description": "Updates the storage container resource.",
"schema": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
},
"201": {
"description": "Creates the storage container resource.",
"schema": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
}
}
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/StorageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/StorageContainersNameParameter"
+ "$ref": "#/parameters/storagecontainersNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -190,7 +190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/StorageContainersPatch"
+ "$ref": "#/definitions/storagecontainersPatch"
}
}
],
@@ -204,13 +204,13 @@
"200": {
"description": "Updates the storage container resource.",
"schema": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
},
"201": {
"description": "Updates the storage container resource.",
"schema": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
}
}
@@ -243,9 +243,9 @@
}
},
"200": {
- "description": "Lists all storage containers under the resource group.",
+ "description": "Lists all storagecontainers under the resource group.",
"schema": {
- "$ref": "#/definitions/StorageContainersListResult"
+ "$ref": "#/definitions/storagecontainersListResult"
}
}
},
@@ -278,9 +278,9 @@
}
},
"200": {
- "description": "Lists all storage containers under the subscription.",
+ "description": "Lists all storagecontainers under the subscription.",
"schema": {
- "$ref": "#/definitions/StorageContainersListResult"
+ "$ref": "#/definitions/storagecontainersListResult"
}
}
},
@@ -291,7 +291,7 @@
}
},
"definitions": {
- "StorageContainersProperties": {
+ "storagecontainersProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -319,12 +319,12 @@
"description": "Total size of the disk in MB"
},
"status": {
- "$ref": "#/definitions/StorageContainerStatus"
+ "$ref": "#/definitions/storageContainerStatus"
}
},
"description": "Properties of a storage container resource"
},
- "StorageContainerStatus": {
+ "storageContainerStatus": {
"type": "object",
"x-ms-client-flatten": true,
"readOnly": true,
@@ -371,16 +371,16 @@
}
}
},
- "description": "storageContainerStatus defines the observed state of storage containers"
+ "description": "storageContainerStatus defines the observed state of storagecontainers"
},
- "StorageContainers": {
+ "storagecontainers": {
"type": "object",
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/StorageContainersProperties"
+ "$ref": "#/definitions/storagecontainersProperties"
},
"id": {
"type": "string",
@@ -430,7 +430,7 @@
],
"description": "The storage container resource definition."
},
- "StorageContainersPatch": {
+ "storagecontainersPatch": {
"type": "object",
"properties": {
"tags": {
@@ -443,13 +443,13 @@
},
"description": "The storage container resource patch definition."
},
- "StorageContainersListResult": {
+ "storagecontainersListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/StorageContainers"
+ "$ref": "#/definitions/storagecontainers"
}
},
"nextLink": {
@@ -459,8 +459,8 @@
}
},
"parameters": {
- "StorageContainersNameParameter": {
- "name": "storageContainersName",
+ "storagecontainersNameParameter": {
+ "name": "storagecontainersName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
index 2f32d9bd1134..2669902a15fd 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualHardDisks.json
@@ -37,10 +37,10 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualharddisks/{virtualHardDisksName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualharddisks/{virtualharddisksName}": {
"get": {
"operationId": "virtualharddisks_Retrieve",
- "description": "Gets virtual hard disks by resource name",
+ "description": "Gets virtualharddisks by resource name",
"x-ms-examples": {
"GetVirtualHardDisk": {
"$ref": "./examples/GetVirtualHardDisk.json"
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualHardDisksNameParameter"
+ "$ref": "#/parameters/virtualharddisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
}
}
@@ -94,7 +94,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualHardDisksNameParameter"
+ "$ref": "#/parameters/virtualharddisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -104,7 +104,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
}
],
@@ -118,13 +118,13 @@
"200": {
"description": "Updates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
},
"201": {
"description": "Creates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
}
}
@@ -144,7 +144,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualHardDisksNameParameter"
+ "$ref": "#/parameters/virtualharddisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -180,7 +180,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualHardDisksNameParameter"
+ "$ref": "#/parameters/virtualharddisksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -190,7 +190,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualHardDisksPatch"
+ "$ref": "#/definitions/virtualharddisksPatch"
}
}
],
@@ -204,13 +204,13 @@
"200": {
"description": "Updates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
},
"201": {
"description": "Updates the virtual hard disk resource.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
}
}
@@ -243,9 +243,9 @@
}
},
"200": {
- "description": "Lists all virtual hard disks under the resource group.",
+ "description": "Lists all virtualharddisks under the resource group.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisksListResult"
+ "$ref": "#/definitions/virtualharddisksListResult"
}
}
},
@@ -278,9 +278,9 @@
}
},
"200": {
- "description": "Lists all virtual hard disks under the subscription.",
+ "description": "Lists all virtualharddisks under the subscription.",
"schema": {
- "$ref": "#/definitions/VirtualHardDisksListResult"
+ "$ref": "#/definitions/virtualharddisksListResult"
}
}
},
@@ -291,7 +291,7 @@
}
},
"definitions": {
- "VirtualHardDisksProperties": {
+ "virtualharddisksProperties": {
"type": "object",
"properties": {
"blockSizeBytes": {
@@ -405,9 +405,9 @@
}
}
},
- "description": "VirtualHardDiskStatus defines the observed state of virtual hard disks"
+ "description": "VirtualHardDiskStatus defines the observed state of virtualharddisks"
},
- "VirtualHardDisks": {
+ "virtualharddisks": {
"type": "object",
"description": "The virtual hard disk resource definition.",
"x-ms-azure-resource": true,
@@ -415,7 +415,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/VirtualHardDisksProperties"
+ "$ref": "#/definitions/virtualharddisksProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -431,7 +431,7 @@
}
]
},
- "VirtualHardDisksPatch": {
+ "virtualharddisksPatch": {
"type": "object",
"properties": {
"tags": {
@@ -444,13 +444,13 @@
},
"description": "The virtual hard disk resource patch definition."
},
- "VirtualHardDisksListResult": {
+ "virtualharddisksListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/VirtualHardDisks"
+ "$ref": "#/definitions/virtualharddisks"
}
},
"nextLink": {
@@ -460,8 +460,8 @@
}
},
"parameters": {
- "VirtualHardDisksNameParameter": {
- "name": "virtualHardDisksName",
+ "virtualharddisksNameParameter": {
+ "name": "virtualharddisksName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
index 4e20d0224bb7..cdc2c64b17ae 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualMachines.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}": {
"get": {
"operationId": "virtualmachines_Retrieve",
"description": "Gets virtual machines by resource name",
@@ -54,7 +54,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -70,7 +70,7 @@
"200": {
"description": "Retrieved the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
}
}
@@ -100,7 +100,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -110,7 +110,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
}
],
@@ -124,13 +124,13 @@
"200": {
"description": "Updates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
},
"201": {
"description": "Creates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
}
}
@@ -150,7 +150,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -186,7 +186,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -196,7 +196,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualMachinesPatch"
+ "$ref": "#/definitions/virtualmachinesPatch"
}
}
],
@@ -210,19 +210,19 @@
"200": {
"description": "Updates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
},
"201": {
"description": "Updates the virtual machine resource.",
"schema": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}/start": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/start": {
"post": {
"operationId": "virtualmachines_Start",
"x-ms-long-running-operation": true,
@@ -242,7 +242,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -264,7 +264,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}/stop": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/stop": {
"post": {
"operationId": "virtualmachines_Stop",
"x-ms-long-running-operation": true,
@@ -284,7 +284,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -306,7 +306,7 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualMachinesName}/restart": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualmachines/{virtualmachinesName}/restart": {
"post": {
"operationId": "virtualmachines_Restart",
"x-ms-long-running-operation": true,
@@ -326,7 +326,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualMachinesNameParameter"
+ "$ref": "#/parameters/virtualmachinesNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -375,9 +375,9 @@
}
},
"200": {
- "description": "Lists all virtual machines under the resource group.",
+ "description": "Lists all virtualmachines under the resource group.",
"schema": {
- "$ref": "#/definitions/VirtualMachinesListResult"
+ "$ref": "#/definitions/virtualmachinesListResult"
}
}
},
@@ -410,9 +410,9 @@
}
},
"200": {
- "description": "Lists all virtual machines under the subscription.",
+ "description": "Lists all virtualmachines under the subscription.",
"schema": {
- "$ref": "#/definitions/VirtualMachinesListResult"
+ "$ref": "#/definitions/virtualmachinesListResult"
}
}
},
@@ -1200,7 +1200,7 @@
}
},
"definitions": {
- "VirtualMachinesProperties": {
+ "virtualmachinesProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -1527,16 +1527,16 @@
}
}
},
- "description": "VirtualMachineStatus defines the observed state of virtual machines"
+ "description": "VirtualMachineStatus defines the observed state of virtualmachines"
},
- "VirtualMachines": {
+ "virtualmachines": {
"type": "object",
"x-ms-client-flatten": true,
"x-ms-azure-resource": true,
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/VirtualMachinesProperties"
+ "$ref": "#/definitions/virtualmachinesProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -1556,7 +1556,7 @@
],
"description": "The virtual machine resource definition."
},
- "HardwareProfileUpdate": {
+ "hardwareProfileUpdate": {
"type": "object",
"properties": {
"vmSize": {
@@ -1604,7 +1604,7 @@
},
"description": "HardwareProfile - Specifies the hardware settings for the virtual machine."
},
- "NetworkProfileUpdate": {
+ "networkProfileUpdate": {
"type": "object",
"properties": {
"networkInterfaces": {
@@ -1623,7 +1623,7 @@
},
"description": "NetworkProfile - describes the network update configuration the virtual machine"
},
- "StorageProfileUpdate": {
+ "storageProfileUpdate": {
"type": "object",
"properties": {
"dataDisks": {
@@ -1643,26 +1643,26 @@
}
}
},
- "VirtualMachineUpdateProperties": {
+ "virtualMachineUpdateProperties": {
"description": "Defines the resource properties for the update.",
"type": "object",
"properties": {
"hardwareProfile": {
- "$ref": "#/definitions/HardwareProfileUpdate"
+ "$ref": "#/definitions/hardwareProfileUpdate"
},
"storageProfile": {
- "$ref": "#/definitions/StorageProfileUpdate"
+ "$ref": "#/definitions/storageProfileUpdate"
},
"networkProfile": {
- "$ref": "#/definitions/NetworkProfileUpdate"
+ "$ref": "#/definitions/networkProfileUpdate"
}
}
},
- "VirtualMachinesPatch": {
+ "virtualmachinesPatch": {
"type": "object",
"properties": {
"properties": {
- "$ref": "#/definitions/VirtualMachineUpdateProperties"
+ "$ref": "#/definitions/virtualMachineUpdateProperties"
},
"tags": {
"type": "object",
@@ -1674,13 +1674,13 @@
},
"description": "The virtual machine resource patch definition."
},
- "VirtualMachinesListResult": {
+ "virtualmachinesListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/VirtualMachines"
+ "$ref": "#/definitions/virtualmachines"
}
},
"nextLink": {
@@ -2156,8 +2156,8 @@
}
},
"parameters": {
- "VirtualMachinesNameParameter": {
- "name": "virtualMachinesName",
+ "virtualmachinesNameParameter": {
+ "name": "virtualmachinesName",
"in": "path",
"required": true,
"type": "string",
diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
index 8173221c1e5d..cd742cd9ef20 100644
--- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
+++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/preview/2021-09-01-preview/virtualNetworks.json
@@ -37,7 +37,7 @@
}
},
"paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualnetworks/{virtualNetworksName}": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualnetworks/{virtualnetworksName}": {
"get": {
"operationId": "virtualnetworks_Retrieve",
"x-ms-examples": {
@@ -53,7 +53,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualNetworksNameParameter"
+ "$ref": "#/parameters/virtualnetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -69,7 +69,7 @@
"200": {
"description": "Retrieved the virtual network resource.",
"schema": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
}
}
@@ -93,7 +93,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualNetworksNameParameter"
+ "$ref": "#/parameters/virtualnetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -103,7 +103,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
}
],
@@ -117,13 +117,13 @@
"200": {
"description": "Updates the virtualnetworks resource.",
"schema": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
},
"201": {
"description": "Creates the virtual networks resource.",
"schema": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
}
}
@@ -143,7 +143,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualNetworksNameParameter"
+ "$ref": "#/parameters/virtualnetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -179,7 +179,7 @@
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
- "$ref": "#/parameters/VirtualNetworksNameParameter"
+ "$ref": "#/parameters/virtualnetworksNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
@@ -189,7 +189,7 @@
"in": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/VirtualNetworksPatch"
+ "$ref": "#/definitions/virtualnetworksPatch"
}
}
],
@@ -203,13 +203,13 @@
"200": {
"description": "Updates the virtual network resource.",
"schema": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
},
"201": {
"description": "Updates the virtual network resource.",
"schema": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
}
}
@@ -244,7 +244,7 @@
"200": {
"description": "Lists all virtual networks under the resource group.",
"schema": {
- "$ref": "#/definitions/VirtualNetworksListResult"
+ "$ref": "#/definitions/virtualnetworksListResult"
}
}
},
@@ -279,7 +279,7 @@
"200": {
"description": "Lists all virtual networks under the subscription.",
"schema": {
- "$ref": "#/definitions/VirtualNetworksListResult"
+ "$ref": "#/definitions/virtualnetworksListResult"
}
}
},
@@ -290,7 +290,7 @@
}
},
"definitions": {
- "VirtualNetworksProperties": {
+ "virtualnetworksProperties": {
"type": "object",
"x-ms-client-flatten": true,
"properties": {
@@ -549,7 +549,7 @@
}
}
},
- "VirtualNetworks": {
+ "virtualnetworks": {
"type": "object",
"description": "The virtual network resource definition.",
"x-ms-azure-resource": true,
@@ -557,7 +557,7 @@
"properties": {
"properties": {
"x-ms-client-flatten": true,
- "$ref": "#/definitions/VirtualNetworksProperties"
+ "$ref": "#/definitions/virtualnetworksProperties"
},
"extendedLocation": {
"$ref": "./common.json#/definitions/ExtendedLocation",
@@ -573,7 +573,7 @@
}
]
},
- "VirtualNetworksPatch": {
+ "virtualnetworksPatch": {
"type": "object",
"properties": {
"tags": {
@@ -586,13 +586,13 @@
},
"description": "The virtual network resource patch definition."
},
- "VirtualNetworksListResult": {
+ "virtualnetworksListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
- "$ref": "#/definitions/VirtualNetworks"
+ "$ref": "#/definitions/virtualnetworks"
}
},
"nextLink": {
@@ -602,8 +602,8 @@
}
},
"parameters": {
- "VirtualNetworksNameParameter": {
- "name": "virtualNetworksName",
+ "virtualnetworksNameParameter": {
+ "name": "virtualnetworksName",
"in": "path",
"required": true,
"type": "string",