diff --git a/.github/issue_assignment.yml b/.github/issue_assignment.yml
index f794ce633f5c..b31a0e8a1880 100644
--- a/.github/issue_assignment.yml
+++ b/.github/issue_assignment.yml
@@ -1,11 +1,13 @@
---
- rule:
- booleanFilterExpression: "needs-triage"
+ booleanFilterExpression: "Java"
assignees:
- - raych1
- - akning-ms
- - leni-msft
- ruowan
- jianyexi
- zhenglaizhang
+- rule:
+ booleanFilterExpression: "Python"
+ assignees:
+ - ruowan
+ - PhoenixHe-msft
diff --git a/.github/pull_request_assignment.yml b/.github/pull_request_assignment.yml
index 8e1df46c996b..3b2b0a413e3a 100644
--- a/.github/pull_request_assignment.yml
+++ b/.github/pull_request_assignment.yml
@@ -1,75 +1,8 @@
---
- rule:
- # translator data-plane PR
- paths:
- - "specification/cognitiveservices/data-plane/TranslatorText/**"
+ paths: "documentation/**"
reviewers:
- - kristapratico
- - maririos
-
-- rule:
- paths:
- - "specification/confidentialledger/data-plane/**"
- reviewers:
- - christothes
-
-- rule:
- paths:
- - "specification/@(applicationinsights|operationalinsights)/**"
- reviewers:
- - akning-ms
-
-- rule:
- # eventgrid data-plane PR
- paths:
- - "specification/eventgrid/data-plane/**"
- reviewers:
- - lmazuel
-
-- rule:
- # synapse data-plane PR
- paths:
- - "specification/synapse/data-plane/**"
- reviewers:
- - lmazuel
-
-- rule:
- # data-plane PR
- paths:
- - "specification/**/data-plane/iot**"
- reviewers:
- - drwill-ms
-
-- rule:
- # data-plane PR
- paths:
- - "specification/**/data-plane/**"
- reviewers:
- - anuchandy
- - jhendrixMSFT
- - tjprescott
-
-- rule:
- paths:
- - "specification/network/**"
- reviewers:
- - lirenhe
-
-
-- rule:
- paths: "specification/common-types/**"
- reviewers:
- - raych1
- - akning-ms
- - leni-msft
- ruowan
- - jianyexi
- - zhenglaizhang
-
-
-- rule:
- paths: "specification/@(resources|powerplatform|appplatform|deviceupdate)/**"
- reviewers:
- raych1
- rule:
@@ -78,121 +11,40 @@
- ruowan
- rule:
- paths: "specification/sql/**"
- reviewers:
- - zhenglaizhang
-
-- rule:
- paths: "specification/signalr/**"
- reviewers:
- - leni-msft
-
-- rule:
- paths: "specification/eventhub/**"
+ paths: "specification/**/Microsoft.Network/**"
reviewers:
- ruowan
-- rule:
- paths: "specification/compute/**"
- reviewers:
- - ArcturusZhang
- - yungezz
+ - NullMDR
+ - Dreamgoing
- rule:
- paths:
- - "specification/machinelearningservices/**"
- reviewers:
- - ArcturusZhang
-
-- rule:
- paths:
- - "specification/authorization/**"
+ paths:
+ - "specification/@(containerservice|databricks|containerregistry|compute)/**"
+ - "specification/@(docker)/**"
reviewers:
- ruowan
+ - Dreamgoing
- rule:
- paths:
- - "specification/datafactory/**"
+ paths: "specification/**/date-plane/**"
reviewers:
- - leni-msft
+ - Dreamgoing
- rule:
- paths:
- - "specification/storage/**"
+ paths:
+ - "specification/**/resource-manager/**"
reviewers:
- - jianyexi
-
-
-- rule:
- paths: "specification/mediaservices/**"
- reviewers:
- - allenjzhang
-
-- rule:
- paths:
- - "specification/containerregistry/**"
- reviewers:
- - fengzhou-msft
-
-- rule:
- paths:
- - "specification/mixedreality/**"
- - "specification/hdinsight/**"
- reviewers:
- - leni-msft
-
-- rule:
- paths:
- - "specification/web/**"
- reviewers:
- - weidongxu-microsoft
-
-- rule:
- paths:
- - "specification/servicelinker/**"
- reviewers:
- - raych1
-
-- rule:
- paths:
- - "specification/keyvault/**"
- reviewers:
- - zhenglaizhang
-
-- rule:
- paths:
- - "documentation/**"
- reviewers:
- - josefree
- - akning-ms
-
+ - NullMDR
+ - ruowan
- rule:
- paths:
- - "**/package.json"
- - ".github/**"
- - "**/azure-pipelines.yml"
- - ".azure-pipelines/**"
- - ".azure-pipelines-preproduction/**"
+ paths:
+ - "**/package.json"
+ - "package.json"
reviewers:
- - akning-ms
- - raych1
- - zhenglaizhang
+ - ruowan
- rule:
- # manager-plane PR
- paths:
- - "**"
+ paths: "**"
reviewers:
- - lirenhe
- - weidongxu-microsoft
- - ArcturusZhang
- - raych1
- - akning-ms
- - leni-msft
- ruowan
- - jianyexi
- - zhenglaizhang
- - chunyu3
- - changlong-liu
- - msyyc
- - qwordy
diff --git a/README.md b/README.md
index 55238c9f061e..93374d2186bf 100644
--- a/README.md
+++ b/README.md
@@ -2,15 +2,16 @@
## Description
-This repository is the canonical source for REST API specifications for Microsoft Azure.
+This repository is the canonical source for REST API specifications for Microsoft Azure. test
## Getting started
-If you're a Microsoft employee looking for information about all of the repositories and steps in the pipeline, go to the [Azure SDK - Internal Wiki](https://aka.ms/jointhesdk). Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that wiki repo. If any trouble with access, please submit a support request using this [form](https://aka.ms/swaggerfeedback).
+If you're a Microsoft employee looking for information about all of the repositories and steps in the pipeline, go to the [Azure SDK - Internal Wiki](https://aka.ms/jointhesdk). Make sure to [join the Github Azure organization](http://aka.ms/azuregithub) to get access to that wiki repo. If any trouble with access, please submit a support request using this [form](https://aka.ms/swaggerfeedback).
Latest improvement: Microsoft employees can try out our new experience at [OpenAPI Hub](https://aka.ms/openapihub) - online experience for using our validation tools and finding your workflow.
External Contributors can get started [here](https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/Getting%20started%20with%20OpenAPI%20specifications.md)
+
Please check the [announcements page](https://github.com/Azure/azure-rest-api-specs/wiki/Announcements) for any new updates since your last visit.
## Directory Structure
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2021-03-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2021-03-01-preview/appconfiguration.json
index 187d6c17f486..d407822bc39c 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2021-03-01-preview/appconfiguration.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2021-03-01-preview/appconfiguration.json
@@ -82,17 +82,10 @@
"name": "$skipToken",
"in": "query",
"description": "A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.",
- "required": false,
"type": "string"
}
],
"responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ConfigurationStoreListResult"
- }
- },
"default": {
"description": "Error response describing why the operation failed",
"schema": {
@@ -116,7 +109,7 @@
"ConfigurationStores"
],
"description": "Gets the properties of the specified configuration store.",
- "operationId": "ConfigurationStores_Get",
+ "operationId": "ConfigurationStores_GetABCDEF",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -132,12 +125,6 @@
}
],
"responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ConfigurationStore"
- }
- },
"default": {
"description": "Error response describing why the operation failed",
"schema": {
diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2020-06-01/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2020-06-01/appconfiguration.json
index f82beb0b8e13..7f37235b04fe 100644
--- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2020-06-01/appconfiguration.json
+++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2020-06-01/appconfiguration.json
@@ -181,12 +181,6 @@
}
],
"responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ConfigurationStore"
- }
- },
"201": {
"description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
"schema": {
@@ -215,7 +209,7 @@
"ConfigurationStores"
],
"description": "Deletes a configuration store.",
- "operationId": "ConfigurationStores_Delete",
+ "operationId": "ConfigurationStores_DeleteABC",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -253,65 +247,6 @@
}
},
"x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "ConfigurationStores"
- ],
- "description": "Updates a configuration store with the specified parameters.",
- "operationId": "ConfigurationStores_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ConfigStoreNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "configStoreUpdateParameters",
- "in": "body",
- "description": "The parameters for updating a configuration store.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ConfigurationStoreUpdateParameters"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the request was well-formed and received properly.",
- "schema": {
- "$ref": "#/definitions/ConfigurationStore"
- }
- },
- "201": {
- "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
- "schema": {
- "$ref": "#/definitions/ConfigurationStore"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed",
- "schema": {
- "$ref": "#/definitions/Error"
- }
- }
- },
- "x-ms-examples": {
- "ConfigurationStores_Update": {
- "$ref": "./examples/ConfigurationStoresUpdate.json"
- },
- "ConfigurationStores_Update_WithIdentity": {
- "$ref": "./examples/ConfigurationStoresUpdateWithIdentity.json"
- }
- },
- "x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/checkNameAvailability": {
diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2020-07-01/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2020-07-01/appplatform.json
index d0d132d16f10..cfc009fe2918 100644
--- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2020-07-01/appplatform.json
+++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2020-07-01/appplatform.json
@@ -21,7 +21,7 @@
"tags": [
"AppPlatform"
],
- "description": "Get a Service and its properties.",
+ "description": "Get a Service and its properties. Test. Test2.",
"operationId": "Services_Get",
"parameters": [
{
diff --git a/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json
index 38fb4c0ed701..5effd2dfba9a 100644
--- a/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json
+++ b/specification/batch/resource-manager/Microsoft.Batch/stable/2021-06-01/BatchManagement.json
@@ -39,7 +39,7 @@
"tags": [
"BatchAccount"
],
- "operationId": "BatchAccount_Create",
+ "operationId": "BatchAccount_CreateABC",
"x-ms-examples": {
"BatchAccountCreate_Default": {
"$ref": "./examples/BatchAccountCreate_Default.json"
diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdn.json
index 0cc2ca2e464f..1d637e5ee53d 100644
--- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdn.json
+++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2020-09-01/cdn.json
@@ -27,7 +27,7 @@
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow.",
+ "description": "Azure Active Directory OAuth2 Flow test.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
@@ -40,7 +40,7 @@
"Profiles"
],
"description": "Lists all of the CDN profiles within an Azure subscription.",
- "operationId": "Profiles_List",
+ "operationId": "Profiles_ListABCD",
"x-ms-examples": {
"Profiles_List": {
"$ref": "./examples/Profiles_List.json"
@@ -79,7 +79,7 @@
"Profiles"
],
"description": "Lists all of the CDN profiles within a resource group.",
- "operationId": "Profiles_ListByResourceGroup",
+ "operationId": "Profiles_ListByResourceGroupABCDABCDEFG",
"x-ms-examples": {
"Profiles_ListByResourceGroup": {
"$ref": "./examples/Profiles_ListByResourceGroup.json"
@@ -338,7 +338,7 @@
"Profiles"
],
"description": "Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.",
- "operationId": "Profiles_GenerateSsoUri",
+ "operationId": "Profiles_GenerateSsoUriABCDEFG",
"x-ms-examples": {
"Profiles_GenerateSsoUri": {
"$ref": "./examples/Profiles_GenerateSsoUri.json"
diff --git a/specification/contoso/resource-manager/Microsoft.Contoso/preview/2020-12-21/contoso.json b/specification/contoso/resource-manager/Microsoft.Contoso/preview/2020-12-21/contoso.json
new file mode 100644
index 000000000000..9a6f63881817
--- /dev/null
+++ b/specification/contoso/resource-manager/Microsoft.Contoso/preview/2020-12-21/contoso.json
@@ -0,0 +1,232 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2020-12-21",
+ "title": "contoso",
+ "description": "Description of the new service"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Contoso/foos/{fooName}": {
+ "get": {
+ "tags": [
+ "Foos"
+ ],
+ "operationId": "Foos_Get",
+ "x-ms-examples": {
+ "BatchAccountDelete": {
+ "$ref": "./examples/OperationGroupGet.json"
+ }
+ },
+ "description": "This is a sample get operation",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/FooName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describe the result of a successful operation.",
+ "schema": {
+ "$ref": "#/definitions/Result"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Contoso/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available RP operations.",
+ "operationId": "ListOperations",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Result": {
+ "description": "Sample result definition",
+ "properties": {
+ "sampleProperty": {
+ "type": "string",
+ "description": "Sample property of type string"
+ }
+ }
+ },
+ "Operation": {
+ "description": "A Consumption REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Consumption.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: UsageDetail, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "description": "List of consumption operations supported by the Microsoft.Consumption resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ErrorDefinition",
+ "description": "The error details."
+ }
+ }
+ },
+ "ErrorDefinition": {
+ "description": "Error definition.",
+ "properties": {
+ "code": {
+ "description": "Service specific error code which serves as the substatus for the HTTP error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Description of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Internal error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDefinition"
+ },
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to be used with the HTTP request."
+ },
+ "FooName": {
+ "name": "fooName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Foo",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/contoso/resource-manager/Microsoft.Contoso/preview/2020-12-21/examples/OperationGroupGet.json b/specification/contoso/resource-manager/Microsoft.Contoso/preview/2020-12-21/examples/OperationGroupGet.json
new file mode 100644
index 000000000000..67da0b2c0904
--- /dev/null
+++ b/specification/contoso/resource-manager/Microsoft.Contoso/preview/2020-12-21/examples/OperationGroupGet.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "accountName": "sampleacct",
+ "resourceGroupName": "contosoClient",
+ "fooName": "foodName",
+ "api-version": "2020-12-21",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sampleProperty": "sampleProperty"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/specification/contoso/resource-manager/readme.azureresourceschema.md b/specification/contoso/resource-manager/readme.azureresourceschema.md
new file mode 100644
index 000000000000..09cdd9a9cead
--- /dev/null
+++ b/specification/contoso/resource-manager/readme.azureresourceschema.md
@@ -0,0 +1,23 @@
+## AzureResourceSchema
+
+These settings apply only when `--azureresourceschema` is specified on the command line.
+
+### AzureResourceSchema multi-api
+
+``` yaml $(azureresourceschema) && $(multiapi)
+batch:
+ - tag: schema-contoso-2020-12-21
+
+```
+
+Please also specify `--azureresourceschema-folder=`.
+
+### Tag: schema-contoso-2020-12-21 and azureresourceschema
+
+``` yaml $(tag) == 'schema-contoso-2020-12-21' && $(azureresourceschema)
+output-folder: $(azureresourceschema-folder)/schemas
+
+# all the input files in this apiVersion
+input-file:
+ - Microsoft.Contoso/preview/2020-12-21/contoso.json
+```
diff --git a/specification/contoso/resource-manager/readme.csharp.md b/specification/contoso/resource-manager/readme.csharp.md
new file mode 100644
index 000000000000..5c92cd99c572
--- /dev/null
+++ b/specification/contoso/resource-manager/readme.csharp.md
@@ -0,0 +1,15 @@
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ client-side-validation: false
+ namespace: Microsoft.Contoso
+ output-folder: $(csharp-sdks-folder)/contoso/management/Microsoft.Contoso/GeneratedProtocol
+```
diff --git a/specification/contoso/resource-manager/readme.go.md b/specification/contoso/resource-manager/readme.go.md
new file mode 100644
index 000000000000..f032ba09c1a4
--- /dev/null
+++ b/specification/contoso/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+```yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: contoso
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2020-12-21-preview
+```
+
+### Tag: package-2020-12-21-preview and go
+
+These settings apply only when `--tag=package-2020-12-21-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2020-12-21-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-12-21/$(namespace)
+```
diff --git a/specification/contoso/resource-manager/readme.md b/specification/contoso/resource-manager/readme.md
new file mode 100644
index 000000000000..0862cc5d94c3
--- /dev/null
+++ b/specification/contoso/resource-manager/readme.md
@@ -0,0 +1,83 @@
+# contoso
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for contoso.
+
+## Getting Started
+
+To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:
+
+> `autorest readme.md`
+
+To see additional help and options, run:
+
+> `autorest --help`
+
+For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.
+
+---
+
+## Configuration
+
+### Basic Information
+
+These are the global settings for the contoso.
+
+```yaml
+openapi-type: arm
+tag: package-2020-12-21
+```
+
+### Tag: package-2020-12-21
+
+These settings apply only when `--tag=package-2020-12-21` is specified on the command line.
+
+```yaml $(tag) == 'package-2020-12-21'
+input-file:
+ - Microsoft.Contoso/preview/2020-12-21/contoso.json
+```
+
+---
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+```yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-js
+ - repo: azure-resource-manager-schemas
+ after_scripts:
+ - node sdkauto_afterscript.js contoso/resource-manager
+ - repo: azure-cli-extensions
+```
+## Az
+
+See configuration in [readme.az.md](./readme.az.md)
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## TypeScript
+
+See configuration in [readme.typescript.md](./readme.typescript.md)
+
+## CSharp
+
+See configuration in [readme.csharp.md](./readme.csharp.md)
+
+## AzureResourceSchema
+
+See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
diff --git a/specification/contoso/resource-manager/readme.python.md b/specification/contoso/resource-manager/readme.python.md
new file mode 100644
index 000000000000..7a1bac02e178
--- /dev/null
+++ b/specification/contoso/resource-manager/readme.python.md
@@ -0,0 +1,40 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+
+``` yaml $(python)
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ package-name: azure-mgmt-contoso
+ no-namespace-folders: true
+ package-version: 1.0.0b1
+```
+
+``` yaml $(python-mode) == 'update'
+python:
+ output-folder: $(python-sdks-folder)/contoso/azure-mgmt-contoso/azure/mgmt/contoso
+```
+``` yaml $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/contoso/azure-mgmt-contoso
+```
+
+``` yaml $(python) && $(track2)
+azure-arm: true
+license-header: MICROSOFT_MIT_NO_VERSION
+package-name: azure-mgmt-contoso
+no-namespace-folders: true
+package-version: 1.0.0b1
+```
+
+``` yaml $(python-mode) == 'update' && $(track2)
+output-folder: $(python-sdks-folder)/contoso/azure-mgmt-contoso/azure/mgmt/contoso
+```
+``` yaml $(python-mode) == 'create' && $(track2)
+basic-setup-py: true
+output-folder: $(python-sdks-folder)/contoso/azure-mgmt-contoso
+```
diff --git a/specification/contoso/resource-manager/readme.typescript.md b/specification/contoso/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..05891a4d2a7b
--- /dev/null
+++ b/specification/contoso/resource-manager/readme.typescript.md
@@ -0,0 +1,14 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+``` yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "@azure/arm-contoso"
+ output-folder: "$(typescript-sdks-folder)/sdk/contoso/arm-contoso"
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ generate-metadata: true
+```
diff --git a/specification/iotspaces/resource-manager/Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json b/specification/iotspaces/resource-manager/Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json
index 3e0d00468129..b18f464bb626 100644
--- a/specification/iotspaces/resource-manager/Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json
+++ b/specification/iotspaces/resource-manager/Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json
@@ -36,8 +36,671 @@
}
}
},
- "paths": {},
- "definitions": {},
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTSpaces/Graph/{resourceName}": {
+ "get": {
+ "tags": [
+ "Resource"
+ ],
+ "description": "Get the metadata of a IoTSpaces instance.",
+ "operationId": "IoTSpaces_Get",
+ "x-ms-examples": {
+ "Get a IoT spaces service": {
+ "$ref": "./examples/IoTSpacesGet_example.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/resourceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The body contains all the non-security properties of the IoTSpaces instance. Security-related properties are set to null.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescription"
+ }
+ },
+ "default": {
+ "description": "Default error response",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ },
+ "put": {
+ "tags": [
+ "Resource"
+ ],
+ "description": "Create or update the metadata of an IoTSpaces instance. The usual pattern to modify a property is to retrieve the IoTSpaces instance metadata and security metadata, and then combine them with the modified values in a new body to update the IoTSpaces instance.",
+ "operationId": "IoTSpaces_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Put an IoT spaces service": {
+ "$ref": "./examples/IoTSpacesPut_example.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/resourceName"
+ },
+ {
+ "name": "iotSpaceDescription",
+ "in": "body",
+ "description": "The IoTSpaces instance metadata and security metadata.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescription"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted - Put request accepted; the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ },
+ "patch": {
+ "tags": [
+ "Resource"
+ ],
+ "description": "Update the metadata of a IoTSpaces instance.",
+ "operationId": "IoTSpaces_Update",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Patch an IoT spaces service": {
+ "$ref": "./examples/IoTSpacesPatch_example.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/resourceName"
+ },
+ {
+ "name": "iotSpacePatchDescription",
+ "in": "body",
+ "description": "The IoTSpaces instance metadata and security metadata.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesPatchDescription"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "This is returned as a response to the status polling request for the create or update operation. The body contains the resource representation that indicates a transitional provisioning state.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted - Put request accepted; the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ },
+ "delete": {
+ "tags": [
+ "Resource"
+ ],
+ "description": "Delete an IoTSpaces instance.",
+ "operationId": "IoTSpaces_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete an IoT spaces service": {
+ "$ref": "./examples/IoTSpacesDelete_example.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/resourceName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "This is returned as a response to the status polling request for the delete operation. The body contains the resource representation that indicates a transitional provisioning state.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescription"
+ }
+ },
+ "202": {
+ "description": "Accepted - Delete request accepted; the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Once the long running delete operation completes successfully, a 204 No Content status code is returned when the status polling request finds the IoTSpaces service metadata in the service and the status of the delete operation is set to a completed state."
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSpaces/Graph": {
+ "get": {
+ "tags": [
+ "Collection"
+ ],
+ "description": "Get all the IoTSpaces instances in a subscription.",
+ "operationId": "IoTSpaces_List",
+ "x-ms-examples": {
+ "Get IoT spaces services by subscription": {
+ "$ref": "./examples/IoTSpacesList_example.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the IoTSpaces instances in the subscription.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescriptionListResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTSpaces/Graph": {
+ "get": {
+ "tags": [
+ "Collection"
+ ],
+ "description": "Get all the IoTSpaces instances in a resource group.",
+ "operationId": "IoTSpaces_ListByResourceGroup",
+ "x-ms-examples": {
+ "Get IoT spaces services by resource group": {
+ "$ref": "./examples/IoTSpacesListByResourceGroup_example.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the IoTSpaces instances in the resource group.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesDescriptionListResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ }
+ },
+ "/providers/Microsoft.IoTSpaces/operations": {
+ "get": {
+ "tags": [
+ "Proxy"
+ ],
+ "description": "Lists all of the available IoTSpaces service REST API operations.",
+ "operationId": "Operations_List",
+ "x-ms-examples": {
+ "Get available operations": {
+ "$ref": "./examples/IoTSpacesOperationsList_example.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSpaces/checkNameAvailability": {
+ "post": {
+ "tags": [
+ "Proxy"
+ ],
+ "description": "Check if an IoTSpaces instance name is available.",
+ "operationId": "IoTSpaces_CheckNameAvailability",
+ "x-ms-examples": {
+ "Check name Availability": {
+ "$ref": "./examples/IoTSpacesCheckNameAvailability_example.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "operationInputs",
+ "in": "body",
+ "description": "Set the name parameter in the OperationInputs structure to the name of the IoTSpaces instance to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/OperationInputs"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the IoTSpaces service name is available. If the name is not available, the body contains the reason.",
+ "schema": {
+ "$ref": "#/definitions/IoTSpacesNameAvailabilityInfo"
+ }
+ },
+ "default": {
+ "description": "DefaultErrorResponse",
+ "schema": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "deprecated": false
+ }
+ }
+ },
+ "definitions": {
+ "IoTSpacesProperties": {
+ "description": "The properties of an IoTSpaces instance.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state.",
+ "enum": [
+ "Provisioning",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "provisioningState",
+ "modelAsString": true
+ }
+ },
+ "managementApiUrl": {
+ "description": "The management Api endpoint.",
+ "type": "string",
+ "readOnly": true
+ },
+ "webPortalUrl": {
+ "description": "The management UI endpoint.",
+ "type": "string",
+ "readOnly": true
+ },
+ "storageContainer": {
+ "description": "The properties of the designated storage container.",
+ "$ref": "#/definitions/StorageContainerProperties"
+ }
+ }
+ },
+ "StorageContainerProperties": {
+ "description": "The properties of the Azure Storage Container for file archive.",
+ "type": "object",
+ "properties": {
+ "connectionString": {
+ "description": "The connection string of the storage account.",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "description": "The subscription identifier of the storage account.",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "The name of the resource group of the storage account.",
+ "type": "string"
+ },
+ "containerName": {
+ "description": "The name of storage container in the storage account.",
+ "type": "string"
+ }
+ }
+ },
+ "IoTSpacesSkuInfo": {
+ "description": "Information about the SKU of the IoTSpaces instance.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the SKU.",
+ "enum": [
+ "F1",
+ "S1",
+ "S2",
+ "S3"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IoTSpacesSku",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "IoTSpacesDescription": {
+ "description": "The description of the IoTSpaces service.",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "The common properties of a IoTSpaces service.",
+ "$ref": "#/definitions/IoTSpacesProperties"
+ },
+ "sku": {
+ "description": "A valid instance SKU.",
+ "$ref": "#/definitions/IoTSpacesSkuInfo"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "sku"
+ ]
+ },
+ "IoTSpacesPatchDescription": {
+ "description": "The description of the IoTSpaces service.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Instance tags",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The common properties of an IoTSpaces service.",
+ "$ref": "#/definitions/IoTSpacesProperties"
+ }
+ }
+ },
+ "Resource": {
+ "description": "The common properties of an IoTSpaces service.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource identifier."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource name.",
+ "pattern": "^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,49}[a-zA-Z0-9]$"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The resource type."
+ },
+ "location": {
+ "type": "string",
+ "description": "The resource location.",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The resource tags."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "required": [
+ "location"
+ ]
+ },
+ "ErrorDetails": {
+ "description": "Error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string",
+ "readOnly": true
+ },
+ "target": {
+ "description": "The target of the particular error.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IoTSpacesDescriptionListResult": {
+ "description": "A list of IoTSpaces description objects with a next link.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link used to get the next page of IoTSpaces description objects.",
+ "type": "string"
+ },
+ "value": {
+ "description": "A list of IoTSpaces description objects.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IoTSpacesDescription"
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "A list of IoTSpaces service operations. It contains a list of operations and a URL link to get the next set of results.",
+ "type": "object",
+ "properties": {
+ "nextLink": {
+ "description": "The link used to get the next page of IoTSpaces description objects.",
+ "type": "string"
+ },
+ "value": {
+ "description": "A list of IoT spaces operations supported by the Microsoft.IoTSpaces resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "description": "IoTSpaces service REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Operation name: {provider}/{resource}/{read | write | action | delete}"
+ },
+ "display": {
+ "$ref": "#/definitions/OperationDisplay"
+ }
+ }
+ },
+ "OperationDisplay": {
+ "description": "The object that represents the operation.",
+ "type": "object",
+ "properties": {
+ "provider": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Service provider: Microsoft IoTSpaces"
+ },
+ "resource": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Type: IoTSpaces"
+ },
+ "operation": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the operation"
+ },
+ "description": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Friendly description for the operation,"
+ }
+ }
+ },
+ "OperationInputs": {
+ "description": "Input values.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the IoTSpaces service instance to check.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "IoTSpacesNameAvailabilityInfo": {
+ "description": "The properties indicating whether a given IoTSpaces service name is available.",
+ "type": "object",
+ "properties": {
+ "nameAvailable": {
+ "description": "The value which indicates whether the provided name is available.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "reason": {
+ "description": "The reason for unavailability.",
+ "enum": [
+ "Invalid",
+ "AlreadyExists"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "IoTSpacesNameUnavailabilityReason",
+ "modelAsString": false
+ }
+ },
+ "message": {
+ "description": "The detailed reason message.",
+ "type": "string"
+ }
+ }
+ }
+ },
"parameters": {
"subscriptionId": {
"name": "subscriptionId",
diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md
index 9fc9741c018c..4bad926fcf51 100644
--- a/specification/iotspaces/resource-manager/readme.md
+++ b/specification/iotspaces/resource-manager/readme.md
@@ -73,6 +73,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
+ - repo: azure-sdk-for-trenton
- repo: azure-resource-manager-schemas
```
@@ -96,4 +97,5 @@ csharp:
See configuration in [readme.go.md](./readme.go.md)
+See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md)
diff --git a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json
index 16695c387b30..aa780e4e1563 100644
--- a/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json
+++ b/specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2018-11-30/ManagedIdentity.json
@@ -37,7 +37,7 @@
"/{scope}/providers/Microsoft.ManagedIdentity/identities/default": {
"get": {
"operationId": "SystemAssignedIdentities_GetByScope",
- "description": "Gets the systemAssignedIdentity available under the specified RP scope.",
+ "description": "Gets the systemAssignedIdentity available under the specified RP scope. Update 1",
"x-ms-examples": {
"MsiOperationsList": {
"$ref": "./examples/SystemAssignedIdentityGet.json"
@@ -136,45 +136,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities": {
- "get": {
- "operationId": "UserAssignedIdentities_ListByResourceGroup",
- "description": "Lists all the userAssignedIdentities available under the specified ResourceGroup.",
- "x-ms-examples": {
- "IdentityListByResourceGroup": {
- "$ref": "./examples/IdentityListByResourceGroup.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK. The list of userAssignedIdentities was retrieved and returned successfully.",
- "schema": {
- "$ref": "#/definitions/UserAssignedIdentitiesListResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}": {
"put": {
"operationId": "UserAssignedIdentities_CreateOrUpdate",
diff --git a/specification/network/resource-manager/readme.python.md b/specification/network/resource-manager/readme.python.md
index c2fb9bdd5c1f..f2a55b377b32 100644
--- a/specification/network/resource-manager/readme.python.md
+++ b/specification/network/resource-manager/readme.python.md
@@ -1,5 +1,5 @@
## Python
-
+
These settings apply only when `--track2` is specified on the command line.
``` yaml $(track2)
diff --git a/specification/storage/resource-manager/readme.python.md b/specification/storage/resource-manager/readme.python.md
index b4ac1357cdde..a83ee4f785f7 100644
--- a/specification/storage/resource-manager/readme.python.md
+++ b/specification/storage/resource-manager/readme.python.md
@@ -1,7 +1,7 @@
## Python
These settings apply only when `--python` is specified on the command line.
-
+
``` yaml
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json
index 1b029c3e5979..3df1574cd58d 100644
--- a/specificationRepositoryConfiguration.json
+++ b/specificationRepositoryConfiguration.json
@@ -1,7 +1,7 @@
{
"$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/specificationRepositoryConfiguration.schema.json",
- "pipelineName": "automation - sdk",
- "sdkRepositoryMappings": {
+ "pipelineName": "automation - sdk - test",
+ "sdkRepositoryMappings": {
"azure-sdk-for-go": {
"integrationRepository": "AzureSDKAutomation/azure-sdk-for-go",
"mainRepository": "Azure/azure-sdk-for-go"
@@ -46,45 +46,47 @@
"azure-resource-manager-schemas": {
"integrationRepository": "AzureSDKAutomation/azure-resource-manager-schemas",
"mainRepository": "Azure/azure-resource-manager-schemas"
- },
- "azure-powershell": {
- "integrationRepository": "AzureSDKAutomation/azure-powershell",
- "mainRepository": "Azure/azure-powershell"
}
},
"overrides": {
- "Azure/azure-rest-api-specs-pr": {
+ "openapi-env-test/azure-rest-api-specs": {
"sdkRepositoryMappings": {
+ "azure-sdk-for-terraform": {
+ "integrationRepository": "test-repo-billy/azure-sdk-for-trenton",
+ "mainRepository": "test-repo-billy/azure-sdk-for-trenton",
+ "mainBranch": "secondary"
+ },
"azure-sdk-for-go": {
- "integrationRepository": "azure-sdk/azure-sdk-for-go-pr",
- "mainRepository": "Azure/azure-sdk-for-go-pr"
+ "mainRepository": "openapi-env-test/azure-sdk-for-go",
+ "mainBranch": "main"
},
"azure-sdk-for-go-track2": {
- "integrationRepository": "AzureSDKAutomation/azure-sdk-for-go",
- "mainRepository": "Azure/azure-sdk-for-go-pr",
+ "integrationRepository": "openapi-env-test/azure-sdk-for-go",
+ "mainRepository": "openapi-env-test/azure-sdk-for-go",
+ "mainBranch": "track2_automation_and_release",
"configFilePath": "eng/swagger_to_sdk_config.json"
},
- "azure-sdk-for-java": {
- "integrationRepository": "azure-sdk/azure-sdk-for-java-pr",
- "mainRepository": "Azure/azure-sdk-for-java-pr",
- "configFilePath": "eng/mgmt/automation/swagger_to_sdk_config.json"
+ "azure-sdk-for-python-track2": {
+ "mainRepository": "openapi-env-test/azure-sdk-for-python",
+ "mainBranch": "python-track2-test"
},
- "azure-sdk-for-js": {
- "integrationRepository": "azure-sdk/azure-sdk-for-js-pr",
- "mainRepository": "Azure/azure-sdk-for-js-pr"
+ "azure-sdk-for-net-track2": {
+ "mainRepository": "openapi-env-test/azure-sdk-for-net",
+ "configFilePath": "eng/swagger_to_sdk_config.json"
},
"azure-sdk-for-net": {
- "integrationRepository": "azure-sdk/azure-sdk-for-net-pr",
- "mainRepository": "Azure/azure-sdk-for-net-pr"
+ "mainRepository": "openapi-env-test/azure-sdk-for-net"
},
- "azure-sdk-for-python": {
- "integrationRepository": "azure-sdk/azure-sdk-for-python-pr",
- "mainRepository": "Azure/azure-sdk-for-python-pr",
- "mainBranch": "release/v3"
+ "azure-sdk-for-python": {
+ "mainRepository": "openapi-env-test/azure-sdk-for-python",
+ "mainBranch": "python-track1-test"
},
- "azure-sdk-for-python-track2": {
- "integrationRepository": "azure-sdk/azure-sdk-for-python-pr",
- "mainRepository": "Azure/azure-sdk-for-python-pr"
+ "azure-sdk-for-js-track2": {
+ "mainRepository": "openapi-env-test/azure-sdk-for-js",
+ "mainBranch": "track2-test"
+ },
+ "azure-cli-extensions": {
+ "mainRepository": "openapi-env-test/azure-cli-extensions"
}
}
}