From ce746bbada46c9dd6f609d7bfb23a24362cf1f76 Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Fri, 13 Sep 2024 13:20:56 +0800 Subject: [PATCH] add multi service --- .../ApplicationInsights.LiveMetrics/main.tsp | 2 +- .../sdk-suppressions.yaml | 7 + .../2024-04-01-preview/livemetrics.json | 2 +- .../azurefleet/AzureFleet.Management/main.tsp | 2 +- .../sdk-suppressions.yaml | 132 ++ .../2023-11-01-preview/azurefleet.json | 63 +- .../2024-05-01-preview/azurefleet.json | 45 +- .../main.tsp | 2 +- .../sdk-suppressions.yaml | 132 ++ .../2024-02-01-preview/stackhcivm.json | 2 +- .../2024-05-01-preview/stackhcivm.json | 2 +- .../sdk-suppressions.yaml | 7 + .../StandbyPool.Management/service.tsp | 2 +- .../2023-12-01-preview/standbypool.json | 1265 +------------ .../2024-03-01-preview/standbypool.json | 1677 +---------------- .../stable/2024-03-01/standbypool.json | 1677 +---------------- 16 files changed, 293 insertions(+), 4726 deletions(-) create mode 100644 specification/applicationinsights/ApplicationInsights.LiveMetrics/sdk-suppressions.yaml create mode 100644 specification/azurefleet/AzureFleet.Management/sdk-suppressions.yaml create mode 100644 specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/sdk-suppressions.yaml create mode 100644 specification/standbypool/StandbyPool.Management/sdk-suppressions.yaml diff --git a/specification/applicationinsights/ApplicationInsights.LiveMetrics/main.tsp b/specification/applicationinsights/ApplicationInsights.LiveMetrics/main.tsp index 441cc03ff6f5..93e282c8142b 100644 --- a/specification/applicationinsights/ApplicationInsights.LiveMetrics/main.tsp +++ b/specification/applicationinsights/ApplicationInsights.LiveMetrics/main.tsp @@ -22,7 +22,7 @@ using Azure.Core.Traits; ]> ) @service({ - title: "Live Metrics REST APIs for client SDKs.", + title: "Live Metrics REST APIs for client SDKs. test", }) @server( "{endpoint}", diff --git a/specification/applicationinsights/ApplicationInsights.LiveMetrics/sdk-suppressions.yaml b/specification/applicationinsights/ApplicationInsights.LiveMetrics/sdk-suppressions.yaml new file mode 100644 index 000000000000..13c7c14f6f81 --- /dev/null +++ b/specification/applicationinsights/ApplicationInsights.LiveMetrics/sdk-suppressions.yaml @@ -0,0 +1,7 @@ +suppressions: + azure-sdk-for-go: + - package: sdk/resourcemanager/azurearcdata/armazurearcdata + breaking-changes: + - Operation `*SQLServerInstancesClient.Update` has been changed to LRO, use `*SQLServerInstancesClient.BeginUpdate` instead. + - Struct `ErrorResponseBody` has been removed + - Type of `ErrorResponse.Error` has been changed from `*ErrorResponseBody` to `*ErrorDetail` \ No newline at end of file diff --git a/specification/applicationinsights/data-plane/LiveMetrics/preview/2024-04-01-preview/livemetrics.json b/specification/applicationinsights/data-plane/LiveMetrics/preview/2024-04-01-preview/livemetrics.json index 5f645cbce25e..9176606e7af0 100644 --- a/specification/applicationinsights/data-plane/LiveMetrics/preview/2024-04-01-preview/livemetrics.json +++ b/specification/applicationinsights/data-plane/LiveMetrics/preview/2024-04-01-preview/livemetrics.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Live Metrics REST APIs for client SDKs.", + "title": "Live Metrics REST APIs for client SDKs. test", "version": "2024-04-01-preview", "description": "Live Metrics REST APIs.", "x-typespec-generated": [ diff --git a/specification/azurefleet/AzureFleet.Management/main.tsp b/specification/azurefleet/AzureFleet.Management/main.tsp index a29951f7985a..55e471d6539c 100644 --- a/specification/azurefleet/AzureFleet.Management/main.tsp +++ b/specification/azurefleet/AzureFleet.Management/main.tsp @@ -15,7 +15,7 @@ using Azure.ResourceManager; @armProviderNamespace("Microsoft.AzureFleet") @service({ - title: "Microsoft.AzureFleet", + title: "Microsoft.AzureFleet test", }) @versioned(Versions) namespace Microsoft.AzureFleet; diff --git a/specification/azurefleet/AzureFleet.Management/sdk-suppressions.yaml b/specification/azurefleet/AzureFleet.Management/sdk-suppressions.yaml new file mode 100644 index 000000000000..10fb5145acbc --- /dev/null +++ b/specification/azurefleet/AzureFleet.Management/sdk-suppressions.yaml @@ -0,0 +1,132 @@ +suppressions: + azure-sdk-for-go: + - package: 'sdk/resourcemanager/azurestackhci/armazurestackhci' + breaking-changes: + - Function `*ExtensionsClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, string, string, Extension, *ExtensionsClientBeginUpdateOptions)` to `(context.Context, string, string, string, string, ExtensionPatch, *ExtensionsClientBeginUpdateOptions)` + + azure-sdk-for-python: + - package: 'azure-mgmt-azurestackhci' + breaking-changes: + - Model ArcSetting no longer has parameter created_at + - Model ArcSetting no longer has parameter created_by + - Model ArcSetting no longer has parameter created_by_type + - Model ArcSetting no longer has parameter last_modified_at + - Model ArcSetting no longer has parameter last_modified_by + - Model ArcSetting no longer has parameter last_modified_by_type + - Model Cluster no longer has parameter created_at + - Model Cluster no longer has parameter created_by + - Model Cluster no longer has parameter created_by_type + - Model Cluster no longer has parameter last_modified_at + - Model Cluster no longer has parameter last_modified_by + - Model Cluster no longer has parameter last_modified_by_type + - Model Extension no longer has parameter created_at + - Model Extension no longer has parameter created_by + - Model Extension no longer has parameter created_by_type + - Model Extension no longer has parameter last_modified_at + - Model Extension no longer has parameter last_modified_by + - Model Extension no longer has parameter last_modified_by_type + - The 'ArcConnectivityProperties' method 'validate' was deleted or renamed in the current version + - The 'ArcIdentityResponse' method 'validate' was deleted or renamed in the current version + - The 'ArcSetting' method 'validate' was deleted or renamed in the current version + - The 'ArcSettingList' method 'validate' was deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsPatch' method 'validate' was deleted or renamed in the current version + - The 'Cluster' method 'validate' was deleted or renamed in the current version + - The 'ClusterDesiredProperties' method 'validate' was deleted or renamed in the current version + - The 'ClusterIdentityResponse' method 'validate' was deleted or renamed in the current version + - The 'ClusterList' method 'validate' was deleted or renamed in the current version + - The 'ClusterNode' method 'validate' was deleted or renamed in the current version + - The 'ClusterPatch' method 'validate' was deleted or renamed in the current version + - The 'ClusterReportedProperties' method 'validate' was deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ErrorAdditionalInfo' method 'validate' was deleted or renamed in the current version + - The 'ErrorDetail' method 'validate' was deleted or renamed in the current version + - The 'ErrorResponse' method 'validate' was deleted or renamed in the current version + - The 'Extension' method 'validate' was deleted or renamed in the current version + - The 'ExtensionList' method 'validate' was deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operation' method 'validate' was deleted or renamed in the current version + - The 'OperationDisplay' method 'validate' was deleted or renamed in the current version + - The 'OperationListResult' method 'validate' was deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'PasswordCredential' method 'validate' was deleted or renamed in the current version + - The 'PerNodeExtensionState' method 'validate' was deleted or renamed in the current version + - The 'PerNodeState' method 'validate' was deleted or renamed in the current version + - The 'ProxyResource' method 'validate' was deleted or renamed in the current version + - The 'RawCertificateData' method 'validate' was deleted or renamed in the current version + - The 'Resource' method 'validate' was deleted or renamed in the current version + - The 'TrackedResource' method 'validate' was deleted or renamed in the current version + - The 'UploadCertificateRequest' method 'validate' was deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'created_at' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'created_by' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'created_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'last_modified_at' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'last_modified_by' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'last_modified_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'created_at' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'created_by' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'created_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'last_modified_at' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'last_modified_by' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'last_modified_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'created_at' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'created_by' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'created_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'last_modified_at' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'last_modified_by' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'last_modified_by_type' deleted or renamed in the current version + - The publicly exposed function 'patch_sdk' was deleted or renamed in the current version + - The publicly exposed function 'patch_sdk' was deleted or renamed in the current version + + azure-sdk-for-js: + - package: '@azure/arm-azurestackhci' + breaking-changes: + - Class AzureStackHCIClient has a new signature + - Interface ArcSetting no longer has parameter createdAt + - Interface ArcSetting no longer has parameter createdBy + - Interface ArcSetting no longer has parameter createdByType + - Interface ArcSetting no longer has parameter lastModifiedAt + - Interface ArcSetting no longer has parameter lastModifiedBy + - Interface ArcSetting no longer has parameter lastModifiedByType + - Interface Cluster no longer has parameter createdAt + - Interface Cluster no longer has parameter createdBy + - Interface Cluster no longer has parameter createdByType + - Interface Cluster no longer has parameter lastModifiedAt + - Interface Cluster no longer has parameter lastModifiedBy + - Interface Cluster no longer has parameter lastModifiedByType + - Interface Extension no longer has parameter createdAt + - Interface Extension no longer has parameter createdBy + - Interface Extension no longer has parameter createdByType + - Interface Extension no longer has parameter lastModifiedAt + - Interface Extension no longer has parameter lastModifiedBy + - Interface Extension no longer has parameter lastModifiedByType + - Operation Extensions.beginUpdate has a new signature + - Operation Extensions.beginUpdateAndWait has a new signature diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index e92b60119542..bf38237b3947 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.AzureFleet", + "title": "Microsoft.AzureFleet test", "version": "2023-11-01-preview", "x-typespec-generated": [ { @@ -72,14 +72,6 @@ } } }, - "x-ms-examples": { - "Operations_List_MaximumSet": { - "$ref": "./examples/Operations_List_MaximumSet.json" - }, - "Operations_List_MinimumSet": { - "$ref": "./examples/Operations_List_MinimumSet.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -114,14 +106,6 @@ } } }, - "x-ms-examples": { - "Fleets_ListBySubscription_MaximumSet": { - "$ref": "./examples/Fleets_ListBySubscription_MaximumSet.json" - }, - "Fleets_ListBySubscription_MinimumSet": { - "$ref": "./examples/Fleets_ListBySubscription_MinimumSet.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -159,14 +143,6 @@ } } }, - "x-ms-examples": { - "Fleets_ListByResourceGroup_MaximumSet": { - "$ref": "./examples/Fleets_ListByResourceGroup_MaximumSet.json" - }, - "Fleets_ListByResourceGroup_MinimumSet": { - "$ref": "./examples/Fleets_ListByResourceGroup_MinimumSet.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -211,14 +187,6 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Fleets_Get_MaximumSet": { - "$ref": "./examples/Fleets_Get_MaximumSet.json" - }, - "Fleets_Get_MinimumSet": { - "$ref": "./examples/Fleets_Get_MinimumSet.json" - } } }, "put": { @@ -282,14 +250,6 @@ } } }, - "x-ms-examples": { - "Fleets_CreateOrUpdate_MaximumSet": { - "$ref": "./examples/Fleets_CreateOrUpdate_MaximumSet.json" - }, - "Fleets_CreateOrUpdate_MinimumSet": { - "$ref": "./examples/Fleets_CreateOrUpdate_MinimumSet.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -357,14 +317,6 @@ } } }, - "x-ms-examples": { - "Fleets_Update_MaximumSet": { - "$ref": "./examples/Fleets_Update_MaximumSet.json" - }, - "Fleets_Update_MinimumSet": { - "$ref": "./examples/Fleets_Update_MinimumSet.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -420,14 +372,6 @@ } } }, - "x-ms-examples": { - "Fleets_Delete_MaximumSet": { - "$ref": "./examples/Fleets_Delete_MaximumSet.json" - }, - "Fleets_Delete_MinimumSet": { - "$ref": "./examples/Fleets_Delete_MinimumSet.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -474,11 +418,6 @@ } } }, - "x-ms-examples": { - "Fleets_ListVirtualMachineScaleSets_MaximumSet": { - "$ref": "./examples/Fleets_ListVirtualMachineScaleSets_MaximumSet.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 6096b74080da..993c94c2af4a 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.AzureFleet", + "title": "Microsoft.AzureFleet test", "version": "2024-05-01-preview", "x-typespec-generated": [ { @@ -72,11 +72,6 @@ } } }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -111,11 +106,6 @@ } } }, - "x-ms-examples": { - "Fleets_ListBySubscription": { - "$ref": "./examples/Fleets_ListBySubscription.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -153,11 +143,6 @@ } } }, - "x-ms-examples": { - "Fleets_ListByResourceGroup": { - "$ref": "./examples/Fleets_ListByResourceGroup.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -202,11 +187,6 @@ "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } - }, - "x-ms-examples": { - "Fleets_Get": { - "$ref": "./examples/Fleets_Get.json" - } } }, "put": { @@ -270,14 +250,6 @@ } } }, - "x-ms-examples": { - "Fleets_CreateOrUpdate": { - "$ref": "./examples/Fleets_CreateOrUpdate.json" - }, - "Fleets_CreateOrUpdate_MinimumSet": { - "$ref": "./examples/Fleets_CreateOrUpdate_MinimumSet.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "azure-async-operation" }, @@ -345,11 +317,6 @@ } } }, - "x-ms-examples": { - "Fleets_Update": { - "$ref": "./examples/Fleets_Update.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -405,11 +372,6 @@ } } }, - "x-ms-examples": { - "Fleets_Delete": { - "$ref": "./examples/Fleets_Delete.json" - } - }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, @@ -456,11 +418,6 @@ } } }, - "x-ms-examples": { - "Fleets_ListVirtualMachineScaleSets": { - "$ref": "./examples/Fleets_ListVirtualMachineScaleSets.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" } diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/main.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/main.tsp index 4ae2c9529641..7b4054d11158 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/main.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/main.tsp @@ -28,7 +28,7 @@ using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" "Operations API is still spec'd, but now resides in another spec in this namespace." @armProviderNamespace @service({ - title: "Microsoft.AzureStackHCI", + title: "Microsoft.AzureStackHCI test", }) @versioned(Versions) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/sdk-suppressions.yaml b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/sdk-suppressions.yaml new file mode 100644 index 000000000000..10fb5145acbc --- /dev/null +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/sdk-suppressions.yaml @@ -0,0 +1,132 @@ +suppressions: + azure-sdk-for-go: + - package: 'sdk/resourcemanager/azurestackhci/armazurestackhci' + breaking-changes: + - Function `*ExtensionsClient.BeginUpdate` parameter(s) have been changed from `(context.Context, string, string, string, string, Extension, *ExtensionsClientBeginUpdateOptions)` to `(context.Context, string, string, string, string, ExtensionPatch, *ExtensionsClientBeginUpdateOptions)` + + azure-sdk-for-python: + - package: 'azure-mgmt-azurestackhci' + breaking-changes: + - Model ArcSetting no longer has parameter created_at + - Model ArcSetting no longer has parameter created_by + - Model ArcSetting no longer has parameter created_by_type + - Model ArcSetting no longer has parameter last_modified_at + - Model ArcSetting no longer has parameter last_modified_by + - Model ArcSetting no longer has parameter last_modified_by_type + - Model Cluster no longer has parameter created_at + - Model Cluster no longer has parameter created_by + - Model Cluster no longer has parameter created_by_type + - Model Cluster no longer has parameter last_modified_at + - Model Cluster no longer has parameter last_modified_by + - Model Cluster no longer has parameter last_modified_by_type + - Model Extension no longer has parameter created_at + - Model Extension no longer has parameter created_by + - Model Extension no longer has parameter created_by_type + - Model Extension no longer has parameter last_modified_at + - Model Extension no longer has parameter last_modified_by + - Model Extension no longer has parameter last_modified_by_type + - The 'ArcConnectivityProperties' method 'validate' was deleted or renamed in the current version + - The 'ArcIdentityResponse' method 'validate' was deleted or renamed in the current version + - The 'ArcSetting' method 'validate' was deleted or renamed in the current version + - The 'ArcSettingList' method 'validate' was deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ArcSettingsPatch' method 'validate' was deleted or renamed in the current version + - The 'Cluster' method 'validate' was deleted or renamed in the current version + - The 'ClusterDesiredProperties' method 'validate' was deleted or renamed in the current version + - The 'ClusterIdentityResponse' method 'validate' was deleted or renamed in the current version + - The 'ClusterList' method 'validate' was deleted or renamed in the current version + - The 'ClusterNode' method 'validate' was deleted or renamed in the current version + - The 'ClusterPatch' method 'validate' was deleted or renamed in the current version + - The 'ClusterReportedProperties' method 'validate' was deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ClustersOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ErrorAdditionalInfo' method 'validate' was deleted or renamed in the current version + - The 'ErrorDetail' method 'validate' was deleted or renamed in the current version + - The 'ErrorResponse' method 'validate' was deleted or renamed in the current version + - The 'Extension' method 'validate' was deleted or renamed in the current version + - The 'ExtensionList' method 'validate' was deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'ExtensionsOperations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operation' method 'validate' was deleted or renamed in the current version + - The 'OperationDisplay' method 'validate' was deleted or renamed in the current version + - The 'OperationListResult' method 'validate' was deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'client' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'config' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'deserializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'Operations' method '__init__' had its parameter 'serializer' of kind 'positional_or_keyword' deleted or renamed in the current version + - The 'PasswordCredential' method 'validate' was deleted or renamed in the current version + - The 'PerNodeExtensionState' method 'validate' was deleted or renamed in the current version + - The 'PerNodeState' method 'validate' was deleted or renamed in the current version + - The 'ProxyResource' method 'validate' was deleted or renamed in the current version + - The 'RawCertificateData' method 'validate' was deleted or renamed in the current version + - The 'Resource' method 'validate' was deleted or renamed in the current version + - The 'TrackedResource' method 'validate' was deleted or renamed in the current version + - The 'UploadCertificateRequest' method 'validate' was deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'created_at' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'created_by' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'created_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'last_modified_at' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'last_modified_by' deleted or renamed in the current version + - The model or publicly exposed class 'ArcSetting' had its instance variable 'last_modified_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'created_at' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'created_by' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'created_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'last_modified_at' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'last_modified_by' deleted or renamed in the current version + - The model or publicly exposed class 'Cluster' had its instance variable 'last_modified_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'created_at' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'created_by' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'created_by_type' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'last_modified_at' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'last_modified_by' deleted or renamed in the current version + - The model or publicly exposed class 'Extension' had its instance variable 'last_modified_by_type' deleted or renamed in the current version + - The publicly exposed function 'patch_sdk' was deleted or renamed in the current version + - The publicly exposed function 'patch_sdk' was deleted or renamed in the current version + + azure-sdk-for-js: + - package: '@azure/arm-azurestackhci' + breaking-changes: + - Class AzureStackHCIClient has a new signature + - Interface ArcSetting no longer has parameter createdAt + - Interface ArcSetting no longer has parameter createdBy + - Interface ArcSetting no longer has parameter createdByType + - Interface ArcSetting no longer has parameter lastModifiedAt + - Interface ArcSetting no longer has parameter lastModifiedBy + - Interface ArcSetting no longer has parameter lastModifiedByType + - Interface Cluster no longer has parameter createdAt + - Interface Cluster no longer has parameter createdBy + - Interface Cluster no longer has parameter createdByType + - Interface Cluster no longer has parameter lastModifiedAt + - Interface Cluster no longer has parameter lastModifiedBy + - Interface Cluster no longer has parameter lastModifiedByType + - Interface Extension no longer has parameter createdAt + - Interface Extension no longer has parameter createdBy + - Interface Extension no longer has parameter createdByType + - Interface Extension no longer has parameter lastModifiedAt + - Interface Extension no longer has parameter lastModifiedBy + - Interface Extension no longer has parameter lastModifiedByType + - Operation Extensions.beginUpdate has a new signature + - Operation Extensions.beginUpdateAndWait has a new signature diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json index 6620931c33dd..f4239beb3b07 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.AzureStackHCI", + "title": "Microsoft.AzureStackHCI test", "version": "2024-02-01-preview", "description": "Azure Stack HCI management service", "x-typespec-generated": [ diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json index 6299e226ac5d..581572ddab45 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.AzureStackHCI", + "title": "Microsoft.AzureStackHCI test", "version": "2024-05-01-preview", "description": "Azure Stack HCI management service", "x-typespec-generated": [ diff --git a/specification/standbypool/StandbyPool.Management/sdk-suppressions.yaml b/specification/standbypool/StandbyPool.Management/sdk-suppressions.yaml new file mode 100644 index 000000000000..13c7c14f6f81 --- /dev/null +++ b/specification/standbypool/StandbyPool.Management/sdk-suppressions.yaml @@ -0,0 +1,7 @@ +suppressions: + azure-sdk-for-go: + - package: sdk/resourcemanager/azurearcdata/armazurearcdata + breaking-changes: + - Operation `*SQLServerInstancesClient.Update` has been changed to LRO, use `*SQLServerInstancesClient.BeginUpdate` instead. + - Struct `ErrorResponseBody` has been removed + - Type of `ErrorResponse.Error` has been changed from `*ErrorResponseBody` to `*ErrorDetail` \ No newline at end of file diff --git a/specification/standbypool/StandbyPool.Management/service.tsp b/specification/standbypool/StandbyPool.Management/service.tsp index 6279b90c52df..694d668a8cbc 100644 --- a/specification/standbypool/StandbyPool.Management/service.tsp +++ b/specification/standbypool/StandbyPool.Management/service.tsp @@ -18,7 +18,7 @@ using OpenAPI; @armProviderNamespace("Microsoft.StandbyPool") @service({ - title: "Microsoft.StandbyPool", + title: "Microsoft.StandbyPool test", }) @versioned(Microsoft.StandbyPool.Versions) namespace Microsoft.StandbyPool; diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/standbypool.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/standbypool.json index 3af5c525dd59..dc8731fa7cf5 100644 --- a/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/standbypool.json +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2023-12-01-preview/standbypool.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.StandbyPool", + "title": "Microsoft.StandbyPool test", "version": "2023-12-01-preview", "x-typespec-generated": [ { @@ -40,15 +40,6 @@ "tags": [ { "name": "Operations" - }, - { - "name": "StandbyVirtualMachinePools" - }, - { - "name": "StandbyVirtualMachines" - }, - { - "name": "StandbyContainerGroupPools" } ], "paths": { @@ -87,1260 +78,8 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { - "get": { - "operationId": "StandbyContainerGroupPools_ListBySubscription", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "List StandbyContainerGroupPoolResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_ListBySubscription": { - "$ref": "./examples/StandbyContainerGroupPools_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { - "get": { - "operationId": "StandbyVirtualMachinePools_ListBySubscription", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "List StandbyVirtualMachinePoolResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_ListBySubscription": { - "$ref": "./examples/StandbyVirtualMachinePools_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { - "get": { - "operationId": "StandbyContainerGroupPools_ListByResourceGroup", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "List StandbyContainerGroupPoolResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_ListByResourceGroup": { - "$ref": "./examples/StandbyContainerGroupPools_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}": { - "get": { - "operationId": "StandbyContainerGroupPools_Get", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Get a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Get": { - "$ref": "./examples/StandbyContainerGroupPools_Get.json" - } - } - }, - "put": { - "operationId": "StandbyContainerGroupPools_CreateOrUpdate", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Create a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'StandbyContainerGroupPoolResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "201": { - "description": "Resource 'StandbyContainerGroupPoolResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_CreateOrUpdate": { - "$ref": "./examples/StandbyContainerGroupPools_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "StandbyContainerGroupPools_Update", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Update a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Update": { - "$ref": "./examples/StandbyContainerGroupPools_Update.json" - } - } - }, - "delete": { - "operationId": "StandbyContainerGroupPools_Delete", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Delete a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Delete": { - "$ref": "./examples/StandbyContainerGroupPools_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { - "get": { - "operationId": "StandbyVirtualMachinePools_ListByResourceGroup", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "List StandbyVirtualMachinePoolResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_ListByResourceGroup": { - "$ref": "./examples/StandbyVirtualMachinePools_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}": { - "get": { - "operationId": "StandbyVirtualMachinePools_Get", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Get a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Get": { - "$ref": "./examples/StandbyVirtualMachinePools_Get.json" - } - } - }, - "put": { - "operationId": "StandbyVirtualMachinePools_CreateOrUpdate", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Create a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'StandbyVirtualMachinePoolResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "201": { - "description": "Resource 'StandbyVirtualMachinePoolResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_CreateOrUpdate": { - "$ref": "./examples/StandbyVirtualMachinePools_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "StandbyVirtualMachinePools_Update", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Update a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Update": { - "$ref": "./examples/StandbyVirtualMachinePools_Update.json" - } - } - }, - "delete": { - "operationId": "StandbyVirtualMachinePools_Delete", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Delete a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Delete": { - "$ref": "./examples/StandbyVirtualMachinePools_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines": { - "get": { - "operationId": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", - "tags": [ - "StandbyVirtualMachines" - ], - "description": "List StandbyVirtualMachineResource resources by StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachineResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource": { - "$ref": "./examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines/{standbyVirtualMachineName}": { - "get": { - "operationId": "StandbyVirtualMachines_Get", - "tags": [ - "StandbyVirtualMachines" - ], - "description": "Get a StandbyVirtualMachineResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "standbyVirtualMachineName", - "in": "path", - "description": "Name of the standby virtual machine", - "required": true, - "type": "string", - "pattern": "^[_a-zA-Z0-9-]{3,64}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachineResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachines_Get": { - "$ref": "./examples/StandbyVirtualMachines_Get.json" - } - } - } - } - }, - "definitions": { - "ContainerGroupProfile": { - "type": "object", - "description": "Details of the ContainerGroupProfile.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies container group profile id of standby container groups.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerInstance/containerGroupProfiles" - } - ] - } - }, - "revision": { - "type": "integer", - "format": "int64", - "description": "Specifies revision of container group profile." - } - }, - "required": [ - "id" - ] - }, - "ContainerGroupProfileUpdate": { - "type": "object", - "description": "Details of the ContainerGroupProfile.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies container group profile id of standby container groups.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerInstance/containerGroupProfiles" - } - ] - } - }, - "revision": { - "type": "integer", - "format": "int64", - "description": "Specifies revision of container group profile." - } - } - }, - "ContainerGroupProperties": { - "type": "object", - "description": "Details of the ContainerGroupProperties.", - "properties": { - "containerGroupProfile": { - "$ref": "#/definitions/ContainerGroupProfile", - "description": "Specifies container group profile of standby container groups." - }, - "subnetIds": { - "type": "array", - "description": "Specifies subnet Ids for container group.", - "items": { - "$ref": "#/definitions/Subnet" - } - } - }, - "required": [ - "containerGroupProfile" - ] - }, - "ContainerGroupPropertiesUpdate": { - "type": "object", - "description": "Details of the ContainerGroupProperties.", - "properties": { - "containerGroupProfile": { - "$ref": "#/definitions/ContainerGroupProfileUpdate", - "description": "Specifies container group profile of standby container groups." - }, - "subnetIds": { - "type": "array", - "description": "Specifies subnet Ids for container group.", - "items": { - "$ref": "#/definitions/Subnet" - } - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "Provisioning state", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Resource is being deleted." - } - ] - }, - "readOnly": true - }, - "RefillPolicy": { - "type": "string", - "description": "Refill policy of standby pool", - "enum": [ - "always" - ], - "x-ms-enum": { - "name": "RefillPolicy", - "modelAsString": true, - "values": [ - { - "name": "always", - "value": "always", - "description": "A refill policy that standby pool is automatically refilled to maintain maxReadyCapacity." - } - ] - } - }, - "StandbyContainerGroupPoolElasticityProfile": { - "type": "object", - "description": "Specifies the elasticity profile of the standby container group pools.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies maximum number of standby container groups in the standby pool.", - "minimum": 0, - "maximum": 2000 - }, - "refillPolicy": { - "$ref": "#/definitions/RefillPolicy", - "description": "Specifies refill policy of the pool." - } - }, - "required": [ - "maxReadyCapacity" - ] - }, - "StandbyContainerGroupPoolElasticityProfileUpdate": { - "type": "object", - "description": "Specifies the elasticity profile of the standby container group pools.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies maximum number of standby container groups in the standby pool.", - "minimum": 0, - "maximum": 2000 - }, - "refillPolicy": { - "$ref": "#/definitions/RefillPolicy", - "description": "Specifies refill policy of the pool." - } - } - }, - "StandbyContainerGroupPoolResource": { - "type": "object", - "description": "A StandbyContainerGroupPoolResource.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "StandbyContainerGroupPoolResourceListResult": { - "type": "object", - "description": "The response of a StandbyContainerGroupPoolResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyContainerGroupPoolResource items on this page", - "items": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyContainerGroupPoolResourceProperties": { - "type": "object", - "description": "Details of the StandbyContainerGroupPool.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfile", - "description": "Specifies elasticity profile of standby container group pools." - }, - "containerGroupProperties": { - "$ref": "#/definitions/ContainerGroupProperties", - "description": "Specifies container group properties of standby container group pools." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "elasticityProfile", - "containerGroupProperties" - ] - }, - "StandbyContainerGroupPoolResourceUpdate": { - "type": "object", - "description": "The type used for update operations of the StandbyContainerGroupPoolResource.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdateProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - } - }, - "StandbyContainerGroupPoolResourceUpdateProperties": { - "type": "object", - "description": "The updatable properties of the StandbyContainerGroupPoolResource.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfileUpdate", - "description": "Specifies elasticity profile of standby container group pools." - }, - "containerGroupProperties": { - "$ref": "#/definitions/ContainerGroupPropertiesUpdate", - "description": "Specifies container group properties of standby container group pools." - } - } - }, - "StandbyVirtualMachinePoolElasticityProfile": { - "type": "object", - "description": "Details of the elasticity profile.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", - "minimum": 0, - "maximum": 2000 - } - }, - "required": [ - "maxReadyCapacity" - ] - }, - "StandbyVirtualMachinePoolElasticityProfileUpdate": { - "type": "object", - "description": "Details of the elasticity profile.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", - "minimum": 0, - "maximum": 2000 - } - } - }, - "StandbyVirtualMachinePoolResource": { - "type": "object", - "description": "A StandbyVirtualMachinePoolResource.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "StandbyVirtualMachinePoolResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachinePoolResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachinePoolResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachinePoolResourceProperties": { - "type": "object", - "description": "Details of the StandbyVirtualMachinePool.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfile", - "description": "Specifies the elasticity profile of the standby virtual machine pools." - }, - "virtualMachineState": { - "$ref": "#/definitions/VirtualMachineState", - "description": "Specifies the desired state of virtual machines in the pool.", - "x-ms-identifiers": [ - "vmState" - ] - }, - "attachedVirtualMachineScaleSetId": { - "type": "string", - "format": "arm-id", - "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Compute/virtualMachineScaleSet" - } - ] - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "virtualMachineState" - ] - }, - "StandbyVirtualMachinePoolResourceUpdate": { - "type": "object", - "description": "The type used for update operations of the StandbyVirtualMachinePoolResource.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdateProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - } - }, - "StandbyVirtualMachinePoolResourceUpdateProperties": { - "type": "object", - "description": "The updatable properties of the StandbyVirtualMachinePoolResource.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfileUpdate", - "description": "Specifies the elasticity profile of the standby virtual machine pools." - }, - "virtualMachineState": { - "$ref": "#/definitions/VirtualMachineState", - "description": "Specifies the desired state of virtual machines in the pool.", - "x-ms-identifiers": [ - "vmState" - ] - }, - "attachedVirtualMachineScaleSetId": { - "type": "string", - "format": "arm-id", - "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Compute/virtualMachineScaleSet" - } - ] - } - } - } - }, - "StandbyVirtualMachineResource": { - "type": "object", - "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachineResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyVirtualMachineResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachineResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachineResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachineResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachineResourceProperties": { - "type": "object", - "description": "Details of the StandbyVirtualMachine.", - "properties": { - "virtualMachineResourceId": { - "type": "string", - "description": "Resource id of the virtual machine." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "virtualMachineResourceId" - ] - }, - "Subnet": { - "type": "object", - "description": "Subnet of container group", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies ARM resource id of the subnet.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/virtualNetworks/subnets" - } - ] - } - } - }, - "required": [ - "id" - ] - }, - "VirtualMachineState": { - "type": "string", - "description": "State of standby virtual machines", - "enum": [ - "Running", - "Deallocated" - ], - "x-ms-enum": { - "name": "VirtualMachineState", - "modelAsString": true, - "values": [ - { - "name": "Running", - "value": "Running", - "description": "The virtual machine is up and running." - }, - { - "name": "Deallocated", - "value": "Deallocated", - "description": "The virtual machine has released the lease on the underlying hardware and is powered off." - } - ] - } } }, + "definitions": {}, "parameters": {} } diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2024-03-01-preview/standbypool.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2024-03-01-preview/standbypool.json index f7887cdea6bd..c20658f77e9c 100644 --- a/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2024-03-01-preview/standbypool.json +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/preview/2024-03-01-preview/standbypool.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.StandbyPool", + "title": "Microsoft.StandbyPool test", "version": "2024-03-01-preview", "x-typespec-generated": [ { @@ -40,21 +40,6 @@ "tags": [ { "name": "Operations" - }, - { - "name": "StandbyVirtualMachinePools" - }, - { - "name": "StandbyVirtualMachines" - }, - { - "name": "StandbyVirtualMachinePoolRuntimeViews" - }, - { - "name": "StandbyContainerGroupPools" - }, - { - "name": "StandbyContainerGroupPoolRuntimeViews" } ], "paths": { @@ -93,1666 +78,8 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { - "get": { - "operationId": "StandbyContainerGroupPools_ListBySubscription", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "List StandbyContainerGroupPoolResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_ListBySubscription": { - "$ref": "./examples/StandbyContainerGroupPools_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { - "get": { - "operationId": "StandbyVirtualMachinePools_ListBySubscription", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "List StandbyVirtualMachinePoolResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_ListBySubscription": { - "$ref": "./examples/StandbyVirtualMachinePools_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { - "get": { - "operationId": "StandbyContainerGroupPools_ListByResourceGroup", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "List StandbyContainerGroupPoolResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_ListByResourceGroup": { - "$ref": "./examples/StandbyContainerGroupPools_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}": { - "get": { - "operationId": "StandbyContainerGroupPools_Get", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Get a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Get": { - "$ref": "./examples/StandbyContainerGroupPools_Get.json" - } - } - }, - "put": { - "operationId": "StandbyContainerGroupPools_CreateOrUpdate", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Create a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'StandbyContainerGroupPoolResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "201": { - "description": "Resource 'StandbyContainerGroupPoolResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_CreateOrUpdate": { - "$ref": "./examples/StandbyContainerGroupPools_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "StandbyContainerGroupPools_Update", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Update a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Update": { - "$ref": "./examples/StandbyContainerGroupPools_Update.json" - } - } - }, - "delete": { - "operationId": "StandbyContainerGroupPools_Delete", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Delete a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Delete": { - "$ref": "./examples/StandbyContainerGroupPools_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews": { - "get": { - "operationId": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", - "tags": [ - "StandbyContainerGroupPoolRuntimeViews" - ], - "description": "List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool": { - "$ref": "./examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}": { - "get": { - "operationId": "StandbyContainerGroupPoolRuntimeViews_Get", - "tags": [ - "StandbyContainerGroupPoolRuntimeViews" - ], - "description": "Get a StandbyContainerGroupPoolRuntimeViewResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "runtimeView", - "in": "path", - "description": "The unique identifier for the runtime view. The input string should be the word 'latest', which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{0,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPoolRuntimeViews_Get": { - "$ref": "./examples/StandbyContainerGroupPoolRuntimeViews_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { - "get": { - "operationId": "StandbyVirtualMachinePools_ListByResourceGroup", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "List StandbyVirtualMachinePoolResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_ListByResourceGroup": { - "$ref": "./examples/StandbyVirtualMachinePools_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}": { - "get": { - "operationId": "StandbyVirtualMachinePools_Get", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Get a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Get": { - "$ref": "./examples/StandbyVirtualMachinePools_Get.json" - } - } - }, - "put": { - "operationId": "StandbyVirtualMachinePools_CreateOrUpdate", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Create a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'StandbyVirtualMachinePoolResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "201": { - "description": "Resource 'StandbyVirtualMachinePoolResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_CreateOrUpdate": { - "$ref": "./examples/StandbyVirtualMachinePools_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "StandbyVirtualMachinePools_Update", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Update a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Update": { - "$ref": "./examples/StandbyVirtualMachinePools_Update.json" - } - } - }, - "delete": { - "operationId": "StandbyVirtualMachinePools_Delete", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Delete a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Delete": { - "$ref": "./examples/StandbyVirtualMachinePools_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews": { - "get": { - "operationId": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", - "tags": [ - "StandbyVirtualMachinePoolRuntimeViews" - ], - "description": "List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool": { - "$ref": "./examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}": { - "get": { - "operationId": "StandbyVirtualMachinePoolRuntimeViews_Get", - "tags": [ - "StandbyVirtualMachinePoolRuntimeViews" - ], - "description": "Get a StandbyVirtualMachinePoolRuntimeViewResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "runtimeView", - "in": "path", - "description": "The unique identifier for the runtime view. The input string should be the word 'latest', which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{0,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePoolRuntimeViews_Get": { - "$ref": "./examples/StandbyVirtualMachinePoolRuntimeViews_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines": { - "get": { - "operationId": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", - "tags": [ - "StandbyVirtualMachines" - ], - "description": "List StandbyVirtualMachineResource resources by StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachineResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource": { - "$ref": "./examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines/{standbyVirtualMachineName}": { - "get": { - "operationId": "StandbyVirtualMachines_Get", - "tags": [ - "StandbyVirtualMachines" - ], - "description": "Get a StandbyVirtualMachineResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "standbyVirtualMachineName", - "in": "path", - "description": "Name of the standby virtual machine", - "required": true, - "type": "string", - "pattern": "^[_a-zA-Z0-9-]{3,64}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachineResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachines_Get": { - "$ref": "./examples/StandbyVirtualMachines_Get.json" - } - } - } - } - }, - "definitions": { - "ContainerGroupInstanceCountSummary": { - "type": "object", - "description": "Displays the counts of container groups in each state, as known by the StandbyPool resource provider.", - "properties": { - "instanceCountsByState": { - "type": "array", - "description": "The count of pooled resources in each state.", - "items": { - "$ref": "#/definitions/PoolResourceStateCount" - }, - "x-ms-identifiers": [ - "state" - ] - } - }, - "required": [ - "instanceCountsByState" - ] - }, - "ContainerGroupProfile": { - "type": "object", - "description": "Details of the ContainerGroupProfile.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies container group profile id of standby container groups.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerInstance/containerGroupProfiles" - } - ] - } - }, - "revision": { - "type": "integer", - "format": "int64", - "description": "Specifies revision of container group profile." - } - }, - "required": [ - "id" - ] - }, - "ContainerGroupProfileUpdate": { - "type": "object", - "description": "Details of the ContainerGroupProfile.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies container group profile id of standby container groups.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerInstance/containerGroupProfiles" - } - ] - } - }, - "revision": { - "type": "integer", - "format": "int64", - "description": "Specifies revision of container group profile." - } - } - }, - "ContainerGroupProperties": { - "type": "object", - "description": "Details of the ContainerGroupProperties.", - "properties": { - "containerGroupProfile": { - "$ref": "#/definitions/ContainerGroupProfile", - "description": "Specifies container group profile of standby container groups." - }, - "subnetIds": { - "type": "array", - "description": "Specifies subnet Ids for container group.", - "items": { - "$ref": "#/definitions/Subnet" - } - } - }, - "required": [ - "containerGroupProfile" - ] - }, - "ContainerGroupPropertiesUpdate": { - "type": "object", - "description": "Details of the ContainerGroupProperties.", - "properties": { - "containerGroupProfile": { - "$ref": "#/definitions/ContainerGroupProfileUpdate", - "description": "Specifies container group profile of standby container groups." - }, - "subnetIds": { - "type": "array", - "description": "Specifies subnet Ids for container group.", - "items": { - "$ref": "#/definitions/Subnet" - } - } - } - }, - "PoolResourceStateCount": { - "type": "object", - "description": "Displays the counts of pooled resources in each state, as known by the StandbyPool resource provider.", - "properties": { - "state": { - "type": "string", - "description": "The state that the pooled resources count is for." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "The count of pooled resources in the given state." - } - }, - "required": [ - "state", - "count" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "Provisioning state", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Resource is being deleted." - } - ] - }, - "readOnly": true - }, - "RefillPolicy": { - "type": "string", - "description": "Refill policy of standby pool", - "enum": [ - "always" - ], - "x-ms-enum": { - "name": "RefillPolicy", - "modelAsString": true, - "values": [ - { - "name": "always", - "value": "always", - "description": "A refill policy that standby pool is automatically refilled to maintain maxReadyCapacity." - } - ] - } - }, - "StandbyContainerGroupPoolElasticityProfile": { - "type": "object", - "description": "Specifies the elasticity profile of the standby container group pools.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies maximum number of standby container groups in the standby pool.", - "minimum": 0, - "maximum": 2000 - }, - "refillPolicy": { - "$ref": "#/definitions/RefillPolicy", - "description": "Specifies refill policy of the pool." - } - }, - "required": [ - "maxReadyCapacity" - ] - }, - "StandbyContainerGroupPoolElasticityProfileUpdate": { - "type": "object", - "description": "Specifies the elasticity profile of the standby container group pools.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies maximum number of standby container groups in the standby pool.", - "minimum": 0, - "maximum": 2000 - }, - "refillPolicy": { - "$ref": "#/definitions/RefillPolicy", - "description": "Specifies refill policy of the pool." - } - } - }, - "StandbyContainerGroupPoolResource": { - "type": "object", - "description": "A StandbyContainerGroupPoolResource.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "StandbyContainerGroupPoolResourceListResult": { - "type": "object", - "description": "The response of a StandbyContainerGroupPoolResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyContainerGroupPoolResource items on this page", - "items": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyContainerGroupPoolResourceProperties": { - "type": "object", - "description": "Details of the StandbyContainerGroupPool.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfile", - "description": "Specifies elasticity profile of standby container group pools." - }, - "containerGroupProperties": { - "$ref": "#/definitions/ContainerGroupProperties", - "description": "Specifies container group properties of standby container group pools." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "elasticityProfile", - "containerGroupProperties" - ] - }, - "StandbyContainerGroupPoolResourceUpdate": { - "type": "object", - "description": "The type used for update operations of the StandbyContainerGroupPoolResource.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdateProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - } - }, - "StandbyContainerGroupPoolResourceUpdateProperties": { - "type": "object", - "description": "The updatable properties of the StandbyContainerGroupPoolResource.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfileUpdate", - "description": "Specifies elasticity profile of standby container group pools." - }, - "containerGroupProperties": { - "$ref": "#/definitions/ContainerGroupPropertiesUpdate", - "description": "Specifies container group properties of standby container group pools." - } - } - }, - "StandbyContainerGroupPoolRuntimeViewResource": { - "type": "object", - "description": "Contains information about a standby container group pool as last known by the StandbyPool resource provider.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyContainerGroupPoolRuntimeViewResourceListResult": { - "type": "object", - "description": "The response of a StandbyContainerGroupPoolRuntimeViewResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyContainerGroupPoolRuntimeViewResource items on this page", - "items": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyContainerGroupPoolRuntimeViewResourceProperties": { - "type": "object", - "description": "Contains information about a standby pool as last known by the StandbyPool resource provider.", - "properties": { - "instanceCountSummary": { - "type": "array", - "description": "A list containing the counts of container groups in each possible state, as known by the StandbyPool resource provider.", - "items": { - "$ref": "#/definitions/ContainerGroupInstanceCountSummary" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Displays the provisioning state of the standby pool", - "readOnly": true - } - }, - "required": [ - "instanceCountSummary" - ] - }, - "StandbyVirtualMachinePoolElasticityProfile": { - "type": "object", - "description": "Details of the elasticity profile.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", - "minimum": 0, - "maximum": 2000 - }, - "minReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.", - "minimum": 0, - "maximum": 2000 - } - }, - "required": [ - "maxReadyCapacity" - ] - }, - "StandbyVirtualMachinePoolElasticityProfileUpdate": { - "type": "object", - "description": "Details of the elasticity profile.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", - "minimum": 0, - "maximum": 2000 - }, - "minReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.", - "minimum": 0, - "maximum": 2000 - } - } - }, - "StandbyVirtualMachinePoolResource": { - "type": "object", - "description": "A StandbyVirtualMachinePoolResource.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "StandbyVirtualMachinePoolResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachinePoolResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachinePoolResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachinePoolResourceProperties": { - "type": "object", - "description": "Details of the StandbyVirtualMachinePool.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfile", - "description": "Specifies the elasticity profile of the standby virtual machine pools." - }, - "virtualMachineState": { - "$ref": "#/definitions/VirtualMachineState", - "description": "Specifies the desired state of virtual machines in the pool.", - "x-ms-identifiers": [ - "vmState" - ] - }, - "attachedVirtualMachineScaleSetId": { - "type": "string", - "format": "arm-id", - "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Compute/virtualMachineScaleSet" - } - ] - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "virtualMachineState" - ] - }, - "StandbyVirtualMachinePoolResourceUpdate": { - "type": "object", - "description": "The type used for update operations of the StandbyVirtualMachinePoolResource.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdateProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - } - }, - "StandbyVirtualMachinePoolResourceUpdateProperties": { - "type": "object", - "description": "The updatable properties of the StandbyVirtualMachinePoolResource.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfileUpdate", - "description": "Specifies the elasticity profile of the standby virtual machine pools." - }, - "virtualMachineState": { - "$ref": "#/definitions/VirtualMachineState", - "description": "Specifies the desired state of virtual machines in the pool.", - "x-ms-identifiers": [ - "vmState" - ] - }, - "attachedVirtualMachineScaleSetId": { - "type": "string", - "format": "arm-id", - "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Compute/virtualMachineScaleSet" - } - ] - } - } - } - }, - "StandbyVirtualMachinePoolRuntimeViewResource": { - "type": "object", - "description": "Contains information about a standby virtual machine pool as last known by the StandbyPool resource provider.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyVirtualMachinePoolRuntimeViewResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachinePoolRuntimeViewResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachinePoolRuntimeViewResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachinePoolRuntimeViewResourceProperties": { - "type": "object", - "description": "Contains information about a standby pool as last known by the StandbyPool resource provider.", - "properties": { - "instanceCountSummary": { - "type": "array", - "description": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider.\nIf zones are not enabled on the attached VMSS, the list will contain a single entry with null zone values.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned.", - "items": { - "$ref": "#/definitions/VirtualMachineInstanceCountSummary" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Displays the provisioning state of the standby pool", - "readOnly": true - } - }, - "required": [ - "instanceCountSummary" - ] - }, - "StandbyVirtualMachineResource": { - "type": "object", - "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachineResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyVirtualMachineResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachineResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachineResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachineResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachineResourceProperties": { - "type": "object", - "description": "Details of the StandbyVirtualMachine.", - "properties": { - "virtualMachineResourceId": { - "type": "string", - "description": "Resource id of the virtual machine." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "virtualMachineResourceId" - ] - }, - "Subnet": { - "type": "object", - "description": "Subnet of container group", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies ARM resource id of the subnet.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/virtualNetworks/subnets" - } - ] - } - } - }, - "required": [ - "id" - ] - }, - "VirtualMachineInstanceCountSummary": { - "type": "object", - "description": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned.", - "properties": { - "zone": { - "type": "integer", - "format": "int64", - "description": "The zone that the provided counts are in. This is null if zones are not enabled on the attached VMSS." - }, - "instanceCountsByState": { - "type": "array", - "description": "The count of pooled resources in each state for the given zone.", - "items": { - "$ref": "#/definitions/PoolResourceStateCount" - }, - "x-ms-identifiers": [ - "state" - ] - } - }, - "required": [ - "instanceCountsByState" - ] - }, - "VirtualMachineState": { - "type": "string", - "description": "State of standby virtual machines", - "enum": [ - "Running", - "Deallocated" - ], - "x-ms-enum": { - "name": "VirtualMachineState", - "modelAsString": true, - "values": [ - { - "name": "Running", - "value": "Running", - "description": "The virtual machine is up and running." - }, - { - "name": "Deallocated", - "value": "Deallocated", - "description": "The virtual machine has released the lease on the underlying hardware and is powered off." - } - ] - } } }, + "definitions": {}, "parameters": {} } diff --git a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2024-03-01/standbypool.json b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2024-03-01/standbypool.json index 98614b242ead..93ea247c8f6f 100644 --- a/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2024-03-01/standbypool.json +++ b/specification/standbypool/resource-manager/Microsoft.StandbyPool/stable/2024-03-01/standbypool.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft.StandbyPool", + "title": "Microsoft.StandbyPool test", "version": "2024-03-01", "x-typespec-generated": [ { @@ -40,21 +40,6 @@ "tags": [ { "name": "Operations" - }, - { - "name": "StandbyVirtualMachinePools" - }, - { - "name": "StandbyVirtualMachines" - }, - { - "name": "StandbyVirtualMachinePoolRuntimeViews" - }, - { - "name": "StandbyContainerGroupPools" - }, - { - "name": "StandbyContainerGroupPoolRuntimeViews" } ], "paths": { @@ -93,1666 +78,8 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { - "get": { - "operationId": "StandbyContainerGroupPools_ListBySubscription", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "List StandbyContainerGroupPoolResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_ListBySubscription": { - "$ref": "./examples/StandbyContainerGroupPools_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { - "get": { - "operationId": "StandbyVirtualMachinePools_ListBySubscription", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "List StandbyVirtualMachinePoolResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_ListBySubscription": { - "$ref": "./examples/StandbyVirtualMachinePools_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools": { - "get": { - "operationId": "StandbyContainerGroupPools_ListByResourceGroup", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "List StandbyContainerGroupPoolResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_ListByResourceGroup": { - "$ref": "./examples/StandbyContainerGroupPools_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}": { - "get": { - "operationId": "StandbyContainerGroupPools_Get", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Get a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Get": { - "$ref": "./examples/StandbyContainerGroupPools_Get.json" - } - } - }, - "put": { - "operationId": "StandbyContainerGroupPools_CreateOrUpdate", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Create a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'StandbyContainerGroupPoolResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "201": { - "description": "Resource 'StandbyContainerGroupPoolResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_CreateOrUpdate": { - "$ref": "./examples/StandbyContainerGroupPools_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "StandbyContainerGroupPools_Update", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Update a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Update": { - "$ref": "./examples/StandbyContainerGroupPools_Update.json" - } - } - }, - "delete": { - "operationId": "StandbyContainerGroupPools_Delete", - "tags": [ - "StandbyContainerGroupPools" - ], - "description": "Delete a StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPools_Delete": { - "$ref": "./examples/StandbyContainerGroupPools_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews": { - "get": { - "operationId": "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool", - "tags": [ - "StandbyContainerGroupPoolRuntimeViews" - ], - "description": "List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool": { - "$ref": "./examples/StandbyContainerGroupPoolRuntimeViews_ListByStandbyPool.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}": { - "get": { - "operationId": "StandbyContainerGroupPoolRuntimeViews_Get", - "tags": [ - "StandbyContainerGroupPoolRuntimeViews" - ], - "description": "Get a StandbyContainerGroupPoolRuntimeViewResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyContainerGroupPoolName", - "in": "path", - "description": "Name of the standby container group pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "runtimeView", - "in": "path", - "description": "The unique identifier for the runtime view. The input string should be the word 'latest', which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{0,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyContainerGroupPoolRuntimeViews_Get": { - "$ref": "./examples/StandbyContainerGroupPoolRuntimeViews_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools": { - "get": { - "operationId": "StandbyVirtualMachinePools_ListByResourceGroup", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "List StandbyVirtualMachinePoolResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_ListByResourceGroup": { - "$ref": "./examples/StandbyVirtualMachinePools_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}": { - "get": { - "operationId": "StandbyVirtualMachinePools_Get", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Get a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Get": { - "$ref": "./examples/StandbyVirtualMachinePools_Get.json" - } - } - }, - "put": { - "operationId": "StandbyVirtualMachinePools_CreateOrUpdate", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Create a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'StandbyVirtualMachinePoolResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "201": { - "description": "Resource 'StandbyVirtualMachinePoolResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - }, - "headers": { - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_CreateOrUpdate": { - "$ref": "./examples/StandbyVirtualMachinePools_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "StandbyVirtualMachinePools_Update", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Update a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Update": { - "$ref": "./examples/StandbyVirtualMachinePools_Update.json" - } - } - }, - "delete": { - "operationId": "StandbyVirtualMachinePools_Delete", - "tags": [ - "StandbyVirtualMachinePools" - ], - "description": "Delete a StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePools_Delete": { - "$ref": "./examples/StandbyVirtualMachinePools_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews": { - "get": { - "operationId": "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool", - "tags": [ - "StandbyVirtualMachinePoolRuntimeViews" - ], - "description": "List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool": { - "$ref": "./examples/StandbyVirtualMachinePoolRuntimeViews_ListByStandbyPool.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}": { - "get": { - "operationId": "StandbyVirtualMachinePoolRuntimeViews_Get", - "tags": [ - "StandbyVirtualMachinePoolRuntimeViews" - ], - "description": "Get a StandbyVirtualMachinePoolRuntimeViewResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "runtimeView", - "in": "path", - "description": "The unique identifier for the runtime view. The input string should be the word 'latest', which will get the latest runtime view of the pool, otherwise the request will fail with NotFound exception.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{0,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachinePoolRuntimeViews_Get": { - "$ref": "./examples/StandbyVirtualMachinePoolRuntimeViews_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines": { - "get": { - "operationId": "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource", - "tags": [ - "StandbyVirtualMachines" - ], - "description": "List StandbyVirtualMachineResource resources by StandbyVirtualMachinePoolResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachineResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource": { - "$ref": "./examples/StandbyVirtualMachines_ListByStandbyVirtualMachinePoolResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/standbyVirtualMachines/{standbyVirtualMachineName}": { - "get": { - "operationId": "StandbyVirtualMachines_Get", - "tags": [ - "StandbyVirtualMachines" - ], - "description": "Get a StandbyVirtualMachineResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "standbyVirtualMachinePoolName", - "in": "path", - "description": "Name of the standby virtual machine pool", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9-]{3,24}$" - }, - { - "name": "standbyVirtualMachineName", - "in": "path", - "description": "Name of the standby virtual machine", - "required": true, - "type": "string", - "pattern": "^[_a-zA-Z0-9-]{3,64}$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/StandbyVirtualMachineResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "StandbyVirtualMachines_Get": { - "$ref": "./examples/StandbyVirtualMachines_Get.json" - } - } - } - } - }, - "definitions": { - "ContainerGroupInstanceCountSummary": { - "type": "object", - "description": "Displays the counts of container groups in each state, as known by the StandbyPool resource provider.", - "properties": { - "instanceCountsByState": { - "type": "array", - "description": "The count of pooled resources in each state.", - "items": { - "$ref": "#/definitions/PoolResourceStateCount" - }, - "x-ms-identifiers": [ - "state" - ] - } - }, - "required": [ - "instanceCountsByState" - ] - }, - "ContainerGroupProfile": { - "type": "object", - "description": "Details of the ContainerGroupProfile.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies container group profile id of standby container groups.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerInstance/containerGroupProfiles" - } - ] - } - }, - "revision": { - "type": "integer", - "format": "int64", - "description": "Specifies revision of container group profile." - } - }, - "required": [ - "id" - ] - }, - "ContainerGroupProfileUpdate": { - "type": "object", - "description": "Details of the ContainerGroupProfile.", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies container group profile id of standby container groups.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.ContainerInstance/containerGroupProfiles" - } - ] - } - }, - "revision": { - "type": "integer", - "format": "int64", - "description": "Specifies revision of container group profile." - } - } - }, - "ContainerGroupProperties": { - "type": "object", - "description": "Details of the ContainerGroupProperties.", - "properties": { - "containerGroupProfile": { - "$ref": "#/definitions/ContainerGroupProfile", - "description": "Specifies container group profile of standby container groups." - }, - "subnetIds": { - "type": "array", - "description": "Specifies subnet Ids for container group.", - "items": { - "$ref": "#/definitions/Subnet" - } - } - }, - "required": [ - "containerGroupProfile" - ] - }, - "ContainerGroupPropertiesUpdate": { - "type": "object", - "description": "Details of the ContainerGroupProperties.", - "properties": { - "containerGroupProfile": { - "$ref": "#/definitions/ContainerGroupProfileUpdate", - "description": "Specifies container group profile of standby container groups." - }, - "subnetIds": { - "type": "array", - "description": "Specifies subnet Ids for container group.", - "items": { - "$ref": "#/definitions/Subnet" - } - } - } - }, - "PoolResourceStateCount": { - "type": "object", - "description": "Displays the counts of pooled resources in each state, as known by the StandbyPool resource provider.", - "properties": { - "state": { - "type": "string", - "description": "The state that the pooled resources count is for." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "The count of pooled resources in the given state." - } - }, - "required": [ - "state", - "count" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "Provisioning state", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Deleting" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Resource is being deleted." - } - ] - }, - "readOnly": true - }, - "RefillPolicy": { - "type": "string", - "description": "Refill policy of standby pool", - "enum": [ - "always" - ], - "x-ms-enum": { - "name": "RefillPolicy", - "modelAsString": true, - "values": [ - { - "name": "always", - "value": "always", - "description": "A refill policy that standby pool is automatically refilled to maintain maxReadyCapacity." - } - ] - } - }, - "StandbyContainerGroupPoolElasticityProfile": { - "type": "object", - "description": "Specifies the elasticity profile of the standby container group pools.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies maximum number of standby container groups in the standby pool.", - "minimum": 0, - "maximum": 2000 - }, - "refillPolicy": { - "$ref": "#/definitions/RefillPolicy", - "description": "Specifies refill policy of the pool." - } - }, - "required": [ - "maxReadyCapacity" - ] - }, - "StandbyContainerGroupPoolElasticityProfileUpdate": { - "type": "object", - "description": "Specifies the elasticity profile of the standby container group pools.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies maximum number of standby container groups in the standby pool.", - "minimum": 0, - "maximum": 2000 - }, - "refillPolicy": { - "$ref": "#/definitions/RefillPolicy", - "description": "Specifies refill policy of the pool." - } - } - }, - "StandbyContainerGroupPoolResource": { - "type": "object", - "description": "A StandbyContainerGroupPoolResource.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "StandbyContainerGroupPoolResourceListResult": { - "type": "object", - "description": "The response of a StandbyContainerGroupPoolResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyContainerGroupPoolResource items on this page", - "items": { - "$ref": "#/definitions/StandbyContainerGroupPoolResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyContainerGroupPoolResourceProperties": { - "type": "object", - "description": "Details of the StandbyContainerGroupPool.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfile", - "description": "Specifies elasticity profile of standby container group pools." - }, - "containerGroupProperties": { - "$ref": "#/definitions/ContainerGroupProperties", - "description": "Specifies container group properties of standby container group pools." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "elasticityProfile", - "containerGroupProperties" - ] - }, - "StandbyContainerGroupPoolResourceUpdate": { - "type": "object", - "description": "The type used for update operations of the StandbyContainerGroupPoolResource.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolResourceUpdateProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - } - }, - "StandbyContainerGroupPoolResourceUpdateProperties": { - "type": "object", - "description": "The updatable properties of the StandbyContainerGroupPoolResource.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyContainerGroupPoolElasticityProfileUpdate", - "description": "Specifies elasticity profile of standby container group pools." - }, - "containerGroupProperties": { - "$ref": "#/definitions/ContainerGroupPropertiesUpdate", - "description": "Specifies container group properties of standby container group pools." - } - } - }, - "StandbyContainerGroupPoolRuntimeViewResource": { - "type": "object", - "description": "Contains information about a standby container group pool as last known by the StandbyPool resource provider.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyContainerGroupPoolRuntimeViewResourceListResult": { - "type": "object", - "description": "The response of a StandbyContainerGroupPoolRuntimeViewResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyContainerGroupPoolRuntimeViewResource items on this page", - "items": { - "$ref": "#/definitions/StandbyContainerGroupPoolRuntimeViewResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyContainerGroupPoolRuntimeViewResourceProperties": { - "type": "object", - "description": "Contains information about a standby pool as last known by the StandbyPool resource provider.", - "properties": { - "instanceCountSummary": { - "type": "array", - "description": "A list containing the counts of container groups in each possible state, as known by the StandbyPool resource provider.", - "items": { - "$ref": "#/definitions/ContainerGroupInstanceCountSummary" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Displays the provisioning state of the standby pool", - "readOnly": true - } - }, - "required": [ - "instanceCountSummary" - ] - }, - "StandbyVirtualMachinePoolElasticityProfile": { - "type": "object", - "description": "Details of the elasticity profile.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", - "minimum": 0, - "maximum": 2000 - }, - "minReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.", - "minimum": 0, - "maximum": 2000 - } - }, - "required": [ - "maxReadyCapacity" - ] - }, - "StandbyVirtualMachinePoolElasticityProfileUpdate": { - "type": "object", - "description": "Details of the elasticity profile.", - "properties": { - "maxReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the maximum number of virtual machines in the standby virtual machine pool.", - "minimum": 0, - "maximum": 2000 - }, - "minReadyCapacity": { - "type": "integer", - "format": "int64", - "description": "Specifies the desired minimum number of virtual machines in the standby virtual machine pool. MinReadyCapacity cannot exceed MaxReadyCapacity.", - "minimum": 0, - "maximum": 2000 - } - } - }, - "StandbyVirtualMachinePoolResource": { - "type": "object", - "description": "A StandbyVirtualMachinePoolResource.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "StandbyVirtualMachinePoolResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachinePoolResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachinePoolResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachinePoolResourceProperties": { - "type": "object", - "description": "Details of the StandbyVirtualMachinePool.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfile", - "description": "Specifies the elasticity profile of the standby virtual machine pools." - }, - "virtualMachineState": { - "$ref": "#/definitions/VirtualMachineState", - "description": "Specifies the desired state of virtual machines in the pool.", - "x-ms-identifiers": [ - "vmState" - ] - }, - "attachedVirtualMachineScaleSetId": { - "type": "string", - "format": "arm-id", - "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Compute/virtualMachineScaleSet" - } - ] - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "virtualMachineState" - ] - }, - "StandbyVirtualMachinePoolResourceUpdate": { - "type": "object", - "description": "The type used for update operations of the StandbyVirtualMachinePoolResource.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolResourceUpdateProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - } - }, - "StandbyVirtualMachinePoolResourceUpdateProperties": { - "type": "object", - "description": "The updatable properties of the StandbyVirtualMachinePoolResource.", - "properties": { - "elasticityProfile": { - "$ref": "#/definitions/StandbyVirtualMachinePoolElasticityProfileUpdate", - "description": "Specifies the elasticity profile of the standby virtual machine pools." - }, - "virtualMachineState": { - "$ref": "#/definitions/VirtualMachineState", - "description": "Specifies the desired state of virtual machines in the pool.", - "x-ms-identifiers": [ - "vmState" - ] - }, - "attachedVirtualMachineScaleSetId": { - "type": "string", - "format": "arm-id", - "description": "Specifies the fully qualified resource ID of a virtual machine scale set the pool is attached to.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Compute/virtualMachineScaleSet" - } - ] - } - } - } - }, - "StandbyVirtualMachinePoolRuntimeViewResource": { - "type": "object", - "description": "Contains information about a standby virtual machine pool as last known by the StandbyPool resource provider.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyVirtualMachinePoolRuntimeViewResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachinePoolRuntimeViewResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachinePoolRuntimeViewResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachinePoolRuntimeViewResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachinePoolRuntimeViewResourceProperties": { - "type": "object", - "description": "Contains information about a standby pool as last known by the StandbyPool resource provider.", - "properties": { - "instanceCountSummary": { - "type": "array", - "description": "A list containing the counts of virtual machines in each possible power state for each zone if enabled, as known by the StandbyPool resource provider.\nIf zones are not enabled on the attached VMSS, the list will contain a single entry with null zone values.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned.", - "items": { - "$ref": "#/definitions/VirtualMachineInstanceCountSummary" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Displays the provisioning state of the standby pool", - "readOnly": true - } - }, - "required": [ - "instanceCountSummary" - ] - }, - "StandbyVirtualMachineResource": { - "type": "object", - "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", - "properties": { - "properties": { - "$ref": "#/definitions/StandbyVirtualMachineResourceProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "StandbyVirtualMachineResourceListResult": { - "type": "object", - "description": "The response of a StandbyVirtualMachineResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The StandbyVirtualMachineResource items on this page", - "items": { - "$ref": "#/definitions/StandbyVirtualMachineResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "StandbyVirtualMachineResourceProperties": { - "type": "object", - "description": "Details of the StandbyVirtualMachine.", - "properties": { - "virtualMachineResourceId": { - "type": "string", - "description": "Resource id of the virtual machine." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - } - }, - "required": [ - "virtualMachineResourceId" - ] - }, - "Subnet": { - "type": "object", - "description": "Subnet of container group", - "properties": { - "id": { - "type": "string", - "format": "arm-id", - "description": "Specifies ARM resource id of the subnet.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/virtualNetworks/subnets" - } - ] - } - } - }, - "required": [ - "id" - ] - }, - "VirtualMachineInstanceCountSummary": { - "type": "object", - "description": "Contains the counts of VMs in each power state in a given zone, fault domain, as known by the StandbyPool resource provider.\nNote: any updates to pool resources outside of StandbyPoolRP (i.e deleting a VM through portal) are not reflected here.\nNote: any resources in the Running state may still be installing extensions / not fully provisioned.", - "properties": { - "zone": { - "type": "integer", - "format": "int64", - "description": "The zone that the provided counts are in. This is null if zones are not enabled on the attached VMSS." - }, - "instanceCountsByState": { - "type": "array", - "description": "The count of pooled resources in each state for the given zone.", - "items": { - "$ref": "#/definitions/PoolResourceStateCount" - }, - "x-ms-identifiers": [ - "state" - ] - } - }, - "required": [ - "instanceCountsByState" - ] - }, - "VirtualMachineState": { - "type": "string", - "description": "State of standby virtual machines", - "enum": [ - "Running", - "Deallocated" - ], - "x-ms-enum": { - "name": "VirtualMachineState", - "modelAsString": true, - "values": [ - { - "name": "Running", - "value": "Running", - "description": "The virtual machine is up and running." - }, - { - "name": "Deallocated", - "value": "Deallocated", - "description": "The virtual machine has released the lease on the underlying hardware and is powered off." - } - ] - } } }, + "definitions": {}, "parameters": {} }