diff --git a/custom-words.txt b/custom-words.txt index 736ef2052a35..9a881ad5b6d6 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2993,6 +2993,7 @@ wandisco wans wargs wasb +wasbs wasm wasserstein watchlist @@ -3167,6 +3168,7 @@ primingjob operatorconnect getent useraccount +userassignedidentities businessmetadata usermetadata Relaytype diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateAutoscaleCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/CreateClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateClusterPool.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/CreateClusterPool.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateClusterPool.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/CreateSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateSparkCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/CreateSparkCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/CreateSparkCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/DeleteCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/DeleteCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/DeleteClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteClusterPool.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/DeleteClusterPool.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/DeleteClusterPool.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetClusterInstanceView.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterInstanceView.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetClusterInstanceView.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterInstanceView.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterPool.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetClusterPool.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetClusterPool.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetOperations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetOperations.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/GetOperations.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/GetOperations.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterPoolVersions.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListAvailableClusterVersions.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterInstanceViews.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterJobs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterJobs.json similarity index 78% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterJobs.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterJobs.json index 0c7dd15dc14c..da809a7418da 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterJobs.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterJobs.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "hiloResourcegroup", - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", "api-version": "2023-06-01-preview", "clusterPoolName": "clusterPool1", "clusterName": "cluster1" @@ -11,7 +11,7 @@ "body": { "value": [ { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/jobs/flink-job-1", + "id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1/jobs/flink-job-1", "properties": { "jobType": "FlinkJob", "jobName": "flink-job-1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterPools.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPools.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterPools.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPools.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterPoolsSubscription.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClusterServiceConfigs.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ListClustersByClusterPoolName.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/LocationsNameAvailability.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/LocationsNameAvailability.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/LocationsNameAvailability.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/LocationsNameAvailability.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/PatchCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/PatchCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/PatchClusterPool.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchClusterPool.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/PatchClusterPool.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/PatchClusterPool.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ResizeCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json similarity index 100% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/ResizeCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/ResizeCluster.json diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/RunClusterJob.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/RunClusterJob.json similarity index 95% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/RunClusterJob.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/RunClusterJob.json index a6100ae78517..40db47287c4e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/examples/RunClusterJob.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/examples/RunClusterJob.json @@ -1,6 +1,6 @@ { "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", + "subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6", "resourceGroupName": "hiloResourcegroup", "api-version": "2023-06-01-preview", "clusterPoolName": "clusterpool1", diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/hdinsight.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/hdinsight.json similarity index 86% rename from specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/hdinsight.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/hdinsight.json index 154c443647ef..04f27577871e 100644 --- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2023-06-01-preview/hdinsight.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/preview/2023-06-01-preview/hdinsight.json @@ -45,13 +45,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -67,7 +67,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -82,13 +82,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -105,13 +105,13 @@ ], "responses": { "201": { - "description": "ClusterPool create/update request accepted.", + "description": "ClusterPool is created.", "schema": { "$ref": "#/definitions/ClusterPool" } }, "200": { - "description": "Successful.", + "description": "Update successful.", "schema": { "$ref": "#/definitions/ClusterPool" } @@ -119,7 +119,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -138,13 +138,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$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/SubscriptionIdParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -168,6 +168,11 @@ }, "202": { "description": "Accepted.", + "headers": { + "Location": { + "type": "string" + } + }, "schema": { "$ref": "#/definitions/ClusterPool" } @@ -175,7 +180,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -194,13 +199,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -211,7 +216,12 @@ "description": "Successful." }, "202": { - "description": "Accepted response definition." + "description": "Accepted response definition.", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No content - The Cluster Pool doesn't exist." @@ -219,7 +229,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -237,10 +247,10 @@ "description": "Gets the list of Cluster Pools within a Subscription.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$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/SubscriptionIdParameter" } ], "responses": { @@ -253,7 +263,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -273,13 +283,13 @@ "description": "Lists the HDInsight cluster pools under a resource group.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -292,7 +302,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -312,13 +322,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -334,7 +344,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -354,13 +364,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$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/SubscriptionIdParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -397,7 +407,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -418,13 +428,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -443,7 +453,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -461,13 +471,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -487,13 +497,13 @@ ], "responses": { "201": { - "description": "Cluster create/update request accepted.", + "description": "Cluster is created.", "schema": { "$ref": "#/definitions/Cluster" } }, "200": { - "description": "Successful.", + "description": "Update successful.", "schema": { "$ref": "#/definitions/Cluster" } @@ -501,7 +511,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -520,13 +530,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$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/SubscriptionIdParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -553,6 +563,11 @@ }, "202": { "description": "Accepted.", + "headers": { + "Location": { + "type": "string" + } + }, "schema": { "$ref": "#/definitions/Cluster" } @@ -560,7 +575,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -579,13 +594,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -599,7 +614,12 @@ "description": "Successful." }, "202": { - "description": "Cluster delete request accepted." + "description": "Cluster delete request accepted.", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "No content - The Cluster doesn't exist." @@ -607,7 +627,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -628,13 +648,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -671,7 +691,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -692,13 +712,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -717,7 +737,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -737,13 +757,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -762,7 +782,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -782,13 +802,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { "name": "NameAvailabilityParameters", @@ -810,7 +830,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -827,13 +847,13 @@ "description": "Lists the lists of instance views", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -852,7 +872,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -872,13 +892,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ClusterPoolNameParameter" @@ -897,7 +917,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } } @@ -914,20 +934,20 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Operation details.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -947,13 +967,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -966,7 +986,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -980,19 +1000,19 @@ "description": "Returns a list of available cluster versions.", "operationId": "AvailableClusterVersions_ListByLocation", "x-ms-examples": { - "ClusterPoolVersionListResult": { + "ClusterVersionListResult": { "$ref": "./examples/ListAvailableClusterVersions.json" } }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1005,7 +1025,7 @@ "default": { "description": "Error Response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1078,7 +1098,14 @@ "subnetId": { "type": "string", "description": "Cluster pool subnet resource id.", - "pattern": "^/(subscriptions|SUBSCRIPTIONS)/([a-zA-Z0-9\\-]+)/(resourcegroups|resourceGroups|RESOURCEGROUPS)/([a-zA-Z0-9\\-_()\\.]+)/(providers|PROVIDERS)/(microsoft|Microsoft|MICROSOFT)\\.(network|Network|NETWORK)/(virtualnetworks|virtualNetworks|VIRTUALNETWORKS)/([a-zA-Z0-9][a-zA-Z0-9_\\-\\.]{0,62}[a-zA-Z0-9_])/(subnets|SUBNETS)/([a-zA-Z0-9][a-zA-Z0-9_\\-\\.]{0,78}[a-zA-Z0-9_])$" + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } } } }, @@ -1096,7 +1123,14 @@ "workspaceId": { "type": "string", "description": "Log analytics workspace to associate with the OMS agent.", - "pattern": "^/(subscriptions|SUBSCRIPTIONS)/([a-zA-Z0-9\\-]+)/(resourcegroups|resourceGroups|RESOURCEGROUPS)/([a-zA-Z0-9\\-_()\\.]+)/(providers|PROVIDERS)/(microsoft|Microsoft|MICROSOFT)\\.(operationalinsights|OperationalInsights|OPERATIONALINSIGHTS)/(workspaces|WORKSPACES)/([A-Za-z0-9][A-Za-z0-9\\-]+[A-Za-z0-9])$" + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } } } }, @@ -1107,7 +1141,14 @@ "aksClusterResourceId": { "type": "string", "description": "ARM Resource ID of the AKS cluster", - "pattern": "^/(subscriptions|SUBSCRIPTIONS)/([a-zA-Z0-9\\-]+)/(resourcegroups|resourceGroups|RESOURCEGROUPS)/([a-zA-Z0-9\\-_()\\.]+)/(providers|PROVIDERS)/(microsoft|Microsoft|MICROSOFT)\\.(containerservice|ContainerService|CONTAINERSERVICE)/(managedclusters|managedClusters|MANAGEDCLUSTERS)/([A-Za-z0-9][A-Za-z0-9\\-_]*[A-Za-z0-9]*)$" + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ContainerService/managedClusters" + } + ] + } }, "aksClusterAgentPoolIdentityProfile": { "description": "Identity properties of the AKS cluster agentpool MSI", @@ -1224,14 +1265,14 @@ "$ref": "#/definitions/ClusterPoolResourceProperties" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "SystemData of cluster pool.", "readOnly": true } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -1326,7 +1367,14 @@ "msiResourceId": { "type": "string", "description": "ResourceId of the MSI.", - "pattern": "^/(subscriptions|SUBSCRIPTIONS)/([a-zA-Z0-9\\-]+)/(resourcegroups|resourceGroups|RESOURCEGROUPS)/([a-zA-Z0-9\\-_()\\.]+)/(providers|PROVIDERS)/(microsoft|Microsoft|MICROSOFT)\\.(managedidentity|ManagedIdentity|MANAGEDIDENTITY)/(userassignedidentities|userAssignedIdentities|USERASSIGNEDIDENTITIES)/([a-zA-Z0-9\\-\\._~]+)$" + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ManagedIdentity/userAssignedIdentities" + } + ] + } }, "msiClientId": { "type": "string", @@ -1376,7 +1424,15 @@ "type": { "type": "string", "description": "Type of key vault object: secret, key or certificate.", - "pattern": "^(key|Key|KEY|secret|Secret|SECRET|certificate|Certificate|CERTIFICATE)$" + "enum": [ + "Key", + "Secret", + "Certificate" + ], + "x-ms-enum": { + "name": "KeyVaultObjectType", + "modelAsString": true + } }, "version": { "type": "string", @@ -1399,7 +1455,14 @@ "keyVaultResourceId": { "type": "string", "description": "Name of the user Key Vault where all the cluster specific user secrets are stored.", - "pattern": "^/(subscriptions|SUBSCRIPTIONS)/([a-zA-Z0-9\\-]+)/(resourcegroups|resourceGroups|RESOURCEGROUPS)/([a-zA-Z0-9\\-_()\\.]+)/(providers|PROVIDERS)/(microsoft|Microsoft|MICROSOFT)\\.(keyvault|KeyVault|KEYVAULT)/(vaults|VAULTS)/([a-zA-Z0-9\\-\\._~]+)$" + "format": "arm-id", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } }, "secrets": { "type": "array", @@ -2137,7 +2200,8 @@ "description": "The script action profile list.", "items": { "$ref": "#/definitions/ScriptActionProfile" - } + }, + "x-ms-identifiers": [] }, "ScriptActionProfile": { "type": "object", @@ -2175,6 +2239,7 @@ }, "timeoutInMinutes": { "type": "integer", + "format": "int32", "description": "Timeout duration for the script action in minutes." }, "shouldPersist": { @@ -2268,7 +2333,8 @@ }, "storagekey": { "type": "string", - "description": "Storage key is only required for wasb(s) storage." + "description": "Storage key is only required for wasb(s) storage.", + "x-ms-secret": true } } }, @@ -2400,14 +2466,14 @@ "$ref": "#/definitions/ClusterResourceProperties" }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", "description": "SystemData of cluster.", "readOnly": true } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -2423,7 +2489,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -2480,7 +2546,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -2777,7 +2843,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -2842,7 +2908,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -2891,6 +2957,7 @@ } } }, + "x-ms-identifiers": [], "example": [ { "name": "HDFS", @@ -2929,7 +2996,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], "required": [ diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md new file mode 100644 index 000000000000..0504453ad8cb --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.go.md @@ -0,0 +1,12 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + + +``` yaml $(go) && $(track2) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/hdinsight/armhdinsightonaks +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md new file mode 100644 index 000000000000..5f6a1c2ebdb5 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.md @@ -0,0 +1,115 @@ +# HDInsight On Aks + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for HDInsight On Aks. + +--- + +## Getting Started + +To build the SDK for HDInsight, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` + +--- + +## Configuration + +### Basic Information + +These are the global settings for the HDInsight On Aks API. + +``` yaml +title: HDInsightOnAksManagementClient +description: HDInsight On Aks Management Client +openapi-type: arm +openapi-subtype: rpaas +azure-arm: true +tag: package-2023-06-preview +``` + +### Suppression + + +### Tag: package-2023-06-preview +These settings apply only when `--tag=package-2023-06-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-06-preview' +input-file: + - preview/2023-06-01-preview/hdinsight.json +suppressions: + - code: MISSING_APIS_IN_DEFAULT_TAG + reason: Remove deprecated APIs in new API version. + - code: ResourceNameRestriction + reason: Keep compatibility with old API version. + - code: PatchBodyParametersSchema + reason: The "location" property is a must for a tracked resource. + - code: TrackedResourcePatchOperation + reason: This is a false positive, the "tags" property is defined in TrackedResource. + - code: OperationIdNounVerb + reason: This is false alarm. We checked that the operation id "Clusters_ListByClusterPoolName" is correct. + - code: GetCollectionOnlyHasValueAndNextLink + reason: This is false alarm. +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net-track2 + - repo: azure-sdk-for-go + - repo: azure-sdk-for-java + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-js + - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + - repo: azure-powershell +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Azure.ResourceManager.HDInsightOnAks + output-folder: $(csharp-sdks-folder)/hdinsight/Azure.ResourceManager.HDInsightOnAks/src/Generated + clear-output-folder: true +``` + + +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.hdinsightonaks +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsightonaks +``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md new file mode 100644 index 000000000000..0c1d9bd10148 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.nodejs.md @@ -0,0 +1,29 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + package-name: azure-arm-hdinsight + output-folder: $(node-sdks-folder)/lib/services/hdInsightManagement + generate-license-txt: true + generate-package-json: true + generate-readme-md: true +``` + +## Tag: package-hdinsightonaks-2023-06-preview and Node.js + +These settings apply only when `--tag=package-hdinsightonaks-2023-06-preview --nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(tag) == 'package-hdinsightonaks-2023-06-preview' && $(nodejs) +nodejs: + azure-arm: true + package-name: azure-arm-hdinsightonaks + output-folder: $(node-sdks-folder)/lib/services/hdInsightOnAksManagement + generate-license-txt: true + generate-package-json: true + generate-readme-md: true +``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md new file mode 100644 index 000000000000..e1423a2943a8 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.python.md @@ -0,0 +1,25 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +title: HDInsightOnAksMgmtClient +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +namespace: azure.mgmt.hdinsightonaks +package-name: azure-mgmt-hdinsightonaks +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/hdinsight/azure-mgmt-hdinsightonaks/azure/mgmt/hdinsightonaks +``` + +``` yaml $(python) +modelerfour: + lenient-model-deduplication: true +``` diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md new file mode 100644 index 000000000000..e234db578f18 --- /dev/null +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/HDInsightOnAks/readme.typescript.md @@ -0,0 +1,12 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-hdinsightonaks" + output-folder: "$(typescript-sdks-folder)/sdk/hdinsight/arm-hdinsightonaks" + generate-metadata: true +``` diff --git a/specification/hdinsight/resource-manager/readme.java.md b/specification/hdinsight/resource-manager/readme.java.md deleted file mode 100644 index d466473bfc39..000000000000 --- a/specification/hdinsight/resource-manager/readme.java.md +++ /dev/null @@ -1,51 +0,0 @@ -## Java - -These settings apply only when `--java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.hdinsightaks -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsightaks - -rename-model: 'SubResource:EntityResource' -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2021-09-preview - - tag: package-2023-06-preview -``` - -### Tag: package-2023-06-preview and java - -These settings apply only when `--tag=package-2023-06-preview --java` is specified on the command line. - -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2023-06-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.hdinsightaks.v2023_06_01_preview - output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsightaks/mgmt-v2023_06_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2021-09-preview and java - -These settings apply only when `--tag=package-2021-09-preview --java` is specified on the command line. - -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2021-09-15-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.hdinsightaks.v2021_09_15_preview - output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsightaks/mgmt-v2021_09_15_preview -regenerate-manager: true -generate-interface: true -``` \ No newline at end of file diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index d2f0b0781f5b..0ba51f73cd35 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -2,75 +2,187 @@ > see https://aka.ms/autorest -This is the AutoRest configuration file for HDInsight AKS. - - +This is the AutoRest configuration file for HDInsight. --- + ## Getting Started -To build the SDK for HDInsight AKS, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +To build the SDK for HDInsight, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` To see additional help and options, run: > `autorest --help` + --- ## Configuration - ### Basic Information -These are the global settings for the HDInsight AKS API. + +These are the global settings for the HDInsight API. ``` yaml -title: HDInsightAKSManagementClient -description: HDInsight AKS Management Client +title: HDInsightManagementClient +description: HDInsight Management Client openapi-type: arm -openapi-subtype: rpaas azure-arm: true -tag: package-2023-06-preview +tag: package-2023-04-preview +``` + +### Suppression + +``` yaml +directive: + - suppress: DefinitionsPropertiesNamesCamelCase + reason: This would require a breaking change, and need to be consistent with the response from RP side. + from: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json + where: + - $.definitions.CapabilitiesResult.properties.vmsize_filters + - $.definitions.RegionalQuotaCapability.properties.cores_available + - $.definitions.RegionalQuotaCapability.properties.cores_used + - $.definitions.RegionalQuotaCapability.properties.region_name + - $.definitions.QuotaCapability.properties.cores_used + - $.definitions.QuotaCapability.properties.max_cores_allowed + - $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions + - $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes + - $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors + - $.definitions.VmSizeCompatibilityFilter.properties.Regions + - $.definitions.VmSizeCompatibilityFilter.properties.FilterMode + - $.definitions.VmSizeCompatibilityFilter.properties.OsType + - $.definitions.VmSizeCompatibilityFilter.properties.VMSizes + - $.definitions.VmSizeCompatibilityFilter.properties.ESPApplied + - $.definitions.VmSizeCompatibilityFilter.properties.ComputeIsolationSupported +``` + +``` yaml +directive: + - suppress: DefinitionsPropertiesNamesCamelCase + reason: This would require a breaking change, and need to be consistent with the response from RP side. + from: Microsoft.HDInsight/stable/2018-06-01-preview/locations.json + where: + - $.definitions.CapabilitiesResult.properties.vmsize_filters + - $.definitions.RegionalQuotaCapability.properties.cores_available + - $.definitions.RegionalQuotaCapability.properties.cores_used + - $.definitions.RegionalQuotaCapability.properties.region_name + - $.definitions.QuotaCapability.properties.cores_used + - $.definitions.QuotaCapability.properties.max_cores_allowed + - $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions + - $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes + - $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors + - $.definitions.VmSizeCompatibilityFilter.properties.Regions + - $.definitions.VmSizeCompatibilityFilter.properties.FilterMode + - $.definitions.VmSizeCompatibilityFilter.properties.OsType + - $.definitions.VmSizeCompatibilityFilter.properties.VMSizes + - $.definitions.VmSizeCompatibilityFilter.properties.ESPApplied + - $.definitions.VmSizeCompatibilityFilter.properties.ComputeIsolationSupported +``` + +``` yaml +directive: + - suppress: DefinitionsPropertiesNamesCamelCase + reason: This would require a breaking change, and need to be consistent with the response from RP side. + from: + - Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json + - Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json + - Microsoft.HDInsight/stable/2021-06-01/cluster.json + - Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json + where: + - $.definitions.Role.properties.VMGroupName +``` + +``` yaml +directive: + - suppress: R3016 # to suppress (DefinitionsPropertiesNamesCamelCase) + from: cluster.json + reason: The casing of this property is not incorrect. + where: + - $..["restAuthCredential.isEnabled"] + - $..["restAuthCredential.username"] + - $..["restAuthCredential.password"] +``` + +``` yaml +directive: + - suppress: R4007 # to suppress (DefaultErrorResponseSchema) + reason: Update the default error response to a new format would be a braking change for service. ``` -### Tag: package-2023-06-preview -These settings apply only when `--tag=package-2023-06-preview` is specified on the command line. +### Tag: package-2023-04-preview + +These settings apply only when `--tag=package-2023-04-preview` is specified on the command line. -``` yaml $(tag) == 'package-2023-06-preview' +```yaml $(tag) == 'package-2023-04-preview' input-file: -- Microsoft.HDInsight/preview/2023-06-01-preview/hdinsight.json + - Microsoft.HDInsight/preview/2023-04-15-preview/applications.json + - Microsoft.HDInsight/preview/2023-04-15-preview/cluster.json + - Microsoft.HDInsight/preview/2023-04-15-preview/configurations.json + - Microsoft.HDInsight/preview/2023-04-15-preview/extensions.json + - Microsoft.HDInsight/preview/2023-04-15-preview/locations.json + - Microsoft.HDInsight/preview/2023-04-15-preview/operations.json + - Microsoft.HDInsight/preview/2023-04-15-preview/privateEndpointConnections.json + - Microsoft.HDInsight/preview/2023-04-15-preview/privateLinkResources.json + - Microsoft.HDInsight/preview/2023-04-15-preview/scriptActions.json + - Microsoft.HDInsight/preview/2023-04-15-preview/virtualMachines.json +``` + +### Tag: package-2021-06 + +These settings apply only when `--tag=package-2021-06` is specified on the command line. -suppressions: - - code: MISSING_APIS_IN_DEFAULT_TAG - reason: Remove deprecated APIs in new API version. - - code: ResourceNameRestriction - reason: Keep compatibility with old API version. - - code: PatchBodyParametersSchema - reason: The "location" property is a must for a tracked resource. - - code: TrackedResourcePatchOperation - reason: This is a false positive, the "tags" property is defined in TrackedResource. +``` yaml $(tag) == 'package-2021-06' +input-file: +- Microsoft.HDInsight/stable/2021-06-01/cluster.json +- Microsoft.HDInsight/stable/2021-06-01/applications.json +- Microsoft.HDInsight/stable/2021-06-01/locations.json +- Microsoft.HDInsight/stable/2021-06-01/configurations.json +- Microsoft.HDInsight/stable/2021-06-01/extensions.json +- Microsoft.HDInsight/stable/2021-06-01/scriptActions.json +- Microsoft.HDInsight/stable/2021-06-01/operations.json +- Microsoft.HDInsight/stable/2021-06-01/virtualMachines.json +- Microsoft.HDInsight/stable/2021-06-01/privateEndpointConnections.json +- Microsoft.HDInsight/stable/2021-06-01/privateLinkResources.json ``` -### Tag: package-2021-09-preview +### Tag: package-2018-06-preview -These settings apply only when `--tag=package-2021-09-preview` is specified on the command line. +These settings apply only when `--tag=package-2018-06-preview` is specified on the command line. -``` yaml $(tag) == 'package-2021-09-preview' +``` yaml $(tag) == 'package-2018-06-preview' input-file: -- Microsoft.HDInsight/preview/2021-09-15-preview/hdinsight.json +- Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json +- Microsoft.HDInsight/stable/2018-06-01-preview/applications.json +- Microsoft.HDInsight/stable/2018-06-01-preview/locations.json +- Microsoft.HDInsight/stable/2018-06-01-preview/configurations.json +- Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json +- Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json +- Microsoft.HDInsight/stable/2018-06-01-preview/operations.json +- Microsoft.HDInsight/stable/2018-06-01-preview/virtualMachines.json +``` + +### Tag: package-2015-03-preview -suppressions: - - code: MISSING_APIS_IN_DEFAULT_TAG - reason: Remove deprecated APIs in new API version. - - code: ResourceNameRestriction - reason: Suppress it because the resource name in other existing apis doesn't have restriction. +These settings apply only when `--tag=package-2015-03-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-03-preview' +input-file: +- Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json +- Microsoft.HDInsight/preview/2015-03-01-preview/applications.json +- Microsoft.HDInsight/preview/2015-03-01-preview/locations.json +- Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json +- Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json +- Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json +- Microsoft.HDInsight/preview/2015-03-01-preview/operations.json +- Microsoft.HDInsight/preview/2015-03-01-preview/virtualMachines.json ``` --- # Code Generation - ## Swagger to SDK This section describes what SDK should be generated by the automatic system. @@ -78,8 +190,8 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-net - - repo: azure-sdk-for-go-track2 + - repo: azure-sdk-for-net-track2 + - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-js @@ -104,20 +216,55 @@ Please also specify `--csharp-sdks-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.hdinsight +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsight +``` + +### Java multi-api -## Typescript +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-06-preview + - tag: package-2015-03-preview +``` + +### Tag: package-2018-06-preview and java -See configuration in [readme.typescript.md](./readme.typescript.md) +These settings apply only when `--tag=package-2015-03-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. +``` yaml $(tag) == 'package-2018-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.hdinsight.v2018_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsight/mgmt-v2018_06_01_preview +regenerate-manager: true +generate-interface: true +``` -## AzureResourceSchema +### Tag: package-2015-03-preview and java -See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) +These settings apply only when `--tag=package-2015-03-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-03-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.hdinsight.v2015_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/sdk/hdinsight/mgmt-v2015_03_01_preview +regenerate-manager: true +generate-interface: true +```