diff --git a/README.md b/README.md index 68e9715452f9..39de7a826171 100644 --- a/README.md +++ b/README.md @@ -16,105 +16,65 @@ If you're a spec author looking for information about all of of the repositories ## Directory Structure The structure of the directory should strictly follow these rules: -- If the Rest end point is for management plane(going through ARM end point) then the top level folder must be the "arm-". Else top folder name must be "". -- The second level must be the API versions -- The third level must be the format of the specification (ex. swagger) -- The fourth level must be the specifications -The structure should appear like so: -```bash -. -├── arm-authorization -│   └── 2015-01-01 -│   └── swagger -│   └── authorization.json -├── arm-compute -│   └── 2015-06-15 -│   └── swagger -│   └── service.json -├── arm-features -│   └── 2014-08-01-preview -│   └── swagger -│   └── features.json -├── arm-network -│   └── 2015-05-01-preview -│   └── swagger -│   └── service.json -├── arm-resources -│   └── 2014-04-01-preview -│   └── swagger -│   └── service.json -├── arm-storage -│   └── 2015-05-01-preview -│   └── swagger -│   └── service.json -├── arm-subscriptions -│   └── 2014-04-01-preview -│   └── swagger -│   └── service.json -├── arm-web -├── documentation -└── readme.md -``` +1. **Profile**: The profile holder contains the profiles' definition MD files. these files will contain information and references to the snapshots of the RPs' Resource types or Dataplane API versions that represent a specific profile. -## New Directory structure (effective July 10th 2017) +2. **Specification**: This folder the is root folder for all Specs (Management and Dataplane) related docs. -Re-organization is being done to support upcoming profiles work and Data Plane swagger specs. The new structure will appear like below - -```bash -. +3. **** Folders - each RP will have a seperate folder -Specification -└── - ├──automation - | └── resource-manager - | └── Microsoft.Automation - | └── 2015-10-31 - | └── examples - ├──batch - | └── data-plane - | | └── Microsoft.Batch - | | └── 2015-12-01.2.2 - | | └── 2016-02-01.3.0 - | | └── 2016-07-01.3.1 - | | └── 2017-01-01.4.0 - | | | └── examples - | | └── 2017-05-01.5.0 - | └── resource-manager - | └── Microsoft.Batch - | └──2015-12-01 - | └──2017-01-01 - | | └──examples - | └──2017-05-01 - | └──examples - └── billing - | └── resource-manager - | └── Microsoft.Billing - | └── 2017-02-27-preview - | | └── examples - | └── 2017-04-24-preview - | └── examples - └── readme.md -``` -### Changing the representation of composite swagger metadata +4. **'resource-manager' and 'data-plane' Folders**: the RPs can put specs in one of two categories: `resource-manager` (for ARM resources) and `data-plane` (for everything else) . The autorest configuration file (`readme.md`) for the RP should be inside this folder -Currently composite swagger metadata is captured in a .json file. The problem with the current representation is that it does not provide a way to track what versions of swagger specs were used in earlier releases. With the upcoming changes, we will be able to keep track of multiple versions of composition. The metadata will be captured in readme.md file under resource-manager folder. There won’t be a need for .json file. New structure in readme.md file looks like below. -Tag: package-2017-03 -These settings apply only when --tag=package-2017-03 is specified on the command line. -input-file: -- Microsoft.Compute/2017-03-30/compute.json -- Microsoft.Compute/2017-03-30/disk.json -- Microsoft.Compute/2017-03-30/runCommands.json -- Microsoft.ContainerService/2017-01-31/containerService.json +4. **API versions**: this folder will be the direct child of the category folder. there will be one such folder per resource type or dataplane service version. This folder will contain the OpenAPI validation Specs (Swaggers previously) and the examples folder. -Please take a look at this [readme.md](https://github.com/Azure/azure-rest-api-specs/tree/reorg/specification/compute/resource-manager) (Acessible by Azure github org members only) to understand how the complete structure looks like. +6. **Examples**: the example folder will contain the x-ms-examples files. it will reside under the APIs or Resources' version folders as different APIs or Resource types version can have different examples. +7. **Notes**: + - folder names should be singular (ie, 'profile' not 'profiles' ) -- this removes ambiguity for some non-english speakers. + - generic folder names should be lower-case + - proper-name/product name/namespace folders can be PascalCased (ie, "KeyVault") + - files are whatever case you think is good for your soul. + + +The structure should appear like so: +```bash +. ++---automation +| \---resource-manager +| \---Microsoft.Automation +| \---2015-10-31 +| \---examples ++---batch +| +---data-plane +| | \---Microsoft.Batch +| | +---2015-12-01.2.2 +| | +---2016-02-01.3.0 +| | +---2016-07-01.3.1 +| | +---2017-01-01.4.0 +| | | \---examples +| | \---2017-05-01.5.0 +| \---resource-manager +| \---Microsoft.Batch +| +---2015-12-01 +| +---2017-01-01 +| | \---examples +| \---2017-05-01 +| \---examples ++---billing +| \---resource-manager +| \---Microsoft.Billing +| +---2017-02-27-preview +| | \---examples +| \---2017-04-24-preview +| \---examples +└── readme.md +``` -## Specs Format Currently, the specifications are expected to be in Swagger JSON format ## Next steps The next step in the process after a spec is completed is to generate SDKs and API reference documentation. Go to the [Azure Developer Experience guide](https://github.com/Azure/adx-documentation-pr) for more information. --- -_This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments._ +_This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments._Folder PATH listing for volume Windows + diff --git a/arm-apimanagement/compositeApiManagementClient.json b/arm-apimanagement/compositeApiManagementClient.json deleted file mode 100644 index 6071097f802b..000000000000 --- a/arm-apimanagement/compositeApiManagementClient.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "info": { - "title": "ApiManagementClient", - "description": "Composite Swagger for ApiManagement Client" - }, - "documents": [ - "./2016-10-10/swagger/apimanagement.json", - "./2016-10-10/swagger/apimapis.json", - "./2016-10-10/swagger/apimauthorizationservers.json", - "./2016-10-10/swagger/apimbackends.json", - "./2016-10-10/swagger/apimcertificates.json", - "./2016-10-10/swagger/apimdeployment.json", - "./2016-10-10/swagger/apimgroups.json", - "./2016-10-10/swagger/apimidentityprovider.json", - "./2016-10-10/swagger/apimloggers.json", - "./2016-10-10/swagger/apimnetworkstatus.json", - "./2016-10-10/swagger/apimopenidconnectproviders.json", - "./2016-10-10/swagger/apimproducts.json", - "./2016-10-10/swagger/apimproperties.json", - "./2016-10-10/swagger/apimquotas.json", - "./2016-10-10/swagger/apimreports.json", - "./2016-10-10/swagger/apimsubscriptions.json", - "./2016-10-10/swagger/apimtenant.json", - "./2016-10-10/swagger/apimusers.json" - ] -} \ No newline at end of file diff --git a/arm-appinsights/compositeAppInsightsManagementClient.json b/arm-appinsights/compositeAppInsightsManagementClient.json deleted file mode 100644 index bdf6d7b7ffdd..000000000000 --- a/arm-appinsights/compositeAppInsightsManagementClient.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "info": { - "title": "AppInsightsManagementClient", - "description": "Composite Swagger for Application Insights Management Client" - }, - "documents": [ - "./2015-05-01/swagger/aiOperations_API.json", - "./2015-05-01/swagger/components_API.json", - "./2015-05-01/swagger/webTests_API.json" - ] -} \ No newline at end of file diff --git a/arm-automation/2015-10-31/examples/runbook/listCertificatesByAutomationAccount.json b/arm-automation/2015-10-31/examples/runbook/listCertificatesByAutomationAccount.json deleted file mode 100644 index c0b7644c58e5..000000000000 --- a/arm-automation/2015-10-31/examples/runbook/listCertificatesByAutomationAccount.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subid", - "resourceGroupName": "rg", - "automationAccountName": "myAutomationAccount33", - "api-version": "2015-10-31" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/certificates/testCert", - "name": "testCert", - "properties": { - "description": "Sample Cert", - "isExportable": false, - "thumbprint": "6DB550078ED05C2E61DB4A70407E2E94BC345BD0", - "expiryTime": "2018-03-29T17:25:45+00:00", - "creationTime": "2017-03-29T17:26:43.337+00:00", - "lastModifiedTime": "2017-03-29T17:28:55.01+00:00" - } - } - ] - } - } - } -} \ No newline at end of file diff --git a/arm-automation/compositeAutomation.json b/arm-automation/compositeAutomation.json deleted file mode 100644 index 6c22b26dcf0f..000000000000 --- a/arm-automation/compositeAutomation.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "info": { - "title": "AutomationClient", - "description": "Composite Swagger json for Azure Automation Client" - }, - "documents": [ - "./2015-10-31/swagger/account.json", - "./2015-10-31/swagger/certificate.json", - "./2015-10-31/swagger/connection.json", - "./2015-10-31/swagger/connectionType.json", - "./2015-10-31/swagger/credential.json", - "./2015-10-31/swagger/job.json", - "./2015-10-31/swagger/module.json", - "./2015-10-31/swagger/runbook.json", - "./2015-10-31/swagger/schedule.json", - "./2015-10-31/swagger/jobSchedule.json", - "./2015-10-31/swagger/variable.json", - "./2015-10-31/swagger/webhook.json", - "./2015-10-31/swagger/dscCompilationJob.json", - "./2015-10-31/swagger/dscConfiguration.json", - "./2015-10-31/swagger/dscNode.json", - "./2015-10-31/swagger/dscNodeConfiguration.json", - "./2015-10-31/swagger/hybridRunbookWorkerGroup.json" - ] -} \ No newline at end of file diff --git a/arm-cognitiveservices/README.md b/arm-cognitiveservices/README.md deleted file mode 100644 index b8b5f6c22e76..000000000000 --- a/arm-cognitiveservices/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# Notice -Microsoft will use data you send to the Cognitive Services to improve Microsoft products and services. Where you send personal data to the Cognitive Services, you are responsible for obtaining sufficient consent from the data subjects. The General Privacy and Security Terms in the Online Services Terms do not apply to the Cognitive Services. Please refer to the Microsoft Cognitive Services section in the [Online Services Terms](https://www.microsoft.com/en-us/Licensing/product-licensing/products.aspx) for details. Microsoft offers policy controls that may be used to [disable new Cognitive Services deployments](https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account). \ No newline at end of file diff --git a/arm-compute/README.md b/arm-compute/README.md deleted file mode 100644 index 479a78017cae..000000000000 --- a/arm-compute/README.md +++ /dev/null @@ -1,18 +0,0 @@ -## Composite Swagger - -Each swagger spec is tied to one version a.k.a api-version of the service. -``` -{ - "swagger": "2.0", - "info": { - "title": "ComputeManagementClient", - "description": "The Compute Management Client.", - "version": "2016-03-30" // <<---------------------------------The api-version - }, - "host": "management.azure.com", - . . . -} -``` -The compute RP comprises of small services where each service has its own api-version.Hence, each sub-service has its own swagger spec. - -All of them are tied together using this [composite spec](./compositeComputeClient.json) and are packaged together into one compute client library. This makes it easier for customers to download one (nuget/npm/pip/maven/gem) compute client library package rather than installing individual packages for each sub service. diff --git a/arm-compute/compositeComputeClient.json b/arm-compute/compositeComputeClient.json deleted file mode 100644 index c603544c8c68..000000000000 --- a/arm-compute/compositeComputeClient.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "info": { - "title": "ComputeManagementClient", - "description": "Composite Swagger for Compute Client" - }, - "documents": [ - "./2017-01-31/swagger/containerService.json", - "./2017-03-30/swagger/compute.json", - "./2017-03-30/swagger/disk.json", - "./2017-03-30/swagger/runCommands.json" - ] -} diff --git a/arm-graphrbac/compositeGraphRbacManagementClient.json b/arm-graphrbac/compositeGraphRbacManagementClient.json deleted file mode 100644 index b53b6dffe14f..000000000000 --- a/arm-graphrbac/compositeGraphRbacManagementClient.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "info": { - "title": "GraphRbacManagementClient", - "description": "Composite Swagger specification for Azure Active Directory Graph RBAC management client." - }, - "documents": [ - "./1.6/swagger/graphrbac.json" - ] -} diff --git a/arm-hdinsight/compositeHDInsight.json b/arm-hdinsight/compositeHDInsight.json deleted file mode 100644 index 4783bec6e7ab..000000000000 --- a/arm-hdinsight/compositeHDInsight.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "info": { - "title": "HDInsightManagementClient", - "description": "The HDInsight Management Client." - }, - "documents": [ - "./2015-03-01-preview/swagger/cluster.json", - "./2015-03-01-preview/swagger/applications.json", - "./2015-03-01-preview/swagger/capabilities.json", - "./2015-03-01-preview/swagger/configurations.json", - "./2015-03-01-preview/swagger/extensions.json", - "./2015-03-01-preview/swagger/scriptActions.json", - "./2015-03-01-preview/swagger/operations.json" - ] -} \ No newline at end of file diff --git a/arm-insights/2015-04-01/swagger/insightsManagementClient_Autoscale.json b/arm-insights/2015-04-01/swagger/insightsManagementClient_Autoscale.json deleted file mode 100644 index 93590c0d909b..000000000000 --- a/arm-insights/2015-04-01/swagger/insightsManagementClient_Autoscale.json +++ /dev/null @@ -1,1225 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsManagementClient", - "version": "2015-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/autoscalesettings": { - "get": { - "description": "Lists the autoscale settings for a resource group", - "tags": [ - "AutoscaleSettings" - ], - "operationId": "AutoscaleSettings_ListByResourceGroup", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request for a list of autoscale settings", - "schema": { - "$ref": "#/definitions/AutoscaleSettingResourceCollection" - }, - "examples": { - "application/json": { - "value" : [ - { - "id" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name" : "MySetting", - "type" : "Microsoft.Insights/autoscaleSettings", - "location" : "West US", - "tags" : { - "$type" : "Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" - }, - "properties" : { - "profiles" : [{ - "name" : "adios", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" - }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 - }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" - } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 - }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" - } - } - ], - "fixedDate" : { - "timeZone" : "UTC", - "start" : "2015-03-05T14:00:00Z", - "end" : "2015-03-05T14:30:00Z" - } - }, { - "name" : "saludos", - "capacity" : { - "minimum" : "1", - "maximum" : "10", - "default" : "1" - }, - "rules" : [{ - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT1M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 10.0 - }, - "scaleAction" : { - "direction" : "Increase", - "type" : "ChangeCount", - "value" : "1", - "cooldown" : "PT5M" - } - }, { - "metricTrigger" : { - "metricName" : "Percentage CPU", - "metricResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain" : "PT2M", - "statistic" : "Average", - "timeWindow" : "PT5M", - "timeAggregation" : "Average", - "operator" : "GreaterThan", - "threshold" : 15.0 - }, - "scaleAction" : { - "direction" : "Decrease", - "type" : "ChangeCount", - "value" : "2", - "cooldown" : "PT6M" - } - } - ], - "recurrence" : { - "frequency" : "Week", - "schedule" : { - "timeZone" : "UTC", - "days" : ["1"], - "hours" : [5], - "minutes" : [15] - } - } - } - ], - "enabled" : true, - "name" : "MySetting", - "targetResourceUri" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications" : [{ - "operation" : "Scale", - "email" : { - "sendToSubscriptionAdministrator" : true, - "sendToSubscriptionCoAdministrators" : true, - "customEmails" : ["gu@ms.com", "ge@ns.net"] - }, - "webhooks" : [{ - "serviceUri" : "http://myservice.com", - "properties" : {} - } - ] - } - ] - } - } - ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/AutoscaleSettingResource" - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/autoscalesettings/{autoscaleSettingName}": { - "put": { - "description": "Creates or updates an autoscale setting.", - "tags": [ - "AutoscaleSettings" - ], - "operationId": "AutoscaleSettings_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AutoscaleSettingNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AutoscaleSettingResource" - }, - "description": "Parameters supplied to the operation." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to create or update an autoscale setting", - "schema": { - "$ref": "#/definitions/AutoscaleSettingResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name":"MySetting", - "type":"Microsoft.Insights/autoscaleSettings", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" - }, - "properties": { - "profiles": [ - { - "name":"adios", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "fixedDate": { - "timeZone":"UTC", - "start":"2015-03-05T14:00:00Z", - "end":"2015-03-05T14:30:00Z" - } - }, - { - "name":"saludos", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "recurrence": { - "frequency":"Week", - "schedule": { - "timeZone":"UTC", - "days": [ - "1" - ], - "hours": [ - 5 - ], - "minutes": [ - 15 - ] - } - } - } - ], - "enabled":true, - "name":"MySetting", - "targetResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications": [ - { - "operation":"Scale", - "email": { - "sendToSubscriptionAdministrator":true, - "sendToSubscriptionCoAdministrators":true, - "customEmails": [ - "gu@ms.com", - "ge@ns.net" - ] - }, - "webhooks": [ - { - "serviceUri":"http://myservice.com", - "properties":{} - } - ] - } - ] - } - } - } - }, - "201": { - "description": "Created autoscale setting", - "schema": { - "$ref": "#/definitions/AutoscaleSettingResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name":"MySetting", - "type":"Microsoft.Insights/autoscaleSettings", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" - }, - "properties": { - "profiles": [ - { - "name":"adios", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "fixedDate": { - "timeZone":"UTC", - "start":"2015-03-05T14:00:00Z", - "end":"2015-03-05T14:30:00Z" - } - }, - { - "name":"saludos", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "recurrence": { - "frequency":"Week", - "schedule": { - "timeZone":"UTC", - "days": [ - "1" - ], - "hours": [ - 5 - ], - "minutes": [ - 15 - ] - } - } - } - ], - "enabled":true, - "name":"MySetting", - "targetResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications": [ - { - "operation":"Scale", - "email": { - "sendToSubscriptionAdministrator":true, - "sendToSubscriptionCoAdministrators":true, - "customEmails": [ - "gu@ms.com", - "ge@ns.net" - ] - }, - "webhooks": [ - { - "serviceUri":"http://myservice.com", - "properties":{} - } - ] - } - ] - } - } - } - } - } - }, - "delete": { - "description": "Deletes and autoscale setting", - "tags": [ - "AutoscaleSettings" - ], - "operationId": "AutoscaleSettings_Delete", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AutoscaleSettingNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to delete an autoscale setting" - }, - "204": { - "description": "No content: Successful request to delete an autoscale setting, but the response is intentionally empty" - } - } - }, - "get": { - "description": "Gets an autoscale setting", - "tags": [ - "AutoscaleSettings" - ], - "operationId": "AutoscaleSettings_Get", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/AutoscaleSettingNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get one autoscale setting", - "schema": { - "$ref": "#/definitions/AutoscaleSettingResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/microsoft.insights/autoscalesettings/MySetting", - "name":"MySetting", - "type":"Microsoft.Insights/autoscaleSettings", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage" - }, - "properties": { - "profiles": [ - { - "name":"adios", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "fixedDate": { - "timeZone":"UTC", - "start":"2015-03-05T14:00:00Z", - "end":"2015-03-05T14:30:00Z" - } - }, - { - "name":"saludos", - "capacity": { - "minimum":"1", - "maximum":"10", - "default":"1" - }, - "rules": [ - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT1M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":10.0 - }, - "scaleAction": { - "direction":"Increase", - "type":"ChangeCount", - "value":"1", - "cooldown":"PT5M" - } - }, - { - "metricTrigger": { - "metricName":"Percentage CPU", - "metricResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "timeGrain":"PT2M", - "statistic":"Average", - "timeWindow":"PT5M", - "timeAggregation":"Average", - "operator":"GreaterThan", - "threshold":15.0 - }, - "scaleAction": { - "direction":"Decrease", - "type":"ChangeCount", - "value":"2", - "cooldown":"PT6M" - } - } - ], - "recurrence": { - "frequency":"Week", - "schedule": { - "timeZone":"UTC", - "days": [ - "1" - ], - "hours": [ - 5 - ], - "minutes": [ - 15 - ] - } - } - } - ], - "enabled":true, - "name":"MySetting", - "targetResourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/TestingMetricsScaleSet/providers/Microsoft.Compute/virtualMachineScaleSets/testingsc", - "notifications": [ - { - "operation":"Scale", - "email": { - "sendToSubscriptionAdministrator":true, - "sendToSubscriptionCoAdministrators":true, - "customEmails": [ - "gu@ms.com", - "ge@ns.net" - ] - }, - "webhooks": [ - { - "serviceUri":"http://myservice.com", - "properties":{} - } - ] - } - ] - } - } - } - } - } - } - } - }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "ScaleCapacity": { - "required": [ - "minimum", - "maximum", - "default" - ], - "properties": { - "minimum": { - "type": "string", - "description": "the minimum number of instances for the resource." - }, - "maximum": { - "type": "string", - "description": "the maximum number of instances for the resource. The actual maximum number of instances is limited by the cores that are available in the subscription." - }, - "default": { - "type": "string", - "description": "the number of instances that will be set if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default." - } - }, - "description": "The number of instances that can be used during this profile." - }, - "MetricTrigger": { - "required": ["metricName", "metricResourceUri", "timeGrain", "statistic", "timeWindow", "timeAggregation", "operator", "threshold"], - "properties": { - "metricName": { - "type": "string", - "description": "the name of the metric that defines what the rule monitors." - }, - "metricResourceUri": { - "type": "string", - "description": "the resource identifier of the resource the rule monitors." - }, - "timeGrain": { - "type": "string", - "format": "duration", - "description": "the granularity of metrics the rule monitors. Must be one of the predefined values returned from metric definitions for the metric. Must be between 12 hours and 1 minute." - }, - "statistic": { - "type": "string", - "description": "the metric statistic type. How the metrics from multiple instances are combined.", - "enum": [ - "Average", - "Min", - "Max", - "Sum" - ], - "x-ms-enum": { - "name": "MetricStatisticType", - "modelAsString": false - } - }, - "timeWindow": { - "type": "string", - "format": "duration", - "description": "the range of time in which instance data is collected. This value must be greater than the delay in metric collection, which can vary from resource-to-resource. Must be between 12 hours and 5 minutes." - }, - "timeAggregation": { - "type": "string", - "description": "time aggregation type. How the data that is collected should be combined over time. The default value is Average.", - "enum": [ - "Average", - "Minimum", - "Maximum", - "Total", - "Count" - ], - "x-ms-enum": { - "name": "TimeAggregationType", - "modelAsString": false - } - }, - "operator": { - "type": "string", - "description": "the operator that is used to compare the metric data and the threshold.", - "enum": [ - "Equals", - "NotEquals", - "GreaterThan", - "GreaterThanOrEqual", - "LessThan", - "LessThanOrEqual" - ], - "x-ms-enum": { - "name": "ComparisonOperationType", - "modelAsString": false - } - }, - "threshold": { - "type": "number", - "format": "double", - "description": "the threshold of the metric that triggers the scale action." - } - }, - "description": "The trigger that results in a scaling action." - }, - "ScaleAction": { - "required": [ - "direction", - "type", - "cooldown" - ], - "properties": { - "direction": { - "type": "string", - "description": "the scale direction. Whether the scaling action increases or decreases the number of instances.", - "enum": [ - "None", - "Increase", - "Decrease" - ], - "x-ms-enum": { - "name": "ScaleDirection", - "modelAsString": false - } - }, - "type": { - "type": "string", - "description": "the type of action that should occur when the scale rule fires.", - "enum": [ - "ChangeCount", - "PercentChangeCount", - "ExactCount" - ], - "x-ms-enum": { - "name": "ScaleType", - "modelAsString": false - } - }, - "value": { - "type": "string", - "description": "the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.", - "default": "1" - }, - "cooldown": { - "type": "string", - "format": "duration", - "description": "the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format." - } - }, - "description": "The parameters for the scaling action." - }, - "ScaleRule": { - "required": [ - "scaleAction", "metricTrigger" - ], - "properties": { - "metricTrigger": { - "$ref": "#/definitions/MetricTrigger", - "description": "the trigger that results in a scaling action." - }, - "scaleAction": { - "$ref": "#/definitions/ScaleAction", - "description": "the parameters for the scaling action." - } - }, - "description": "A rule that provide the triggers and parameters for the scaling action." - }, - "TimeWindow": { - "properties": { - "timeZone": { - "type": "string", - "description": "the timezone of the start and end times for the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time" - }, - "start": { - "type": "string", - "format": "date-time", - "description": "the start time for the profile in ISO 8601 format." - }, - "end": { - "type": "string", - "format": "date-time", - "description": "the end time for the profile in ISO 8601 format." - } - }, - "required": [ "start", "end" ], - "description": "A specific date-time for the profile." - }, - "RecurrentSchedule": { - "required": ["timeZone", "days", "hours", "minutes"], - "properties": { - "timeZone": { - "type": "string", - "description": "the timezone for the hours of the profile. Some examples of valid timezones are: Dateline Standard Time, UTC-11, Hawaiian Standard Time, Alaskan Standard Time, Pacific Standard Time (Mexico), Pacific Standard Time, US Mountain Standard Time, Mountain Standard Time (Mexico), Mountain Standard Time, Central America Standard Time, Central Standard Time, Central Standard Time (Mexico), Canada Central Standard Time, SA Pacific Standard Time, Eastern Standard Time, US Eastern Standard Time, Venezuela Standard Time, Paraguay Standard Time, Atlantic Standard Time, Central Brazilian Standard Time, SA Western Standard Time, Pacific SA Standard Time, Newfoundland Standard Time, E. South America Standard Time, Argentina Standard Time, SA Eastern Standard Time, Greenland Standard Time, Montevideo Standard Time, Bahia Standard Time, UTC-02, Mid-Atlantic Standard Time, Azores Standard Time, Cape Verde Standard Time, Morocco Standard Time, UTC, GMT Standard Time, Greenwich Standard Time, W. Europe Standard Time, Central Europe Standard Time, Romance Standard Time, Central European Standard Time, W. Central Africa Standard Time, Namibia Standard Time, Jordan Standard Time, GTB Standard Time, Middle East Standard Time, Egypt Standard Time, Syria Standard Time, E. Europe Standard Time, South Africa Standard Time, FLE Standard Time, Turkey Standard Time, Israel Standard Time, Kaliningrad Standard Time, Libya Standard Time, Arabic Standard Time, Arab Standard Time, Belarus Standard Time, Russian Standard Time, E. Africa Standard Time, Iran Standard Time, Arabian Standard Time, Azerbaijan Standard Time, Russia Time Zone 3, Mauritius Standard Time, Georgian Standard Time, Caucasus Standard Time, Afghanistan Standard Time, West Asia Standard Time, Ekaterinburg Standard Time, Pakistan Standard Time, India Standard Time, Sri Lanka Standard Time, Nepal Standard Time, Central Asia Standard Time, Bangladesh Standard Time, N. Central Asia Standard Time, Myanmar Standard Time, SE Asia Standard Time, North Asia Standard Time, China Standard Time, North Asia East Standard Time, Singapore Standard Time, W. Australia Standard Time, Taipei Standard Time, Ulaanbaatar Standard Time, Tokyo Standard Time, Korea Standard Time, Yakutsk Standard Time, Cen. Australia Standard Time, AUS Central Standard Time, E. Australia Standard Time, AUS Eastern Standard Time, West Pacific Standard Time, Tasmania Standard Time, Magadan Standard Time, Vladivostok Standard Time, Russia Time Zone 10, Central Pacific Standard Time, Russia Time Zone 11, New Zealand Standard Time, UTC+12, Fiji Standard Time, Kamchatka Standard Time, Tonga Standard Time, Samoa Standard Time, Line Islands Standard Time" - }, - "days": { - "type": "array", - "items": { - "type": "string" - }, - "description": "the collection of days that the profile takes effect on. Possible values are Sunday through Saturday." - }, - "hours": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "A collection of hours that the profile takes effect on. Values supported are 0 to 23 on the 24-hour clock (AM/PM times are not supported)." - }, - "minutes": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "A collection of minutes at which the profile takes effect at." - } - }, - "description": "The scheduling constraints for when the profile begins." - }, - "Recurrence": { - "required": ["frequency", "schedule"], - "properties": { - "frequency": { - "type": "string", - "description": "the recurrence frequency. How often the schedule profile should take effect. This value must be Week, meaning each week will have the same set of profiles.", - "enum": [ - "None", - "Second", - "Minute", - "Hour", - "Day", - "Week", - "Month", - "Year" - ], - "x-ms-enum": { - "name": "RecurrenceFrequency", - "modelAsString": false - } - }, - "schedule": { - "$ref": "#/definitions/RecurrentSchedule", - "description": "the scheduling constraints for when the profile begins." - } - }, - "description": "The repeating times at which this profile begins. This element is not used if the FixedDate element is used." - }, - "AutoscaleProfile": { - "required":[ - "rules", - "name", - "capacity" - ], - "properties": { - "name": { - "type": "string", - "description": "the name of the profile." - }, - "capacity": { - "$ref": "#/definitions/ScaleCapacity", - "description": "the number of instances that can be used during this profile." - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/ScaleRule" - }, - "description": "the collection of rules that provide the triggers and parameters for the scaling action. A maximum of 10 rules can be specified." - }, - "fixedDate": { - "$ref": "#/definitions/TimeWindow", - "description": "the specific date-time for the profile. This element is not used if the Recurrence element is used." - }, - "recurrence": { - "$ref": "#/definitions/Recurrence", - "description": "the repeating times at which this profile begins. This element is not used if the FixedDate element is used." - } - }, - "description": "Autoscale profile." - }, - "EmailNotification": { - "properties": { - "sendToSubscriptionAdministrator": { - "type": "boolean", - "description": "a value indicating whether to send email to subscription administrator." - }, - "sendToSubscriptionCoAdministrators": { - "type": "boolean", - "description": "a value indicating whether to send email to subscription co-administrators." - }, - "customEmails": { - "type": "array", - "items": { - "type": "string" - }, - "description": "the custom e-mails list. This value can be null or empty, in which case this attribute will be ignored." - } - }, - "description": "Email notification of an autoscale event." - }, - "WebhookNotification": { - "properties": { - "serviceUri": { - "type": "string", - "description": "the service address to receive the notification." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "a property bag of settings. This value can be empty." - } - }, - "description": "Webhook notification of an autoscale event." - }, - "AutoscaleNotification": { - "required": [ - "operation" - ], - "properties": { - "operation": { - "type": "string", - "description": "the operation associated with the notification and its value must be \"scale\"", - "enum": ["Scale"], - "x-ms-enum": { - "name": "OperationType", - "modelAsString": false - } - }, - "email": { - "$ref": "#/definitions/EmailNotification", - "description": "the email notification." - }, - "webhooks": { - "type": "array", - "items": { - "$ref": "#/definitions/WebhookNotification" - }, - "description": "the collection of webhook notifications." - } - }, - "description": "Autoscale notification." - }, - "AutoscaleSetting": { - "required":[ - "profiles", - "name" - ], - "properties": { - "profiles": { - "type": "array", - "maxItems": 20, - "items": { - "$ref": "#/definitions/AutoscaleProfile" - }, - "description": "the collection of automatic scaling profiles that specify different scaling parameters for different time periods. A maximum of 20 profiles can be specified." - }, - "notifications": { - "type": "array", - "items": { - "$ref": "#/definitions/AutoscaleNotification" - }, - "description": "the collection of notifications." - }, - "enabled": { - "type": "boolean", - "description": "the enabled flag. Specifies whether automatic scaling is enabled for the resource. The default value is 'true'.", - "default": true - }, - "name": { - "type": "string", - "description": "the name of the autoscale setting." - }, - "targetResourceUri": { - "type": "string", - "description": "the resource identifier of the resource that the autoscale setting should be added to." - } - }, - "description": "A setting that contains all of the configuration for the automatic scaling of a resource." - }, - "AutoscaleSettingResource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AutoscaleSetting" - } - }, - "description": "The autoscale setting resource." - }, - "AutoscaleSettingResourceCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AutoscaleSettingResource" - }, - "description": "the values for the autoscale setting resources." - }, - "nextLink": { - "type": "string", - "description": "URL to get the next set of results." - } - }, - "required": ["value"], - "description": "Represents a collection of autoscale setting resources." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "FilterParameter": { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx", - "x-ms-parameter-location": "method" - }, - "AutoscaleSettingNameParameter": { - "name": "autoscaleSettingName", - "in": "path", - "required": true, - "type": "string", - "description": "The autoscale setting name.", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/arm-insights/2015-07-01/swagger/insightsManagementClient_DiagnosticsSettings.json b/arm-insights/2015-07-01/swagger/insightsManagementClient_DiagnosticsSettings.json deleted file mode 100644 index 87e8995f042a..000000000000 --- a/arm-insights/2015-07-01/swagger/insightsManagementClient_DiagnosticsSettings.json +++ /dev/null @@ -1,292 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsManagementClient", - "version": "2015-07-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/{resourceUri}/providers/microsoft.insights/diagnosticSettings/service": { - "get": { - "tags": [ - "ServiceDiagnosticSettings" - ], - "operationId": "ServiceDiagnosticSettings_Get", - "description": "Gets the active diagnostic settings for the specified resource.", - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get more information about service diagnostic setting", - "schema": { - "$ref": "#/definitions/ServiceDiagnosticSettingsResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1","serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "metrics": [ - { - "timeGrain":"PT1M", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ], - "logs": [ - { - "category":"WorkflowRuntime", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ] - } - } - } - } - } - }, - "put": { - "tags": [ - "ServiceDiagnosticSettings" - ], - "operationId": "ServiceDiagnosticSettings_CreateOrUpdate", - "description": "Create or update new diagnostic settings for the specified resource.", - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ServiceDiagnosticSettingsResource" - }, - "description": "Parameters supplied to the operation." - } - ], - "responses": { - "200": { - "description": "Successful request to create a service diagnostic setting", - "schema": { - "$ref": "#/definitions/ServiceDiagnosticSettingsResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", - "type":"", - "name":"service", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1","serviceBusRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", - "workspaceId":"", - "metrics": [ - { - "timeGrain":"PT1M", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ], - "logs": [ - { - "category":"WorkflowRuntime", - "enabled":true, - "retentionPolicy": { - "enabled":false, - "days":0 - } - } - ] - } - } - } - } - } - } - } - }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "RetentionPolicy": { - "properties": { - "enabled": { - "type": "boolean", - "description": "a value indicating whether the retention policy is enabled." - }, - "days": { - "type": "integer", - "format": "int32", - "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." - } - }, - "required": [ "enabled", "days" ], - "description": "Specifies the retention policy for the log." - }, - "MetricSettings": { - "properties": { - "timeGrain": { - "type": "string", - "format": "duration", - "description": "the timegrain of the metric in ISO8601 format." - }, - "enabled": { - "type": "boolean", - "description": "a value indicating whether this timegrain is enabled." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "the retention policy for this timegrain." - } - }, - "required": [ "enabled", "timeGrain" ], - "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric." - }, - "LogSettings": { - "properties": { - "category": { - "type": "string", - "description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation." - }, - "enabled": { - "type": "boolean", - "description": "a value indicating whether this log is enabled." - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "the retention policy for this log." - } - }, - "required": [ "enabled" ], - "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." - }, - "ServiceDiagnosticSettings": { - "properties": { - "storageAccountId": { - "type": "string", - "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs." - }, - "serviceBusRuleId": { - "type": "string", - "description": "The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming Diagnostic Logs. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'." - }, - "metrics": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricSettings" - }, - "description": "the list of metric settings." - }, - "logs": { - "type": "array", - "items": { - "$ref": "#/definitions/LogSettings" - }, - "description": "the list of logs settings." - }, - "workspaceId": { - "type": "string", - "description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2" - } - }, - "description": "The diagnostic settings for service." - }, - "ServiceDiagnosticSettingsResource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ServiceDiagnosticSettings" - } - }, - "description": "Description of a service diagnostic setting" - } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource.", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/arm-insights/2016-03-01/swagger/insightsManagementClient_AlertRules.json b/arm-insights/2016-03-01/swagger/insightsManagementClient_AlertRules.json deleted file mode 100644 index 62a648f33fad..000000000000 --- a/arm-insights/2016-03-01/swagger/insightsManagementClient_AlertRules.json +++ /dev/null @@ -1,756 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsManagementClient", - "version": "2016-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}": { - "put": { - "description": "Creates or updates an alert rule.\r\nRequest method: PUT\t\tRequest URI: https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/microsoft.insights/alertRules/{alert-rule-name}?api-version={api-version}", - "tags": [ - "AlertRules" - ], - "operationId": "AlertRules_CreateOrUpdate", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AlertRuleResource" - }, - "description": "The parameters of the rule to create or update." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to update an alert rule", - "schema": { - "$ref": "#/definitions/AlertRuleResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "threshold":3.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:23:52.0221265Z", - "actions":[] - } - } - } - }, - "201": { - "description": "Created alert rule", - "schema": { - "$ref": "#/definitions/AlertRuleResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin", - "name":"chiricutin", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricName":"Requests" - }, - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-23T21:21:40.3097118Z", - "actions":[] - } - } - } - } - } - }, - "delete": { - "description": "Deletes an alert rule", - "tags": [ - "AlertRules" - ], - "operationId": "AlertRules_Delete", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "204": { - "description": "No content: the request was successful, but the response is empty" - }, - "200": { - "description": "Successful request to delete an alert rule" - } - } - }, - "get": { - "description": "Gets an alert rule", - "tags": [ - "AlertRules" - ], - "operationId": "AlertRules_Get", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get an alert rule", - "schema": { - "$ref": "#/definitions/AlertRuleResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0", - "name":"chiricutin0", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin0", - "description":"Pura Vida 0", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricNamespace":"", - "metricName":"Requests" - }, - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.1082596Z", - "actions":[] - } - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules": { - "get": { - "tags": [ - "AlertRules" - ], - "operationId": "AlertRules_ListByResourceGroup", - "description": "List the alert rules within a resource group.", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request for a list of alert rules", - "schema": { - "$ref": "#/definitions/AlertRuleResourceCollection" - }, - "examples": { - "application/json": { - "value": [ - { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/{ruleName}", - "name":"{ruleName}", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"{ruleName}", - "description":"Pura Vida", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricNamespace":"", - "metricName":"Requests" - }, - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.0005255Z", - "actions": [ - { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleEmailAction", - "sendToServiceOwners":true, - "customEmails": [ - "gu@ms.com", - "su@ms.net" - ] - } - ] - } - }, - { - "id":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/microsoft.insights/alertrules/chiricutin0", - "name":"chiricutin0", - "type":"Microsoft.Insights/alertRules", - "location":"West US", - "tags": { - "$type":"Microsoft.WindowsAzure.Management.Common.Storage.CasePreservedDictionary, Microsoft.WindowsAzure.Management.Common.Storage","hidden-link:/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest":"Resource" - }, - "properties": { - "name":"chiricutin0", - "description":"Pura Vida 0", - "isEnabled":true, - "condition": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "dataSource": { - "odata.type":"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "resourceUri":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/leoalerttest", - "metricNamespace":"", - "metricName":"Requests" - }, - "threshold":2.0, - "windowSize":"PT5M", - "timeAggregation":"Total" - }, - "lastUpdatedTime":"2016-11-10T21:04:39.1082596Z", - "actions":[] - } - } - ] - } - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-odata": "#/definitions/AlertRuleResource" - } - } - }, - "definitions": { - "RuleCondition": { - "type": "object", - "discriminator": "odata.type", - "properties": { - "odata.type": { - "type": "string", - "description": "specifies the type of condition. This can be one of three types: ManagementEventRuleCondition (occurrences of management events), LocationThresholdRuleCondition (based on the number of failures of a web test), and ThresholdRuleCondition (based on the threshold of a metric)." - } - }, - "required": [ "odata.type" ], - "description": "The condition that results in the alert rule being activated." - }, - "RuleDataSource": { - "type": "object", - "discriminator": "odata.type", - "properties": { - "odata.type": { - "type": "string", - "description": "specifies the type of data source. There are two types of rule data sources: RuleMetricDataSource and RuleManagementEventDataSource" - } - }, - "required": [ "odata.type" ], - "description": "The resource from which the rule collects its data." - }, - "RuleMetricDataSource": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RuleDataSource" - } - ], - "properties": { - "resourceUri": { - "type": "string", - "description": "the resource identifier of the resource the rule monitors." - }, - "metricName": { - "type": "string", - "description": "the name of the metric that defines what the rule monitors." - } - }, - "description": "A rule metric data source. The discriminator value is always RuleMetricDataSource in this case." - }, - "RuleManagementEventClaimsDataSource": { - "properties": { - "emailAddress": { - "type": "string", - "description": "the email address." - } - }, - "description": "The claims for a rule management event data source." - }, - "RuleManagementEventDataSource": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource", - "type": "object", - "allOf": [ - { - "$ref" : "#/definitions/RuleDataSource" - } - ], - "properties": { - "eventName": { - "type": "string", - "description": "the event name." - }, - "eventSource": { - "type": "string", - "description": "the event source." - }, - "level": { - "type": "string", - "description": "the level." - }, - "operationName": { - "type": "string", - "description": "The name of the operation that should be checked for. If no name is provided, any operation will match." - }, - "resourceGroupName": { - "type": "string", - "description": "the resource group name." - }, - "resourceProviderName": { - "type": "string", - "description": "the resource provider name." - }, - "resourceUri": { - "type": "string", - "description": "the resource uri." - }, - "status": { - "type": "string", - "description": "The status of the operation that should be checked for. If no status is provided, any status will match." - }, - "subStatus": { - "type": "string", - "description": "the substatus." - }, - "claims": { - "$ref": "#/definitions/RuleManagementEventClaimsDataSource", - "description": "the claims." - } - }, - "description": "A rule management event data source. The discriminator fields is always RuleManagementEventDataSource in this case." - }, - "ConditionOperator": { - "type": "string", - "enum": [ - "GreaterThan", - "GreaterThanOrEqual", - "LessThan", - "LessThanOrEqual" - ], - "x-ms-enum": { - "name": "ConditionOperator", - "modelAsString": false - } - }, - "TimeAggregationOperator": { - "type": "string", - "enum": [ - "Average", - "Minimum", - "Maximum", - "Total", - "Last" - ], - "x-ms-enum": { - "name": "TimeAggregationOperator", - "modelAsString": false - } - }, - "ThresholdRuleCondition": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition", - "type": "object", - "allOf": [ - { - "$ref" : "#/definitions/RuleCondition" - } - ], - "required": [ "threshold", "operator" ], - "properties": { - "dataSource": { - "$ref": "#/definitions/RuleDataSource", - "description": "the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource." - }, - "operator": { - "$ref": "#/definitions/ConditionOperator", - "description": "the operator used to compare the data and the threshold." - }, - "threshold": { - "type": "number", - "format": "double", - "description": "the threshold value that activates the alert." - }, - "windowSize": { - "type": "string", - "format": "duration", - "description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day." - }, - "timeAggregation": { - "$ref": "#/definitions/TimeAggregationOperator", - "description": "the time aggregation operator. How the data that are collected should be combined over time. The default value is the PrimaryAggregationType of the Metric." - } - }, - "description": "A rule condition based on a metric crossing a threshold.", - "example": "\"condition\": {\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.ThresholdRuleCondition\",\r\n\t\"dataSource\": {\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",\r\n\t\"resourceUri\":\r\n\t\"/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/Default-Storage-NorthCentralUS/providers/Microsoft.Web/serverfarms/Plan\",\r\n\t\"metricName\": \"CpuPercentage\",\r\n\t\"operator\": \"GreaterThan\"\r\n\t},\r\n\t\"threshold\": 90,\r\n\t\"windowSize\": \"PT15M\",\r\n\t\"timeAggregation\": \"Average\"}" - }, - "LocationThresholdRuleCondition": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition", - "type": "object", - "allOf": [ - { - "$ref" : "#/definitions/RuleCondition" - } - ], - "properties": { - "dataSource": { - "$ref": "#/definitions/RuleDataSource", - "description": "the resource from which the rule collects its data. For this type dataSource will always be of type RuleMetricDataSource." - }, - "windowSize": { - "type": "string", - "format": "duration", - "description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day." - }, - "failedLocationCount": { - "type": "integer", - "format": "int32", - "description": "the number of locations that must fail to activate the alert." - } - }, - "required": [ "failedLocationCount" ], - "description": "A rule condition based on a certain number of locations failing.", - "example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition\",\r\n\t\"dataSource\": {\r\n\t\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleMetricDataSource\",\r\n\t\t\"resourceUri\": \"/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourcegroups/Default-Web-CentralUS/providers/microsoft.insights/webtests/homepagetest-newrelapp2\",r\n\t\t\"metricName\": \"GSMT_AvRaW\"\r\n\t},\r\n\t\"windowSize\": \"PT5M\",\r\n\t\"failedLocationCount\": 1\r\n}" - }, - "ManagementEventAggregationCondition": { - "properties": { - "operator": { - "$ref": "#/definitions/ConditionOperator", - "description": "the condition operator." - }, - "threshold": { - "type": "number", - "format": "double", - "description": "The threshold value that activates the alert." - }, - "windowSize": { - "type": "string", - "format": "duration", - "description": "the period of time (in ISO 8601 duration format) that is used to monitor alert activity based on the threshold. If specified then it must be between 5 minutes and 1 day." - } - }, - "description": "How the data that is collected should be combined over time." - }, - "ManagementEventRuleCondition": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition", - "type": "object", - "allOf": [ - { - "$ref" : "#/definitions/RuleCondition" - } - ], - "properties": { - "dataSource": { - "$ref": "#/definitions/RuleDataSource", - "description": "the resource from which the rule collects its data. For this type dataSource will always be of type RuleManagementEventDataSource." - }, - "aggregation": { - "$ref": "#/definitions/ManagementEventAggregationCondition", - "description": "How the data that is collected should be combined over time and when the alert is activated. Note that for management event alerts aggregation is optional – if it is not provided then any event will cause the alert to activate." - } - }, - "description": "A management event rule condition.", - "example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.ManagementEventRuleCondition\",\r\n\t\"dataSource\": {\r\n\t\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleManagementEventDataSource\",\r\n\t\t\"operationName\": \"\",\r\n\t\t\"resourceUri\": \"/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/Default-Web-CentralUS/providers/Microsoft.Web/sites/TestLatestWebsite\",\r\n\t\t\"status\": \"failed\",\r\n\t\t\"claims\": { }\r\n\t},\r\n\t\"aggregation\": {\r\n\t\t\"threshold\": 1,\r\n\t\t\"windowSize\": \"PT5M\"\r\n\t}\r\n}" - }, - "RuleAction": { - "type": "object", - "discriminator": "odata.type", - "properties": { - "odata.type": { - "type": "string", - "description": "specifies the type of the action. There are two types of actions: RuleEmailAction and RuleWebhookAction." - } - }, - "required": [ "odata.type" ], - "description": "The action that is performed when the alert rule becomes active, and when an alert condition is resolved." - }, - "RuleEmailAction": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.RuleEmailAction", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RuleAction" - } - ], - "properties": { - "sendToServiceOwners": { - "type": "boolean", - "description": "Whether the administrators (service and co-adiminstrators) of the service should be notified when the alert is activated." - }, - "customEmails": { - "type": "array", - "items": { - "type" : "string" - }, - "description": "the list of administrator's custom email addresses notifiy of the activation of the alert." - } - }, - "description": "Specifies the action to send email when the rule condition is evaluated. The discriminator is always RuleEmailAction in this case.", - "example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleEmailAction\",\r\n\t\"sendToServiceOwners\": true,\r\n\t\"customEmails\": [\"email1@contoso.com\",\"email2@contoso.com\" ]\r\n}" - }, - "RuleWebhookAction": { - "x-ms-discriminator-value": "Microsoft.Azure.Management.Insights.Models.RuleWebhookAction", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/RuleAction" - } - ], - "properties": { - "serviceUri": { - "type": "string", - "description": "the service uri to Post the notitication when the alert activates or resolves." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "the dictionary of custom properties to include with the post operation. These data are appended to the webhook payload." - } - }, - "description": "Specifies the action to post to service when the rule condition is evaluated. The discriminator is always RuleWebhookAction in this case.", - "example": "{\r\n\t\"odata.type\": \"Microsoft.Azure.Management.Insights.Models.RuleWebhookAction\",\r\n\t\"serviceUri\": \"http://contoso.com/\",\r\n\t\"properties\": { }\r\n}" - }, - "AlertRule": { - "required": [ - "name", - "isEnabled" - ], - "properties": { - "name": { - "type": "string", - "description": "the name of the alert rule." - }, - "description": { - "type": "string", - "description": "the description of the alert rule that will be included in the alert email." - }, - "isEnabled": { - "type": "boolean", - "description": "the flag that indicates whether the alert rule is enabled." - }, - "condition": { - "$ref": "#/definitions/RuleCondition", - "description": "the condition that results in the alert rule being activated." - }, - "actions": { - "type": "array", - "items": { - "$ref": "#/definitions/RuleAction" - }, - "description": "the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved." - }, - "lastUpdatedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Last time the rule was updated in ISO8601 format." - } - }, - "description": "An alert rule." - }, - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "AlertRuleResource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/AlertRule" - } - }, - "description": "The alert rule resource." - }, - "AlertRuleResourceCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AlertRuleResource" - }, - "description": "the values for the alert rule resources." - } - }, - "description": "Represents a collection of alert rule resources." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "RuleNameParameter": { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the rule.", - "x-ms-parameter-location": "method" - }, - "FilterParameter": { - "name": "$filter", - "in": "query", - "required": false, - "type": "string", - "description": "The filter to apply on the operation. For more information please see https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/arm-insights/2016-03-01/swagger/insightsManagementClient_AlertRulesIncidents.json b/arm-insights/2016-03-01/swagger/insightsManagementClient_AlertRulesIncidents.json deleted file mode 100644 index 24258b06b987..000000000000 --- a/arm-insights/2016-03-01/swagger/insightsManagementClient_AlertRulesIncidents.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsManagementClient", - "version": "2016-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}/incidents/{incidentName}": { - "get": { - "description": "Gets an incident associated to an alert rule", - "tags": [ - "AlertRuleIncidents" - ], - "operationId": "AlertRuleIncidents_Get", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RuleNameParameter" - }, - { - "name": "incidentName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the incident to retrieve." - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request for one alert rule related incident", - "schema": { - "$ref": "#/definitions/Incident" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}/incidents": { - "get": { - "description": "Gets a list of incidents associated to an alert rule", - "tags": [ - "AlertRuleIncidents" - ], - "operationId": "AlertRuleIncidents_ListByAlertRule", - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/RuleNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request for a list of alert rule related incidents", - "schema": { - "$ref": "#/definitions/IncidentListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "Incident": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Incident name." - }, - "ruleName": { - "readOnly": true, - "type": "string", - "description": "Rule name that is associated with the incident." - }, - "isActive": { - "readOnly": true, - "type": "boolean", - "description": "A boolean to indicate whether the incident is active or resolved." - }, - "activatedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The time at which the incident was activated in ISO8601 format." - }, - "resolvedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active." - } - }, - "description": "An alert incident indicates the activation status of an alert rule." - }, - "IncidentListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Incident" - }, - "description": "the incident collection." - } - }, - "description": "The List incidents operation response." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group.", - "x-ms-parameter-location": "method" - }, - "RuleNameParameter": { - "name": "ruleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the rule.", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/arm-insights/2016-03-01/swagger/insightsManagementClient_LogProfiles.json b/arm-insights/2016-03-01/swagger/insightsManagementClient_LogProfiles.json deleted file mode 100644 index a114b627b4a4..000000000000 --- a/arm-insights/2016-03-01/swagger/insightsManagementClient_LogProfiles.json +++ /dev/null @@ -1,318 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsManagementClient", - "version": "2016-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/microsoft.insights/logprofiles/{logProfileName}": { - "delete": { - "tags": [ - "LogProfiles" - ], - "operationId": "LogProfiles_Delete", - "description": "Deletes the log profile.", - "parameters": [ - { - "$ref": "#/parameters/LogProfileNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to delete a log profile" - } - } - }, - "get": { - "tags": [ - "LogProfiles" - ], - "operationId": "LogProfiles_Get", - "description": "Gets the log profile.", - "parameters": [ - { - "$ref": "#/parameters/LogProfileNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get more information about a log profile.", - "schema": { - "$ref": "#/definitions/LogProfileResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", - "type":"", - "name":"default", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId":"", - "locations": [ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":3 - } - } - } - } - } - } - }, - "put": { - "tags": [ - "LogProfiles" - ], - "operationId": "LogProfiles_CreateOrUpdate", - "description": "Create or update a log profile in Azure Monitoring REST API.", - "parameters": [ - { - "$ref": "#/parameters/LogProfileNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LogProfileResource" - }, - "description": "Parameters supplied to the operation." - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to create or update a log profile", - "schema": { - "$ref": "#/definitions/LogProfileResource" - }, - "examples": { - "application/json": { - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/providers/microsoft.insights/logprofiles/default", - "type":"", - "name":"default", - "location":"", - "tags":null, - "properties": { - "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/JohnKemTest/providers/Microsoft.Storage/storageAccounts/johnkemtest8162", - "serviceBusRuleId":"", - "locations":[ - "global" - ], - "categories": [ - "Delete", - "Write", - "Action" - ], - "retentionPolicy": { - "enabled":true, - "days":3 - } - } - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/microsoft.insights/logprofiles": { - "get": { - "tags": [ - "LogProfiles" - ], - "operationId": "LogProfiles_List", - "description": "List the log profiles.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to list log profiles", - "schema": { - "$ref": "#/definitions/LogProfileCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "Resource": { - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Azure resource Id" - }, - "name": { - "type": "string", - "description": "Azure resource name" - }, - "type": { - "type": "string", - "readOnly": true, - "description": "Azure resource type" - }, - "location": { - "type": "string", - "description": "Resource location" - }, - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags" - } - }, - "required": [ - "location" - ], - "x-ms-azure-resource": true, - "description": "An azure resource object" - }, - "RetentionPolicy": { - "properties": { - "enabled": { - "type": "boolean", - "description": "a value indicating whether the retention policy is enabled." - }, - "days": { - "type": "integer", - "format": "int32", - "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." - } - }, - "required": [ "enabled", "days" ], - "description": "Specifies the retention policy for the log." - }, - "LogProfileProperties": { - "required": [ "locations" ], - "properties": { - "storageAccountId": { - "type": "string", - "description": "the resource id of the storage account to which you would like to send the Activity Log." - }, - "serviceBusRuleId": { - "type": "string", - "description": "The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format: '{service bus resource ID}/authorizationrules/{key name}'." - }, - "locations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of regions for which Activity Log events should be stored or streamed. It is a comma separated list of valid ARM locations including the 'global' location." - }, - "categories": { - "type": "array", - "items": { - "type": "string" - }, - "description": "the categories of the logs. These categories are created as is convenient to the user. Some values are: 'Write', 'Delete', and/or 'Action.'" - }, - "retentionPolicy": { - "$ref": "#/definitions/RetentionPolicy", - "description": "the retention policy for the events in the log." - } - }, - "description": "The log profile properties." - }, - "LogProfileResource": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/LogProfileProperties" - } - }, - "required": ["properties"], - "description": "The log profile resource." - }, - "LogProfileCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LogProfileResource" - }, - "description": "the values of the log profiles." - } - }, - "required": ["value"], - "description": "Represents a collection of log profiles." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "LogProfileNameParameter": { - "name": "logProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the log profile.", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/arm-insights/compositeInsightsManagementClient.json b/arm-insights/compositeInsightsManagementClient.json deleted file mode 100644 index 0a21a0d5ece5..000000000000 --- a/arm-insights/compositeInsightsManagementClient.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "info": { - "title": "InsightsManagementClient", - "description": "Composite Swagger for Insights Management Client" - }, - "documents": [ - "./2015-04-01/swagger/insightsManagementClient_Autoscale.json", - "./2015-07-01/swagger/insightsManagementClient_DiagnosticsSettings.json", - "./2016-03-01/swagger/insightsManagementClient_AlertRules.json", - "./2016-03-01/swagger/insightsManagementClient_AlertRulesIncidents.json", - "./2016-03-01/swagger/insightsManagementClient_LogProfiles.json" - ] -} \ No newline at end of file diff --git a/arm-monitor/compositeMonitorManagementClient.json b/arm-monitor/compositeMonitorManagementClient.json deleted file mode 100644 index 07d056aee06c..000000000000 --- a/arm-monitor/compositeMonitorManagementClient.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "info": { - "title": "MonitorManagementClient", - "description": "Composite Swagger for Monitor Management Client" - }, - "documents": [ - "./2015-04-01/swagger/autoscale_API.json", - "./2016-03-01/swagger/alertRules_API.json", - "./2016-03-01/swagger/alertRulesIncidents_API.json", - "./2017-04-01/swagger/activityLogAlerts_API.json", - "./2016-03-01/swagger/logProfiles_API.json", - "./2016-09-01/swagger/serviceDiagnosticsSettings_API.json", - "./2017-04-01/swagger/actionGroups_API.json" - ] -} \ No newline at end of file diff --git a/arm-network/compositeNetworkClient.json b/arm-network/compositeNetworkClient.json deleted file mode 100644 index 897ff990607f..000000000000 --- a/arm-network/compositeNetworkClient.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "info": { - "title": "NetworkManagementClient", - "description": "Composite Swagger for Network Client" - }, - "documents": [ - "./2017-06-01/swagger/applicationGateway.json", - "./2017-06-01/swagger/checkDnsAvailability.json", - "./2017-06-01/swagger/expressRouteCircuit.json", - "./2017-06-01/swagger/loadBalancer.json", - "./2017-06-01/swagger/network.json", - "./2017-06-01/swagger/networkInterface.json", - "./2017-06-01/swagger/networkSecurityGroup.json", - "./2017-06-01/swagger/networkWatcher.json", - "./2017-06-01/swagger/publicIpAddress.json", - "./2017-06-01/swagger/routeFilter.json", - "./2017-06-01/swagger/routeTable.json", - "./2017-06-01/swagger/serviceCommunity.json", - "./2017-06-01/swagger/usage.json", - "./2017-06-01/swagger/virtualNetwork.json", - "./2017-06-01/swagger/virtualNetworkGateway.json", - "./2017-06-01/swagger/vmssNetworkInterface.json", - "./2017-06-01/swagger/vmssPublicIpAddress.json", - "./2017-06-01/swagger/privateAccessServices.json" - ] -} \ No newline at end of file diff --git a/arm-network/compositeNetworkClient_2015_06_15.json b/arm-network/compositeNetworkClient_2015_06_15.json deleted file mode 100644 index a3429a4f6a5b..000000000000 --- a/arm-network/compositeNetworkClient_2015_06_15.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "info": { - "title": "NetworkManagementClient", - "description": "Composite Swagger for Network Client" - }, - "documents": [ - "./2015-06-15/swagger/applicationGateway.json", - "./2015-06-15/swagger/checkDnsAvailability.json", - "./2015-06-15/swagger/routeTable.json", - "./2015-06-15/swagger/publicIpAddress.json", - "./2015-06-15/swagger/networkSecurityGroup.json", - "./2015-06-15/swagger/loadBalancer.json", - "./2015-06-15/swagger/virtualNetwork.json", - "./2015-06-15/swagger/networkInterface.json", - "./2015-06-15/swagger/vmssNetworkInterface.json", - "./2015-06-15/swagger/usage.json", - "./2015-06-15/swagger/virtualNetworkGateway.json", - "./2015-06-15/swagger/expressRouteCircuit.json", - "./2015-06-15/swagger/network.json" - ] -} diff --git a/arm-operationalinsights/compositeOperationalInsights.json b/arm-operationalinsights/compositeOperationalInsights.json deleted file mode 100644 index f86230ee6565..000000000000 --- a/arm-operationalinsights/compositeOperationalInsights.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "info": { - "title": "Azure Log Analytics", - "description": "Azure Log Analytics API reference" - }, - - "documents": [ - "./2015-11-01-preview/swagger/OperationalInsights.json", - "./2015-03-20/swagger/OperationalInsights.json" - ] -} \ No newline at end of file diff --git a/arm-recoveryservices/compositeRecoveryServicesClient.json b/arm-recoveryservices/compositeRecoveryServicesClient.json deleted file mode 100644 index eb55da0ce75f..000000000000 --- a/arm-recoveryservices/compositeRecoveryServicesClient.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "info": { - "title": "RecoveryServicesClient", - "description": "Composite Swagger for Recovery Services Client" - }, - "documents": [ - "./2016-06-01/swagger/backup.json", - "./2016-06-01/swagger/registeredidentities.json", - "./2016-06-01/swagger/replicationusages.json", - "./2016-06-01/swagger/vaults.json", - "./2016-06-01/swagger/vaultusages.json" - ] -} \ No newline at end of file diff --git a/arm-recoveryservicesbackup/2016-06-01/compositeRecoveryServicesBackupClient.json b/arm-recoveryservicesbackup/2016-06-01/compositeRecoveryServicesBackupClient.json deleted file mode 100644 index c6c7e4455ee9..000000000000 --- a/arm-recoveryservicesbackup/2016-06-01/compositeRecoveryServicesBackupClient.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "info": { - "title": "RecoveryServicesBackupClient", - "description": "Composite Swagger for Recovery Services Backup Client" - }, - "documents": [ - "./swagger/recoveryservicesbackup.json", - "./swagger/registeredIdentities.json" - ] -} \ No newline at end of file diff --git a/arm-recoveryservicesbackup/readme.md b/arm-recoveryservicesbackup/readme.md deleted file mode 100644 index acbb15fc3a9a..000000000000 --- a/arm-recoveryservicesbackup/readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Scenario: RecoveryServices.Backup swagger configuration - -> see https://aka.ms/autorest - -## Information -```yaml -override-info: - title: Recovery Services Backup Client - description: Open API 2.0 Specs for Azure RecoveryServices Backup service -``` - -## Inputs - -``` yaml -input-file: - - ./2016-12-01/swagger/backupManagement.json - - ./2016-08-10/swagger/operations.json -azure-arm: true -license-header: MICROSOFT_MIT -``` - -## Suppression - -``` yaml -directive: - - suppress: DefinitionsPropertiesNamesCamelCase - reason: Autorest invalidates two letter acronyms as well and changes in data contracts require service wide changes and require more time -``` - -## Code Generation - -### C# - -```yaml $(csharp) -csharp: - namespace: Microsoft.Azure.Management.RecoveryServices.Backup - output-folder: $(output-folder)Generated/CSharp -``` - -### Python - -```yaml $(python) -python: - namespace: azure.mgmt.recoveryservicesbackup - package-version: 0.1.0 - output-folder: $(output-folder)Generated/Python - payload-flattening-threshold: 2 - license-header: MICROSOFT_MIT_NO_VERSION -``` - -```yaml $(python) && $(create) -python: - package-name: azure-mgmt-recoveryservicesbackup -``` \ No newline at end of file diff --git a/arm-sql/compositeSql.json b/arm-sql/compositeSql.json deleted file mode 100644 index ec5b61ee79ab..000000000000 --- a/arm-sql/compositeSql.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "info": { - "title": "SqlManagementClient", - "description": "The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases." - }, - "documents": [ - "./2014-04-01/swagger/backups.json", - "./2014-04-01/swagger/capabilities.json", - "./2014-04-01/swagger/connectionPolicies.json", - "./2014-04-01/swagger/dataMasking.json", - "./2014-04-01/swagger/firewallRules.json", - "./2014-04-01/swagger/geoBackupPolicies.json", - "./2014-04-01/swagger/importExport.json", - "./2014-04-01/swagger/metrics.json", - "./2014-04-01/swagger/operations.json", - "./2014-04-01/swagger/replicationLinks.json", - "./2014-04-01/swagger/sql.core.json", - "./2014-04-01/swagger/serverAzureADAdministrators.json", - "./2014-04-01/swagger/serverCommunicationLinks.json", - "./2014-04-01/swagger/databaseSecurityAlertPolicies.json", - "./2014-04-01/swagger/backupLongTermRetentionVaults.json", - "./2014-04-01/swagger/backupLongTermRetentionPolicies.json", - "./2014-04-01/swagger/serviceObjectives.json", - "./2014-04-01/swagger/usages.json", - "./2015-05-01-preview/swagger/blobAuditingPolicies.json", - "./2015-05-01-preview/swagger/failoverGroups.json", - "./2015-05-01-preview/swagger/virtualNetworkRules.json", - "./2015-05-01-preview/swagger/servers.json", - "./2015-05-01-preview/swagger/serverKeys.json", - "./2015-05-01-preview/swagger/encryptionProtectors.json" - ] -} diff --git a/arm-streamanalytics/compositeStreamAnalytics.json b/arm-streamanalytics/compositeStreamAnalytics.json deleted file mode 100644 index acbd1fdb1d2b..000000000000 --- a/arm-streamanalytics/compositeStreamAnalytics.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "info": { - "title": "StreamAnalyticsManagementClient", - "description": "Composite Swagger for Stream Analytics Client" - }, - "documents": [ - "./2016-03-01/swagger/streamingjobs.json", - "./2016-03-01/swagger/inputs.json", - "./2016-03-01/swagger/outputs.json", - "./2016-03-01/swagger/transformations.json", - "./2016-03-01/swagger/functions.json", - "./2016-03-01/swagger/subscriptions.json" - ] -} \ No newline at end of file diff --git a/arm-web/README.md b/arm-web/README.md deleted file mode 100644 index 53e43885735a..000000000000 --- a/arm-web/README.md +++ /dev/null @@ -1,17 +0,0 @@ -## Composite Swagger - -Each swagger spec is tied to one version a.k.a api-version of the service. -``` -{ - "swagger": "2.0", - "info": { - "title": "WebSite Management Client", - "version": "2016-08-01" // <<---------------------------------The api-version - }, - "host": "management.azure.com", - . . . -} -``` -The App service RP comprises of services where each service has its own api-version. Hence, each sub-service has its own swagger spec. - -All of them are tied together using this [composite spec](./compositeWebAppClient.json) and are packaged together into one compute client library. This makes it easier for customers to download one (nuget/npm/pip/maven/gem) compute client library package rather than installing individual packages for each sub service. diff --git a/arm-web/compositeWebAppClient.json b/arm-web/compositeWebAppClient.json deleted file mode 100644 index f14ed75e7faa..000000000000 --- a/arm-web/compositeWebAppClient.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "info": { - "title": "WebSiteManagementClient", - "description": "Composite Swagger for WebSite Management Client" - }, - "documents": [ - "./2015-08-01/swagger/AppServiceCertificateOrders.json", - "./2016-09-01/swagger/AppServiceEnvironments.json", - "./2016-09-01/swagger/AppServicePlans.json", - "./2016-03-01/swagger/Certificates.json", - "./2015-04-01/swagger/Domains.json", - "./2016-03-01/swagger/Recommendations.json", - "./2016-03-01/swagger/ResourceProvider.json", - "./2015-04-01/swagger/TopLevelDomains.json", - "./2016-08-01/swagger/WebApps.json", - "./2016-03-01/swagger/DeletedWebApps.json", - "./2016-03-01/swagger/Provider.json" - ] -} diff --git a/insights/2014-04-01/swagger/insightsClient_UsageMetrics.json b/insights/2014-04-01/swagger/insightsClient_UsageMetrics.json deleted file mode 100644 index c04921940d6d..000000000000 --- a/insights/2014-04-01/swagger/insightsClient_UsageMetrics.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsClient", - "version": "2014-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/{resourceUri}/usages": { - "get": { - "tags": [ - "UsageMetrics" - ], - "operationId": "UsageMetrics_List", - "description": "The List operation lists the usage metrics for the resource.", - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version. NOTE: This is not a client property, it must be explicit in the call and there is no default value." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "The filter to apply on the operation.", - "required": false - } - ], - "responses": { - "200": { - "description": "Successful request to get the list of usage metric values", - "schema": { - "$ref": "#/definitions/UsageMetricCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-odata": "#/definitions/UsageMetric" - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } - }, - "description": "The localizable string class." - }, - "UsageMetric": { - "properties": { - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "the usage metric name and display name." - }, - "currentValue": { - "type": "number", - "format": "double", - "description": "the current value for the usage metric." - }, - "id": { - "type": "string", - "description": "the id for the usage metric." - }, - "limit": { - "type": "number", - "format": "double", - "description": "the quota limit the usage metric." - }, - "unit": { - "type": "string", - "description": "the unit for the usage metric." - }, - "nextResetTime": { - "type": "string", - "format": "date-time", - "description": "the next reset time for the current value." - }, - "quotaPeriod": { - "type": "string", - "format": "duration", - "description": "the amount of time it takes to reset the value." - } - }, - "description": "Usage Metric data." - }, - "UsageMetricCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/UsageMetric" - }, - "description": "the usage values." - } - }, - "required": [ "value" ], - "description": "Represents collection of usage metrics." - } - }, - "parameters": { - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource.", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} \ No newline at end of file diff --git a/insights/2015-04-01/swagger/insightsClient_EventCategories.json b/insights/2015-04-01/swagger/insightsClient_EventCategories.json deleted file mode 100644 index b6709dcdf7b1..000000000000 --- a/insights/2015-04-01/swagger/insightsClient_EventCategories.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsClient", - "version": "2015-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/microsoft.insights/eventcategories": { - "get": { - "tags": [ - "EventCategories" - ], - "operationId": "EventCategories_List", - "description": "get the list of available event categories supported in the Activity Log Service. The current list includes the following: Aministrative, Security, ServiceHealth, Alert, Recommendation, Policy.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get the list of event categories", - "schema": { - "$ref": "#/definitions/EventCategoryCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } - }, - "description": "The localizable string class." - }, - "EventCategoryCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LocalizableString" - }, - "description": "the list that includes the Azure event categories." - } - }, - "required": [ "value" ], - "description": "A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy." - } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - } - } -} \ No newline at end of file diff --git a/insights/2015-04-01/swagger/insightsClient_Events.json b/insights/2015-04-01/swagger/insightsClient_Events.json deleted file mode 100644 index f42803f8f594..000000000000 --- a/insights/2015-04-01/swagger/insightsClient_Events.json +++ /dev/null @@ -1,384 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsClient", - "version": "2015-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/providers/microsoft.insights/eventtypes/management/values": { - "get": { - "tags": [ - "Events" - ], - "operationId": "Events_List", - "description": "Provides the list of events. The **$filter** is very restricted and allows only the following patterns. - List events for a resource group: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceGroupName eq ''. - List events for resource: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceUri eq ''. - List events for a subscription: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation'. -List events for a resource provider: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceProvider eq ''. - List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq ''. No other syntax is allowed.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/SelectParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get a page of events", - "schema": { - "$ref": "#/definitions/EventDataCollection" - }, - "examples": { - "application/json": { - "value": [ { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "channels": "Operation", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "eventSource": { - "value": "Microsoft.Resources", - "localizedValue": "Microsoft Resources" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "resourceUri": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841", - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/EventData" - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } - }, - "description": "The localizable string class." - }, - "SenderAuthorization": { - "properties": { - "action": { - "type": "string", - "description": "the permissible actions. For instance: microsoft.support/supporttickets/write" - }, - "role": { - "type": "string", - "description": "the role of the user. For instance: Subscription Admin" - }, - "scope": { - "type": "string", - "description": "the scope." - } - }, - "description": "The RBAC properties of the event." - }, - "HttpRequestInfo": { - "properties": { - "clientRequestId": { - "type": "string", - "description": "the client request id." - }, - "clientIpAddress": { - "type": "string", - "description": "the client Ip Address" - }, - "method": { - "type": "string", - "description": "the Http request method." - }, - "uri": { - "type": "string", - "description": "the Uri." - } - }, - "description": "The Http request info." - }, - "EventData": { - "required": [ "channels", "level", "eventTimestamp", "submissionTimestamp" ], - "properties": { - "authorization": { - "$ref": "#/definitions/SenderAuthorization", - "description": "the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the 'action', 'role' and the 'scope'" - }, - "channels": { - "type": "string", - "description": "the event channels. The regular event logs, that you see in the Azure Management Portals, flow through the 'Operation' channel.", - "enum": [ - "Admin", - "Operation", - "Debug", - "Analytics" - ], - "x-ms-enum": { - "name": "EventChannels", - "modelAsString": false - } - }, - "claims": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "key value pairs to identify ARM permissions." - }, - "caller": { - "type": "string", - "description": "the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability." - }, - "description": { - "type": "string", - "description": "the description of the event." - }, - "id": { - "type": "string", - "description": "the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information." - }, - "eventDataId": { - "type": "string", - "description": "the event data Id. This is a unique identifier for an event." - }, - "correlationId": { - "type": "string", - "description": "the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation." - }, - "eventName": { - "$ref": "#/definitions/LocalizableString", - "description": "the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users." - }, - "category": { - "$ref": "#/definitions/LocalizableString", - "description": "the event category." - }, - "httpRequest": { - "$ref": "#/definitions/HttpRequestInfo", - "description": "the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT)." - }, - "level": { - "type": "string", - "description": "the event level", - "enum": [ - "Critical", - "Error", - "Warning", - "Informational", - "Verbose" - ], - "x-ms-enum": { - "name": "EventLevel", - "modelAsString": false - } - }, - "resourceGroupName": { - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790546.aspx" - }, - "type": "string", - "description": "the resource group name of the impacted resource." - }, - "resourceProviderName": { - "$ref": "#/definitions/LocalizableString", - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790572.aspx" - }, - "description": "the resource provider name of the impacted resource." - }, - "resourceId": { - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx" - }, - "type": "string", - "description": "the resource uri that uniquely identifies the resource that caused this event." - }, - "resourceType": { - "$ref": "#/definitions/LocalizableString", - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx" - }, - "description": "the resource type" - }, - "operationId": { - "type": "string", - "description": "It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName." - }, - "operationName": { - "$ref": "#/definitions/LocalizableString", - "description": "the operation name." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "the set of pairs (usually a Dictionary) that includes details about the event." - }, - "status": { - "$ref": "#/definitions/LocalizableString", - "description": "a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved." - }, - "subStatus": { - "$ref": "#/definitions/LocalizableString", - "description": "the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504)" - }, - "eventTimestamp": { - "type": "string", - "format": "date-time", - "description": "the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format." - }, - "submissionTimestamp": { - "type": "string", - "format": "date-time", - "description": "the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurence time of the event, and the time that the event is submitted to the Azure logging infrastructure." - }, - "subscriptionId": { - "type": "string", - "description": "the Azure subscription Id usually a GUID." - }, - "tenantId": { - "type": "string", - "description": "the Azure tenant Id" - } - }, - "description": "The Azure event log entries are of type EventData" - }, - "EventDataCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EventData" - }, - "description": "this list that includes the Azure audit logs." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrive the next set of events." - } - }, - "required": [ "value" ], - "description": "Represents collection of events." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "description": "The Azure subscription Id." - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "FilterParameter": { - "name": "$filter", - "in": "query", - "type": "string", - "required": false, - "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.", - "x-ms-parameter-location": "method" - }, - "SelectParameter": { - "name": "$select", - "in": "query", - "required": false, - "type": "string", - "description": "Used to fetch events with only the given properties. The filter is a comma separated list of property names to be returned. Possible values are: authorization, channels, claims, correlationId, description, eventDataId, eventName, eventTimestamp, httpRequest, level, operationId, operationName, properties, resourceGroupName, resourceProviderName, resourceId, status, submissionTimestamp, subStatus, subscriptionId", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/insights/2015-04-01/swagger/insightsClient_TenantEvents.json b/insights/2015-04-01/swagger/insightsClient_TenantEvents.json deleted file mode 100644 index 0d48ba663595..000000000000 --- a/insights/2015-04-01/swagger/insightsClient_TenantEvents.json +++ /dev/null @@ -1,369 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsClient", - "version": "2015-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/microsoft.insights/eventtypes/management/values": { - "get": { - "tags": [ - "TenantEvents" - ], - "operationId": "TenantEvents_List", - "description": "get the Activity Logs for the Tenant. Everything that is applicable to the API to get the Activity Log for the subscription is applicable to this API (the parameters, $filter, etc.). One thing to point out here is that this API does *not* retrieve the logs at the individual subscription of the tenant but only surfaces the logs that were generated at the tenant level. The **$filter** is very restricted and allows only the following patterns. - List events for a resource group: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceGroupName eq ''. - List events for resource: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceUri eq ''. - List events for a subscription: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation'. - List evetns for a resource provider: $filter=eventTimestamp ge '' and eventTimestamp le '' and eventChannels eq 'Admin, Operation' and resourceProvider eq ''. - List events for a correlation Id: api-version=2014-04-01&$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and eventChannels eq 'Admin, Operation' and correlationId eq ''. No other syntax is allowed.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/SelectParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get a page of tenant events", - "schema": { - "$ref": "#/definitions/EventDataCollection" - }, - "examples": { - "application/json": { - "value": [ { - "authorization": { - "action": "microsoft.support/supporttickets/write", - "role": "Subscription Admin", - "scope": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841" - }, - "caller": "admin@contoso.com", - "channels": "Operation", - "claims": { - "aud": "https://management.core.windows.net/", - "iss": "https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/", - "iat": "1421876371", - "nbf": "1421876371", - "exp": "1421880271", - "ver": "1.0", - "http://schemas.microsoft.com/identity/claims/tenantid": "1e8d8218-c5e7-4578-9acc-9abbd5d23315 ", - "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd", - "http://schemas.microsoft.com/identity/claims/objectidentifier": "2468adf0-8211-44e3-95xq-85137af64708", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "admin@contoso.com", - "puid": "20030000801A118C", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "9vckmEGF7zDKk1YzIY8k0t1_EAPaXoeHyPRn6f413zM", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "John", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Smith", - "name": "John Smith", - "groups": "cacfe77c-e058-4712-83qw-f9b08849fd60,7f71d11d-4c41-4b23-99d2-d32ce7aa621c,31522864-0578-4ea0-9gdc-e66cc564d18c", - "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": " admin@contoso.com", - "appid": "c44b4083-3bq0-49c1-b47d-974e53cbdf3c", - "appidacr": "2", - "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", - "http://schemas.microsoft.com/claims/authnclassreference": "1" - }, - "correlationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "description": "", - "eventDataId": "44ade6b4-3813-45e6-ae27-7420a95fa2f8", - "eventName": { - "value": "EndRequest", - "localizedValue": "End request" - }, - "httpRequest": { - "clientRequestId": "27003b25-91d3-418f-8eb1-29e537dcb249", - "clientIpAddress": "192.168.35.115", - "method": "PUT" - }, - "id": "/subscriptions/089bd33f-d4ec-47fe-8ba5-0753aa5c5b33/resourceGroups/MSSupportGroup/providers/microsoft.support/supporttickets/115012112305841/events/44ade6b4-3813-45e6-ae27-7420a95fa2f8/ticks/635574752669792776", - "level": "Informational", - "resourceGroupName": "MSSupportGroup", - "resourceProviderName": { - "value": "microsoft.support", - "localizedValue": "microsoft.support" - }, - "operationId": "1e121103-0ba6-4300-ac9d-952bb5d0c80f", - "operationName": { - "value": "microsoft.support/supporttickets/write", - "localizedValue": "microsoft.support/supporttickets/write" - }, - "properties": { - "statusCode": "Created" - }, - "status": { - "value": "Succeeded", - "localizedValue": "Succeeded" - }, - "subStatus": { - "value": "Created", - "localizedValue": "Created (HTTP Status Code: 201)" - }, - "eventTimestamp": "2015-01-21T22:14:26.9792776Z", - "submissionTimestamp": "2015-01-21T22:14:39.9936304Z", - "subscriptionId": "089bd33f-d4ec-47fe-8ba5-0753aa5c5b33" - } ], - "nextLink": "https://management.azure.com/########-####-####-####-############$skiptoken=######" - } - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-odata": "#/definitions/EventData" - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } - }, - "description": "The localizable string class." - }, - "SenderAuthorization": { - "properties": { - "action": { - "type": "string", - "description": "the permissible actions. For instance: microsoft.support/supporttickets/write" - }, - "role": { - "type": "string", - "description": "the role of the user. For instance: Subscription Admin" - }, - "scope": { - "type": "string", - "description": "the scope." - } - }, - "description": "The RBAC properties of the event." - }, - "HttpRequestInfo": { - "properties": { - "clientRequestId": { - "type": "string", - "description": "the client request id." - }, - "clientIpAddress": { - "type": "string", - "description": "the client Ip Address" - }, - "method": { - "type": "string", - "description": "the Http request method." - }, - "uri": { - "type": "string", - "description": "the Uri." - } - }, - "description": "The Http request info." - }, - "EventData": { - "required": [ "channels", "level", "eventTimestamp", "submissionTimestamp" ], - "properties": { - "authorization": { - "$ref": "#/definitions/SenderAuthorization", - "description": "the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the 'action', 'role' and the 'scope'" - }, - "channels": { - "type": "string", - "description": "the event channels. The regular event logs, that you see in the Azure Management Portals, flow through the 'Operation' channel.", - "enum": [ - "Admin", - "Operation", - "Debug", - "Analytics" - ], - "x-ms-enum": { - "name": "EventChannels", - "modelAsString": false - } - }, - "claims": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "key value pairs to identify ARM permissions." - }, - "caller": { - "type": "string", - "description": "the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability." - }, - "description": { - "type": "string", - "description": "the description of the event." - }, - "id": { - "type": "string", - "description": "the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information." - }, - "eventDataId": { - "type": "string", - "description": "the event data Id. This is a unique identifier for an event." - }, - "correlationId": { - "type": "string", - "description": "the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation." - }, - "eventName": { - "$ref": "#/definitions/LocalizableString", - "description": "the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users." - }, - "category": { - "$ref": "#/definitions/LocalizableString", - "description": "the event category." - }, - "httpRequest": { - "$ref": "#/definitions/HttpRequestInfo", - "description": "the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT)." - }, - "level": { - "type": "string", - "description": "the event level", - "enum": [ - "Critical", - "Error", - "Warning", - "Informational", - "Verbose" - ], - "x-ms-enum": { - "name": "EventLevel", - "modelAsString": false - } - }, - "resourceGroupName": { - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790546.aspx" - }, - "type": "string", - "description": "the resource group name of the impacted resource." - }, - "resourceProviderName": { - "$ref": "#/definitions/LocalizableString", - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790572.aspx" - }, - "description": "the resource provider name of the impacted resource." - }, - "resourceId": { - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx" - }, - "type": "string", - "description": "the resource uri that uniquely identifies the resource that caused this event." - }, - "resourceType": { - "$ref": "#/definitions/LocalizableString", - "externalDocs": { - "url": "http://msdn.microsoft.com/en-us/library/azure/dn790569.aspx" - }, - "description": "the resource type" - }, - "operationId": { - "type": "string", - "description": "It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName." - }, - "operationName": { - "$ref": "#/definitions/LocalizableString", - "description": "the operation name." - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "the set of pairs (usually a Dictionary) that includes details about the event." - }, - "status": { - "$ref": "#/definitions/LocalizableString", - "description": "a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved." - }, - "subStatus": { - "$ref": "#/definitions/LocalizableString", - "description": "the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504)" - }, - "eventTimestamp": { - "type": "string", - "format": "date-time", - "description": "the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format." - }, - "submissionTimestamp": { - "type": "string", - "format": "date-time", - "description": "the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurence time of the event, and the time that the event is submitted to the Azure logging infrastructure." - }, - "subscriptionId": { - "type": "string", - "description": "the Azure subscription Id usually a GUID." - }, - "tenantId": { - "type": "string", - "description": "the Azure tenant Id" - } - }, - "description": "The Azure event log entries are of type EventData" - }, - "EventDataCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EventData" - }, - "description": "this list that includes the Azure audit logs." - }, - "nextLink": { - "type": "string", - "description": "Provides the link to retrive the next set of events." - } - }, - "required": [ "value" ], - "description": "Represents collection of events." - } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "FilterParameter": { - "name": "$filter", - "in": "query", - "type": "string", - "required": false, - "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.", - "x-ms-parameter-location": "method" - }, - "SelectParameter": { - "name": "$select", - "in": "query", - "required": false, - "type": "string", - "description": "Used to fetch events with only the given properties. The filter is a comma separated list of property names to be returned. Possible values are: authorization, channels, claims, correlationId, description, eventDataId, eventName, eventTimestamp, httpRequest, level, operationId, operationName, properties, resourceGroupName, resourceProviderName, resourceId, status, submissionTimestamp, subStatus, subscriptionId", - "x-ms-parameter-location": "method" - } - } -} \ No newline at end of file diff --git a/insights/2016-03-01/swagger/insightsClient_MetricDefinitions.json b/insights/2016-03-01/swagger/insightsClient_MetricDefinitions.json deleted file mode 100644 index cf7681e8b2df..000000000000 --- a/insights/2016-03-01/swagger/insightsClient_MetricDefinitions.json +++ /dev/null @@ -1,248 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsClient", - "version": "2016-03-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/{resourceUri}/providers/microsoft.insights/metricDefinitions": { - "get": { - "tags": [ - "MetricDefinitions" - ], - "operationId": "MetricDefinitions_List", - "description": "Lists the metric definitions for the resource. The **$filter** parameter is optional, and can be used to only retrieve certain metric definitions. For example, get just the definition for the CPU percentage counter: $filter=name.value eq '\\Processor(_Total)\\% Processor Time'. This $filter is very restricted and allows only these 'name eq ' clauses separated by or operators. No other syntax is allowed.", - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get the list of metric definitions", - "schema": { - "$ref": "#/definitions/MetricDefinitionCollection" - }, - "examples": { - "application/json": { - "value":[ - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities":[ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsStarted" - }, - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsCompleted", - "localizedValue":"Runs Completed" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities": [ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsCompleted" - }, - { - "resourceId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", - "name": { - "value":"RunsSucceeded", - "localizedValue":"Runs Succeeded" - }, - "unit":"Count", - "primaryAggregationType":"Total", - "metricAvailabilities": [ - { - "timeGrain":"PT1M", - "retention":"P30D" - }, - { - "timeGrain":"PT1H", - "retention":"P30D" - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metricdefinitions/RunsSucceeded" - } - ] - } - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-odata": "#/definitions/MetricDefinition" - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } - }, - "description": "The localizable string class." - }, - "MetricAvailability": { - "properties": { - "timeGrain": { - "type": "string", - "format": "duration", - "description": "the time grain specifies the aggregation interval for the metric. Expressed as a duration 'PT1M', 'P1D', etc." - }, - "retention": { - "type": "string", - "format": "duration", - "description": "the retention period for the metric at the specified timegrain. Expressed as a duration 'PT1M', 'P1D', etc." - } - }, - "description": "Metric availability specifies the time grain (aggregation interval or frequency) and the retention period for that time grain." - }, - "Unit": { - "type": "string", - "description": "the unit of the metric.", - "enum": [ - "Count", - "Bytes", - "Seconds", - "CountPerSecond", - "BytesPerSecond", - "Percent", - "MilliSeconds" - ], - "x-ms-enum": { - "name": "Unit", - "modelAsString": false - } - }, - "MetricDefinition": { - "properties": { - "resourceId": { - "type": "string", - "description": "the resource identifier of the resource that emitted the metric." - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "the name and the display name of the metric, i.e. it is a localizable string." - }, - "unit": { - "$ref": "#/definitions/Unit", - "description": "the unit of the metric." - }, - "primaryAggregationType": { - "type": "string", - "description": "the primary aggregation type value defining how to use the values for display.", - "enum": [ - "None", - "Average", - "Count", - "Minimum", - "Maximum", - "Total" - ], - "x-ms-enum": { - "name": "AggregationType", - "modelAsString": false - } - }, - "metricAvailabilities": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricAvailability" - }, - "description": "the collection of what aggregation intervals are available to be queried." - }, - "id": { - "type": "string", - "description": "the resource identifier of the metric definition." - } - }, - "description": "Metric definition class specifies the metadata for a metric." - }, - "MetricDefinitionCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricDefinition" - }, - "description": "the values for the metric definitions." - } - }, - "required": ["value"], - "description": "Represents collection of metric definitions." - } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "FilterParameter": { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.", - "x-ms-parameter-location": "method", - "required": false - }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource.", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} \ No newline at end of file diff --git a/insights/2016-09-01/swagger/insightsClient_Metrics.json b/insights/2016-09-01/swagger/insightsClient_Metrics.json deleted file mode 100644 index 49e2ebea28b5..000000000000 --- a/insights/2016-09-01/swagger/insightsClient_Metrics.json +++ /dev/null @@ -1,241 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "InsightsClient", - "version": "2016-09-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/{resourceUri}/providers/microsoft.insights/metrics": { - "get": { - "tags": [ - "Metrics" - ], - "operationId": "Metrics_List", - "description": "**Lists the metric values for a resource**.
The **$filter** is used to reduce the set of metric data returned. Some common properties for this expression will be: name.value, aggregationType, startTime, endTime, timeGrain. The filter expression uses these properties with comparison operators (eg. eq, gt, lt) and multiple expressions can be combined with parentheses and 'and/or' operators.
Some example filter expressions are:
- $filter=(name.value eq 'RunsSucceeded') and aggregationType eq 'Total' and startTime eq 2016-02-20 and endTime eq 2016-02-21 and timeGrain eq duration'PT1M',
- $filter=(name.value eq 'RunsSucceeded') and (aggregationType eq 'Total' or aggregationType eq 'Average') and startTime eq 2016-02-20 and endTime eq 2016-02-21 and timeGrain eq duration'PT1H',
- $filter=(name.value eq 'ActionsCompleted' or name.value eq 'RunsSucceeded') and (aggregationType eq 'Total' or aggregationType eq 'Average') and startTime eq 2016-02-20 and endTime eq 2016-02-21 and timeGrain eq duration'PT1M'.

>**NOTE**: When a metrics query comes in with multiple metrics, but with no aggregation types defined, the service will pick the Primary aggregation type of the first metrics to be used as the default aggregation type for all the metrics.", - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful request to get the list of metric values", - "schema": { - "$ref": "#/definitions/MetricCollection" - }, - "examples": { - "application/json": { - "value": [ - { - "data": [ - { - "timeStamp":"2016-11-23T19:14:00Z", - "total":1.0 - }, - { - "timeStamp":"2016-11-23T19:15:00Z" - }, - { - "timeStamp":"2016-11-23T19:16:00Z" - }, - { - "timeStamp":"2016-11-23T19:17:00Z" - }, - { - "timeStamp":"2016-11-23T19:18:00Z" - }, - { - "timeStamp":"2016-11-23T19:19:00Z", - "total":1.0 - }, - { - "timeStamp":"2016-11-23T19:20:00Z" - }, - { - "timeStamp":"2016-11-23T19:21:00Z" - }, - { - "timeStamp":"2016-11-23T19:22:00Z" - }, - { - "timeStamp":"2016-11-23T19:23:00Z" - }, - { - "timeStamp":"2016-11-23T19:24:00Z", - "total":1.0 - } - ], - "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/Microsoft.Insights/metrics/RunsStarted", - "name": { - "value":"RunsStarted", - "localizedValue":"Runs Started" - }, - "type":"Microsoft.Insights/metrics", - "unit":"Count" - } - ] - } - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-odata": "#/definitions/Metric" - } - } - }, - "definitions": { - "LocalizableString": { - "required": [ "value" ], - "properties": { - "value": { - "type": "string", - "description": "the invariant value." - }, - "localizedValue": { - "type": "string", - "description": "the locale specific value." - } - }, - "description": "The localizable string class." - }, - "Unit": { - "type": "string", - "description": "the unit of the metric.", - "enum": [ - "Count", - "Bytes", - "Seconds", - "CountPerSecond", - "BytesPerSecond", - "Percent", - "MilliSeconds" - ], - "x-ms-enum": { - "name": "Unit", - "modelAsString": false - } - }, - "MetricValue": { - "required": [ "timeStamp" ], - "properties": { - "timeStamp": { - "type": "string", - "format": "date-time", - "description": "the timestamp for the metric value in ISO 8601 format." - }, - "average": { - "type": "number", - "format": "double", - "description": "the average value in the time range." - }, - "minimum": { - "type": "number", - "format": "double", - "description": "the least value in the time range." - }, - "maximum": { - "type": "number", - "format": "double", - "description": "the greatest value in the time range." - }, - "total": { - "type": "number", - "format": "double", - "description": "the sum of all of the values in the time range." - }, - "count": { - "type": "integer", - "format": "int64", - "description": "the number of samples in the time range. Can be used to determine the number of values that contributed to the average value." - } - }, - "description": "Represents a metric value." - }, - "Metric": { - "required": [ "name", "unit", "data" ], - "properties": { - "id": { - "type": "string", - "description": "the id, resourceId, of the metric." - }, - "type": { - "type": "string", - "description": "the resource type of the metric resource." - }, - "name": { - "$ref": "#/definitions/LocalizableString", - "description": "the name and the display name of the metric, i.e. it is localizable string." - }, - "unit": { - "$ref": "#/definitions/Unit", - "description": "the unit of the metric." - }, - "data": { - "type": "array", - "items": { - "$ref": "#/definitions/MetricValue" - }, - "description": "Array of data points representing the metric values." - } - }, - "description": "A set of metric values in a time range." - }, - "MetricCollection": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Metric" - }, - "description": "the value of the collection." - } - }, - "required": ["value"], - "description": "The collection of metric value sets." - } - }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "FilterParameter": { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Reduces the set of data collected. The syntax allowed depends on the operation. See the operation's description for details.", - "x-ms-parameter-location": "method", - "required": false - }, - "ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "required": true, - "type": "string", - "description": "The identifier of the resource.", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} \ No newline at end of file diff --git a/insights/compositeInsightsClient.json b/insights/compositeInsightsClient.json deleted file mode 100644 index 9e4f87b23b69..000000000000 --- a/insights/compositeInsightsClient.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "info": { - "title": "InsightsClient", - "description": "Composite Swagger for Insights Client" - }, - "documents": [ - "./2014-04-01/swagger/insightsClient_UsageMetrics.json", - "./2015-04-01/swagger/insightsClient_EventCategories.json", - "./2015-04-01/swagger/insightsClient_Events.json", - "./2015-04-01/swagger/insightsClient_TenantEvents.json", - "./2016-03-01/swagger/insightsClient_MetricDefinitions.json", - "./2016-09-01/swagger/insightsClient_Metrics.json" - ] -} \ No newline at end of file diff --git a/monitor/compositeMonitorClient.json b/monitor/compositeMonitorClient.json deleted file mode 100644 index 22d9f8995c87..000000000000 --- a/monitor/compositeMonitorClient.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "info": { - "title": "MonitorClient", - "description": "Composite Swagger for Monitor Client" - }, - "documents": [ - "./2014-04-01/swagger/usageMetrics_API.json", - "./2015-04-01/swagger/eventCategories_API.json", - "./2015-04-01/swagger/activityLogs_API.json", - "./2015-04-01/swagger/tenantActivityLogs_API.json", - "./2016-03-01/swagger/metricDefinitions_API.json", - "./2016-09-01/swagger/metrics_API.json" - ] -} \ No newline at end of file diff --git a/profiles/ResourceSchemas.md b/profiles/ResourceSchemas.md new file mode 100644 index 000000000000..4cdbc6a70ced --- /dev/null +++ b/profiles/ResourceSchemas.md @@ -0,0 +1,283 @@ +# All Profiles + +> see https://aka.ms/autorest + +``` yaml +batch: + output-folder: c:/work/github/azure-resource-manager-schemas/generated + override-info: + title: $(name) + + azureresourceschema: + note: This generates all the Azure Resource Schemas into the specified folder (merging as it goes) +``` + +## Specifications + +This should include every single REST-API specification for every Azure Resource/Version this repository + +``` yaml +batch: + input-file: + - ../specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/customer-insights.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/account.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/certificate.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connection.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connectionType.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/credential.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscCompilationJob.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscConfiguration.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNode.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNodeConfiguration.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/hybridRunbookWorkerGroup.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/job.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/jobSchedule.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/module.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/runbook.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/schedule.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/variable.json + - ../specification/automation/resource-manager/Microsoft.Automation/2015-10-31/webhook.json + + - ../specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/advisor.json + - ../specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/advisor.json + - ../specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/advisor.json + - ../specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/analysisservices.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-07-07/apimanagement.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-07-07/apimdeployment.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimanagement.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimapis.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimauthorizationservers.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimbackends.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimcertificates.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimdeployment.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimgroups.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimidentityprovider.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimloggers.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimnetworkstatus.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimopenidconnectproviders.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimproducts.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimproperties.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimquotas.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimreports.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimsubscriptions.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimtenant.json + - ../specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimusers.json + - ../specification/appinsights/resource-manager/microsoft.insights/2015-05-01/aiOperations_API.json + - ../specification/appinsights/resource-manager/microsoft.insights/2015-05-01/components_API.json + - ../specification/appinsights/resource-manager/microsoft.insights/2015-05-01/webTests_API.json + - ../specification/authorization/resource-manager/Microsoft.Authorization/2015-07-01/authorization.json + - ../specification/batch/resource-manager/Microsoft.Batch/2015-12-01/BatchManagement.json + - ../specification/batch/resource-manager/Microsoft.Batch/2017-01-01/BatchManagement.json + - ../specification/batch/resource-manager/Microsoft.Batch/2017-05-01/BatchManagement.json + - ../specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/billing.json + - ../specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/billing.json + - ../specification/cdn/resource-manager/Microsoft.Cdn/2015-06-01/cdn.json + - ../specification/cdn/resource-manager/Microsoft.Cdn/2016-04-02/cdn.json + - ../specification/cdn/resource-manager/Microsoft.Cdn/2016-10-02/cdn.json + - ../specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2016-02-01-preview/cognitiveservices.json + - ../specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/cognitiveservices.json + - ../specification/commerce/resource-manager/Microsoft.Commerce/2015-06-01-preview/commerce.json + - ../specification/compute/resource-manager/Microsoft.Compute/2015-06-15/compute.json + - ../specification/compute/resource-manager/Microsoft.Compute/2016-03-30/compute.json + - ../specification/compute/resource-manager/Microsoft.Compute/2016-04-30-preview/compute.json + - ../specification/compute/resource-manager/Microsoft.Compute/2016-04-30-preview/disk.json + - ../specification/compute/resource-manager/Microsoft.ContainerService/2015-11-01-preview/containerService.json + - ../specification/compute/resource-manager/Microsoft.ContainerService/2016-03-30/containerService.json + - ../specification/compute/resource-manager/Microsoft.ContainerService/2016-09-30/containerService.json + - ../specification/compute/resource-manager/Microsoft.ContainerService/2017-01-31/containerService.json + - ../specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/consumption.json + - ../specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2016-06-27-preview/containerregistry.json + - ../specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/containerregistry.json + - ../specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/containerregistry.json + + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-10-01-preview/account.json + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-10-01-preview/catalog.json + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-11-01-preview/job.json + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-03-20-preview/job.json + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/account.json + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/catalog.json + - ../specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/job.json + - ../specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2015-10-01-preview/account.json + - ../specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2015-10-01-preview/filesystem.json + - ../specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/account.json + - ../specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/filesystem.json + - ../specification/devtestlabs/resource-manager/Microsoft.DevTestLab/2015-05-21-preview/DTL.json + - ../specification/devtestlabs/resource-manager/Microsoft.DevTestLab/2016-05-15/DTL.json + - ../specification/dns/resource-manager/Microsoft.Network/2015-05-04-preview/dns.json + - ../specification/dns/resource-manager/Microsoft.Network/2016-04-01/dns.json + - ../specification/documentdb/resource-manager/Microsoft.DocumentDB/2015-04-08/documentdb.json + - ../specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/EventHub.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/applications.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/capabilities.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/cluster.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/configurations.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/extensions.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/operations.json + - ../specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/scriptActions.json + - ../specification/insights/resource-manager/microsoft.insights/2014-04-01/insightsClient_UsageMetrics.json + - ../specification/insights/resource-manager/microsoft.insights/2015-04-01/insightsClient_EventCategories.json + - ../specification/insights/resource-manager/microsoft.insights/2015-04-01/insightsClient_Events.json + - ../specification/insights/resource-manager/microsoft.insights/2015-04-01/insightsClient_TenantEvents.json + - ../specification/insights/resource-manager/microsoft.insights/2015-04-01/insightsManagementClient_Autoscale.json + - ../specification/insights/resource-manager/microsoft.insights/2015-07-01/insightsManagementClient_DiagnosticsSettings.json + - ../specification/insights/resource-manager/microsoft.insights/2016-03-01/insightsClient_MetricDefinitions.json + - ../specification/insights/resource-manager/microsoft.insights/2016-03-01/insightsManagementClient_AlertRules.json + - ../specification/insights/resource-manager/microsoft.insights/2016-03-01/insightsManagementClient_AlertRulesIncidents.json + - ../specification/insights/resource-manager/microsoft.insights/2016-03-01/insightsManagementClient_LogProfiles.json + - ../specification/insights/resource-manager/microsoft.insights/2016-09-01/insightsClient_Metrics.json + - ../specification/intune/resource-manager/Microsoft.Intune/2015-01-14-preview/intune.json + - ../specification/intune/resource-manager/Microsoft.Intune/2015-01-14-privatepreview/intune.json + - ../specification/iothub/resource-manager/Microsoft.Devices/2016-02-03/iothub.json + - ../specification/iothub/resource-manager/Microsoft.Devices/2017-01-19/iothub.json + - ../specification/keyvault/resource-manager/Microsoft.KeyVault/2015-06-01/keyvault.json + - ../specification/logic/resource-manager/Microsoft.Logic/2015-02-01-preview/logic.json + - ../specification/logic/resource-manager/Microsoft.Logic/2015-08-01-preview/logic.json + - ../specification/logic/resource-manager/Microsoft.Logic/2016-06-01/logic.json + - ../specification/machinelearning/resource-manager/Microsoft.MachineLearning/2016-05-01-preview/commitmentPlans.json + - ../specification/machinelearning/resource-manager/Microsoft.MachineLearning/2016-05-01-preview/webservices.json + - ../specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/webservices.json + - ../specification/mediaservices/resource-manager/Microsoft.Media/2015-10-01/media.json + - ../specification/mobileengagement/resource-manager/Microsoft.MobileEngagement/2014-12-01/mobile-engagement.json + - ../specification/monitor/resource-manager/microsoft.insights/2015-04-01/autoscale_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2015-07-01/serviceDiagnosticsSettings_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRulesIncidents_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRules_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2016-03-01/logProfiles_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2016-09-01/serviceDiagnosticsSettings_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/activityLogAlerts_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json + - ../specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json + - ../specification/network/resource-manager/microsoft.Compute/2016-09-01/vmssNetworkInterface.json + - ../specification/network/resource-manager/microsoft.Compute/2016-12-01/vmssNetworkInterface.json + - ../specification/network/resource-manager/microsoft.Compute/2017-03-01/vmssNetworkInterface.json + - ../specification/network/resource-manager/Microsoft.Network/2015-05-01-preview/network.json + - ../specification/network/resource-manager/Microsoft.Network/2015-06-15/network.json + - ../specification/network/resource-manager/Microsoft.Network/2016-03-30/network.json + - ../specification/network/resource-manager/Microsoft.Network/2016-06-01/network.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/applicationGateway.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/checkDnsAvailability.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/expressRouteCircuit.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/loadBalancer.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/network.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/networkInterface.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/networkSecurityGroup.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/networkWatcher.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/publicIpAddress.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/routeTable.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/usage.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/virtualNetwork.json + - ../specification/network/resource-manager/Microsoft.Network/2016-09-01/virtualNetworkGateway.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/applicationGateway.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/checkDnsAvailability.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/expressRouteCircuit.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/loadBalancer.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/network.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/networkInterface.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/networkSecurityGroup.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/networkWatcher.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/publicIpAddress.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/routeFilter.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/routeTable.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/serviceCommunity.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/usage.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/virtualNetwork.json + - ../specification/network/resource-manager/Microsoft.Network/2016-12-01/virtualNetworkGateway.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/applicationGateway.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/checkDnsAvailability.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/expressRouteCircuit.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/loadBalancer.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/network.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/networkInterface.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/networkSecurityGroup.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/networkWatcher.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/publicIpAddress.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/routeFilter.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/routeTable.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/serviceCommunity.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/usage.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetwork.json + - ../specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetworkGateway.json + - ../specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2014-09-01/notificationhubs.json + - ../specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2016-03-01/notificationhubs.json + - ../specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2017-04-01/notificationhubs.json + - ../specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/2015-03-20/OperationalInsights.json + - ../specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/2015-11-01-preview/OperationalInsights.json + - ../specification/powerbiembedded/resource-manager/Microsoft.PowerBI/2016-01-29/powerbiembedded.json + - ../specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/registeredidentities.json + - ../specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/replicationusages.json + - ../specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/vaults.json + - ../specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/vaultusages.json + - ../specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-12-01/backup.json + - ../specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-06-01/recoveryservicesbackup.json + - ../specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-06-01/registeredIdentities.json + - ../specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-12-01/backupManagement.json + - ../specification/redis/resource-manager/Microsoft.Cache/2015-08-01/redis.json + - ../specification/redis/resource-manager/Microsoft.Cache/2016-04-01/redis.json + - ../specification/relay/resource-manager/Microsoft.Relay/2016-07-01/relay.json + - ../specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/resourcehealth.json + - ../specification/resources/resource-manager/Microsoft.Authorization/2015-01-01/locks.json + - ../specification/resources/resource-manager/Microsoft.Authorization/2015-10-01-preview/policy.json + - ../specification/resources/resource-manager/Microsoft.Authorization/2016-04-01/policy.json + - ../specification/resources/resource-manager/Microsoft.Authorization/2016-09-01/locks.json + - ../specification/resources/resource-manager/Microsoft.Authorization/2016-12-01/policy.json + - ../specification/resources/resource-manager/Microsoft.Features/2015-12-01/features.json + - ../specification/resources/resource-manager/Microsoft.Resources/2015-11-01/resources.json + - ../specification/resources/resource-manager/Microsoft.Resources/2015-11-01/subscriptions.json + - ../specification/resources/resource-manager/Microsoft.Resources/2016-02-01/resources.json + - ../specification/resources/resource-manager/Microsoft.Resources/2016-06-01/subscriptions.json + - ../specification/resources/resource-manager/Microsoft.Resources/2016-07-01/resources.json + - ../specification/resources/resource-manager/Microsoft.Resources/2016-09-01/links.json + - ../specification/resources/resource-manager/Microsoft.Resources/2016-09-01/resources.json + - ../specification/resources/resource-manager/Microsoft.Resources/2017-05-10/resources.json + - ../specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/managedapplications.json + - ../specification/scheduler/resource-manager/Microsoft.Scheduler/2014-08-01-preview/scheduler.json + - ../specification/scheduler/resource-manager/Microsoft.Scheduler/2016-01-01/scheduler.json + - ../specification/scheduler/resource-manager/Microsoft.Scheduler/2016-03-01/scheduler.json + - ../specification/search/resource-manager/Microsoft.Search/2015-02-28/search.json + - ../specification/search/resource-manager/Microsoft.Search/2015-08-19/search.json + - ../specification/servermanagement/resource-manager/Microsoft.ServerManagement/2015-07-01-preview/servermanagement.json + - ../specification/servermanagement/resource-manager/Microsoft.ServerManagement/2016-07-01-preview/servermanagement.json + - ../specification/service-map/resource-manager/Microsoft.OperationalInsights/2015-11-01-preview/arm-service-map.json + - ../specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/servicebus.json + - ../specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/servicefabric.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backups.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/capabilities.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/databaseSecurityAlertPolicies.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/firewallRules.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/importExport.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/operations.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/replicationLinks.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverAzureADAdministrators.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/servers.json + - ../specification/sql/resource-manager/Microsoft.Sql/2014-04-01/sql.core.json + - ../specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/blobAuditingPolicies.json + - ../specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/failoverGroups.json + - ../specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/virtualNetworkRules.json + - ../specification/storage/resource-manager/Microsoft.Storage/2015-05-01-preview/storage.json + - ../specification/storage/resource-manager/Microsoft.Storage/2015-06-15/storage.json + - ../specification/storage/resource-manager/Microsoft.Storage/2016-01-01/storage.json + - ../specification/storage/resource-manager/Microsoft.Storage/2016-05-01/storage.json + - ../specification/storage/resource-manager/Microsoft.Storage/2016-12-01/storage.json + - ../specification/storageimportexport/resource-manager/Microsoft.ImportExport/2016-11-01/storageimportexport.json + - ../specification/storsimple8000series/resource-manager/Microsoft.StorSimple/2017-06-01/storsimple.json + + - ../specification/trafficmanager/resource-manager/Microsoft.Network/2015-11-01/trafficmanager.json + - ../specification/trafficmanager/resource-manager/Microsoft.Network/2017-03-01/trafficmanager.json + - ../specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json + - ../specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json + - ../specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json + - ../specification/web/resource-manager/Microsoft.Web/2015-08-01/service.json + - ../specification/web/resource-manager/Microsoft.Web/2015-08-01-preview/logicAppsManagementClient.json + - ../specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json + - ../specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json + - ../specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json + - ../specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json + - ../specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json + - ../specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json + - ../specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json + - ../specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json + + # some invalid swagger + # - ../specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/timeseriesinsights.json +``` \ No newline at end of file diff --git a/servicefabric/README.md b/servicefabric/README.md deleted file mode 100644 index f9354a1712e2..000000000000 --- a/servicefabric/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# Service Fabric REST Client API Specifications - -## Description - -[Service Fabric](http://aka.ms/ServiceFabric) is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. Service Fabric also addresses the significant challenges in developing and managing cloud applications. Developers and administrators can avoid complex infrastructure problems and focus on implementing mission-critical, demanding workloads that are scalable, reliable, and manageable. Service Fabric represents the next-generation middleware platform for building and managing these enterprise-class, tier-1, cloud-scale applications. - -This specification in this folder documents the [Service Fabric Client APIs](https://docs.microsoft.com/en-us/rest/api/servicefabric) that allows managing applications, services, containers and other entities deployed in the cluster. These APIs are provided by Service Fabric itself and are always available anywhere Service Fabric runs, whether that's in Azure, on-premises, or another cloud. This APIs is the primary way of interacting with your Service Fabric cluster to deploy, upgrade, delete, and query your applications and services. - -The [`arm-servicefabric`](../arm-servicefabric) folder documents the [Service Fabric Resource Manager APIs](https://docs.microsoft.com/en-us/rest/api/servicefabric) that allows you to create and manage Service Fabric cluster in Azure. A Service Fabric cluster is a network-connected set of virtual or physical machines into which your microservices are deployed and managed. Once a cluster is created you can manage and deploy applications, services and containers in the cluster using Service Fabric Client APIs. - -## Version -Each swagger spec is tied to one version of Service Fabric runtime. The version of the swagger specification matches the version of the Service Fabric runtime. Each Service Fabric REST API is independently versioned through `api-version` parameter. \ No newline at end of file diff --git a/arm-advisor/2016-07-12-preview/swagger/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/advisor.json similarity index 97% rename from arm-advisor/2016-07-12-preview/swagger/advisor.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/advisor.json index ec422a9b09ee..1d75f2a88e8e 100644 --- a/arm-advisor/2016-07-12-preview/swagger/advisor.json +++ b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/advisor.json @@ -39,7 +39,7 @@ "deprecated": false, "x-ms-examples": { "GenerateRecommendations": { - "$ref": "../examples/GenerateRecommendations.json" + "$ref": "./examples/GenerateRecommendations.json" } } } @@ -74,7 +74,7 @@ "deprecated": false, "x-ms-examples": { "PollGenerateRecommendationsStatus": { - "$ref": "../examples/PollGenerateRecommendationsStatus.json" + "$ref": "./examples/PollGenerateRecommendationsStatus.json" } } } @@ -125,7 +125,7 @@ }, "x-ms-examples": { "ListRecommendations": { - "$ref": "../examples/ListRecommendations.json" + "$ref": "./examples/ListRecommendations.json" } } } @@ -192,7 +192,7 @@ "deprecated": false, "x-ms-examples": { "GetSuppressionDetail": { - "$ref": "../examples/GetSuppressionDetail.json" + "$ref": "./examples/GetSuppressionDetail.json" } } }, @@ -244,7 +244,7 @@ "deprecated": false, "x-ms-examples": { "CreateSuppression": { - "$ref": "../examples/CreateSuppression.json" + "$ref": "./examples/CreateSuppression.json" } } }, @@ -284,7 +284,7 @@ "deprecated": false, "x-ms-examples": { "DeleteSuppression": { - "$ref": "../examples/DeleteSuppression.json" + "$ref": "./examples/DeleteSuppression.json" } } } @@ -322,7 +322,7 @@ "deprecated": false, "x-ms-examples": { "GetRecommendationDetail": { - "$ref": "../examples/GetRecommendationDetail.json" + "$ref": "./examples/GetRecommendationDetail.json" } } } @@ -352,7 +352,7 @@ "deprecated": false, "x-ms-examples": { "ListSuppressions": { - "$ref": "../examples/ListSuppressions.json" + "$ref": "./examples/ListSuppressions.json" } } } @@ -622,4 +622,4 @@ "security": [{ "azure_auth": ["user_impersonation"] }] -} \ No newline at end of file +} diff --git a/arm-advisor/2016-07-12-preview/examples/CreateSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/CreateSuppression.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/CreateSuppression.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/CreateSuppression.json diff --git a/arm-advisor/2016-07-12-preview/examples/DeleteSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/DeleteSuppression.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/DeleteSuppression.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/DeleteSuppression.json diff --git a/arm-advisor/2016-07-12-preview/examples/GenerateRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/GenerateRecommendations.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/GenerateRecommendations.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/GenerateRecommendations.json diff --git a/arm-advisor/2016-07-12-preview/examples/GetRecommendationDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/GetRecommendationDetail.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/GetRecommendationDetail.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/GetRecommendationDetail.json diff --git a/arm-advisor/2016-07-12-preview/examples/GetSuppressionDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/GetSuppressionDetail.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/GetSuppressionDetail.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/GetSuppressionDetail.json diff --git a/arm-advisor/2016-07-12-preview/examples/ListRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/ListRecommendations.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/ListRecommendations.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/ListRecommendations.json diff --git a/arm-advisor/2016-07-12-preview/examples/ListSuppressions.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/ListSuppressions.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/ListSuppressions.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/ListSuppressions.json diff --git a/arm-advisor/2016-07-12-preview/examples/PollGenerateRecommendationsStatus.json b/specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/PollGenerateRecommendationsStatus.json similarity index 100% rename from arm-advisor/2016-07-12-preview/examples/PollGenerateRecommendationsStatus.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2016-07-12-preview/examples/PollGenerateRecommendationsStatus.json diff --git a/arm-advisor/2017-03-31/swagger/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/advisor.json similarity index 97% rename from arm-advisor/2017-03-31/swagger/advisor.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/advisor.json index 41752de6b6b6..0ef457207732 100644 --- a/arm-advisor/2017-03-31/swagger/advisor.json +++ b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/advisor.json @@ -49,7 +49,7 @@ "deprecated": false, "x-ms-examples": { "GenerateRecommendations": { - "$ref": "../examples/GenerateRecommendations.json" + "$ref": "./examples/GenerateRecommendations.json" } } } @@ -138,7 +138,7 @@ }, "x-ms-examples": { "ListRecommendations": { - "$ref": "../examples/ListRecommendations.json" + "$ref": "./examples/ListRecommendations.json" } } } @@ -213,7 +213,7 @@ "deprecated": false, "x-ms-examples": { "GetSuppressionDetail": { - "$ref": "../examples/GetSuppressionDetail.json" + "$ref": "./examples/GetSuppressionDetail.json" } } }, @@ -269,7 +269,7 @@ "deprecated": false, "x-ms-examples": { "CreateSuppression": { - "$ref": "../examples/CreateSuppression.json" + "$ref": "./examples/CreateSuppression.json" } } }, @@ -313,7 +313,7 @@ "deprecated": false, "x-ms-examples": { "DeleteSuppression": { - "$ref": "../examples/DeleteSuppression.json" + "$ref": "./examples/DeleteSuppression.json" } } } @@ -355,7 +355,7 @@ "deprecated": false, "x-ms-examples": { "GetRecommendationDetail": { - "$ref": "../examples/GetRecommendationDetail.json" + "$ref": "./examples/GetRecommendationDetail.json" } } } @@ -389,7 +389,7 @@ "deprecated": false, "x-ms-examples": { "ListSuppressions": { - "$ref": "../examples/ListSuppressions.json" + "$ref": "./examples/ListSuppressions.json" } } } @@ -664,4 +664,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/arm-advisor/2017-03-31/examples/CreateSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/CreateSuppression.json similarity index 100% rename from arm-advisor/2017-03-31/examples/CreateSuppression.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/CreateSuppression.json diff --git a/arm-advisor/2017-03-31/examples/DeleteSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/DeleteSuppression.json similarity index 100% rename from arm-advisor/2017-03-31/examples/DeleteSuppression.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/DeleteSuppression.json diff --git a/arm-advisor/2017-03-31/examples/GenerateRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/GenerateRecommendations.json similarity index 100% rename from arm-advisor/2017-03-31/examples/GenerateRecommendations.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/GenerateRecommendations.json diff --git a/arm-advisor/2017-03-31/examples/GetRecommendationDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/GetRecommendationDetail.json similarity index 100% rename from arm-advisor/2017-03-31/examples/GetRecommendationDetail.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/GetRecommendationDetail.json diff --git a/arm-advisor/2017-03-31/examples/GetSuppressionDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/GetSuppressionDetail.json similarity index 100% rename from arm-advisor/2017-03-31/examples/GetSuppressionDetail.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/GetSuppressionDetail.json diff --git a/arm-advisor/2017-03-31/examples/ListRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/ListRecommendations.json similarity index 100% rename from arm-advisor/2017-03-31/examples/ListRecommendations.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/ListRecommendations.json diff --git a/arm-advisor/2017-03-31/examples/ListSuppressions.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/ListSuppressions.json similarity index 100% rename from arm-advisor/2017-03-31/examples/ListSuppressions.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/ListSuppressions.json diff --git a/arm-advisor/2017-03-31/examples/PollGenerateRecommendationsStatus.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/PollGenerateRecommendationsStatus.json similarity index 100% rename from arm-advisor/2017-03-31/examples/PollGenerateRecommendationsStatus.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-03-31/examples/PollGenerateRecommendationsStatus.json diff --git a/arm-advisor/2017-04-19/swagger/advisor.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/advisor.json similarity index 97% rename from arm-advisor/2017-04-19/swagger/advisor.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/advisor.json index 9270f9847fae..4451a793e1ac 100644 --- a/arm-advisor/2017-04-19/swagger/advisor.json +++ b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/advisor.json @@ -39,7 +39,7 @@ "deprecated": false, "x-ms-examples": { "GenerateRecommendations": { - "$ref": "../examples/GenerateRecommendations.json" + "$ref": "./examples/GenerateRecommendations.json" } } } @@ -116,7 +116,7 @@ }, "x-ms-examples": { "ListRecommendations": { - "$ref": "../examples/ListRecommendations.json" + "$ref": "./examples/ListRecommendations.json" } } } @@ -182,7 +182,7 @@ "deprecated": false, "x-ms-examples": { "GetSuppressionDetail": { - "$ref": "../examples/GetSuppressionDetail.json" + "$ref": "./examples/GetSuppressionDetail.json" } } }, @@ -231,7 +231,7 @@ "deprecated": false, "x-ms-examples": { "CreateSuppression": { - "$ref": "../examples/CreateSuppression.json" + "$ref": "./examples/CreateSuppression.json" } } }, @@ -269,7 +269,7 @@ "deprecated": false, "x-ms-examples": { "DeleteSuppression": { - "$ref": "../examples/DeleteSuppression.json" + "$ref": "./examples/DeleteSuppression.json" } } } @@ -306,7 +306,7 @@ "deprecated": false, "x-ms-examples": { "GetRecommendationDetail": { - "$ref": "../examples/GetRecommendationDetail.json" + "$ref": "./examples/GetRecommendationDetail.json" } } } @@ -349,7 +349,7 @@ }, "x-ms-examples": { "ListSuppressions": { - "$ref": "../examples/ListSuppressions.json" + "$ref": "./examples/ListSuppressions.json" } } } @@ -624,3 +624,4 @@ } ] } + diff --git a/arm-advisor/2017-04-19/examples/CreateSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/CreateSuppression.json similarity index 100% rename from arm-advisor/2017-04-19/examples/CreateSuppression.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/CreateSuppression.json diff --git a/arm-advisor/2017-04-19/examples/DeleteSuppression.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/DeleteSuppression.json similarity index 100% rename from arm-advisor/2017-04-19/examples/DeleteSuppression.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/DeleteSuppression.json diff --git a/arm-advisor/2017-04-19/examples/GenerateRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/GenerateRecommendations.json similarity index 100% rename from arm-advisor/2017-04-19/examples/GenerateRecommendations.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/GenerateRecommendations.json diff --git a/arm-advisor/2017-04-19/examples/GetRecommendationDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/GetRecommendationDetail.json similarity index 100% rename from arm-advisor/2017-04-19/examples/GetRecommendationDetail.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/GetRecommendationDetail.json diff --git a/arm-advisor/2017-04-19/examples/GetSuppressionDetail.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/GetSuppressionDetail.json similarity index 100% rename from arm-advisor/2017-04-19/examples/GetSuppressionDetail.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/GetSuppressionDetail.json diff --git a/arm-advisor/2017-04-19/examples/ListRecommendations.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/ListRecommendations.json similarity index 100% rename from arm-advisor/2017-04-19/examples/ListRecommendations.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/ListRecommendations.json diff --git a/arm-advisor/2017-04-19/examples/ListSuppressions.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/ListSuppressions.json similarity index 100% rename from arm-advisor/2017-04-19/examples/ListSuppressions.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/ListSuppressions.json diff --git a/arm-advisor/2017-04-19/examples/PollGenerateRecommendationsStatus.json b/specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/PollGenerateRecommendationsStatus.json similarity index 100% rename from arm-advisor/2017-04-19/examples/PollGenerateRecommendationsStatus.json rename to specification/advisor/resource-manager/Microsoft.Advisor/2017-04-19/examples/PollGenerateRecommendationsStatus.json diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md new file mode 100644 index 000000000000..4cee0564e717 --- /dev/null +++ b/specification/advisor/resource-manager/readme.md @@ -0,0 +1,71 @@ +# Advisor + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Advisor. + + + +--- +## Getting Started +To build the SDK for Advisor, 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 Advisor API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.Advisor/2017-04-19/advisor.json +``` + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- Microsoft.Advisor/2017-03-31/advisor.json +``` + +### Tag: package-2016-07-preview + +These settings apply only when `--tag=package-2016-07-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-07-preview' +input-file: +- Microsoft.Advisor/2016-07-12-preview/advisor.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-analysisservices/2016-05-16/swagger/analysisservices.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/analysisservices.json similarity index 99% rename from arm-analysisservices/2016-05-16/swagger/analysisservices.json rename to specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/analysisservices.json index fad12ec648d8..923666750a1f 100644 --- a/arm-analysisservices/2016-05-16/swagger/analysisservices.json +++ b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/analysisservices.json @@ -324,7 +324,7 @@ "get": { "description": "Lists eligible SKUs for Analysis Services resource provider.", "x-ms-examples": { - "List eligible SKUs for a new server": { "$ref": "../examples/listSkusForNew.json" } + "List eligible SKUs for a new server": { "$ref": "./examples/listSkusForNew.json" } }, "operationId": "Servers_ListSkusForNew", "parameters": [ @@ -347,7 +347,7 @@ "get": { "description": "Lists eligible SKUs for an Analysis Services resource.", "x-ms-examples": { - "List eligible SKUs for an existing server": { "$ref": "../examples/listSkusForExisting.json" } + "List eligible SKUs for an existing server": { "$ref": "./examples/listSkusForExisting.json" } }, "tags": [ "Servers" ], "operationId": "Servers_ListSkusForExisting", diff --git a/arm-analysisservices/2016-05-16/examples/listSkusForExisting.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/examples/listSkusForExisting.json similarity index 100% rename from arm-analysisservices/2016-05-16/examples/listSkusForExisting.json rename to specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/examples/listSkusForExisting.json diff --git a/arm-analysisservices/2016-05-16/examples/listSkusForNew.json b/specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/examples/listSkusForNew.json similarity index 100% rename from arm-analysisservices/2016-05-16/examples/listSkusForNew.json rename to specification/analysisservices/resource-manager/Microsoft.AnalysisServices/2016-05-16/examples/listSkusForNew.json diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md new file mode 100644 index 000000000000..b8ccf1284091 --- /dev/null +++ b/specification/analysisservices/resource-manager/readme.md @@ -0,0 +1,53 @@ +# AnalysisServices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for AnalysisServices. + + + +--- +## Getting Started +To build the SDK for AnalysisServices, 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 AnalysisServices API. + +``` yaml +openapi-type: arm +tag: package-2016-05 +``` + + +### Tag: package-2016-05 + +These settings apply only when `--tag=package-2016-05` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05' +input-file: +- Microsoft.AnalysisServices/2016-05-16/analysisservices.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-apimanagement/2016-07-07/swagger/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-07-07/apimanagement.json similarity index 100% rename from arm-apimanagement/2016-07-07/swagger/apimanagement.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-07-07/apimanagement.json diff --git a/arm-apimanagement/2016-07-07/swagger/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-07-07/apimdeployment.json similarity index 100% rename from arm-apimanagement/2016-07-07/swagger/apimdeployment.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-07-07/apimdeployment.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimanagement.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimanagement.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimanagement.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimanagement.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimapis.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimapis.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimapis.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimauthorizationservers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimauthorizationservers.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimauthorizationservers.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimauthorizationservers.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimbackends.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimbackends.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimbackends.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimbackends.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimcertificates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimcertificates.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimcertificates.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimcertificates.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimdeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimdeployment.json similarity index 98% rename from arm-apimanagement/2016-10-10/swagger/apimdeployment.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimdeployment.json index 25d62f5843eb..0774d680e41d 100644 --- a/arm-apimanagement/2016-10-10/swagger/apimdeployment.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimdeployment.json @@ -67,7 +67,7 @@ "operationId": "ApiManagementServices_ManageDeployments", "description": "Manages deployments of an API Management service. This operation can be used to do the following: Change SKU, Change SKU Units, Change Service Tier (Developer/Standard/Premium) and Manage VPN Configuration. This is a long running operation and can take several minutes to complete.", "x-ms-examples": { - "ApiManagementServiceManageDeployment": { "$ref": "../examples/ApiManagementServiceManageDeployment.json" } + "ApiManagementServiceManageDeployment": { "$ref": "./examples/ApiManagementServiceManageDeployment.json" } }, "parameters": [ { @@ -123,7 +123,7 @@ "operationId": "ApiManagementServices_Restore", "description": "Restores a backup of an API Management service created using the ApiManagementServices_Backup operation on the current service. This is a long running operation and could take several minutes to complete.", "x-ms-examples": { - "ApiManagementRestoreService": { "$ref": "../examples/ApiManagementRestoreService.json" } + "ApiManagementRestoreService": { "$ref": "./examples/ApiManagementRestoreService.json" } }, "parameters": [ { @@ -176,7 +176,7 @@ "operationId": "ApiManagementServices_Backup", "description": "Creates a backup of the API Management service to the given Azure Storage Account. This is long running operation and could take several minutes to complete.", "x-ms-examples": { - "ApiManagementCreateBackup": { "$ref": "../examples/ApiManagementCreateBackup.json" } + "ApiManagementCreateBackup": { "$ref": "./examples/ApiManagementCreateBackup.json" } }, "parameters": [ { @@ -229,7 +229,7 @@ "operationId": "ApiManagementServices_CreateOrUpdate", "description": "Creates or updates an API Management service. This is long running operation and could take several minutes to complete.", "x-ms-examples": { - "ApiManagementCreateService": { "$ref": "../examples/ApiManagementCreateService.json" } + "ApiManagementCreateService": { "$ref": "./examples/ApiManagementCreateService.json" } }, "parameters": [ { @@ -461,7 +461,7 @@ "operationId": "ApiManagementServices_GetSsoToken", "description": "Gets the Single-Sign-On token for the API Management Service which is valid for 5 Minutes.", "x-ms-examples": { - "ApiManagementServiceGetSsoToken": { "$ref": "../examples/ApiManagementServiceGetSsoToken.json" } + "ApiManagementServiceGetSsoToken": { "$ref": "./examples/ApiManagementServiceGetSsoToken.json" } }, "parameters": [ { @@ -496,7 +496,7 @@ "operationId": "ApiManagementServices_CheckNameAvailability", "description": "Checks availability and correctness of a name for an API Management service.", "x-ms-examples": { - "ApiManagementServiceCheckNameAvailability": { "$ref": "../examples/ApiManagementServiceCheckNameAvailability.json" } + "ApiManagementServiceCheckNameAvailability": { "$ref": "./examples/ApiManagementServiceCheckNameAvailability.json" } }, "parameters": [ { @@ -533,7 +533,7 @@ "operationId": "ApiManagementServices_UploadCertificate", "description": "Upload Custom Domain SSL certificate for an API Management service.", "x-ms-examples": { - "ApiManagementServiceUploadProxyCertificate": { "$ref": "../examples/ApiManagementServiceUploadProxyCertificate.json" } + "ApiManagementServiceUploadProxyCertificate": { "$ref": "./examples/ApiManagementServiceUploadProxyCertificate.json" } }, "parameters": [ { @@ -582,7 +582,7 @@ "operationId": "ApiManagementServices_UpdateHostname", "description": "Creates, updates, or deletes the custom hostnames for an API Management service. The custom hostname can be applied to the Proxy and Portal endpoint. This is a long running operation and could take several minutes to complete.", "x-ms-examples": { - "ApiManagementServiceUpdateHostName": { "$ref": "../examples/ApiManagementServiceUpdateHostName.json" } + "ApiManagementServiceUpdateHostName": { "$ref": "./examples/ApiManagementServiceUpdateHostName.json" } }, "parameters": [ { @@ -638,7 +638,7 @@ "operationId": "ApiManagementServices_ApplyNetworkConfigurationUpdates", "description": "Updates the Microsoft.ApiManagement resource running in the Virtual network to pick the updated network settings.", "x-ms-examples": { - "ApiManagementApplyNetworkConfigurationUpdates": { "$ref": "../examples/ApiManagementApplyNetworkConfigurationUpdates.json" } + "ApiManagementApplyNetworkConfigurationUpdates": { "$ref": "./examples/ApiManagementApplyNetworkConfigurationUpdates.json" } }, "parameters": [ { @@ -1303,4 +1303,4 @@ }, "parameters": { } -} \ No newline at end of file +} diff --git a/arm-apimanagement/2016-10-10/swagger/apimgroups.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimgroups.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimgroups.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimgroups.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimidentityprovider.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimidentityprovider.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimidentityprovider.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimidentityprovider.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimloggers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimloggers.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimloggers.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimloggers.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimnetworkstatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimnetworkstatus.json similarity index 97% rename from arm-apimanagement/2016-10-10/swagger/apimnetworkstatus.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimnetworkstatus.json index 7d26588973e8..52020b4c52b4 100644 --- a/arm-apimanagement/2016-10-10/swagger/apimnetworkstatus.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimnetworkstatus.json @@ -42,7 +42,7 @@ "operationId": "NetworkStatus_GetByService", "description": "Gets the Connectivity Status to the external resources on which the Api Management service depends from inside the Cloud Service. This also returns the DNS Servers as visible to the CloudService.", "x-ms-examples": { - "ApiManagementServiceGetNetworkStatus": { "$ref": "../examples/ApiManagementServiceGetNetworkStatus.json" } + "ApiManagementServiceGetNetworkStatus": { "$ref": "./examples/ApiManagementServiceGetNetworkStatus.json" } }, "parameters": [ { @@ -145,4 +145,4 @@ }, "parameters": { } -} \ No newline at end of file +} diff --git a/arm-apimanagement/2016-10-10/swagger/apimopenidconnectproviders.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimopenidconnectproviders.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimopenidconnectproviders.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimopenidconnectproviders.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimproducts.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimproducts.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimproducts.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimproducts.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimproperties.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimproperties.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimproperties.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimproperties.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimquotas.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimquotas.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimquotas.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimquotas.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimreports.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimreports.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimreports.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimreports.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimsubscriptions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimsubscriptions.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimsubscriptions.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimsubscriptions.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimtenant.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimtenant.json similarity index 100% rename from arm-apimanagement/2016-10-10/swagger/apimtenant.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimtenant.json diff --git a/arm-apimanagement/2016-10-10/swagger/apimusers.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimusers.json similarity index 99% rename from arm-apimanagement/2016-10-10/swagger/apimusers.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimusers.json index 72e13d6abe5a..79ce9671c2ed 100644 --- a/arm-apimanagement/2016-10-10/swagger/apimusers.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/apimusers.json @@ -500,7 +500,7 @@ "description": "Gets the Shared Access Authorization Token for the User.", "x-ms-examples": { "ApiManagementUsersGetToken": { - "$ref": "../examples/ApiManagementUsersGetToken.json" + "$ref": "./examples/ApiManagementUsersGetToken.json" } }, "parameters": [ diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementCreateBackup.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementCreateBackup.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementCreateBackup.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementCreateBackup.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementCreateService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementCreateService.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementCreateService.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementCreateService.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementRestoreService.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementRestoreService.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementRestoreService.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementRestoreService.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementServiceGetSsoToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceGetSsoToken.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementServiceGetSsoToken.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceGetSsoToken.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementServiceManageDeployment.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceManageDeployment.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementServiceManageDeployment.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceManageDeployment.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementServiceUpdateHostName.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceUpdateHostName.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementServiceUpdateHostName.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceUpdateHostName.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementServiceUploadProxyCertificate.json diff --git a/arm-apimanagement/2016-10-10/examples/ApiManagementUsersGetToken.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementUsersGetToken.json similarity index 100% rename from arm-apimanagement/2016-10-10/examples/ApiManagementUsersGetToken.json rename to specification/apimanagement/resource-manager/Microsoft.ApiManagement/2016-10-10/examples/ApiManagementUsersGetToken.json diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md new file mode 100644 index 000000000000..796b758010ef --- /dev/null +++ b/specification/apimanagement/resource-manager/readme.md @@ -0,0 +1,82 @@ +# ApiManagement + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ApiManagement. + + + +--- +## Getting Started +To build the SDK for ApiManagement, 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 ApiManagement API. + +``` yaml +title: ApiManagementClient +description: ApiManagement Client +openapi-type: arm +tag: package-2016-10 +``` + + +### Tag: package-2016-10 + +These settings apply only when `--tag=package-2016-10` is specified on the command line. + +``` yaml $(tag) == 'package-2016-10' +input-file: +- Microsoft.ApiManagement/2016-10-10/apimanagement.json +- Microsoft.ApiManagement/2016-10-10/apimapis.json +- Microsoft.ApiManagement/2016-10-10/apimauthorizationservers.json +- Microsoft.ApiManagement/2016-10-10/apimbackends.json +- Microsoft.ApiManagement/2016-10-10/apimcertificates.json +- Microsoft.ApiManagement/2016-10-10/apimdeployment.json +- Microsoft.ApiManagement/2016-10-10/apimgroups.json +- Microsoft.ApiManagement/2016-10-10/apimidentityprovider.json +- Microsoft.ApiManagement/2016-10-10/apimloggers.json +- Microsoft.ApiManagement/2016-10-10/apimnetworkstatus.json +- Microsoft.ApiManagement/2016-10-10/apimopenidconnectproviders.json +- Microsoft.ApiManagement/2016-10-10/apimproducts.json +- Microsoft.ApiManagement/2016-10-10/apimproperties.json +- Microsoft.ApiManagement/2016-10-10/apimquotas.json +- Microsoft.ApiManagement/2016-10-10/apimreports.json +- Microsoft.ApiManagement/2016-10-10/apimsubscriptions.json +- Microsoft.ApiManagement/2016-10-10/apimtenant.json +- Microsoft.ApiManagement/2016-10-10/apimusers.json +``` + +### Tag: package-2016-07 + +These settings apply only when `--tag=package-2016-07` is specified on the command line. + +``` yaml $(tag) == 'package-2016-07' +input-file: +- Microsoft.ApiManagement/2016-07-07/apimanagement.json +- Microsoft.ApiManagement/2016-07-07/apimdeployment.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-appinsights/2015-05-01/swagger/aiOperations_API.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/aiOperations_API.json similarity index 100% rename from arm-appinsights/2015-05-01/swagger/aiOperations_API.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/aiOperations_API.json diff --git a/arm-appinsights/2015-05-01/swagger/components_API.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/components_API.json similarity index 97% rename from arm-appinsights/2015-05-01/swagger/components_API.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/components_API.json index f6c7d3b5177d..3246f5356b09 100644 --- a/arm-appinsights/2015-05-01/swagger/components_API.json +++ b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/components_API.json @@ -56,7 +56,7 @@ }, "x-ms-examples": { "ComponentsList.json": { - "$ref": "../examples/ComponentsList.json" + "$ref": "./examples/ComponentsList.json" } }, "x-ms-pageable": { @@ -89,7 +89,7 @@ }, "x-ms-examples": { "ComponentListByResourceGroup": { - "$ref": "../examples/ComponentsListByResourceGroup.json" + "$ref": "./examples/ComponentsListByResourceGroup.json" } }, "x-ms-pageable": { @@ -151,7 +151,7 @@ }, "x-ms-examples": { "ComponentGet": { - "$ref": "../examples/ComponentsGet.json" + "$ref": "./examples/ComponentsGet.json" } } }, @@ -191,10 +191,10 @@ }, "x-ms-examples": { "ComponentCreate": { - "$ref": "../examples/ComponentsCreate.json" + "$ref": "./examples/ComponentsCreate.json" }, "ComponentUpdate": { - "$ref": "../examples/ComponentsUpdate.json" + "$ref": "./examples/ComponentsUpdate.json" } } }, @@ -234,7 +234,7 @@ }, "x-ms-examples": { "ComponentUpdateTagsOnly": { - "$ref": "../examples/ComponentsUpdateTagsOnly.json" + "$ref": "./examples/ComponentsUpdateTagsOnly.json" } } } @@ -459,4 +459,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/arm-appinsights/2015-05-01/examples/ComponentsCreate.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsCreate.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/ComponentsCreate.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsCreate.json diff --git a/arm-appinsights/2015-05-01/examples/ComponentsGet.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsGet.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/ComponentsGet.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsGet.json diff --git a/arm-appinsights/2015-05-01/examples/ComponentsList.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsList.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/ComponentsList.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsList.json diff --git a/arm-appinsights/2015-05-01/examples/ComponentsListByResourceGroup.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsListByResourceGroup.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/ComponentsListByResourceGroup.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsListByResourceGroup.json diff --git a/arm-appinsights/2015-05-01/examples/ComponentsUpdate.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsUpdate.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/ComponentsUpdate.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsUpdate.json diff --git a/arm-appinsights/2015-05-01/examples/ComponentsUpdateTagsOnly.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsUpdateTagsOnly.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/ComponentsUpdateTagsOnly.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/ComponentsUpdateTagsOnly.json diff --git a/arm-appinsights/2015-05-01/examples/WebTestCreate.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestCreate.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/WebTestCreate.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestCreate.json diff --git a/arm-appinsights/2015-05-01/examples/WebTestGet.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestGet.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/WebTestGet.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestGet.json diff --git a/arm-appinsights/2015-05-01/examples/WebTestList.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestList.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/WebTestList.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestList.json diff --git a/arm-appinsights/2015-05-01/examples/WebTestListByResourceGroup.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestListByResourceGroup.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/WebTestListByResourceGroup.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestListByResourceGroup.json diff --git a/arm-appinsights/2015-05-01/examples/WebTestUpdate.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestUpdate.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/WebTestUpdate.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestUpdate.json diff --git a/arm-appinsights/2015-05-01/examples/WebTestUpdateTagsOnly.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestUpdateTagsOnly.json similarity index 100% rename from arm-appinsights/2015-05-01/examples/WebTestUpdateTagsOnly.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/examples/WebTestUpdateTagsOnly.json diff --git a/arm-appinsights/2015-05-01/swagger/webTests_API.json b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/webTests_API.json similarity index 97% rename from arm-appinsights/2015-05-01/swagger/webTests_API.json rename to specification/appinsights/resource-manager/microsoft.insights/2015-05-01/webTests_API.json index a2628863da35..9b6db685997d 100644 --- a/arm-appinsights/2015-05-01/swagger/webTests_API.json +++ b/specification/appinsights/resource-manager/microsoft.insights/2015-05-01/webTests_API.json @@ -59,7 +59,7 @@ }, "x-ms-examples": { "webTestListByResourceGroup": { - "$ref": "../examples/WebTestListByResourceGroup.json" + "$ref": "./examples/WebTestListByResourceGroup.json" } }, "x-ms-pageable": { @@ -95,7 +95,7 @@ }, "x-ms-examples": { "webTestGet": { - "$ref": "../examples/WebTestGet.json" + "$ref": "./examples/WebTestGet.json" } } }, @@ -135,10 +135,10 @@ }, "x-ms-examples": { "webTestCreate": { - "$ref": "../examples/WebTestCreate.json" + "$ref": "./examples/WebTestCreate.json" }, "webTestUpdate": { - "$ref": "../examples/WebTestUpdate.json" + "$ref": "./examples/WebTestUpdate.json" } } }, @@ -178,7 +178,7 @@ }, "x-ms-examples": { "webTestUpdateTags": { - "$ref": "../examples/WebTestUpdateTagsOnly.json" + "$ref": "./examples/WebTestUpdateTagsOnly.json" } } }, @@ -231,7 +231,7 @@ }, "x-ms-examples": { "webTestList": { - "$ref": "../examples/WebTestList.json" + "$ref": "./examples/WebTestList.json" } }, "x-ms-pageable": { @@ -456,4 +456,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/appinsights/resource-manager/readme.md b/specification/appinsights/resource-manager/readme.md new file mode 100644 index 000000000000..5c4455e555b1 --- /dev/null +++ b/specification/appinsights/resource-manager/readme.md @@ -0,0 +1,57 @@ +# AppInsights + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for AppInsights. + + + +--- +## Getting Started +To build the SDK for AppInsights, 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 AppInsights API. + +``` yaml +title: AppInsightsManagementClient +description: Composite Swagger for Application Insights Management Client +openapi-type: arm +tag: package-2015-05 +``` + + +### Tag: package-2015-05 + +These settings apply only when `--tag=package-2015-05` is specified on the command line. + +``` yaml $(tag) == 'package-2015-05' +input-file: +- microsoft.insights/2015-05-01/aiOperations_API.json +- microsoft.insights/2015-05-01/components_API.json +- microsoft.insights/2015-05-01/webTests_API.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-authorization/2015-07-01/swagger/authorization.json b/specification/authorization/resource-manager/Microsoft.Authorization/2015-07-01/authorization.json similarity index 100% rename from arm-authorization/2015-07-01/swagger/authorization.json rename to specification/authorization/resource-manager/Microsoft.Authorization/2015-07-01/authorization.json diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md new file mode 100644 index 000000000000..80f03547ee0a --- /dev/null +++ b/specification/authorization/resource-manager/readme.md @@ -0,0 +1,53 @@ +# Authorization + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Authorization. + + + +--- +## Getting Started +To build the SDK for Authorization, 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 Authorization API. + +``` yaml +openapi-type: arm +tag: package-2015-07 +``` + + +### Tag: package-2015-07 + +These settings apply only when `--tag=package-2015-07` is specified on the command line. + +``` yaml $(tag) == 'package-2015-07' +input-file: +- Microsoft.Authorization/2015-07-01/authorization.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-automation/2015-10-31/swagger/account.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/account.json similarity index 95% rename from arm-automation/2015-10-31/swagger/account.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/account.json index ebcacaca85a1..319885f01328 100644 --- a/arm-automation/2015-10-31/swagger/account.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/account.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Update an automation account": { - "$ref": "../examples/account/updateAutomationAccount.json" + "$ref": "./examples/updateAutomationAccount.json" } }, "parameters": [ @@ -83,7 +83,7 @@ }, "x-ms-examples": { "Create or update automation account": { - "$ref": "../examples/account/createOrUpdateAutomationAccount.json" + "$ref": "./examples/createOrUpdateAutomationAccount.json" } }, "parameters": [ @@ -145,7 +145,7 @@ }, "x-ms-examples": { "Delete automation account": { - "$ref": "../examples/account/deleteAutomationAccount.json" + "$ref": "./examples/deleteAutomationAccount.json" } }, "parameters": [ @@ -192,7 +192,7 @@ }, "x-ms-examples": { "Get automation account": { - "$ref": "../examples/account/getAutomationAccount.json" + "$ref": "./examples/getAutomationAccount.json" } }, "parameters": [ @@ -241,7 +241,7 @@ }, "x-ms-examples": { "List automation accounts by resource group": { - "$ref": "../examples/account/listAutomationAccountsByResourceGroup.json" + "$ref": "./examples/listAutomationAccountsByResourceGroup.json" } }, "parameters": [ @@ -315,7 +315,7 @@ "description": "Retrieve a list of accounts within a given subscription.", "x-ms-examples": { "List automation accounts by resource group": { - "$ref": "../examples/account/listAutomationAccountsBySubscription.json" + "$ref": "./examples/listAutomationAccountsBySubscription.json" } }, "parameters": [ @@ -357,7 +357,7 @@ }, "x-ms-examples": { "Get statistics of an automation account": { - "$ref": "../examples/account/getStatisticsOfAutomationAccount.json" + "$ref": "./examples/getStatisticsOfAutomationAccount.json" } }, "parameters": [ @@ -416,7 +416,7 @@ }, "x-ms-examples": { "Get usages of an automation account": { - "$ref": "../examples/account/getUsagesOfAutomationAccount.json" + "$ref": "./examples/getUsagesOfAutomationAccount.json" } }, "parameters": [ @@ -459,4 +459,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/certificate.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/certificate.json similarity index 96% rename from arm-automation/2015-10-31/swagger/certificate.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/certificate.json index ac02a2d11ad9..f620da989c26 100644 --- a/arm-automation/2015-10-31/swagger/certificate.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/certificate.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete a certificate": { - "$ref": "../examples/certificate/deleteCertificate.json" + "$ref": "./examples/deleteCertificate.json" } }, "parameters": [ @@ -78,7 +78,7 @@ }, "x-ms-examples": { "Get a certificate": { - "$ref": "../examples/certificate/getCertificate.json" + "$ref": "./examples/getCertificate.json" } }, "parameters": [ @@ -132,7 +132,7 @@ }, "x-ms-examples": { "Create or update a certificate": { - "$ref": "../examples/certificate/createOrUpdateCertificate.json" + "$ref": "./examples/createOrUpdateCertificate.json" } }, "parameters": [ @@ -201,7 +201,7 @@ }, "x-ms-examples": { "Update a certificate": { - "$ref": "../examples/certificate/updateCertificate.json" + "$ref": "./examples/updateCertificate.json" } }, "parameters": [ @@ -266,7 +266,7 @@ }, "x-ms-examples": { "List certificates": { - "$ref": "../examples/certificate/listCertificatesByAutomationAccount.json" + "$ref": "./examples/listCertificatesByAutomationAccount.json" } }, "parameters": [ @@ -309,4 +309,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/connection.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connection.json similarity index 95% rename from arm-automation/2015-10-31/swagger/connection.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connection.json index 4b53298efa01..e91932622a95 100644 --- a/arm-automation/2015-10-31/swagger/connection.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connection.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete an existing connection": { - "$ref": "../examples/connection/deleteConnection.json" + "$ref": "./examples/deleteConnection.json" } }, "parameters": [ @@ -84,7 +84,7 @@ }, "x-ms-examples": { "Get a connection": { - "$ref": "../examples/connection/getConnection.json" + "$ref": "./examples/getConnection.json" } }, "parameters": [ @@ -138,7 +138,7 @@ }, "x-ms-examples": { "Create or update connection": { - "$ref": "../examples/connection/createOrUpdateConnection.json" + "$ref": "./examples/createOrUpdateConnection.json" } }, "parameters": [ @@ -207,7 +207,7 @@ }, "x-ms-examples": { "Update a connection": { - "$ref": "../examples/connection/updateConnection.json" + "$ref": "./examples/updateConnection.json" } }, "parameters": [ @@ -272,10 +272,10 @@ }, "x-ms-examples": { "List connections by automation account, first 100": { - "$ref": "../examples/connection/listConnectionsByAutomationAccount_First100.json" + "$ref": "./examples/listConnectionsByAutomationAccount_First100.json" }, "List connections by automation account, next 100": { - "$ref": "../examples/connection/listConnectionsByAutomationAccount_Next100.json" + "$ref": "./examples/listConnectionsByAutomationAccount_Next100.json" } }, "parameters": [ @@ -318,4 +318,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/connectionType.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connectionType.json similarity index 95% rename from arm-automation/2015-10-31/swagger/connectionType.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connectionType.json index 1871635e2ca6..d5c3a6b7c35f 100644 --- a/arm-automation/2015-10-31/swagger/connectionType.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/connectionType.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete an existing connection type": { - "$ref": "../examples/connectionType/deleteConnectionType.json" + "$ref": "./examples/deleteConnectionType.json" } }, "parameters": [ @@ -81,7 +81,7 @@ }, "x-ms-examples": { "Get connection type": { - "$ref": "../examples/connectionType/getConnectionType.json" + "$ref": "./examples/getConnectionType.json" } }, "parameters": [ @@ -135,7 +135,7 @@ }, "x-ms-examples": { "Create or update connection type": { - "$ref": "../examples/connectionType/createOrUpdateConnectionType.json" + "$ref": "./examples/createOrUpdateConnectionType.json" } }, "parameters": [ @@ -206,10 +206,10 @@ }, "x-ms-examples": { "Get connection types, first 100": { - "$ref": "../examples/connectionType/getAllConnectionTypes_First100.json" + "$ref": "./examples/getAllConnectionTypes_First100.json" }, "Get connection types, next 100": { - "$ref": "../examples/connectionType/getAllConnectionTypes_Next100.json" + "$ref": "./examples/getAllConnectionTypes_Next100.json" } }, "parameters": [ @@ -252,4 +252,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/credential.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/credential.json similarity index 94% rename from arm-automation/2015-10-31/swagger/credential.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/credential.json index c92d436630e5..d6e3e5d79b8d 100644 --- a/arm-automation/2015-10-31/swagger/credential.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/credential.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete a credential": { - "$ref": "../examples/credential/deleteCredentialExisting.json" + "$ref": "./examples/deleteCredentialExisting.json" } }, "parameters": [ @@ -78,7 +78,7 @@ }, "x-ms-examples": { "Get a credential": { - "$ref": "../examples/credential/getCredential.json" + "$ref": "./examples/getCredential.json" } }, "parameters": [ @@ -132,7 +132,7 @@ }, "x-ms-examples": { "Create a credential": { - "$ref": "../examples/credential/createOrUpdateCredential.json" + "$ref": "./examples/createOrUpdateCredential.json" } }, "parameters": [ @@ -201,7 +201,7 @@ }, "x-ms-examples": { "Update a credential": { - "$ref": "../examples/credential/updateCredential_patch.json" + "$ref": "./examples/updateCredential_patch.json" } }, "parameters": [ @@ -266,10 +266,10 @@ }, "x-ms-examples": { "List credentials by automation account, first 100": { - "$ref": "../examples/credential/listCredentialsByAutomationAccount.json" + "$ref": "./examples/listCredentialsByAutomationAccount.json" }, "List credentials by automation account, next 100": { - "$ref": "../examples/credential/listCredentialsByAutomationAccount_next100_using_nextLink.json" + "$ref": "./examples/listCredentialsByAutomationAccount_next100_using_nextLink.json" } }, "parameters": [ @@ -306,4 +306,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/definitions.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json similarity index 100% rename from arm-automation/2015-10-31/swagger/definitions.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/definitions.json diff --git a/arm-automation/2015-10-31/swagger/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscCompilationJob.json similarity index 99% rename from arm-automation/2015-10-31/swagger/dscCompilationJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscCompilationJob.json index 84f073f26f5a..7701013e87b0 100644 --- a/arm-automation/2015-10-31/swagger/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscCompilationJob.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Create or update a DSC Compilation job": { - "$ref": "../examples/dscCompilationJob/createCompilationJob.json" + "$ref": "./examples/createCompilationJob.json" } }, "parameters": [ @@ -247,4 +247,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/dscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscConfiguration.json similarity index 95% rename from arm-automation/2015-10-31/swagger/dscConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscConfiguration.json index 1366249af00f..c23c99525228 100644 --- a/arm-automation/2015-10-31/swagger/dscConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscConfiguration.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete DSC Configuration": { - "$ref": "../examples/dscConfiguration/deleteDscConfiguration.json" + "$ref": "./examples/deleteDscConfiguration.json" } }, "parameters": [ @@ -81,7 +81,7 @@ }, "x-ms-examples": { "Get a DSC Configuration": { - "$ref": "../examples/dscConfiguration/getDscConfiguration.json" + "$ref": "./examples/getDscConfiguration.json" } }, "parameters": [ @@ -135,7 +135,7 @@ }, "x-ms-examples": { "Create or Update Configuration": { - "$ref": "../examples/dscConfiguration/createOrUpdateDscConfiguration.json" + "$ref": "./examples/createOrUpdateDscConfiguration.json" } }, "parameters": [ @@ -206,7 +206,7 @@ }, "x-ms-examples": { "Get DSC Configuration content": { - "$ref": "../examples/dscConfiguration/getDscConfigurationContent.json" + "$ref": "./examples/getDscConfigurationContent.json" } }, "parameters": [ @@ -262,7 +262,7 @@ }, "x-ms-examples": { "Get DSC Configuration": { - "$ref": "../examples/dscConfiguration/getAllDscConfigurations.json" + "$ref": "./examples/getAllDscConfigurations.json" } }, "parameters": [ @@ -305,4 +305,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/dscNode.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNode.json similarity index 97% rename from arm-automation/2015-10-31/swagger/dscNode.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNode.json index 68c621bd4a1f..1272f51734c3 100644 --- a/arm-automation/2015-10-31/swagger/dscNode.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNode.json @@ -173,7 +173,7 @@ }, "x-ms-examples": { "Get a node": { - "$ref": "../examples/dscNodes/getDscNode.json" + "$ref": "./examples/getDscNode.json" } }, "parameters": [ @@ -227,7 +227,7 @@ }, "x-ms-examples": { "Update a node": { - "$ref": "../examples/dscNodes/updateDscNode.json" + "$ref": "./examples/updateDscNode.json" } }, "parameters": [ @@ -292,7 +292,7 @@ }, "x-ms-examples": { "List DSC nodes by Automation Account": { - "$ref": "../examples/dscNodes/listAllDscNodesByAutomationAccount.json" + "$ref": "./examples/listAllDscNodesByAutomationAccount.json" } }, "parameters": [ @@ -351,7 +351,7 @@ }, "x-ms-examples": { "List DSC reports by node id.": { - "$ref": "../examples/dscNodes/listDscNodeReportsByNode.json" + "$ref": "./examples/listDscNodeReportsByNode.json" } }, "parameters": [ @@ -417,7 +417,7 @@ }, "x-ms-examples": { "Get Dsc node report data by node id and report id. ": { - "$ref": "../examples/dscNodes/getDscNodeReport.json" + "$ref": "./examples/getDscNodeReport.json" } }, "parameters": [ @@ -480,7 +480,7 @@ }, "x-ms-examples": { "List DSC reports by node id.": { - "$ref": "../examples/dscNodes/listDscNodeReportsByNode.json" + "$ref": "./examples/listDscNodeReportsByNode.json" } }, "parameters": [ @@ -534,4 +534,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/dscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNodeConfiguration.json similarity index 96% rename from arm-automation/2015-10-31/swagger/dscNodeConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNodeConfiguration.json index b9d57301d33f..5267ca3cb446 100644 --- a/arm-automation/2015-10-31/swagger/dscNodeConfiguration.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/dscNodeConfiguration.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete a DSC node configuration": { - "$ref": "../examples/dscNodeConfiguration/deleteDscNodeConfiguration.json" + "$ref": "./examples/deleteDscNodeConfiguration.json" } }, "parameters": [ @@ -78,7 +78,7 @@ }, "x-ms-examples": { "Get a DSC node configuration": { - "$ref": "../examples/dscNodeConfiguration/getDscNodeConfiguration.json" + "$ref": "./examples/getDscNodeConfiguration.json" } }, "parameters": [ @@ -198,7 +198,7 @@ }, "x-ms-examples": { "List DSC node configurations by Automation Account": { - "$ref": "../examples/dscNodeConfiguration/listDscNodeConfigurations.json" + "$ref": "./examples/listDscNodeConfigurations.json" } }, "parameters": [ @@ -248,4 +248,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/examples/dscCompilationJob/createCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createCompilationJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscCompilationJob/createCompilationJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createCompilationJob.json diff --git a/arm-automation/2015-10-31/examples/job/createJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/job/createJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createJob.json diff --git a/arm-automation/2015-10-31/examples/jobSchedule/createJobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createJobSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/jobSchedule/createJobSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createJobSchedule.json diff --git a/arm-automation/2015-10-31/examples/account/createOrUpdateAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/createOrUpdateAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/certificate/createOrUpdateCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateCertificate.json similarity index 100% rename from arm-automation/2015-10-31/examples/certificate/createOrUpdateCertificate.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateCertificate.json diff --git a/arm-automation/2015-10-31/examples/connection/createOrUpdateConnection.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateConnection.json similarity index 100% rename from arm-automation/2015-10-31/examples/connection/createOrUpdateConnection.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateConnection.json diff --git a/arm-automation/2015-10-31/examples/connectionType/createOrUpdateConnectionType.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateConnectionType.json similarity index 100% rename from arm-automation/2015-10-31/examples/connectionType/createOrUpdateConnectionType.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateConnectionType.json diff --git a/arm-automation/2015-10-31/examples/credential/createOrUpdateCredential.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateCredential.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/createOrUpdateCredential.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateCredential.json diff --git a/arm-automation/2015-10-31/examples/dscConfiguration/createOrUpdateDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateDscConfiguration.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscConfiguration/createOrUpdateDscConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateDscConfiguration.json diff --git a/arm-automation/2015-10-31/examples/module/createOrUpdateModule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateModule.json similarity index 100% rename from arm-automation/2015-10-31/examples/module/createOrUpdateModule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateModule.json diff --git a/arm-automation/2015-10-31/examples/runbook/createOrUpdateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateRunbook.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/createOrUpdateRunbook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateRunbook.json diff --git a/arm-automation/2015-10-31/examples/runbook/createOrUpdateRunbookDraft.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateRunbookDraft.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/createOrUpdateRunbookDraft.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateRunbookDraft.json diff --git a/arm-automation/2015-10-31/examples/schedule/createOrUpdateSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/schedule/createOrUpdateSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateSchedule.json diff --git a/arm-automation/2015-10-31/examples/variable/createOrUpdateVariable.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateVariable.json similarity index 100% rename from arm-automation/2015-10-31/examples/variable/createOrUpdateVariable.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateVariable.json diff --git a/arm-automation/2015-10-31/examples/webhook/createOrUpdateWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateWebhook.json similarity index 100% rename from arm-automation/2015-10-31/examples/webhook/createOrUpdateWebhook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/createOrUpdateWebhook.json diff --git a/arm-automation/2015-10-31/examples/account/deleteAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/deleteAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/certificate/deleteCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteCertificate.json similarity index 100% rename from arm-automation/2015-10-31/examples/certificate/deleteCertificate.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteCertificate.json diff --git a/arm-automation/2015-10-31/examples/connection/deleteConnection.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteConnection.json similarity index 100% rename from arm-automation/2015-10-31/examples/connection/deleteConnection.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteConnection.json diff --git a/arm-automation/2015-10-31/examples/connectionType/deleteConnectionType.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteConnectionType.json similarity index 100% rename from arm-automation/2015-10-31/examples/connectionType/deleteConnectionType.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteConnectionType.json diff --git a/arm-automation/2015-10-31/examples/connectionType/deleteConnectionType_NonExisting.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteConnectionType_NonExisting.json similarity index 100% rename from arm-automation/2015-10-31/examples/connectionType/deleteConnectionType_NonExisting.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteConnectionType_NonExisting.json diff --git a/arm-automation/2015-10-31/examples/credential/deleteCredentialExisting.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteCredentialExisting.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/deleteCredentialExisting.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteCredentialExisting.json diff --git a/arm-automation/2015-10-31/examples/credential/deleteCredentialNonExisting.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteCredentialNonExisting.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/deleteCredentialNonExisting.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteCredentialNonExisting.json diff --git a/arm-automation/2015-10-31/examples/dscConfiguration/deleteDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteDscConfiguration.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscConfiguration/deleteDscConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteDscConfiguration.json diff --git a/arm-automation/2015-10-31/examples/dscNodeConfiguration/deleteDscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteDscNodeConfiguration.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodeConfiguration/deleteDscNodeConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteDscNodeConfiguration.json diff --git a/arm-automation/2015-10-31/examples/hybridRunbookWorkerGroup/deleteHybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteHybridRunbookWorkerGroup.json similarity index 100% rename from arm-automation/2015-10-31/examples/hybridRunbookWorkerGroup/deleteHybridRunbookWorkerGroup.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteHybridRunbookWorkerGroup.json diff --git a/arm-automation/2015-10-31/examples/jobSchedule/deleteJobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteJobSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/jobSchedule/deleteJobSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteJobSchedule.json diff --git a/arm-automation/2015-10-31/examples/module/deleteModule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteModule.json similarity index 100% rename from arm-automation/2015-10-31/examples/module/deleteModule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteModule.json diff --git a/arm-automation/2015-10-31/examples/account/deleteNonExisitingAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteNonExisitingAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/deleteNonExisitingAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteNonExisitingAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/runbook/deleteRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteRunbook.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/deleteRunbook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteRunbook.json diff --git a/arm-automation/2015-10-31/examples/schedule/deleteSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/schedule/deleteSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteSchedule.json diff --git a/arm-automation/2015-10-31/examples/variable/deleteVariable.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteVariable.json similarity index 100% rename from arm-automation/2015-10-31/examples/variable/deleteVariable.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteVariable.json diff --git a/arm-automation/2015-10-31/examples/webhook/deleteWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteWebhook.json similarity index 100% rename from arm-automation/2015-10-31/examples/webhook/deleteWebhook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/deleteWebhook.json diff --git a/arm-automation/2015-10-31/examples/module/getActivityInAModule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getActivityInAModule.json similarity index 100% rename from arm-automation/2015-10-31/examples/module/getActivityInAModule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getActivityInAModule.json diff --git a/arm-automation/2015-10-31/examples/connectionType/getAllConnectionTypes_First100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAllConnectionTypes_First100.json similarity index 100% rename from arm-automation/2015-10-31/examples/connectionType/getAllConnectionTypes_First100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAllConnectionTypes_First100.json diff --git a/arm-automation/2015-10-31/examples/connectionType/getAllConnectionTypes_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAllConnectionTypes_Next100.json similarity index 100% rename from arm-automation/2015-10-31/examples/connectionType/getAllConnectionTypes_Next100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAllConnectionTypes_Next100.json diff --git a/arm-automation/2015-10-31/examples/dscConfiguration/getAllDscConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAllDscConfigurations.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscConfiguration/getAllDscConfigurations.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAllDscConfigurations.json diff --git a/arm-automation/2015-10-31/examples/account/getAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/getAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/certificate/getCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getCertificate.json similarity index 100% rename from arm-automation/2015-10-31/examples/certificate/getCertificate.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getCertificate.json diff --git a/arm-automation/2015-10-31/examples/dscCompilationJob/getCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getCompilationJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscCompilationJob/getCompilationJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getCompilationJob.json diff --git a/arm-automation/2015-10-31/examples/connection/getConnection.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getConnection.json similarity index 100% rename from arm-automation/2015-10-31/examples/connection/getConnection.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getConnection.json diff --git a/arm-automation/2015-10-31/examples/connectionType/getConnectionType.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getConnectionType.json similarity index 100% rename from arm-automation/2015-10-31/examples/connectionType/getConnectionType.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getConnectionType.json diff --git a/arm-automation/2015-10-31/examples/credential/getCredential.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getCredential.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/getCredential.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getCredential.json diff --git a/arm-automation/2015-10-31/examples/dscConfiguration/getDscConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscConfiguration.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscConfiguration/getDscConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscConfiguration.json diff --git a/arm-automation/2015-10-31/examples/dscConfiguration/getDscConfigurationContent.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscConfigurationContent.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscConfiguration/getDscConfigurationContent.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscConfigurationContent.json diff --git a/arm-automation/2015-10-31/examples/dscNodes/getDscNode.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNode.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodes/getDscNode.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNode.json diff --git a/arm-automation/2015-10-31/examples/dscNodeConfiguration/getDscNodeConfiguration.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNodeConfiguration.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodeConfiguration/getDscNodeConfiguration.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNodeConfiguration.json diff --git a/arm-automation/2015-10-31/examples/dscNodes/getDscNodeReport.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNodeReport.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodes/getDscNodeReport.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNodeReport.json diff --git a/arm-automation/2015-10-31/examples/dscNodes/getDscNodeReportContent.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNodeReportContent.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodes/getDscNodeReportContent.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getDscNodeReportContent.json diff --git a/arm-automation/2015-10-31/examples/job/getJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/job/getJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getJob.json diff --git a/arm-automation/2015-10-31/examples/jobSchedule/getJobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getJobSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/jobSchedule/getJobSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getJobSchedule.json diff --git a/arm-automation/2015-10-31/examples/module/getModule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getModule.json similarity index 100% rename from arm-automation/2015-10-31/examples/module/getModule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getModule.json diff --git a/arm-automation/2015-10-31/examples/runbook/getRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbook.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/getRunbook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbook.json diff --git a/arm-automation/2015-10-31/examples/runbook/getRunbookContent.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbookContent.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/getRunbookContent.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbookContent.json diff --git a/arm-automation/2015-10-31/examples/runbook/getRunbookDraft.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbookDraft.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/getRunbookDraft.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbookDraft.json diff --git a/arm-automation/2015-10-31/examples/runbook/getRunbookDraftContent.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbookDraftContent.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/getRunbookDraftContent.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getRunbookDraftContent.json diff --git a/arm-automation/2015-10-31/examples/schedule/getSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/schedule/getSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getSchedule.json diff --git a/arm-automation/2015-10-31/examples/account/getStatisticsOfAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getStatisticsOfAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/getStatisticsOfAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getStatisticsOfAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/account/getUsagesOfAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getUsagesOfAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/getUsagesOfAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getUsagesOfAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/variable/getVariable.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getVariable.json similarity index 100% rename from arm-automation/2015-10-31/examples/variable/getVariable.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getVariable.json diff --git a/arm-automation/2015-10-31/examples/webhook/getWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getWebhook.json similarity index 100% rename from arm-automation/2015-10-31/examples/webhook/getWebhook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/getWebhook.json diff --git a/arm-automation/2015-10-31/examples/hybridRunbookWorkerGroup/hybridRunbookWorkerGroupGet.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/hybridRunbookWorkerGroupGet.json similarity index 100% rename from arm-automation/2015-10-31/examples/hybridRunbookWorkerGroup/hybridRunbookWorkerGroupGet.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/hybridRunbookWorkerGroupGet.json diff --git a/arm-automation/2015-10-31/examples/hybridRunbookWorkerGroup/hybridRunbookWorkerGroupList.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/hybridRunbookWorkerGroupList.json similarity index 100% rename from arm-automation/2015-10-31/examples/hybridRunbookWorkerGroup/hybridRunbookWorkerGroupList.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/hybridRunbookWorkerGroupList.json diff --git a/arm-automation/2015-10-31/examples/module/listActivitiesByModule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listActivitiesByModule.json similarity index 100% rename from arm-automation/2015-10-31/examples/module/listActivitiesByModule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listActivitiesByModule.json diff --git a/arm-automation/2015-10-31/examples/dscNodes/listAllDscNodesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAllDscNodesByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodes/listAllDscNodesByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAllDscNodesByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/jobSchedule/listAllJobSchedulesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAllJobSchedulesByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/jobSchedule/listAllJobSchedulesByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAllJobSchedulesByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/account/listAutomationAccountsByResourceGroup.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAutomationAccountsByResourceGroup.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/listAutomationAccountsByResourceGroup.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAutomationAccountsByResourceGroup.json diff --git a/arm-automation/2015-10-31/examples/account/listAutomationAccountsBySubscription.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAutomationAccountsBySubscription.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/listAutomationAccountsBySubscription.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listAutomationAccountsBySubscription.json diff --git a/arm-automation/2015-10-31/examples/runbook/listCertificatesByAutomationAccount.1.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCertificatesByAutomationAccount.1.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/listCertificatesByAutomationAccount.1.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCertificatesByAutomationAccount.1.json diff --git a/arm-automation/2015-10-31/examples/certificate/listCertificatesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCertificatesByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/certificate/listCertificatesByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCertificatesByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/connection/listConnectionsByAutomationAccount_First100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listConnectionsByAutomationAccount_First100.json similarity index 100% rename from arm-automation/2015-10-31/examples/connection/listConnectionsByAutomationAccount_First100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listConnectionsByAutomationAccount_First100.json diff --git a/arm-automation/2015-10-31/examples/connection/listConnectionsByAutomationAccount_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listConnectionsByAutomationAccount_Next100.json similarity index 100% rename from arm-automation/2015-10-31/examples/connection/listConnectionsByAutomationAccount_Next100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listConnectionsByAutomationAccount_Next100.json diff --git a/arm-automation/2015-10-31/examples/credential/listCredentialsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCredentialsByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/listCredentialsByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCredentialsByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/credential/listCredentialsByAutomationAccount_next100_using_nextLink.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCredentialsByAutomationAccount_next100_using_nextLink.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/listCredentialsByAutomationAccount_next100_using_nextLink.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listCredentialsByAutomationAccount_next100_using_nextLink.json diff --git a/arm-automation/2015-10-31/examples/dscNodeConfiguration/listDscNodeConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listDscNodeConfigurations.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodeConfiguration/listDscNodeConfigurations.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listDscNodeConfigurations.json diff --git a/arm-automation/2015-10-31/examples/dscNodes/listDscNodeReportsByNode.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listDscNodeReportsByNode.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodes/listDscNodeReportsByNode.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listDscNodeReportsByNode.json diff --git a/arm-automation/2015-10-31/examples/job/listJobsByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listJobsByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/job/listJobsByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listJobsByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/module/listModulesByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listModulesByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/module/listModulesByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listModulesByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/runbook/listRunbooksByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listRunbooksByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/listRunbooksByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listRunbooksByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/schedule/listSchedulesByAutomationAccount_First100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listSchedulesByAutomationAccount_First100.json similarity index 100% rename from arm-automation/2015-10-31/examples/schedule/listSchedulesByAutomationAccount_First100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listSchedulesByAutomationAccount_First100.json diff --git a/arm-automation/2015-10-31/examples/schedule/listSchedulesByAutomationAccount_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listSchedulesByAutomationAccount_Next100.json similarity index 100% rename from arm-automation/2015-10-31/examples/schedule/listSchedulesByAutomationAccount_Next100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listSchedulesByAutomationAccount_Next100.json diff --git a/arm-automation/2015-10-31/examples/variable/listVariables_First100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listVariables_First100.json similarity index 100% rename from arm-automation/2015-10-31/examples/variable/listVariables_First100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listVariables_First100.json diff --git a/arm-automation/2015-10-31/examples/variable/listVariables_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listVariables_Next100.json similarity index 100% rename from arm-automation/2015-10-31/examples/variable/listVariables_Next100.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listVariables_Next100.json diff --git a/arm-automation/2015-10-31/examples/webhook/listWebhooksByAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listWebhooksByAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/webhook/listWebhooksByAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/listWebhooksByAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/runbook/publishRunbookDraft.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/publishRunbookDraft.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/publishRunbookDraft.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/publishRunbookDraft.json diff --git a/arm-automation/2015-10-31/examples/job/resumeJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/resumeJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/job/resumeJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/resumeJob.json diff --git a/arm-automation/2015-10-31/examples/job/stopJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/stopJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/job/stopJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/stopJob.json diff --git a/arm-automation/2015-10-31/examples/job/suspendJob.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/suspendJob.json similarity index 100% rename from arm-automation/2015-10-31/examples/job/suspendJob.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/suspendJob.json diff --git a/arm-automation/2015-10-31/examples/runbook/undoDraftEditToLastKnownPublishedState.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/undoDraftEditToLastKnownPublishedState.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/undoDraftEditToLastKnownPublishedState.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/undoDraftEditToLastKnownPublishedState.json diff --git a/arm-automation/2015-10-31/examples/account/updateAutomationAccount.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateAutomationAccount.json similarity index 100% rename from arm-automation/2015-10-31/examples/account/updateAutomationAccount.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateAutomationAccount.json diff --git a/arm-automation/2015-10-31/examples/certificate/updateCertificate.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateCertificate.json similarity index 100% rename from arm-automation/2015-10-31/examples/certificate/updateCertificate.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateCertificate.json diff --git a/arm-automation/2015-10-31/examples/connection/updateConnection.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateConnection.json similarity index 100% rename from arm-automation/2015-10-31/examples/connection/updateConnection.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateConnection.json diff --git a/arm-automation/2015-10-31/examples/credential/updateCredential_createOrUpdate.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateCredential_createOrUpdate.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/updateCredential_createOrUpdate.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateCredential_createOrUpdate.json diff --git a/arm-automation/2015-10-31/examples/credential/updateCredential_patch.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateCredential_patch.json similarity index 100% rename from arm-automation/2015-10-31/examples/credential/updateCredential_patch.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateCredential_patch.json diff --git a/arm-automation/2015-10-31/examples/dscNodes/updateDscNode.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateDscNode.json similarity index 100% rename from arm-automation/2015-10-31/examples/dscNodes/updateDscNode.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateDscNode.json diff --git a/arm-automation/2015-10-31/examples/runbook/updateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateRunbook.json similarity index 100% rename from arm-automation/2015-10-31/examples/runbook/updateRunbook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateRunbook.json diff --git a/arm-automation/2015-10-31/examples/schedule/updateSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateSchedule.json similarity index 100% rename from arm-automation/2015-10-31/examples/schedule/updateSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateSchedule.json diff --git a/arm-automation/2015-10-31/examples/variable/updateVariable_patch.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateVariable_patch.json similarity index 100% rename from arm-automation/2015-10-31/examples/variable/updateVariable_patch.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateVariable_patch.json diff --git a/arm-automation/2015-10-31/examples/webhook/updateWebhook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateWebhook.json similarity index 100% rename from arm-automation/2015-10-31/examples/webhook/updateWebhook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/examples/updateWebhook.json diff --git a/arm-automation/2015-10-31/swagger/hybridRunbookWorkerGroup.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/hybridRunbookWorkerGroup.json similarity index 96% rename from arm-automation/2015-10-31/swagger/hybridRunbookWorkerGroup.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/hybridRunbookWorkerGroup.json index 810d1a6074b5..541468d8ab83 100644 --- a/arm-automation/2015-10-31/swagger/hybridRunbookWorkerGroup.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/hybridRunbookWorkerGroup.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete a hybrid worker group": { - "$ref": "../examples/hybridRunbookWorkerGroup/deleteHybridRunbookWorkerGroup.json" + "$ref": "./examples/deleteHybridRunbookWorkerGroup.json" } }, "parameters": [ @@ -78,7 +78,7 @@ }, "x-ms-examples": { "Get a hybrid worker group": { - "$ref": "../examples/hybridRunbookWorkerGroup/hybridRunbookWorkerGroupGet.json" + "$ref": "./examples/hybridRunbookWorkerGroupGet.json" } }, "parameters": [ @@ -192,7 +192,7 @@ }, "x-ms-examples": { "List hybrid worker groups by Automation Account": { - "$ref": "../examples/hybridRunbookWorkerGroup/hybridRunbookWorkerGroupList.json" + "$ref": "./examples/hybridRunbookWorkerGroupList.json" } }, "parameters": [ @@ -235,4 +235,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/job.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/job.json similarity index 98% rename from arm-automation/2015-10-31/swagger/job.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/job.json index 81c6319bec20..746d1c4a52b8 100644 --- a/arm-automation/2015-10-31/swagger/job.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/job.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Get Job": { - "$ref": "../examples/job/getJob.json" + "$ref": "./examples/getJob.json" } }, "parameters": [ @@ -134,7 +134,7 @@ }, "x-ms-examples": { "Suspend job": { - "$ref": "../examples/job/suspendJob.json" + "$ref": "./examples/suspendJob.json" } }, "parameters": [ @@ -188,7 +188,7 @@ }, "x-ms-examples": { "Stop job": { - "$ref": "../examples/job/stopJob.json" + "$ref": "./examples/stopJob.json" } }, "parameters": [ @@ -292,7 +292,7 @@ }, "x-ms-examples": { "Create job": { - "$ref": "../examples/job/createJob.json" + "$ref": "./examples/createJob.json" } }, "parameters": [ @@ -358,7 +358,7 @@ }, "x-ms-examples": { "List jobs by automation account": { - "$ref": "../examples/job/listJobsByAutomationAccount.json" + "$ref": "./examples/listJobsByAutomationAccount.json" } }, "parameters": [ @@ -417,7 +417,7 @@ }, "x-ms-examples": { "Resume job": { - "$ref": "../examples/job/resumeJob.json" + "$ref": "./examples/resumeJob.json" } }, "parameters": [ @@ -581,4 +581,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/jobSchedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/jobSchedule.json similarity index 96% rename from arm-automation/2015-10-31/swagger/jobSchedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/jobSchedule.json index 07c4d6850c6b..fb48affe2a8d 100644 --- a/arm-automation/2015-10-31/swagger/jobSchedule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/jobSchedule.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Delete a job schedule": { - "$ref": "../examples/jobSchedule/deleteJobSchedule.json" + "$ref": "./examples/deleteJobSchedule.json" } }, "parameters": [ @@ -79,7 +79,7 @@ }, "x-ms-examples": { "Get a job schedule": { - "$ref": "../examples/jobSchedule/getJobSchedule.json" + "$ref": "./examples/getJobSchedule.json" } }, "parameters": [ @@ -134,7 +134,7 @@ }, "x-ms-examples": { "Create a job schedule": { - "$ref": "../examples/jobSchedule/createJobSchedule.json" + "$ref": "./examples/createJobSchedule.json" } }, "parameters": [ @@ -200,7 +200,7 @@ }, "x-ms-examples": { "List all job schedules by automation account": { - "$ref": "../examples/jobSchedule/listAllJobSchedulesByAutomationAccount.json" + "$ref": "./examples/listAllJobSchedulesByAutomationAccount.json" } }, "parameters": [ @@ -243,4 +243,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/module.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/module.json similarity index 97% rename from arm-automation/2015-10-31/swagger/module.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/module.json index 9cd20a4448ab..dd5602b10993 100644 --- a/arm-automation/2015-10-31/swagger/module.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/module.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Get Activity in a module": { - "$ref": "../examples/module/getActivityInAModule.json" + "$ref": "./examples/getActivityInAModule.json" } }, "parameters": [ @@ -90,7 +90,7 @@ }, "x-ms-examples": { "List activities by a module": { - "$ref": "../examples/module/listActivitiesByModule.json" + "$ref": "./examples/listActivitiesByModule.json" } }, "parameters": [ @@ -149,7 +149,7 @@ }, "x-ms-examples": { "Delete a module": { - "$ref": "../examples/module/deleteModule.json" + "$ref": "./examples/deleteModule.json" } }, "parameters": [ @@ -200,7 +200,7 @@ }, "x-ms-examples": { "Get a module": { - "$ref": "../examples/module/getModule.json" + "$ref": "./examples/getModule.json" } }, "parameters": [ @@ -254,7 +254,7 @@ }, "x-ms-examples": { "Create or update a module": { - "$ref": "../examples/module/createOrUpdateModule.json" + "$ref": "./examples/createOrUpdateModule.json" } }, "parameters": [ @@ -383,7 +383,7 @@ }, "x-ms-examples": { "List modules by automation account": { - "$ref": "../examples/module/listModulesByAutomationAccount.json" + "$ref": "./examples/listModulesByAutomationAccount.json" } }, "parameters": [ @@ -602,4 +602,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/runbook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/runbook.json similarity index 97% rename from arm-automation/2015-10-31/swagger/runbook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/runbook.json index 4b10e8d1cbed..f1c025cab1cd 100644 --- a/arm-automation/2015-10-31/swagger/runbook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/runbook.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Get runbook draft content": { - "$ref": "../examples/runbook/getRunbookDraftContent.json" + "$ref": "./examples/getRunbookDraftContent.json" } }, "parameters": [ @@ -81,7 +81,7 @@ }, "x-ms-examples": { "Create or update runbook draft": { - "$ref": "../examples/runbook/createOrUpdateRunbookDraft.json" + "$ref": "./examples/createOrUpdateRunbookDraft.json" } }, "parameters": [ @@ -148,7 +148,7 @@ }, "x-ms-examples": { "Get runbook draft": { - "$ref": "../examples/runbook/getRunbookDraft.json" + "$ref": "./examples/getRunbookDraft.json" } }, "parameters": [ @@ -204,7 +204,7 @@ }, "x-ms-examples": { "Publish runbook draft": { - "$ref": "../examples/runbook/publishRunbookDraft.json" + "$ref": "./examples/publishRunbookDraft.json" } }, "parameters": [ @@ -264,7 +264,7 @@ }, "x-ms-examples": { "Undo draft edit to last known published state": { - "$ref": "../examples/runbook/undoDraftEditToLastKnownPublishedState.json" + "$ref": "./examples/undoDraftEditToLastKnownPublishedState.json" } }, "parameters": [ @@ -320,7 +320,7 @@ }, "x-ms-examples": { "Get runbook content": { - "$ref": "../examples/runbook/getRunbookContent.json" + "$ref": "./examples/getRunbookContent.json" } }, "parameters": [ @@ -376,7 +376,7 @@ }, "x-ms-examples": { "Get runbook": { - "$ref": "../examples/runbook/getRunbook.json" + "$ref": "./examples/getRunbook.json" } }, "parameters": [ @@ -430,7 +430,7 @@ }, "x-ms-examples": { "Create or update runbook": { - "$ref": "../examples/runbook/createOrUpdateRunbook.json" + "$ref": "./examples/createOrUpdateRunbook.json" } }, "parameters": [ @@ -496,7 +496,7 @@ }, "x-ms-examples": { "Update runbook": { - "$ref": "../examples/runbook/updateRunbook.json" + "$ref": "./examples/updateRunbook.json" } }, "parameters": [ @@ -559,7 +559,7 @@ }, "x-ms-examples": { "Delete a runbook": { - "$ref": "../examples/runbook/deleteRunbook.json" + "$ref": "./examples/deleteRunbook.json" } }, "parameters": [ @@ -612,7 +612,7 @@ }, "x-ms-examples": { "List runbooks by automation account": { - "$ref": "../examples/runbook/listRunbooksByAutomationAccount.json" + "$ref": "./examples/listRunbooksByAutomationAccount.json" } }, "parameters": [ @@ -1027,4 +1027,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/schedule.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/schedule.json similarity index 95% rename from arm-automation/2015-10-31/swagger/schedule.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/schedule.json index e69404485756..87b9e0c72134 100644 --- a/arm-automation/2015-10-31/swagger/schedule.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/schedule.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Create or update a schedule": { - "$ref": "../examples/schedule/createOrUpdateSchedule.json" + "$ref": "./examples/createOrUpdateSchedule.json" } }, "parameters": [ @@ -93,7 +93,7 @@ }, "x-ms-examples": { "Update a schedule": { - "$ref": "../examples/schedule/updateSchedule.json" + "$ref": "./examples/updateSchedule.json" } }, "parameters": [ @@ -156,7 +156,7 @@ }, "x-ms-examples": { "Get a schedule": { - "$ref": "../examples/schedule/getSchedule.json" + "$ref": "./examples/getSchedule.json" } }, "parameters": [ @@ -210,7 +210,7 @@ }, "x-ms-examples": { "Delete schedule": { - "$ref": "../examples/schedule/deleteSchedule.json" + "$ref": "./examples/deleteSchedule.json" } }, "parameters": [ @@ -266,10 +266,10 @@ }, "x-ms-examples": { "List schedules by automation account, first 100": { - "$ref": "../examples/schedule/listSchedulesByAutomationAccount_First100.json" + "$ref": "./examples/listSchedulesByAutomationAccount_First100.json" }, "List schedules by automation account, next 100": { - "$ref": "../examples/schedule/listSchedulesByAutomationAccount_Next100.json" + "$ref": "./examples/listSchedulesByAutomationAccount_Next100.json" } }, "parameters": [ @@ -312,4 +312,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/variable.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/variable.json similarity index 95% rename from arm-automation/2015-10-31/swagger/variable.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/variable.json index bec01ed49e22..443d714770da 100644 --- a/arm-automation/2015-10-31/swagger/variable.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/variable.json @@ -27,7 +27,7 @@ }, "x-ms-examples": { "Create or update a variable": { - "$ref": "../examples/variable/createOrUpdateVariable.json" + "$ref": "./examples/createOrUpdateVariable.json" } }, "parameters": [ @@ -96,7 +96,7 @@ }, "x-ms-examples": { "Update a variable": { - "$ref": "../examples/variable/updateVariable_patch.json" + "$ref": "./examples/updateVariable_patch.json" } }, "parameters": [ @@ -159,7 +159,7 @@ }, "x-ms-examples": { "Delete a variable": { - "$ref": "../examples/variable/deleteVariable.json" + "$ref": "./examples/deleteVariable.json" } }, "parameters": [ @@ -210,7 +210,7 @@ }, "x-ms-examples": { "Get a variable": { - "$ref": "../examples/variable/getVariable.json" + "$ref": "./examples/getVariable.json" } }, "parameters": [ @@ -266,10 +266,10 @@ }, "x-ms-examples": { "List variables, First 100": { - "$ref": "../examples/variable/listVariables_First100.json" + "$ref": "./examples/listVariables_First100.json" }, "List variables, Next 100": { - "$ref": "../examples/variable/listVariables_Next100.json" + "$ref": "./examples/listVariables_Next100.json" } }, "parameters": [ @@ -312,4 +312,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/arm-automation/2015-10-31/swagger/webhook.json b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/webhook.json similarity index 97% rename from arm-automation/2015-10-31/swagger/webhook.json rename to specification/automation/resource-manager/Microsoft.Automation/2015-10-31/webhook.json index 58e1048dbe5b..ce330a2bde75 100644 --- a/arm-automation/2015-10-31/swagger/webhook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/2015-10-31/webhook.json @@ -71,7 +71,7 @@ }, "x-ms-examples": { "Delete webhook": { - "$ref": "../examples/webhook/deleteWebhook.json" + "$ref": "./examples/deleteWebhook.json" } }, "parameters": [ @@ -122,7 +122,7 @@ }, "x-ms-examples": { "Get webhook": { - "$ref": "../examples/webhook/getWebhook.json" + "$ref": "./examples/getWebhook.json" } }, "parameters": [ @@ -176,7 +176,7 @@ }, "x-ms-examples": { "Create or update webhook": { - "$ref": "../examples/webhook/createOrUpdateWebhook.json" + "$ref": "./examples/createOrUpdateWebhook.json" } }, "parameters": [ @@ -245,7 +245,7 @@ }, "x-ms-examples": { "Update webhook": { - "$ref": "../examples/webhook/updateWebhook.json" + "$ref": "./examples/updateWebhook.json" } }, "parameters": [ @@ -310,7 +310,7 @@ }, "x-ms-examples": { "List webhooks by Automation Account": { - "$ref": "../examples/webhook/listWebhooksByAutomationAccount.json" + "$ref": "./examples/listWebhooksByAutomationAccount.json" } }, "parameters": [ @@ -360,4 +360,4 @@ }, "definitions": {}, "parameters": {} -} \ No newline at end of file +} diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md new file mode 100644 index 000000000000..e18480d74b58 --- /dev/null +++ b/specification/automation/resource-manager/readme.md @@ -0,0 +1,72 @@ +# Automation + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Automation. + + + +--- +## Getting Started +To build the SDK for Automation, 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 Automation API. + +``` yaml +title: AutomationClient +description: Automation Client +openapi-type: arm +tag: package-2015-10 +``` + + +### Tag: package-2015-10 + +These settings apply only when `--tag=package-2015-10` is specified on the command line. + +``` yaml $(tag) == 'package-2015-10' +input-file: +- Microsoft.Automation/2015-10-31/account.json +- Microsoft.Automation/2015-10-31/certificate.json +- Microsoft.Automation/2015-10-31/connection.json +- Microsoft.Automation/2015-10-31/connectionType.json +- Microsoft.Automation/2015-10-31/credential.json +- Microsoft.Automation/2015-10-31/definitions.json +- Microsoft.Automation/2015-10-31/dscCompilationJob.json +- Microsoft.Automation/2015-10-31/dscConfiguration.json +- Microsoft.Automation/2015-10-31/dscNode.json +- Microsoft.Automation/2015-10-31/dscNodeConfiguration.json +- Microsoft.Automation/2015-10-31/hybridRunbookWorkerGroup.json +- Microsoft.Automation/2015-10-31/job.json +- Microsoft.Automation/2015-10-31/jobSchedule.json +- Microsoft.Automation/2015-10-31/module.json +- Microsoft.Automation/2015-10-31/runbook.json +- Microsoft.Automation/2015-10-31/schedule.json +- Microsoft.Automation/2015-10-31/variable.json +- Microsoft.Automation/2015-10-31/webhook.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/batch/2015-12-01.2.2/swagger/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/2015-12-01.2.2/BatchService.json similarity index 100% rename from batch/2015-12-01.2.2/swagger/BatchService.json rename to specification/batch/data-plane/Microsoft.Batch/2015-12-01.2.2/BatchService.json diff --git a/batch/2016-02-01.3.0/swagger/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/2016-02-01.3.0/BatchService.json similarity index 100% rename from batch/2016-02-01.3.0/swagger/BatchService.json rename to specification/batch/data-plane/Microsoft.Batch/2016-02-01.3.0/BatchService.json diff --git a/batch/2016-07-01.3.1/swagger/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/2016-07-01.3.1/BatchService.json similarity index 100% rename from batch/2016-07-01.3.1/swagger/BatchService.json rename to specification/batch/data-plane/Microsoft.Batch/2016-07-01.3.1/BatchService.json diff --git a/batch/2017-01-01.4.0/swagger/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/BatchService.json similarity index 99% rename from batch/2017-01-01.4.0/swagger/BatchService.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/BatchService.json index 86ab9916f463..9a989687b1d7 100644 --- a/batch/2017-01-01.4.0/swagger/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/BatchService.json @@ -247,7 +247,7 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "../examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.", @@ -399,7 +399,7 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "../examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -523,7 +523,7 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "../examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -623,7 +623,7 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "../examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -723,7 +723,7 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "../examples/CertificateAdd.json" } + "Certificate add": { "$ref": "./examples/CertificateAdd.json" } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -833,7 +833,7 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "../examples/CertificateList.json" } + "Certificate list": { "$ref": "./examples/CertificateList.json" } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -967,7 +967,7 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "../examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1082,7 +1082,7 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "../examples/CertificateDelete.json" } + "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1191,7 +1191,7 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "../examples/CertificateGet.json" } + "Certificate get": { "$ref": "./examples/CertificateGet.json" } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1314,7 +1314,7 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "../examples/FileDeleteFromTask.json" } + "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1598,7 +1598,7 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "../examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1763,7 +1763,7 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "../examples/FileDeleteFromNode.json" } + "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } }, "summary": "Deletes the specified task file from the compute node.", "x-ms-request-id": "request-id", @@ -2047,7 +2047,7 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "../examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2215,7 +2215,7 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "../examples/FileListFromTask.json" } + "File list from task": { "$ref": "./examples/FileListFromTask.json" } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2363,7 +2363,7 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "../examples/FileListFromNode.json" } + "File list from node": { "$ref": "./examples/FileListFromNode.json" } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2651,7 +2651,7 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "../examples/JobScheduleDelete.json" } + "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2784,7 +2784,7 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "../examples/JobScheduleGet.json" } + "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2950,7 +2950,7 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "../examples/JobSchedulePatch.json" } + "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3107,7 +3107,7 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "../examples/JobScheduleUpdate.json" } + "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updateable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3266,7 +3266,7 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "../examples/JobScheduleDisable.json" } + "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3416,7 +3416,7 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "../examples/JobScheduleEnable.json" } + "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3565,7 +3565,7 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "../examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3714,8 +3714,8 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "../examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "../examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, + "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3825,7 +3825,7 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "../examples/JobScheduleList.json" } + "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4099,7 +4099,7 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "../examples/JobGet.json" } + "Job get": { "$ref": "./examples/JobGet.json" } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4265,7 +4265,7 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "../examples/JobPatch.json" } + "Job patch": { "$ref": "./examples/JobPatch.json" } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4422,7 +4422,7 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "../examples/JobUpdate.json" } + "Job update": { "$ref": "./examples/JobUpdate.json" } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4581,7 +4581,7 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "../examples/JobDisable.json" } + "Job disable": { "$ref": "./examples/JobDisable.json" } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4740,7 +4740,7 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "../examples/JobEnable.json" } + "Job enable": { "$ref": "./examples/JobEnable.json" } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4890,7 +4890,7 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "../examples/JobTerminate.json" } + "Job terminate": { "$ref": "./examples/JobTerminate.json" } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5049,8 +5049,8 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "../examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "../examples/JobAdd_Complex.json" } + "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, + "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5161,7 +5161,7 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "../examples/JobList.json" } + "Job list": { "$ref": "./examples/JobList.json" } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5459,7 +5459,7 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "../examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ", @@ -5601,8 +5601,8 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "../examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "../examples/PoolAdd_VirtualMachineConfiguration.json" } + "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, + "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5713,7 +5713,7 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "../examples/PoolList_Basic.json" } + "Pool list": { "$ref": "./examples/PoolList_Basic.json" } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5857,7 +5857,7 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "../examples/PoolDelete.json" } + "Pool delete": { "$ref": "./examples/PoolDelete.json" } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6133,7 +6133,7 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "../examples/PoolGet_Basic.json" } + "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6559,7 +6559,7 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "../examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6718,7 +6718,7 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "../examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.", @@ -6838,7 +6838,7 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "../examples/PoolResize.json" } + "Pool resize": { "$ref": "./examples/PoolResize.json" } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -6997,7 +6997,7 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "../examples/PoolStopResize.json" } + "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7147,7 +7147,7 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "../examples/PoolUpdate.json" } + "Pool update": { "$ref": "./examples/PoolUpdate.json" } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updateable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7420,7 +7420,7 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "../examples/PoolRemoveNodes.json" } + "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7579,8 +7579,8 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "../examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "../examples/TaskAdd_ExitConditions.json" } + "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, + "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" } }, "summary": "Adds a task to the specified job.", "x-ms-request-id": "request-id", @@ -7697,7 +7697,7 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "../examples/TaskList.json" } + "Task list": { "$ref": "./examples/TaskList.json" } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7849,8 +7849,8 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "../examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "../examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, + "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.", @@ -7955,7 +7955,7 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "../examples/TaskDelete.json" } + "Task delete": { "$ref": "./examples/TaskDelete.json" } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8095,7 +8095,7 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "../examples/TaskGet.json" } + "Task get": { "$ref": "./examples/TaskGet.json" } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8273,7 +8273,7 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "../examples/TaskUpdate.json" } + "Task update": { "$ref": "./examples/TaskUpdate.json" } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8438,7 +8438,7 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "../examples/TaskListSubtasks.json" } + "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8562,7 +8562,7 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "../examples/TaskTerminate.json" } + "Task terminate": { "$ref": "./examples/TaskTerminate.json" } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8719,7 +8719,7 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "../examples/TaskReactivate.json" } + "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } }, "summary": "Reactivates the specified task.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).", @@ -8876,7 +8876,7 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "../examples/NodeAddUser.json" } + "Node add user": { "$ref": "./examples/NodeAddUser.json" } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9000,7 +9000,7 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "../examples/NodeDeleteUser.json" } + "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9105,7 +9105,7 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "../examples/NodeUpdateUser.json" } + "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } }, "summary": "Updates the password or expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updateable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9236,7 +9236,7 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "../examples/NodeGet_Basic.json" } + "Node get": { "$ref": "./examples/NodeGet_Basic.json" } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9359,7 +9359,7 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "../examples/NodeReboot.json" } + "Node reboot": { "$ref": "./examples/NodeReboot.json" } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9483,7 +9483,7 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "../examples/NodeReimage.json" } + "Node reimage": { "$ref": "./examples/NodeReimage.json" } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9607,7 +9607,7 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "../examples/NodeDisableScheduling.json" } + "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } }, "summary": "Disables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9730,7 +9730,7 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "../examples/NodeEnableScheduling.json" } + "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } }, "summary": "Enables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9844,7 +9844,7 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "../examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.", @@ -10072,7 +10072,7 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "../examples/NodeList.json" } + "Node list": { "$ref": "./examples/NodeList.json" } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -14176,3 +14176,4 @@ } } } + diff --git a/batch/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json similarity index 100% rename from batch/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/AccountListNodeAgentSkus.json diff --git a/batch/2017-01-01.4.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateAdd.json similarity index 100% rename from batch/2017-01-01.4.0/examples/CertificateAdd.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateAdd.json diff --git a/batch/2017-01-01.4.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateCancelDelete.json similarity index 100% rename from batch/2017-01-01.4.0/examples/CertificateCancelDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateCancelDelete.json diff --git a/batch/2017-01-01.4.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateDelete.json similarity index 100% rename from batch/2017-01-01.4.0/examples/CertificateDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateDelete.json diff --git a/batch/2017-01-01.4.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateGet.json similarity index 100% rename from batch/2017-01-01.4.0/examples/CertificateGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateGet.json diff --git a/batch/2017-01-01.4.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateList.json similarity index 100% rename from batch/2017-01-01.4.0/examples/CertificateList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/CertificateList.json diff --git a/batch/2017-01-01.4.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileDeleteFromNode.json similarity index 100% rename from batch/2017-01-01.4.0/examples/FileDeleteFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileDeleteFromNode.json diff --git a/batch/2017-01-01.4.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileDeleteFromTask.json similarity index 100% rename from batch/2017-01-01.4.0/examples/FileDeleteFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileDeleteFromTask.json diff --git a/batch/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json similarity index 100% rename from batch/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileGetPropertiesFromNode.json diff --git a/batch/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json similarity index 100% rename from batch/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileGetPropertiesFromTask.json diff --git a/batch/2017-01-01.4.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileListFromNode.json similarity index 100% rename from batch/2017-01-01.4.0/examples/FileListFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileListFromNode.json diff --git a/batch/2017-01-01.4.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileListFromTask.json similarity index 100% rename from batch/2017-01-01.4.0/examples/FileListFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/FileListFromTask.json diff --git a/batch/2017-01-01.4.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobAdd_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobAdd_Basic.json diff --git a/batch/2017-01-01.4.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobAdd_Complex.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobAdd_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobAdd_Complex.json diff --git a/batch/2017-01-01.4.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobDisable.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobDisable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobDisable.json diff --git a/batch/2017-01-01.4.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobEnable.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobEnable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobEnable.json diff --git a/batch/2017-01-01.4.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobGet.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobGet.json diff --git a/batch/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobGetLifetimeStatistics.json diff --git a/batch/2017-01-01.4.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobList.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobList.json diff --git a/batch/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobListPreparationAndReleaseTaskStatus.json diff --git a/batch/2017-01-01.4.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobPatch.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobPatch.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobPatch.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleAdd_Basic.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleAdd_Complex.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleDelete.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleDelete.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleDisable.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleDisable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleDisable.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleEnable.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleEnable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleEnable.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleGet.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleGet.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleList.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleList.json diff --git a/batch/2017-01-01.4.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobSchedulePatch.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobSchedulePatch.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobSchedulePatch.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleTerminate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleTerminate.json diff --git a/batch/2017-01-01.4.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleUpdate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobScheduleUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobScheduleUpdate.json diff --git a/batch/2017-01-01.4.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobTerminate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobTerminate.json diff --git a/batch/2017-01-01.4.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobUpdate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/JobUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/JobUpdate.json diff --git a/batch/2017-01-01.4.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeAddUser.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeAddUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeAddUser.json diff --git a/batch/2017-01-01.4.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeDeleteUser.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeDeleteUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeDeleteUser.json diff --git a/batch/2017-01-01.4.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeDisableScheduling.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeDisableScheduling.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeDisableScheduling.json diff --git a/batch/2017-01-01.4.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeEnableScheduling.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeEnableScheduling.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeEnableScheduling.json diff --git a/batch/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeGetRemoteLoginSettings.json diff --git a/batch/2017-01-01.4.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeGet_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeGet_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeGet_Basic.json diff --git a/batch/2017-01-01.4.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeList.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeList.json diff --git a/batch/2017-01-01.4.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeReboot.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeReboot.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeReboot.json diff --git a/batch/2017-01-01.4.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeReimage.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeReimage.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeReimage.json diff --git a/batch/2017-01-01.4.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeUpdateUser.json similarity index 100% rename from batch/2017-01-01.4.0/examples/NodeUpdateUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/NodeUpdateUser.json diff --git a/batch/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolAdd_CloudServiceConfiguration.json diff --git a/batch/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolAdd_VirtualMachineConfiguration.json diff --git a/batch/2017-01-01.4.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolDelete.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolDelete.json diff --git a/batch/2017-01-01.4.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolEnableAutoscale.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolEnableAutoscale.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolEnableAutoscale.json diff --git a/batch/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolEvaluateAutoscale.json diff --git a/batch/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolGetLifetimeStatistics.json diff --git a/batch/2017-01-01.4.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolGet_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolGet_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolGet_Basic.json diff --git a/batch/2017-01-01.4.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolListUsageMetrics.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolListUsageMetrics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolListUsageMetrics.json diff --git a/batch/2017-01-01.4.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolList_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolList_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolList_Basic.json diff --git a/batch/2017-01-01.4.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolRemoveNodes.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolRemoveNodes.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolRemoveNodes.json diff --git a/batch/2017-01-01.4.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolResize.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolResize.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolResize.json diff --git a/batch/2017-01-01.4.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolStopResize.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolStopResize.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolStopResize.json diff --git a/batch/2017-01-01.4.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolUpdate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/PoolUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/PoolUpdate.json diff --git a/batch/2017-01-01.4.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAddCollection_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskAddCollection_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAddCollection_Basic.json diff --git a/batch/2017-01-01.4.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAddCollection_Complex.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskAddCollection_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAddCollection_Complex.json diff --git a/batch/2017-01-01.4.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAdd_Basic.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAdd_Basic.json diff --git a/batch/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskAdd_ExitConditions.json diff --git a/batch/2017-01-01.4.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskDelete.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskDelete.json diff --git a/batch/2017-01-01.4.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskGet.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskGet.json diff --git a/batch/2017-01-01.4.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskList.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskList.json diff --git a/batch/2017-01-01.4.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskListSubtasks.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskListSubtasks.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskListSubtasks.json diff --git a/batch/2017-01-01.4.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskReactivate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskReactivate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskReactivate.json diff --git a/batch/2017-01-01.4.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskTerminate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskTerminate.json diff --git a/batch/2017-01-01.4.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskUpdate.json similarity index 100% rename from batch/2017-01-01.4.0/examples/TaskUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-01-01.4.0/examples/TaskUpdate.json diff --git a/batch/2017-05-01.5.0/swagger/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/BatchService.json similarity index 99% rename from batch/2017-05-01.5.0/swagger/BatchService.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/BatchService.json index 81fff825e4b7..38fb75cbe280 100644 --- a/batch/2017-05-01.5.0/swagger/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/BatchService.json @@ -247,7 +247,7 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "../examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.", @@ -399,7 +399,7 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "../examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -523,7 +523,7 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "../examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -623,7 +623,7 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "../examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -723,7 +723,7 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "../examples/CertificateAdd.json" } + "Certificate add": { "$ref": "./examples/CertificateAdd.json" } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -833,7 +833,7 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "../examples/CertificateList.json" } + "Certificate list": { "$ref": "./examples/CertificateList.json" } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -967,7 +967,7 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "../examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1082,7 +1082,7 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "../examples/CertificateDelete.json" } + "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1191,7 +1191,7 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "../examples/CertificateGet.json" } + "Certificate get": { "$ref": "./examples/CertificateGet.json" } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1314,7 +1314,7 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "../examples/FileDeleteFromTask.json" } + "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1598,7 +1598,7 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "../examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1763,7 +1763,7 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "../examples/FileDeleteFromNode.json" } + "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2047,7 +2047,7 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "../examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2215,7 +2215,7 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "../examples/FileListFromTask.json" } + "File list from task": { "$ref": "./examples/FileListFromTask.json" } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2363,7 +2363,7 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "../examples/FileListFromNode.json" } + "File list from node": { "$ref": "./examples/FileListFromNode.json" } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2651,7 +2651,7 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "../examples/JobScheduleDelete.json" } + "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2784,7 +2784,7 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "../examples/JobScheduleGet.json" } + "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2950,7 +2950,7 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "../examples/JobSchedulePatch.json" } + "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3107,7 +3107,7 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "../examples/JobScheduleUpdate.json" } + "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updateable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3266,7 +3266,7 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "../examples/JobScheduleDisable.json" } + "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3416,7 +3416,7 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "../examples/JobScheduleEnable.json" } + "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3565,7 +3565,7 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "../examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3714,8 +3714,8 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "../examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "../examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, + "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3825,7 +3825,7 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "../examples/JobScheduleList.json" } + "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4099,7 +4099,7 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "../examples/JobGet.json" } + "Job get": { "$ref": "./examples/JobGet.json" } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4265,7 +4265,7 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "../examples/JobPatch.json" } + "Job patch": { "$ref": "./examples/JobPatch.json" } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4422,7 +4422,7 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "../examples/JobUpdate.json" } + "Job update": { "$ref": "./examples/JobUpdate.json" } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4581,7 +4581,7 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "../examples/JobDisable.json" } + "Job disable": { "$ref": "./examples/JobDisable.json" } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4740,7 +4740,7 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "../examples/JobEnable.json" } + "Job enable": { "$ref": "./examples/JobEnable.json" } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4890,7 +4890,7 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "../examples/JobTerminate.json" } + "Job terminate": { "$ref": "./examples/JobTerminate.json" } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5049,8 +5049,8 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "../examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "../examples/JobAdd_Complex.json" } + "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, + "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5161,7 +5161,7 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "../examples/JobList.json" } + "Job list": { "$ref": "./examples/JobList.json" } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5459,7 +5459,7 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "../examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ", @@ -5601,8 +5601,8 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "../examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "../examples/PoolAdd_VirtualMachineConfiguration.json" } + "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, + "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5713,7 +5713,7 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "../examples/PoolList_Basic.json" } + "Pool list": { "$ref": "./examples/PoolList_Basic.json" } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5857,7 +5857,7 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "../examples/PoolDelete.json" } + "Pool delete": { "$ref": "./examples/PoolDelete.json" } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6133,7 +6133,7 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "../examples/PoolGet_Basic.json" } + "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6559,7 +6559,7 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "../examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6718,7 +6718,7 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "../examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.", @@ -6838,7 +6838,7 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "../examples/PoolResize.json" } + "Pool resize": { "$ref": "./examples/PoolResize.json" } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -6997,7 +6997,7 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "../examples/PoolStopResize.json" } + "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7147,7 +7147,7 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "../examples/PoolUpdate.json" } + "Pool update": { "$ref": "./examples/PoolUpdate.json" } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updateable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7420,7 +7420,7 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "../examples/PoolRemoveNodes.json" } + "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7579,8 +7579,8 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "../examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "../examples/TaskAdd_ExitConditions.json" } + "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, + "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" } }, "summary": "Adds a task to the specified job.", "x-ms-request-id": "request-id", @@ -7697,7 +7697,7 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "../examples/TaskList.json" } + "Task list": { "$ref": "./examples/TaskList.json" } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7849,8 +7849,8 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "../examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "../examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, + "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.", @@ -7955,7 +7955,7 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "../examples/TaskDelete.json" } + "Task delete": { "$ref": "./examples/TaskDelete.json" } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8095,7 +8095,7 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "../examples/TaskGet.json" } + "Task get": { "$ref": "./examples/TaskGet.json" } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8273,7 +8273,7 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "../examples/TaskUpdate.json" } + "Task update": { "$ref": "./examples/TaskUpdate.json" } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8438,7 +8438,7 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "../examples/TaskListSubtasks.json" } + "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8562,7 +8562,7 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "../examples/TaskTerminate.json" } + "Task terminate": { "$ref": "./examples/TaskTerminate.json" } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8719,7 +8719,7 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "../examples/TaskReactivate.json" } + "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } }, "summary": "Reactivates the specified task.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).", @@ -8876,7 +8876,7 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "../examples/NodeAddUser.json" } + "Node add user": { "$ref": "./examples/NodeAddUser.json" } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9000,7 +9000,7 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "../examples/NodeDeleteUser.json" } + "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9105,7 +9105,7 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "../examples/NodeUpdateUser.json" } + "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } }, "summary": "Updates the password or expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updateable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9236,7 +9236,7 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "../examples/NodeGet_Basic.json" } + "Node get": { "$ref": "./examples/NodeGet_Basic.json" } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9359,7 +9359,7 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "../examples/NodeReboot.json" } + "Node reboot": { "$ref": "./examples/NodeReboot.json" } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9483,7 +9483,7 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "../examples/NodeReimage.json" } + "Node reimage": { "$ref": "./examples/NodeReimage.json" } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9607,7 +9607,7 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "../examples/NodeDisableScheduling.json" } + "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } }, "summary": "Disables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9730,7 +9730,7 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "../examples/NodeEnableScheduling.json" } + "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } }, "summary": "Enables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9844,7 +9844,7 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "../examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.", @@ -10072,7 +10072,7 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "../examples/NodeList.json" } + "Node list": { "$ref": "./examples/NodeList.json" } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", @@ -14394,3 +14394,4 @@ } } } + diff --git a/batch/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json similarity index 97% rename from batch/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json index 4ce2129d964f..f12b72b9e370 100644 --- a/batch/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/AccountListNodeAgentSkus.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateAdd.json similarity index 91% rename from batch/2017-05-01.5.0/examples/CertificateAdd.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateAdd.json index ec190eab6751..a98b75c12ff5 100644 --- a/batch/2017-05-01.5.0/examples/CertificateAdd.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateAdd.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "certificate": { diff --git a/batch/2017-05-01.5.0/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateCancelDelete.json similarity index 88% rename from batch/2017-05-01.5.0/examples/CertificateCancelDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateCancelDelete.json index 8709f7b987bf..26c5f96c87bf 100644 --- a/batch/2017-05-01.5.0/examples/CertificateCancelDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateCancelDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "thumbprintAlgorithm": "sha1", "thumbprint": "0123456789abcdef0123456789abcdef01234567", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateDelete.json similarity index 88% rename from batch/2017-05-01.5.0/examples/CertificateDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateDelete.json index 8c9d54c30a9f..a46d4e70e9a2 100644 --- a/batch/2017-05-01.5.0/examples/CertificateDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "thumbprintAlgorithm": "sha1", "thumbprint": "0123456789abcdef0123456789abcdef01234567", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateGet.json similarity index 96% rename from batch/2017-05-01.5.0/examples/CertificateGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateGet.json index 478891156805..9b9d12765743 100644 --- a/batch/2017-05-01.5.0/examples/CertificateGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "thumbprintAlgorithm": "sha1", "thumbprint": "0123456789abcdef0123456789abcdef01234567", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateList.json similarity index 96% rename from batch/2017-05-01.5.0/examples/CertificateList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateList.json index e14a82716113..bd6542ba5782 100644 --- a/batch/2017-05-01.5.0/examples/CertificateList.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/CertificateList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileDeleteFromNode.json similarity index 90% rename from batch/2017-05-01.5.0/examples/FileDeleteFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileDeleteFromNode.json index 1d94ccb102fe..b1668e5564b5 100644 --- a/batch/2017-05-01.5.0/examples/FileDeleteFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileDeleteFromNode.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161122t193202z", "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt", diff --git a/batch/2017-05-01.5.0/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileDeleteFromTask.json similarity index 89% rename from batch/2017-05-01.5.0/examples/FileDeleteFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileDeleteFromTask.json index de0035005ac2..e67cbc7be155 100644 --- a/batch/2017-05-01.5.0/examples/FileDeleteFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileDeleteFromTask.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "task1", "filePath": "wd\\testFile.txt", diff --git a/batch/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json similarity index 93% rename from batch/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json index d7e6904e3233..8e72bb4399a6 100644 --- a/batch/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileGetPropertiesFromNode.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "nodeId", "filePath": "workitems\\jobId\\job-1\\task1\\wd\\testFile.txt", diff --git a/batch/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json similarity index 93% rename from batch/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json index 1ab1e84d3ec4..8942e96948a8 100644 --- a/batch/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileGetPropertiesFromTask.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "filePath": "wd\\testFile.txt", diff --git a/batch/2017-05-01.5.0/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileListFromNode.json similarity index 97% rename from batch/2017-05-01.5.0/examples/FileListFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileListFromNode.json index d062f114df18..85905beb9b46 100644 --- a/batch/2017-05-01.5.0/examples/FileListFromNode.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileListFromNode.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161122t193202z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileListFromTask.json similarity index 97% rename from batch/2017-05-01.5.0/examples/FileListFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileListFromTask.json index 5266608a585f..ae08f6ee4c87 100644 --- a/batch/2017-05-01.5.0/examples/FileListFromTask.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/FileListFromTask.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobAdd_Basic.json similarity index 89% rename from batch/2017-05-01.5.0/examples/JobAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobAdd_Basic.json index 75ed69a623a3..8b47aff3c30f 100644 --- a/batch/2017-05-01.5.0/examples/JobAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobAdd_Basic.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "job": { diff --git a/batch/2017-05-01.5.0/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobAdd_Complex.json similarity index 96% rename from batch/2017-05-01.5.0/examples/JobAdd_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobAdd_Complex.json index df404249a1a1..68040f9b5529 100644 --- a/batch/2017-05-01.5.0/examples/JobAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobAdd_Complex.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "job": { @@ -54,8 +54,7 @@ "targetOSVersion": "*" }, "resizeTimeout": "PT15M", - "targetDedicatedNodes": 3, - "targetLowPriorityNodes": 0, + "targetDedicated": 3, "maxTasksPerNode": 2, "taskSchedulingPolicy": { "nodeFillType": "spread" diff --git a/batch/2017-05-01.5.0/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobDisable.json similarity index 88% rename from batch/2017-05-01.5.0/examples/JobDisable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobDisable.json index 001873c41b61..d72a06c54d37 100644 --- a/batch/2017-05-01.5.0/examples/JobDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobDisable.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobEnable.json similarity index 85% rename from batch/2017-05-01.5.0/examples/JobEnable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobEnable.json index ac4816433322..c39f4a225edd 100644 --- a/batch/2017-05-01.5.0/examples/JobEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobEnable.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobGet.json similarity index 97% rename from batch/2017-05-01.5.0/examples/JobGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobGet.json index d88d0415c7f7..0bae4ebd131d 100644 --- a/batch/2017-05-01.5.0/examples/JobGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json similarity index 95% rename from batch/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json index 317b5da34680..931d167134ad 100644 --- a/batch/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobGetLifetimeStatistics.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobList.json similarity index 97% rename from batch/2017-05-01.5.0/examples/JobList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobList.json index f157fba6aa24..d46127d23d13 100644 --- a/batch/2017-05-01.5.0/examples/JobList.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json similarity index 94% rename from batch/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json index 4ade55b07d7c..a73a1ed98003 100644 --- a/batch/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobListPreparationAndReleaseTaskStatus.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" @@ -32,7 +32,7 @@ } } ], - "odata.nextLink": "https://account.region.batch.azure.com/jobs/myjob/jobpreparationandreleasestatus?$skipToken=tvm-2167304207_1-20140905t174658z&api-version=2017-05-01.5.0" + "odata.nextLink": "https://account.region.batch.azure.com/jobs/myjob/jobpreparationandreleasestatus?$skipToken=tvm-2167304207_1-20140905t174658z&api-version=2017-01-01.4.0" } } } diff --git a/batch/2017-05-01.5.0/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobPatch.json similarity index 92% rename from batch/2017-05-01.5.0/examples/JobPatch.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobPatch.json index 7d2b90d8af54..74eb40fdb399 100644 --- a/batch/2017-05-01.5.0/examples/JobPatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobPatch.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json similarity index 91% rename from batch/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json index 3bc7ad7e09ed..287a8aa9b03c 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleAdd_Basic.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "cloudJobSchedule": { diff --git a/batch/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json similarity index 97% rename from batch/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json index 0a48812ab231..b831d5cd634a 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleAdd_Complex.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "cloudJobSchedule": { @@ -61,8 +61,7 @@ "targetOSVersion": "*" }, "resizeTimeout": "PT15M", - "targetDedicatedNodes": 3, - "targetLowPriorityNodes": 0, + "targetDedicated": 3, "maxTasksPerNode": 2, "taskSchedulingPolicy": { "nodeFillType": "spread" diff --git a/batch/2017-05-01.5.0/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleDelete.json similarity index 86% rename from batch/2017-05-01.5.0/examples/JobScheduleDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleDelete.json index 75782e10bc7c..4286e8936fd9 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleDisable.json similarity index 86% rename from batch/2017-05-01.5.0/examples/JobScheduleDisable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleDisable.json index 6b17a7bc3011..bd838eed45cc 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleDisable.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleDisable.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleEnable.json similarity index 86% rename from batch/2017-05-01.5.0/examples/JobScheduleEnable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleEnable.json index 6b17a7bc3011..bd838eed45cc 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleEnable.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleEnable.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleGet.json similarity index 97% rename from batch/2017-05-01.5.0/examples/JobScheduleGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleGet.json index e7fbbb47c32c..4eb145e6c1b5 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleList.json similarity index 98% rename from batch/2017-05-01.5.0/examples/JobScheduleList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleList.json index 24863068fe8d..73b0a141db00 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleList.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobSchedulePatch.json similarity index 94% rename from batch/2017-05-01.5.0/examples/JobSchedulePatch.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobSchedulePatch.json index 87477b878eed..71c677593b57 100644 --- a/batch/2017-05-01.5.0/examples/JobSchedulePatch.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobSchedulePatch.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleTerminate.json similarity index 86% rename from batch/2017-05-01.5.0/examples/JobScheduleTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleTerminate.json index 75782e10bc7c..4286e8936fd9 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleTerminate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleUpdate.json similarity index 94% rename from batch/2017-05-01.5.0/examples/JobScheduleUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleUpdate.json index 95703f912ade..6a26f335736f 100644 --- a/batch/2017-05-01.5.0/examples/JobScheduleUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobScheduleUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobScheduleId": "jobScheduleId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobTerminate.json similarity index 89% rename from batch/2017-05-01.5.0/examples/JobTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobTerminate.json index fc154e934af3..858bdcbb7518 100644 --- a/batch/2017-05-01.5.0/examples/JobTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobTerminate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobUpdate.json similarity index 92% rename from batch/2017-05-01.5.0/examples/JobUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobUpdate.json index e1cd5e9d8fdd..0984430be61d 100644 --- a/batch/2017-05-01.5.0/examples/JobUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/JobUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeAddUser.json similarity index 91% rename from batch/2017-05-01.5.0/examples/NodeAddUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeAddUser.json index 57f4c1cb4e9b..2b99a1feae5d 100644 --- a/batch/2017-05-01.5.0/examples/NodeAddUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeAddUser.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161121t182739z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeDeleteUser.json similarity index 88% rename from batch/2017-05-01.5.0/examples/NodeDeleteUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeDeleteUser.json index 40a29ea5f880..8b2594aa20df 100644 --- a/batch/2017-05-01.5.0/examples/NodeDeleteUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeDeleteUser.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161121t182739z", "userName": "userName", diff --git a/batch/2017-05-01.5.0/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeDisableScheduling.json similarity index 90% rename from batch/2017-05-01.5.0/examples/NodeDisableScheduling.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeDisableScheduling.json index f044723a78c6..ba6f824d4010 100644 --- a/batch/2017-05-01.5.0/examples/NodeDisableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeDisableScheduling.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161122t193202z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeEnableScheduling.json similarity index 87% rename from batch/2017-05-01.5.0/examples/NodeEnableScheduling.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeEnableScheduling.json index 165269c6b084..6b80e4ce452d 100644 --- a/batch/2017-05-01.5.0/examples/NodeEnableScheduling.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeEnableScheduling.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161122t193202z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json similarity index 90% rename from batch/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json index 643ed5cf641e..75ef488d233f 100644 --- a/batch/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeGetRemoteLoginSettings.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161121t182739z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeGet_Basic.json similarity index 95% rename from batch/2017-05-01.5.0/examples/NodeGet_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeGet_Basic.json index 307218d63476..fd8f31449915 100644 --- a/batch/2017-05-01.5.0/examples/NodeGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeGet_Basic.json @@ -2,7 +2,7 @@ "parameters": { "poolId": "poolId", "nodeId": "tvm-1695681911_2-20161122t193202z", - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, @@ -22,7 +22,6 @@ "totalTasksRun": 0, "totalTasksSucceeded": 0, "runningTasksCount": 0, - "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", "userIdentity":{ diff --git a/batch/2017-05-01.5.0/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeList.json similarity index 96% rename from batch/2017-05-01.5.0/examples/NodeList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeList.json index a37a5c18c5e6..eef743916ec2 100644 --- a/batch/2017-05-01.5.0/examples/NodeList.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" @@ -23,7 +23,6 @@ "totalTasksRun": 0, "totalTasksSucceeded": 0, "runningTasksCount": 0, - "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", "userIdentity":{ @@ -57,7 +56,6 @@ "totalTasksRun": 0, "totalTasksSucceeded": 0, "runningTasksCount": 0, - "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", "userIdentity":{ @@ -91,7 +89,6 @@ "totalTasksRun": 0, "totalTasksSucceeded": 0, "runningTasksCount": 0, - "isDedicated": true, "startTask": { "commandLine": "cmd /c echo hello", "userIdentity":{ diff --git a/batch/2017-05-01.5.0/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeReboot.json similarity index 90% rename from batch/2017-05-01.5.0/examples/NodeReboot.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeReboot.json index cb01fd397780..b6f7a4c8247f 100644 --- a/batch/2017-05-01.5.0/examples/NodeReboot.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeReboot.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161122t193202z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeReimage.json similarity index 90% rename from batch/2017-05-01.5.0/examples/NodeReimage.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeReimage.json index dfe0c3756ffd..ecf2fbd08dcb 100644 --- a/batch/2017-05-01.5.0/examples/NodeReimage.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeReimage.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161122t193202z", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeUpdateUser.json similarity index 91% rename from batch/2017-05-01.5.0/examples/NodeUpdateUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeUpdateUser.json index 62767b322f4d..b8133e62e607 100644 --- a/batch/2017-05-01.5.0/examples/NodeUpdateUser.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/NodeUpdateUser.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "nodeId": "tvm-1695681911_1-20161121t182739z", "userName": "userName", diff --git a/batch/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json similarity index 88% rename from batch/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json index 087db0f16306..d63b5503d867 100644 --- a/batch/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolAdd_CloudServiceConfiguration.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "pool": { @@ -10,8 +10,7 @@ "osFamily": "4" }, "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, + "targetDedicated":5, "maxTasksPerNode":3, "taskSchedulingPolicy": { "nodeFillType":"spread" diff --git a/batch/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json similarity index 90% rename from batch/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json index 4b901ba4ec2c..37d68f070561 100644 --- a/batch/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolAdd_VirtualMachineConfiguration.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "pool": { @@ -15,8 +15,7 @@ "nodeAgentSKUId": "batch.node.ubuntu 16.04" }, "resizeTimeout":"PT15M", - "targetDedicatedNodes":5, - "targetLowPriorityNodes":0, + "targetDedicated":5, "maxTasksPerNode":3, "taskSchedulingPolicy": { "nodeFillType":"spread" diff --git a/batch/2017-05-01.5.0/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolDelete.json similarity index 85% rename from batch/2017-05-01.5.0/examples/PoolDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolDelete.json index 7aa8a7922832..291ec9d4c156 100644 --- a/batch/2017-05-01.5.0/examples/PoolDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolEnableAutoscale.json similarity index 90% rename from batch/2017-05-01.5.0/examples/PoolEnableAutoscale.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolEnableAutoscale.json index e98bb5c492bb..ad4f5ab36c4a 100644 --- a/batch/2017-05-01.5.0/examples/PoolEnableAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolEnableAutoscale.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json similarity index 92% rename from batch/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json index d87b58e9f8ed..f349a11851d4 100644 --- a/batch/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolEvaluateAutoscale.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json similarity index 96% rename from batch/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json index dbf7a85c376a..66a6f825a84e 100644 --- a/batch/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolGetLifetimeStatistics.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolGet_Basic.json similarity index 89% rename from batch/2017-05-01.5.0/examples/PoolGet_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolGet_Basic.json index 07c45f1d85cc..de9588a32e5a 100644 --- a/batch/2017-05-01.5.0/examples/PoolGet_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolGet_Basic.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "pool", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" @@ -19,10 +19,8 @@ "allocationStateTransitionTime": "2016-11-22T18:55:24.8154041Z", "vmSize": "standard_a1", "resizeTimeout": "PT15M", - "currentDedicatedNodes": 0, - "currentLowPriorityNodes": 0, - "targetDedicatedNodes": 0, - "targetLowPriorityNodes": 0, + "currentDedicated": 0, + "targetDedicated": 0, "enableAutoScale": false, "enableInterNodeCommunication": false, "startTask": { diff --git a/batch/2017-05-01.5.0/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolListUsageMetrics.json similarity index 95% rename from batch/2017-05-01.5.0/examples/PoolListUsageMetrics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolListUsageMetrics.json index 727dec37bec3..edb909a0ed4d 100644 --- a/batch/2017-05-01.5.0/examples/PoolListUsageMetrics.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolListUsageMetrics.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, diff --git a/batch/2017-05-01.5.0/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolList_Basic.json similarity index 88% rename from batch/2017-05-01.5.0/examples/PoolList_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolList_Basic.json index b6f6bfabb85e..3a0c9d4d46ed 100644 --- a/batch/2017-05-01.5.0/examples/PoolList_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolList_Basic.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" }, @@ -20,10 +20,8 @@ "allocationStateTransitionTime": "2016-11-21T18:27:40.287803Z", "vmSize": "small", "resizeTimeout": "PT15M", - "currentDedicatedNodes": 3, - "currentLowPriorityNodes": 0, - "targetDedicatedNodes": 3, - "targetLowPriorityNodes": 0, + "currentDedicated": 3, + "targetDedicated": 3, "enableAutoScale": false, "enableInterNodeCommunication": false, "startTask": { diff --git a/batch/2017-05-01.5.0/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolRemoveNodes.json similarity index 90% rename from batch/2017-05-01.5.0/examples/PoolRemoveNodes.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolRemoveNodes.json index 41c0edc21c74..39e38639f343 100644 --- a/batch/2017-05-01.5.0/examples/PoolRemoveNodes.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolRemoveNodes.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolResize.json similarity index 71% rename from batch/2017-05-01.5.0/examples/PoolResize.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolResize.json index 4205f4fc1072..d950ce2f5a92 100644 --- a/batch/2017-05-01.5.0/examples/PoolResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolResize.json @@ -1,12 +1,11 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "resizePool", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", "poolResizeParameter": { - "targetDedicatedNodes": 1, - "targetLowPriorityNodes": 0 + "targetDedicated": 1 } }, "responses": { diff --git a/batch/2017-05-01.5.0/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolStopResize.json similarity index 85% rename from batch/2017-05-01.5.0/examples/PoolStopResize.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolStopResize.json index 7aa8a7922832..291ec9d4c156 100644 --- a/batch/2017-05-01.5.0/examples/PoolStopResize.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolStopResize.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolUpdate.json similarity index 92% rename from batch/2017-05-01.5.0/examples/PoolUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolUpdate.json index 7cd7365c25e0..0cd0554faba0 100644 --- a/batch/2017-05-01.5.0/examples/PoolUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/PoolUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "poolId": "poolId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAddCollection_Basic.json similarity index 96% rename from batch/2017-05-01.5.0/examples/TaskAddCollection_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAddCollection_Basic.json index 7819743ed38a..831eee286aa7 100644 --- a/batch/2017-05-01.5.0/examples/TaskAddCollection_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAddCollection_Basic.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAddCollection_Complex.json similarity index 98% rename from batch/2017-05-01.5.0/examples/TaskAddCollection_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAddCollection_Complex.json index a0f63ed022fd..b9e50d5209b1 100644 --- a/batch/2017-05-01.5.0/examples/TaskAddCollection_Complex.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAddCollection_Complex.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAdd_Basic.json similarity index 89% rename from batch/2017-05-01.5.0/examples/TaskAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAdd_Basic.json index eae5c0a8484b..31020aaa3660 100644 --- a/batch/2017-05-01.5.0/examples/TaskAdd_Basic.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAdd_Basic.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json similarity index 94% rename from batch/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json index 9024474df9a4..06a461d670a3 100644 --- a/batch/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskAdd_ExitConditions.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT", diff --git a/batch/2017-05-01.5.0/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskDelete.json similarity index 86% rename from batch/2017-05-01.5.0/examples/TaskDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskDelete.json index a6d1cb9cb256..dcc6788d32af 100644 --- a/batch/2017-05-01.5.0/examples/TaskDelete.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskGet.json similarity index 97% rename from batch/2017-05-01.5.0/examples/TaskGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskGet.json index 8dc4ef8807aa..48b4cb0389ad 100644 --- a/batch/2017-05-01.5.0/examples/TaskGet.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskList.json similarity index 98% rename from batch/2017-05-01.5.0/examples/TaskList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskList.json index 552bd0f171a6..1dd23be937e2 100644 --- a/batch/2017-05-01.5.0/examples/TaskList.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "client-request-id": "00000000-0000-0000-0000-000000000000", "ocp-data": "Fri, 17 Feb 2017 00:00:00 GMT" diff --git a/batch/2017-05-01.5.0/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskListSubtasks.json similarity index 98% rename from batch/2017-05-01.5.0/examples/TaskListSubtasks.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskListSubtasks.json index 6c332dd495b9..ead6fef7c89c 100644 --- a/batch/2017-05-01.5.0/examples/TaskListSubtasks.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskListSubtasks.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskReactivate.json similarity index 86% rename from batch/2017-05-01.5.0/examples/TaskReactivate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskReactivate.json index 3918f7257910..37cd57df63b5 100644 --- a/batch/2017-05-01.5.0/examples/TaskReactivate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskReactivate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskTerminate.json similarity index 86% rename from batch/2017-05-01.5.0/examples/TaskTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskTerminate.json index 3918f7257910..37cd57df63b5 100644 --- a/batch/2017-05-01.5.0/examples/TaskTerminate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskTerminate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-05-01.5.0/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskUpdate.json similarity index 91% rename from batch/2017-05-01.5.0/examples/TaskUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskUpdate.json index d3a1da15aab2..1698e7578413 100644 --- a/batch/2017-05-01.5.0/examples/TaskUpdate.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-05-01.5.0/examples/TaskUpdate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2017-05-01.5.0", + "api-version": "2017-01-01.4.0", "jobId": "jobId", "taskId": "taskId", "client-request-id": "00000000-0000-0000-0000-000000000000", diff --git a/batch/2017-06-01.5.1/swagger/BatchService.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/BatchService.json similarity index 99% rename from batch/2017-06-01.5.1/swagger/BatchService.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/BatchService.json index 07ea6cf111be..36589188ec50 100644 --- a/batch/2017-06-01.5.1/swagger/BatchService.json +++ b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/BatchService.json @@ -247,7 +247,7 @@ }, "operationId": "Pool_ListUsageMetrics", "x-ms-examples": { - "Pool list usage metrics": { "$ref": "../examples/PoolListUsageMetrics.json" } + "Pool list usage metrics": { "$ref": "./examples/PoolListUsageMetrics.json" } }, "summary": "Lists the usage metrics, aggregated by pool across individual time intervals, for the specified account.", "description": "If you do not specify a $filter clause including a poolId, the response includes all pools that existed in the account in the time range of the returned aggregation intervals.", @@ -399,7 +399,7 @@ }, "operationId": "Account_ListNodeAgentSkus", "x-ms-examples": { - "Account list node agent skus": { "$ref": "../examples/AccountListNodeAgentSkus.json" } + "Account list node agent skus": { "$ref": "./examples/AccountListNodeAgentSkus.json" } }, "summary": "Lists all node agent SKUs supported by the Azure Batch service.", "x-ms-request-id": "request-id", @@ -523,7 +523,7 @@ ], "operationId": "Pool_GetAllLifetimeStatistics", "x-ms-examples": { - "Pool get lifetime statistics": { "$ref": "../examples/PoolGetLifetimeStatistics.json" } + "Pool get lifetime statistics": { "$ref": "./examples/PoolGetLifetimeStatistics.json" } }, "summary": "Gets lifetime summary statistics for all of the pools in the specified account.", "description": "Statistics are aggregated across all pools that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -623,7 +623,7 @@ ], "operationId": "Job_GetAllLifetimeStatistics", "x-ms-examples": { - "Job get lifetime statistics": { "$ref": "../examples/JobGetLifetimeStatistics.json" } + "Job get lifetime statistics": { "$ref": "./examples/JobGetLifetimeStatistics.json" } }, "summary": "Gets lifetime summary statistics for all of the jobs in the specified account.", "description": "Statistics are aggregated across all jobs that have ever existed in the account, from account creation to the last update time of the statistics.", @@ -723,7 +723,7 @@ ], "operationId": "Certificate_Add", "x-ms-examples": { - "Certificate add": { "$ref": "../examples/CertificateAdd.json" } + "Certificate add": { "$ref": "./examples/CertificateAdd.json" } }, "summary": "Adds a certificate to the specified account.", "x-ms-request-id": "request-id", @@ -833,7 +833,7 @@ }, "operationId": "Certificate_List", "x-ms-examples": { - "Certificate list": { "$ref": "../examples/CertificateList.json" } + "Certificate list": { "$ref": "./examples/CertificateList.json" } }, "summary": "Lists all of the certificates that have been added to the specified account.", "x-ms-request-id": "request-id", @@ -967,7 +967,7 @@ ], "operationId": "Certificate_CancelDeletion", "x-ms-examples": { - "Certificate cancel delete": { "$ref": "../examples/CertificateCancelDelete.json" } + "Certificate cancel delete": { "$ref": "./examples/CertificateCancelDelete.json" } }, "summary": "Cancels a failed deletion of a certificate from the specified account.", "description": "If you try to delete a certificate that is being used by a pool or compute node, the status of the certificate changes to deleteFailed. If you decide that you want to continue using the certificate, you can use this operation to set the status of the certificate back to active. If you intend to delete the certificate, you do not need to run this operation after the deletion failed. You must make sure that the certificate is not being used by any resources, and then you can try again to delete the certificate.", @@ -1082,7 +1082,7 @@ ], "operationId": "Certificate_Delete", "x-ms-examples": { - "Certificate delete": { "$ref": "../examples/CertificateDelete.json" } + "Certificate delete": { "$ref": "./examples/CertificateDelete.json" } }, "summary": "Deletes a certificate from the specified account.", "description": "You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can delete a certificate, you must therefore make sure that the certificate is not associated with any existing pools, the certificate is not installed on any compute nodes (even if you remove a certificate from a pool, it is not removed from existing compute nodes in that pool until they restart), and no running tasks depend on the certificate. If you try to delete a certificate that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use Cancel Delete Certificate to set the status back to active if you decide that you want to continue using the certificate.", @@ -1191,7 +1191,7 @@ ], "operationId": "Certificate_Get", "x-ms-examples": { - "Certificate get": { "$ref": "../examples/CertificateGet.json" } + "Certificate get": { "$ref": "./examples/CertificateGet.json" } }, "description": "Gets information about the specified certificate.", "x-ms-request-id": "request-id", @@ -1314,7 +1314,7 @@ ], "operationId": "File_DeleteFromTask", "x-ms-examples": { - "File delete from task": { "$ref": "../examples/FileDeleteFromTask.json" } + "File delete from task": { "$ref": "./examples/FileDeleteFromTask.json" } }, "summary": "Deletes the specified task file from the compute node where the task ran.", "x-ms-request-id": "request-id", @@ -1598,7 +1598,7 @@ ], "operationId": "File_GetPropertiesFromTask", "x-ms-examples": { - "File get properties from task": { "$ref": "../examples/FileGetPropertiesFromTask.json" } + "File get properties from task": { "$ref": "./examples/FileGetPropertiesFromTask.json" } }, "description": "Gets the properties of the specified task file.", "x-ms-request-id": "request-id", @@ -1763,7 +1763,7 @@ ], "operationId": "File_DeleteFromComputeNode", "x-ms-examples": { - "File delete from node": { "$ref": "../examples/FileDeleteFromNode.json" } + "File delete from node": { "$ref": "./examples/FileDeleteFromNode.json" } }, "summary": "Deletes the specified file from the compute node.", "x-ms-request-id": "request-id", @@ -2047,7 +2047,7 @@ ], "operationId": "File_GetPropertiesFromComputeNode", "x-ms-examples": { - "File get properties from node": { "$ref": "../examples/FileGetPropertiesFromNode.json" } + "File get properties from node": { "$ref": "./examples/FileGetPropertiesFromNode.json" } }, "description": "Gets the properties of the specified compute node file.", "x-ms-request-id": "request-id", @@ -2215,7 +2215,7 @@ }, "operationId": "File_ListFromTask", "x-ms-examples": { - "File list from task": { "$ref": "../examples/FileListFromTask.json" } + "File list from task": { "$ref": "./examples/FileListFromTask.json" } }, "summary": "Lists the files in a task's directory on its compute node.", "x-ms-request-id": "request-id", @@ -2363,7 +2363,7 @@ }, "operationId": "File_ListFromComputeNode", "x-ms-examples": { - "File list from node": { "$ref": "../examples/FileListFromNode.json" } + "File list from node": { "$ref": "./examples/FileListFromNode.json" } }, "summary": "Lists all of the files in task directories on the specified compute node.", "x-ms-request-id": "request-id", @@ -2651,7 +2651,7 @@ ], "operationId": "JobSchedule_Delete", "x-ms-examples": { - "JobSchedule delete": { "$ref": "../examples/JobScheduleDelete.json" } + "JobSchedule delete": { "$ref": "./examples/JobScheduleDelete.json" } }, "summary": "Deletes a job schedule from the specified account.", "description": "When you delete a job schedule, this also deletes all jobs and tasks under that schedule. When tasks are deleted, all the files in their working directories on the compute nodes are also deleted (the retention period is ignored). The job schedule statistics are no longer accessible once the job schedule is deleted, though they are still counted towards account lifetime statistics.", @@ -2784,7 +2784,7 @@ ], "operationId": "JobSchedule_Get", "x-ms-examples": { - "JobSchedule get": { "$ref": "../examples/JobScheduleGet.json" } + "JobSchedule get": { "$ref": "./examples/JobScheduleGet.json" } }, "description": "Gets information about the specified job schedule.", "x-ms-request-id": "request-id", @@ -2950,7 +2950,7 @@ ], "operationId": "JobSchedule_Patch", "x-ms-examples": { - "JobSchedule patch": { "$ref": "../examples/JobSchedulePatch.json" } + "JobSchedule patch": { "$ref": "./examples/JobSchedulePatch.json" } }, "summary": "Updates the properties of the specified job schedule.", "description": "This replaces only the job schedule properties specified in the request. For example, if the schedule property is not specified with this request, then the Batch service will keep the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3107,7 +3107,7 @@ ], "operationId": "JobSchedule_Update", "x-ms-examples": { - "JobSchedule update": { "$ref": "../examples/JobScheduleUpdate.json" } + "JobSchedule update": { "$ref": "./examples/JobScheduleUpdate.json" } }, "summary": "Updates the properties of the specified job schedule.", "description": "This fully replaces all the updateable properties of the job schedule. For example, if the schedule property is not specified with this request, then the Batch service will remove the existing schedule. Changes to a job schedule only impact jobs created by the schedule after the update has taken place; currently running jobs are unaffected.", @@ -3266,7 +3266,7 @@ ], "operationId": "JobSchedule_Disable", "x-ms-examples": { - "JobSchedule disable": { "$ref": "../examples/JobScheduleDisable.json" } + "JobSchedule disable": { "$ref": "./examples/JobScheduleDisable.json" } }, "summary": "Disables a job schedule.", "description": "No new jobs will be created until the job schedule is enabled again.", @@ -3416,7 +3416,7 @@ ], "operationId": "JobSchedule_Enable", "x-ms-examples": { - "JobSchedule enable": { "$ref": "../examples/JobScheduleEnable.json" } + "JobSchedule enable": { "$ref": "./examples/JobScheduleEnable.json" } }, "summary": "Enables a job schedule.", "x-ms-request-id": "request-id", @@ -3565,7 +3565,7 @@ ], "operationId": "JobSchedule_Terminate", "x-ms-examples": { - "JobSchedule terminate": { "$ref": "../examples/JobScheduleTerminate.json" } + "JobSchedule terminate": { "$ref": "./examples/JobScheduleTerminate.json" } }, "summary": "Terminates a job schedule.", "x-ms-request-id": "request-id", @@ -3714,8 +3714,8 @@ ], "operationId": "JobSchedule_Add", "x-ms-examples": { - "Add a basic JobSchedule": { "$ref": "../examples/JobScheduleAdd_Basic.json" }, - "Add a complex JobScheduleAdd": { "$ref": "../examples/JobScheduleAdd_Complex.json" } + "Add a basic JobSchedule": { "$ref": "./examples/JobScheduleAdd_Basic.json" }, + "Add a complex JobScheduleAdd": { "$ref": "./examples/JobScheduleAdd_Complex.json" } }, "summary": "Adds a job schedule to the specified account.", "x-ms-request-id": "request-id", @@ -3825,7 +3825,7 @@ }, "operationId": "JobSchedule_List", "x-ms-examples": { - "JobSchedule list": { "$ref": "../examples/JobScheduleList.json" } + "JobSchedule list": { "$ref": "./examples/JobScheduleList.json" } }, "summary": "Lists all of the job schedules in the specified account.", "x-ms-request-id": "request-id", @@ -4099,7 +4099,7 @@ ], "operationId": "Job_Get", "x-ms-examples": { - "Job get": { "$ref": "../examples/JobGet.json" } + "Job get": { "$ref": "./examples/JobGet.json" } }, "summary": "Gets information about the specified job.", "x-ms-request-id": "request-id", @@ -4265,7 +4265,7 @@ ], "operationId": "Job_Patch", "x-ms-examples": { - "Job patch": { "$ref": "../examples/JobPatch.json" } + "Job patch": { "$ref": "./examples/JobPatch.json" } }, "summary": "Updates the properties of the specified job.", "description": "This replaces only the job properties specified in the request. For example, if the job has constraints, and a request does not specify the constraints element, then the job keeps the existing constraints.", @@ -4422,7 +4422,7 @@ ], "operationId": "Job_Update", "x-ms-examples": { - "Job update": { "$ref": "../examples/JobUpdate.json" } + "Job update": { "$ref": "./examples/JobUpdate.json" } }, "summary": "Updates the properties of the specified job.", "description": "This fully replaces all the updateable properties of the job. For example, if the job has constraints associated with it and if constraints is not specified with this request, then the Batch service will remove the existing constraints.", @@ -4581,7 +4581,7 @@ ], "operationId": "Job_Disable", "x-ms-examples": { - "Job disable": { "$ref": "../examples/JobDisable.json" } + "Job disable": { "$ref": "./examples/JobDisable.json" } }, "summary": "Disables the specified job, preventing new tasks from running.", "description": "The Batch Service immediately moves the job to the disabling state. Batch then uses the disableTasks parameter to determine what to do with the currently running tasks of the job. The job remains in the disabling state until the disable operation is completed and all tasks have been dealt with according to the disableTasks option; the job then moves to the disabled state. No new tasks are started under the job until it moves back to active state. If you try to disable a job that is in any state other than active, disabling, or disabled, the request fails with status code 409.", @@ -4740,7 +4740,7 @@ ], "operationId": "Job_Enable", "x-ms-examples": { - "Job enable": { "$ref": "../examples/JobEnable.json" } + "Job enable": { "$ref": "./examples/JobEnable.json" } }, "summary": "Enables the specified job, allowing new tasks to run.", "description": "When you call this API, the Batch service sets a disabled job to the enabling state. After the this operation is completed, the job moves to the active state, and scheduling of new tasks under the job resumes. The Batch service does not allow a task to remain in the active state for more than 7 days. Therefore, if you enable a job containing active tasks which were added more than 7 days ago, those tasks will not run.", @@ -4890,7 +4890,7 @@ ], "operationId": "Job_Terminate", "x-ms-examples": { - "Job terminate": { "$ref": "../examples/JobTerminate.json" } + "Job terminate": { "$ref": "./examples/JobTerminate.json" } }, "summary": "Terminates the specified job, marking it as completed.", "description": "When a Terminate Job request is received, the Batch service sets the job to the terminating state. The Batch service then terminates any active or running tasks associated with the job, and runs any required Job Release tasks. The job then moves into the completed state.", @@ -5049,8 +5049,8 @@ ], "operationId": "Job_Add", "x-ms-examples": { - "Add a basic job": { "$ref": "../examples/JobAdd_Basic.json" }, - "Add a complex job": { "$ref": "../examples/JobAdd_Complex.json" } + "Add a basic job": { "$ref": "./examples/JobAdd_Basic.json" }, + "Add a complex job": { "$ref": "./examples/JobAdd_Complex.json" } }, "summary": "Adds a job to the specified account.", "description": "The Batch service supports two ways to control the work done as part of a job. In the first approach, the user specifies a Job Manager task. The Batch service launches this task when it is ready to start the job. The Job Manager task controls all other tasks that run under this job, by using the Task APIs. In the second approach, the user directly controls the execution of tasks under an active job, by using the Task APIs. Also note: when naming jobs, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5161,7 +5161,7 @@ }, "operationId": "Job_List", "x-ms-examples": { - "Job list": { "$ref": "../examples/JobList.json" } + "Job list": { "$ref": "./examples/JobList.json" } }, "summary": "Lists all of the jobs in the specified account.", "x-ms-request-id": "request-id", @@ -5459,7 +5459,7 @@ }, "operationId": "Job_ListPreparationAndReleaseTaskStatus", "x-ms-examples": { - "Job list preparation and release task status": { "$ref": "../examples/JobListPreparationAndReleaseTaskStatus.json" } + "Job list preparation and release task status": { "$ref": "./examples/JobListPreparationAndReleaseTaskStatus.json" } }, "summary": "Lists the execution status of the Job Preparation and Job Release task for the specified job across the compute nodes where the job has run.", "description": "This API returns the Job Preparation and Job Release task status on all compute nodes that have run the Job Preparation or Job Release task. This includes nodes which have since been removed from the pool. ", @@ -5601,8 +5601,8 @@ ], "operationId": "Pool_Add", "x-ms-examples": { - "Add a CloudServiceConfiguration pool": { "$ref": "../examples/PoolAdd_CloudServiceConfiguration.json" }, - "Add a VirtualMachineConfiguration pool": { "$ref": "../examples/PoolAdd_VirtualMachineConfiguration.json" } + "Add a CloudServiceConfiguration pool": { "$ref": "./examples/PoolAdd_CloudServiceConfiguration.json" }, + "Add a VirtualMachineConfiguration pool": { "$ref": "./examples/PoolAdd_VirtualMachineConfiguration.json" } }, "summary": "Adds a pool to the specified account.", "description": "When naming pools, avoid including sensitive information such as user names or secret project names. This information may appear in telemetry logs accessible to Microsoft Support engineers.", @@ -5713,7 +5713,7 @@ }, "operationId": "Pool_List", "x-ms-examples": { - "Pool list": { "$ref": "../examples/PoolList_Basic.json" } + "Pool list": { "$ref": "./examples/PoolList_Basic.json" } }, "summary": "Lists all of the pools in the specified account.", "x-ms-request-id": "request-id", @@ -5857,7 +5857,7 @@ ], "operationId": "Pool_Delete", "x-ms-examples": { - "Pool delete": { "$ref": "../examples/PoolDelete.json" } + "Pool delete": { "$ref": "./examples/PoolDelete.json" } }, "summary": "Deletes a pool from the specified account.", "description": "When you request that a pool be deleted, the following actions occur: the pool state is set to deleting; any ongoing resize operation on the pool are stopped; the Batch service starts resizing the pool to zero nodes; any tasks running on existing nodes are terminated and requeued (as if a resize pool operation had been requested with the default requeue option); finally, the pool is removed from the system. Because running tasks are requeued, the user can rerun these tasks by updating their job to target a different pool. The tasks can then run on the new pool. If you want to override the requeue behavior, then you should call resize pool explicitly to shrink the pool to zero size before deleting the pool. If you call an Update, Patch or Delete API on a pool in the deleting state, it will fail with HTTP status code 409 with error code PoolBeingDeleted.", @@ -6133,7 +6133,7 @@ ], "operationId": "Pool_Get", "x-ms-examples": { - "Pool get": { "$ref": "../examples/PoolGet_Basic.json" } + "Pool get": { "$ref": "./examples/PoolGet_Basic.json" } }, "description": "Gets information about the specified pool.", "x-ms-request-id": "request-id", @@ -6559,7 +6559,7 @@ ], "operationId": "Pool_EnableAutoScale", "x-ms-examples": { - "Pool enable autoscale": { "$ref": "../examples/PoolEnableAutoscale.json" } + "Pool enable autoscale": { "$ref": "./examples/PoolEnableAutoscale.json" } }, "summary": "Enables automatic scaling for a pool.", "description": "You cannot enable automatic scaling on a pool if a resize operation is in progress on the pool. If automatic scaling of the pool is currently disabled, you must specify a valid autoscale formula as part of the request. If automatic scaling of the pool is already enabled, you may specify a new autoscale formula and/or a new evaluation interval. You cannot call this API for the same pool more than once every 30 seconds.", @@ -6718,7 +6718,7 @@ ], "operationId": "Pool_EvaluateAutoScale", "x-ms-examples": { - "Pool evaluate autoscale": { "$ref": "../examples/PoolEvaluateAutoscale.json" } + "Pool evaluate autoscale": { "$ref": "./examples/PoolEvaluateAutoscale.json" } }, "summary": "Gets the result of evaluating an automatic scaling formula on the pool.", "description": "This API is primarily for validating an autoscale formula, as it simply returns the result without applying the formula to the pool.", @@ -6838,7 +6838,7 @@ ], "operationId": "Pool_Resize", "x-ms-examples": { - "Pool resize": { "$ref": "../examples/PoolResize.json" } + "Pool resize": { "$ref": "./examples/PoolResize.json" } }, "summary": "Changes the number of compute nodes that are assigned to a pool.", "description": "You can only resize a pool when its allocation state is steady. If the pool is already resizing, the request fails with status code 409. When you resize a pool, the pool's allocation state changes from steady to resizing. You cannot resize pools which are configured for automatic scaling. If you try to do this, the Batch service returns an error 409. If you resize a pool downwards, the Batch service chooses which nodes to remove. To remove specific nodes, use the pool remove nodes API instead.", @@ -6997,7 +6997,7 @@ ], "operationId": "Pool_StopResize", "x-ms-examples": { - "Pool stop resize": { "$ref": "../examples/PoolStopResize.json" } + "Pool stop resize": { "$ref": "./examples/PoolStopResize.json" } }, "summary": "Stops an ongoing resize operation on the pool.", "description": "This does not restore the pool to its previous state before the resize operation: it only stops any further changes being made, and the pool maintains its current state. A resize operation need not be an explicit resize pool request; this API can also be used to halt the initial sizing of the pool when it is created.", @@ -7147,7 +7147,7 @@ ], "operationId": "Pool_UpdateProperties", "x-ms-examples": { - "Pool update": { "$ref": "../examples/PoolUpdate.json" } + "Pool update": { "$ref": "./examples/PoolUpdate.json" } }, "summary": "Updates the properties of the specified pool.", "description": "This fully replaces all the updateable properties of the pool. For example, if the pool has a start task associated with it and if start task is not specified with this request, then the Batch service will remove the existing start task.", @@ -7420,7 +7420,7 @@ ], "operationId": "Pool_RemoveNodes", "x-ms-examples": { - "Pool remove nodes": { "$ref": "../examples/PoolRemoveNodes.json" } + "Pool remove nodes": { "$ref": "./examples/PoolRemoveNodes.json" } }, "summary": "Removes compute nodes from the specified pool.", "description": "This operation can only run when the allocation state of the pool is steady. When this operation runs, the allocation state changes from steady to resizing.", @@ -7579,8 +7579,8 @@ ], "operationId": "Task_Add", "x-ms-examples": { - "Add a basic task": { "$ref": "../examples/TaskAdd_Basic.json" }, - "Add a task with exit conditions": { "$ref": "../examples/TaskAdd_ExitConditions.json" } + "Add a basic task": { "$ref": "./examples/TaskAdd_Basic.json" }, + "Add a task with exit conditions": { "$ref": "./examples/TaskAdd_ExitConditions.json" } }, "summary": "Adds a task to the specified job.", "x-ms-request-id": "request-id", @@ -7697,7 +7697,7 @@ }, "operationId": "Task_List", "x-ms-examples": { - "Task list": { "$ref": "../examples/TaskList.json" } + "Task list": { "$ref": "./examples/TaskList.json" } }, "summary": "Lists all of the tasks that are associated with the specified job.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -7849,8 +7849,8 @@ ], "operationId": "Task_AddCollection", "x-ms-examples": { - "Add a basic collection of tasks": { "$ref": "../examples/TaskAddCollection_Basic.json" }, - "Add a complex collection of tasks": { "$ref": "../examples/TaskAddCollection_Complex.json" } + "Add a basic collection of tasks": { "$ref": "./examples/TaskAddCollection_Basic.json" }, + "Add a complex collection of tasks": { "$ref": "./examples/TaskAddCollection_Complex.json" } }, "summary": "Adds a collection of tasks to the specified job.", "description": "Note that each task must have a unique ID. The Batch service may not return the results for each task in the same order the tasks were submitted in this request. If the server times out or the connection is closed during the request, the request may have been partially or fully processed, or not at all. In such cases, the user should re-issue the request. Note that it is up to the user to correctly handle failures when re-issuing a request. For example, you should use the same task ids during a retry so that if the prior operation succeeded, the retry will not create extra tasks unexpectedly.", @@ -7955,7 +7955,7 @@ ], "operationId": "Task_Delete", "x-ms-examples": { - "Task delete": { "$ref": "../examples/TaskDelete.json" } + "Task delete": { "$ref": "./examples/TaskDelete.json" } }, "summary": "Deletes a task from the specified job.", "description": "When a task is deleted, all of the files in its directory on the compute node where it ran are also deleted (regardless of the retention time). For multi-instance tasks, the delete task operation applies synchronously to the primary task; subtasks and their files are then deleted asynchronously in the background.", @@ -8095,7 +8095,7 @@ ], "operationId": "Task_Get", "x-ms-examples": { - "Task get": { "$ref": "../examples/TaskGet.json" } + "Task get": { "$ref": "./examples/TaskGet.json" } }, "summary": "Gets information about the specified task.", "description": "For multi-instance tasks, information such as affinityId, executionInfo and nodeInfo refer to the primary task. Use the list subtasks API to retrieve information about subtasks.", @@ -8273,7 +8273,7 @@ ], "operationId": "Task_Update", "x-ms-examples": { - "Task update": { "$ref": "../examples/TaskUpdate.json" } + "Task update": { "$ref": "./examples/TaskUpdate.json" } }, "description": "Updates the properties of the specified task.", "x-ms-request-id": "request-id", @@ -8438,7 +8438,7 @@ ], "operationId": "Task_ListSubtasks", "x-ms-examples": { - "Task list subtasks": { "$ref": "../examples/TaskListSubtasks.json" } + "Task list subtasks": { "$ref": "./examples/TaskListSubtasks.json" } }, "summary": "Lists all of the subtasks that are associated with the specified multi-instance task.", "description": "If the task is not a multi-instance task then this returns an empty collection.", @@ -8562,7 +8562,7 @@ ], "operationId": "Task_Terminate", "x-ms-examples": { - "Task terminate": { "$ref": "../examples/TaskTerminate.json" } + "Task terminate": { "$ref": "./examples/TaskTerminate.json" } }, "summary": "Terminates the specified task.", "description": "When the task has been terminated, it moves to the completed state. For multi-instance tasks, the terminate task operation applies synchronously to the primary task; subtasks are then terminated asynchronously in the background.", @@ -8719,7 +8719,7 @@ ], "operationId": "Task_Reactivate", "x-ms-examples": { - "Task reactivate": { "$ref": "../examples/TaskReactivate.json" } + "Task reactivate": { "$ref": "./examples/TaskReactivate.json" } }, "summary": "Reactivates the specified task.", "description": "Reactivation makes a task eligible to be retried again up to its maximum retry count. The task's state is changed to active. As the task is no longer in the completed state, any previous exit code or scheduling error is no longer available after reactivation. This will fail for tasks that are not completed or that previously completed successfully (with an exit code of 0). Additionally, this will fail if the job has completed (or is terminating or deleting).", @@ -8876,7 +8876,7 @@ ], "operationId": "ComputeNode_AddUser", "x-ms-examples": { - "Node add user": { "$ref": "../examples/NodeAddUser.json" } + "Node add user": { "$ref": "./examples/NodeAddUser.json" } }, "summary": "Adds a user account to the specified compute node.", "description": "You can add a user account to a node only when it is in the idle or running state.", @@ -9000,7 +9000,7 @@ ], "operationId": "ComputeNode_DeleteUser", "x-ms-examples": { - "Node delete user": { "$ref": "../examples/NodeDeleteUser.json" } + "Node delete user": { "$ref": "./examples/NodeDeleteUser.json" } }, "summary": "Deletes a user account from the specified compute node.", "description": "You can delete a user account to a node only when it is in the idle or running state.", @@ -9105,7 +9105,7 @@ ], "operationId": "ComputeNode_UpdateUser", "x-ms-examples": { - "Node update user": { "$ref": "../examples/NodeUpdateUser.json" } + "Node update user": { "$ref": "./examples/NodeUpdateUser.json" } }, "summary": "Updates the password or expiration time of a user account on the specified compute node.", "description": "This operation replaces of all the updateable properties of the account. For example, if the expiryTime element is not specified, the current value is replaced with the default value, not left unmodified. You can update a user account on a node only when it is in the idle or running state.", @@ -9236,7 +9236,7 @@ ], "operationId": "ComputeNode_Get", "x-ms-examples": { - "Node get": { "$ref": "../examples/NodeGet_Basic.json" } + "Node get": { "$ref": "./examples/NodeGet_Basic.json" } }, "summary": "Gets information about the specified compute node.", "x-ms-request-id": "request-id", @@ -9359,7 +9359,7 @@ ], "operationId": "ComputeNode_Reboot", "x-ms-examples": { - "Node reboot": { "$ref": "../examples/NodeReboot.json" } + "Node reboot": { "$ref": "./examples/NodeReboot.json" } }, "summary": "Restarts the specified compute node.", "description": "You can restart a node only if it is in an idle or running state.", @@ -9483,7 +9483,7 @@ ], "operationId": "ComputeNode_Reimage", "x-ms-examples": { - "Node reimage": { "$ref": "../examples/NodeReimage.json" } + "Node reimage": { "$ref": "./examples/NodeReimage.json" } }, "summary": "Reinstalls the operating system on the specified compute node.", "description": "You can reinstall the operating system on a node only if it is in an idle or running state. This API can be invoked only on pools created with the cloud service configuration property.", @@ -9607,7 +9607,7 @@ ], "operationId": "ComputeNode_DisableScheduling", "x-ms-examples": { - "Node disable scheduling": { "$ref": "../examples/NodeDisableScheduling.json" } + "Node disable scheduling": { "$ref": "./examples/NodeDisableScheduling.json" } }, "summary": "Disables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9730,7 +9730,7 @@ ], "operationId": "ComputeNode_EnableScheduling", "x-ms-examples": { - "Node enable scheduling": { "$ref": "../examples/NodeEnableScheduling.json" } + "Node enable scheduling": { "$ref": "./examples/NodeEnableScheduling.json" } }, "summary": "Enables task scheduling on the specified compute node.", "x-ms-request-id": "request-id", @@ -9844,7 +9844,7 @@ ], "operationId": "ComputeNode_GetRemoteLoginSettings", "x-ms-examples": { - "Node get remote login settings": { "$ref": "../examples/NodeGetRemoteLoginSettings.json" } + "Node get remote login settings": { "$ref": "./examples/NodeGetRemoteLoginSettings.json" } }, "summary": "Gets the settings required for remote login to a compute node.", "description": "Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property.", @@ -10072,7 +10072,7 @@ }, "operationId": "ComputeNode_List", "x-ms-examples": { - "Node list": { "$ref": "../examples/NodeList.json" } + "Node list": { "$ref": "./examples/NodeList.json" } }, "summary": "Lists the compute nodes in the specified pool.", "x-ms-request-id": "request-id", diff --git a/batch/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json similarity index 100% rename from batch/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/AccountListNodeAgentSkus.json diff --git a/batch/2017-06-01.5.1/examples/CertificateAdd.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateAdd.json similarity index 100% rename from batch/2017-06-01.5.1/examples/CertificateAdd.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateAdd.json diff --git a/batch/2017-06-01.5.1/examples/CertificateCancelDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateCancelDelete.json similarity index 100% rename from batch/2017-06-01.5.1/examples/CertificateCancelDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateCancelDelete.json diff --git a/batch/2017-06-01.5.1/examples/CertificateDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateDelete.json similarity index 100% rename from batch/2017-06-01.5.1/examples/CertificateDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateDelete.json diff --git a/batch/2017-06-01.5.1/examples/CertificateGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateGet.json similarity index 100% rename from batch/2017-06-01.5.1/examples/CertificateGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateGet.json diff --git a/batch/2017-06-01.5.1/examples/CertificateList.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateList.json similarity index 100% rename from batch/2017-06-01.5.1/examples/CertificateList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/CertificateList.json diff --git a/batch/2017-06-01.5.1/examples/FileDeleteFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileDeleteFromNode.json similarity index 100% rename from batch/2017-06-01.5.1/examples/FileDeleteFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileDeleteFromNode.json diff --git a/batch/2017-06-01.5.1/examples/FileDeleteFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileDeleteFromTask.json similarity index 100% rename from batch/2017-06-01.5.1/examples/FileDeleteFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileDeleteFromTask.json diff --git a/batch/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json similarity index 100% rename from batch/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileGetPropertiesFromNode.json diff --git a/batch/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json similarity index 100% rename from batch/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileGetPropertiesFromTask.json diff --git a/batch/2017-06-01.5.1/examples/FileListFromNode.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileListFromNode.json similarity index 100% rename from batch/2017-06-01.5.1/examples/FileListFromNode.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileListFromNode.json diff --git a/batch/2017-06-01.5.1/examples/FileListFromTask.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileListFromTask.json similarity index 100% rename from batch/2017-06-01.5.1/examples/FileListFromTask.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/FileListFromTask.json diff --git a/batch/2017-06-01.5.1/examples/JobAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobAdd_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobAdd_Basic.json diff --git a/batch/2017-06-01.5.1/examples/JobAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobAdd_Complex.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobAdd_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobAdd_Complex.json diff --git a/batch/2017-06-01.5.1/examples/JobDisable.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobDisable.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobDisable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobDisable.json diff --git a/batch/2017-06-01.5.1/examples/JobEnable.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobEnable.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobEnable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobEnable.json diff --git a/batch/2017-06-01.5.1/examples/JobGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobGet.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobGet.json diff --git a/batch/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobGetLifetimeStatistics.json diff --git a/batch/2017-06-01.5.1/examples/JobList.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobList.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobList.json diff --git a/batch/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobListPreparationAndReleaseTaskStatus.json diff --git a/batch/2017-06-01.5.1/examples/JobPatch.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobPatch.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobPatch.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobPatch.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleAdd_Basic.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleAdd_Complex.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleDelete.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleDelete.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleDisable.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleDisable.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleDisable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleDisable.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleEnable.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleEnable.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleEnable.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleEnable.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleGet.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleGet.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleList.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleList.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleList.json diff --git a/batch/2017-06-01.5.1/examples/JobSchedulePatch.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobSchedulePatch.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobSchedulePatch.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobSchedulePatch.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleTerminate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleTerminate.json diff --git a/batch/2017-06-01.5.1/examples/JobScheduleUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleUpdate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobScheduleUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobScheduleUpdate.json diff --git a/batch/2017-06-01.5.1/examples/JobTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobTerminate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobTerminate.json diff --git a/batch/2017-06-01.5.1/examples/JobUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobUpdate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/JobUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/JobUpdate.json diff --git a/batch/2017-06-01.5.1/examples/NodeAddUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeAddUser.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeAddUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeAddUser.json diff --git a/batch/2017-06-01.5.1/examples/NodeDeleteUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeDeleteUser.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeDeleteUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeDeleteUser.json diff --git a/batch/2017-06-01.5.1/examples/NodeDisableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeDisableScheduling.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeDisableScheduling.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeDisableScheduling.json diff --git a/batch/2017-06-01.5.1/examples/NodeEnableScheduling.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeEnableScheduling.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeEnableScheduling.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeEnableScheduling.json diff --git a/batch/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeGetRemoteLoginSettings.json diff --git a/batch/2017-06-01.5.1/examples/NodeGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeGet_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeGet_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeGet_Basic.json diff --git a/batch/2017-06-01.5.1/examples/NodeList.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeList.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeList.json diff --git a/batch/2017-06-01.5.1/examples/NodeReboot.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeReboot.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeReboot.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeReboot.json diff --git a/batch/2017-06-01.5.1/examples/NodeReimage.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeReimage.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeReimage.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeReimage.json diff --git a/batch/2017-06-01.5.1/examples/NodeUpdateUser.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeUpdateUser.json similarity index 100% rename from batch/2017-06-01.5.1/examples/NodeUpdateUser.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/NodeUpdateUser.json diff --git a/batch/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolAdd_CloudServiceConfiguration.json diff --git a/batch/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolAdd_VirtualMachineConfiguration.json diff --git a/batch/2017-06-01.5.1/examples/PoolDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolDelete.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolDelete.json diff --git a/batch/2017-06-01.5.1/examples/PoolEnableAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolEnableAutoscale.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolEnableAutoscale.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolEnableAutoscale.json diff --git a/batch/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolEvaluateAutoscale.json diff --git a/batch/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolGetLifetimeStatistics.json diff --git a/batch/2017-06-01.5.1/examples/PoolGet_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolGet_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolGet_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolGet_Basic.json diff --git a/batch/2017-06-01.5.1/examples/PoolListUsageMetrics.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolListUsageMetrics.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolListUsageMetrics.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolListUsageMetrics.json diff --git a/batch/2017-06-01.5.1/examples/PoolList_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolList_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolList_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolList_Basic.json diff --git a/batch/2017-06-01.5.1/examples/PoolRemoveNodes.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolRemoveNodes.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolRemoveNodes.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolRemoveNodes.json diff --git a/batch/2017-06-01.5.1/examples/PoolResize.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolResize.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolResize.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolResize.json diff --git a/batch/2017-06-01.5.1/examples/PoolStopResize.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolStopResize.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolStopResize.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolStopResize.json diff --git a/batch/2017-06-01.5.1/examples/PoolUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolUpdate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/PoolUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/PoolUpdate.json diff --git a/batch/2017-06-01.5.1/examples/TaskAddCollection_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAddCollection_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskAddCollection_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAddCollection_Basic.json diff --git a/batch/2017-06-01.5.1/examples/TaskAddCollection_Complex.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAddCollection_Complex.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskAddCollection_Complex.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAddCollection_Complex.json diff --git a/batch/2017-06-01.5.1/examples/TaskAdd_Basic.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAdd_Basic.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskAdd_Basic.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAdd_Basic.json diff --git a/batch/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskAdd_ExitConditions.json diff --git a/batch/2017-06-01.5.1/examples/TaskDelete.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskDelete.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskDelete.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskDelete.json diff --git a/batch/2017-06-01.5.1/examples/TaskGet.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskGet.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskGet.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskGet.json diff --git a/batch/2017-06-01.5.1/examples/TaskList.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskList.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskList.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskList.json diff --git a/batch/2017-06-01.5.1/examples/TaskListSubtasks.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskListSubtasks.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskListSubtasks.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskListSubtasks.json diff --git a/batch/2017-06-01.5.1/examples/TaskReactivate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskReactivate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskReactivate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskReactivate.json diff --git a/batch/2017-06-01.5.1/examples/TaskTerminate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskTerminate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskTerminate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskTerminate.json diff --git a/batch/2017-06-01.5.1/examples/TaskUpdate.json b/specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskUpdate.json similarity index 100% rename from batch/2017-06-01.5.1/examples/TaskUpdate.json rename to specification/batch/data-plane/Microsoft.Batch/2017-06-01.5.1/examples/TaskUpdate.json diff --git a/specification/batch/data-plane/readme.md b/specification/batch/data-plane/readme.md new file mode 100644 index 000000000000..7ec348a62579 --- /dev/null +++ b/specification/batch/data-plane/readme.md @@ -0,0 +1,100 @@ +# Batch + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Batch. + + + +--- +## Getting Started +To build the SDK for Batch, 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 Batch API. + +``` yaml +openapi-type: data-plane +tag: package-2017-06.5.1 +``` + + +### Tag: package-2017-06.5.1 + +These settings apply only when `--tag=package-2017-06.5.1` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06.5.1' +input-file: +- Microsoft.Batch/2017-06-01.5.1/BatchService.json +``` + + +### Tag: package-2017-05.5.0 + +These settings apply only when `--tag=package-2017-05.5.0` is specified on the command line. + +``` yaml $(tag) == 'package-2017-05.5.0' +input-file: +- Microsoft.Batch/2017-05-01.5.0/BatchService.json +``` + + +### Tag: package-2017-01.4.0 + +These settings apply only when `--tag=package-2017-01.4.0` is specified on the command line. + +``` yaml $(tag) == 'package-2017-01.4.0' +input-file: +- Microsoft.Batch/2017-01-01.4.0/BatchService.json +``` + +### Tag: package-2016-07.3.1 + +These settings apply only when `--tag=package-2016-07.3.1` is specified on the command line. + +``` yaml $(tag) == 'package-2016-07.3.1' +input-file: +- Microsoft.Batch/2016-07-01.3.1/BatchService.json +``` + +### Tag: package-2016-02.3.0 + +These settings apply only when `--tag=package-2016-02.3.0` is specified on the command line. + +``` yaml $(tag) == 'package-2016-02.3.0' +input-file: +- Microsoft.Batch/2016-02-01.3.0/BatchService.json +``` + +### Tag: package-2015-12.2.2 + +These settings apply only when `--tag=package-2015-12.2.2` is specified on the command line. + +``` yaml $(tag) == 'package-2015-12.2.2' +input-file: +- Microsoft.Batch/2015-12-01.2.2/BatchService.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-batch/2015-12-01/swagger/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/2015-12-01/BatchManagement.json similarity index 100% rename from arm-batch/2015-12-01/swagger/BatchManagement.json rename to specification/batch/resource-manager/Microsoft.Batch/2015-12-01/BatchManagement.json diff --git a/arm-batch/2017-01-01/swagger/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/2017-01-01/BatchManagement.json similarity index 99% rename from arm-batch/2017-01-01/swagger/BatchManagement.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-01-01/BatchManagement.json index 70b86710d7d2..2107873692f3 100644 --- a/arm-batch/2017-01-01/swagger/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/2017-01-01/BatchManagement.json @@ -43,8 +43,8 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "../examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "../examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, + "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -174,7 +174,7 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "../examples/BatchAccountDelete.json" } + "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -236,7 +236,7 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "../examples/BatchAccountGet.json" } + "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } }, "description": "Gets information about the specified Batch account.", "parameters": [ @@ -1574,4 +1574,4 @@ "description": "The API version to be used with the HTTP request." } } -} \ No newline at end of file +} diff --git a/arm-batch/2017-01-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountCreate_BYOS.json similarity index 100% rename from arm-batch/2017-01-01/examples/BatchAccountCreate_BYOS.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountCreate_BYOS.json diff --git a/arm-batch/2017-01-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountCreate_Default.json similarity index 100% rename from arm-batch/2017-01-01/examples/BatchAccountCreate_Default.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountCreate_Default.json diff --git a/arm-batch/2017-01-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountDelete.json similarity index 100% rename from arm-batch/2017-01-01/examples/BatchAccountDelete.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountDelete.json diff --git a/arm-batch/2017-01-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountGet.json similarity index 100% rename from arm-batch/2017-01-01/examples/BatchAccountGet.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-01-01/examples/BatchAccountGet.json diff --git a/arm-batch/2017-05-01/swagger/BatchManagement.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/BatchManagement.json similarity index 98% rename from arm-batch/2017-05-01/swagger/BatchManagement.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/BatchManagement.json index c0fe08f91444..3052b1157c59 100644 --- a/arm-batch/2017-05-01/swagger/BatchManagement.json +++ b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/BatchManagement.json @@ -43,8 +43,8 @@ ], "operationId": "BatchAccount_Create", "x-ms-examples": { - "BatchAccountCreate_Default": { "$ref": "../examples/BatchAccountCreate_Default.json" }, - "BatchAccountCreate_BYOS": { "$ref": "../examples/BatchAccountCreate_BYOS.json" } + "BatchAccountCreate_Default": { "$ref": "./examples/BatchAccountCreate_Default.json" }, + "BatchAccountCreate_BYOS": { "$ref": "./examples/BatchAccountCreate_BYOS.json" } }, "description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.", "parameters": [ @@ -113,7 +113,7 @@ ], "operationId": "BatchAccount_Update", "x-ms-examples": { - "BatchAccountUpdate": { "$ref": "../examples/BatchAccountUpdate.json" } + "BatchAccountUpdate": { "$ref": "./examples/BatchAccountUpdate.json" } }, "description": "Updates the properties of an existing Batch account.", "parameters": [ @@ -160,7 +160,7 @@ ], "operationId": "BatchAccount_Delete", "x-ms-examples": { - "BatchAccountDelete": { "$ref": "../examples/BatchAccountDelete.json" } + "BatchAccountDelete": { "$ref": "./examples/BatchAccountDelete.json" } }, "description": "Deletes the specified Batch account.", "parameters": [ @@ -213,7 +213,7 @@ ], "operationId": "BatchAccount_Get", "x-ms-examples": { - "BatchAccountGet": { "$ref": "../examples/BatchAccountGet.json" } + "BatchAccountGet": { "$ref": "./examples/BatchAccountGet.json" } }, "description": "Gets information about the specified Batch account.", "parameters": [ @@ -253,7 +253,7 @@ ], "operationId": "BatchAccount_List", "x-ms-examples": { - "BatchAccountList": { "$ref": "../examples/BatchAccountList.json" } + "BatchAccountList": { "$ref": "./examples/BatchAccountList.json" } }, "description": "Gets information about the Batch accounts associated with the subscription.", "parameters": [ @@ -290,7 +290,7 @@ ], "operationId": "BatchAccount_ListByResourceGroup", "x-ms-examples": { - "BatchAccountListByResourceGroup": { "$ref": "../examples/BatchAccountListByResourceGroup.json" } + "BatchAccountListByResourceGroup": { "$ref": "./examples/BatchAccountListByResourceGroup.json" } }, "description": "Gets information about the Batch accounts associated with the specified resource group.", "parameters": [ @@ -364,7 +364,7 @@ ], "operationId": "BatchAccount_RegenerateKey", "x-ms-examples": { - "BatchAccountRegenerateKey": { "$ref": "../examples/BatchAccountRegenerateKey.json" } + "BatchAccountRegenerateKey": { "$ref": "./examples/BatchAccountRegenerateKey.json" } }, "description": "Regenerates the specified account key for the Batch account.", "parameters": [ @@ -413,7 +413,7 @@ ], "operationId": "BatchAccount_GetKeys", "x-ms-examples": { - "BatchAccountGetKeys": { "$ref": "../examples/BatchAccountGetKeys.json" } + "BatchAccountGetKeys": { "$ref": "./examples/BatchAccountGetKeys.json" } }, "summary": "Gets the account keys for the specified Batch account.", "description": "This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.", @@ -887,7 +887,7 @@ ], "operationId": "Location_GetQuotas", "x-ms-examples": { - "LocationGetQuotas": { "$ref": "../examples/LocationGetQuotas.json" } + "LocationGetQuotas": { "$ref": "./examples/LocationGetQuotas.json" } }, "description": "Gets the Batch service quotas for the specified subscription at the given location.", "parameters": [ @@ -1534,4 +1534,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/arm-batch/2017-05-01/examples/BatchAccountCreate_BYOS.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountCreate_BYOS.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountCreate_BYOS.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountCreate_BYOS.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountCreate_Default.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountCreate_Default.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountCreate_Default.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountCreate_Default.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountDelete.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountDelete.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountDelete.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountDelete.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountGet.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountGet.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountGet.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountGet.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountGetKeys.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountGetKeys.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountGetKeys.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountGetKeys.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountList.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountList.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountList.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountList.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountListByResourceGroup.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountListByResourceGroup.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountListByResourceGroup.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountListByResourceGroup.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountRegenerateKey.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountRegenerateKey.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountRegenerateKey.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountRegenerateKey.json diff --git a/arm-batch/2017-05-01/examples/BatchAccountUpdate.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountUpdate.json similarity index 100% rename from arm-batch/2017-05-01/examples/BatchAccountUpdate.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/BatchAccountUpdate.json diff --git a/arm-batch/2017-05-01/examples/LocationGetQuotas.json b/specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/LocationGetQuotas.json similarity index 100% rename from arm-batch/2017-05-01/examples/LocationGetQuotas.json rename to specification/batch/resource-manager/Microsoft.Batch/2017-05-01/examples/LocationGetQuotas.json diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md new file mode 100644 index 000000000000..adb353d536a2 --- /dev/null +++ b/specification/batch/resource-manager/readme.md @@ -0,0 +1,72 @@ +# Batch + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Batch. + + + +--- +## Getting Started +To build the SDK for Batch, 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 Batch API. + +``` yaml +openapi-type: arm +tag: package-2017-05 +``` + + +### Tag: package-2017-05 + +These settings apply only when `--tag=package-2017-05` is specified on the command line. + +``` yaml $(tag) == 'package-2017-05' +input-file: +- Microsoft.Batch/2017-05-01/BatchManagement.json +``` + + +### Tag: package-2017-01 + +These settings apply only when `--tag=package-2017-01` is specified on the command line. + +``` yaml $(tag) == 'package-2017-01' +input-file: +- Microsoft.Batch/2017-01-01/BatchManagement.json +``` + +### Tag: package-2015-12 + +These settings apply only when `--tag=package-2015-12` is specified on the command line. + +``` yaml $(tag) == 'package-2015-12' +input-file: +- Microsoft.Batch/2015-12-01/BatchManagement.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-billing/2017-02-27-preview/swagger/billing.json b/specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/billing.json similarity index 98% rename from arm-billing/2017-02-27-preview/swagger/billing.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/billing.json index a3f42327956c..180667c90d81 100644 --- a/arm-billing/2017-02-27-preview/swagger/billing.json +++ b/specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/billing.json @@ -46,10 +46,10 @@ }, "x-ms-examples": { "InvoicesList": { - "$ref": "../examples/InvoicesList.json" + "$ref": "./examples/InvoicesList.json" }, "InvoicesExpand": { - "$ref": "../examples/InvoicesExpand.json" + "$ref": "./examples/InvoicesExpand.json" } }, "parameters": [ @@ -118,7 +118,7 @@ "description": "Gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically.", "x-ms-examples": { "InvoicesGet": { - "$ref": "../examples/InvoicesGet.json" + "$ref": "./examples/InvoicesGet.json" } }, "parameters": [ @@ -161,7 +161,7 @@ "description": "Gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically.", "x-ms-examples": { "InvoicesGetLatest": { - "$ref": "../examples/InvoicesGetLatest.json" + "$ref": "./examples/InvoicesGetLatest.json" } }, "parameters": [ @@ -407,4 +407,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/arm-billing/2017-02-27-preview/examples/InvoicesExpand.json b/specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesExpand.json similarity index 100% rename from arm-billing/2017-02-27-preview/examples/InvoicesExpand.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesExpand.json diff --git a/arm-billing/2017-02-27-preview/examples/InvoicesGet.json b/specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesGet.json similarity index 100% rename from arm-billing/2017-02-27-preview/examples/InvoicesGet.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesGet.json diff --git a/arm-billing/2017-02-27-preview/examples/InvoicesGetLatest.json b/specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesGetLatest.json similarity index 100% rename from arm-billing/2017-02-27-preview/examples/InvoicesGetLatest.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesGetLatest.json diff --git a/arm-billing/2017-02-27-preview/examples/InvoicesList.json b/specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesList.json similarity index 100% rename from arm-billing/2017-02-27-preview/examples/InvoicesList.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-02-27-preview/examples/InvoicesList.json diff --git a/arm-billing/2017-04-24-preview/swagger/billing.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/billing.json similarity index 98% rename from arm-billing/2017-04-24-preview/swagger/billing.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/billing.json index 05eb5119d5fd..47726b6c1721 100644 --- a/arm-billing/2017-04-24-preview/swagger/billing.json +++ b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/billing.json @@ -46,7 +46,7 @@ }, "x-ms-examples": { "BillingPeriodsList": { - "$ref": "../examples/BillingPeriodsList.json" + "$ref": "./examples/BillingPeriodsList.json" } }, "parameters": [ @@ -108,7 +108,7 @@ "description": "Gets a named billing period.", "x-ms-examples": { "BillingPeriodsGet": { - "$ref": "../examples/BillingPeriodsGet.json" + "$ref": "./examples/BillingPeriodsGet.json" } }, "parameters": [ @@ -154,10 +154,10 @@ }, "x-ms-examples": { "InvoicesList": { - "$ref": "../examples/InvoicesList.json" + "$ref": "./examples/InvoicesList.json" }, "InvoicesExpand": { - "$ref": "../examples/InvoicesExpand.json" + "$ref": "./examples/InvoicesExpand.json" } }, "parameters": [ @@ -226,7 +226,7 @@ "description": "Gets a named invoice resource. When getting a single invoice, the downloadUrl property is expanded automatically.", "x-ms-examples": { "InvoicesGet": { - "$ref": "../examples/InvoicesGet.json" + "$ref": "./examples/InvoicesGet.json" } }, "parameters": [ @@ -269,7 +269,7 @@ "description": "Gets the most recent invoice. When getting a single invoice, the downloadUrl property is expanded automatically.", "x-ms-examples": { "InvoicesGetLatest": { - "$ref": "../examples/InvoicesGetLatest.json" + "$ref": "./examples/InvoicesGetLatest.json" } }, "parameters": [ @@ -582,4 +582,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/arm-billing/2017-04-24-preview/examples/BillingPeriodsGet.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/BillingPeriodsGet.json similarity index 100% rename from arm-billing/2017-04-24-preview/examples/BillingPeriodsGet.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/BillingPeriodsGet.json diff --git a/arm-billing/2017-04-24-preview/examples/BillingPeriodsList.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/BillingPeriodsList.json similarity index 100% rename from arm-billing/2017-04-24-preview/examples/BillingPeriodsList.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/BillingPeriodsList.json diff --git a/arm-billing/2017-04-24-preview/examples/InvoicesExpand.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesExpand.json similarity index 100% rename from arm-billing/2017-04-24-preview/examples/InvoicesExpand.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesExpand.json diff --git a/arm-billing/2017-04-24-preview/examples/InvoicesGet.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesGet.json similarity index 100% rename from arm-billing/2017-04-24-preview/examples/InvoicesGet.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesGet.json diff --git a/arm-billing/2017-04-24-preview/examples/InvoicesGetLatest.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesGetLatest.json similarity index 100% rename from arm-billing/2017-04-24-preview/examples/InvoicesGetLatest.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesGetLatest.json diff --git a/arm-billing/2017-04-24-preview/examples/InvoicesList.json b/specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesList.json similarity index 100% rename from arm-billing/2017-04-24-preview/examples/InvoicesList.json rename to specification/billing/resource-manager/Microsoft.Billing/2017-04-24-preview/examples/InvoicesList.json diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md new file mode 100644 index 000000000000..727ac95d5aa2 --- /dev/null +++ b/specification/billing/resource-manager/readme.md @@ -0,0 +1,62 @@ +# Billing + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Billing. + + + +--- +## Getting Started +To build the SDK for Billing, 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 Billing API. + +``` yaml +openapi-type: arm +tag: package-2017-04-preview +``` + + +### Tag: package-2017-04-preview + +These settings apply only when `--tag=package-2017-04-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04-preview' +input-file: +- Microsoft.Billing/2017-04-24-preview/billing.json +``` + +### Tag: package-2017-02-preview + +These settings apply only when `--tag=package-2017-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-02-preview' +input-file: +- Microsoft.Billing/2017-02-27-preview/billing.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-cdn/2015-06-01/swagger/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/2015-06-01/cdn.json similarity index 100% rename from arm-cdn/2015-06-01/swagger/cdn.json rename to specification/cdn/resource-manager/Microsoft.Cdn/2015-06-01/cdn.json diff --git a/arm-cdn/2016-04-02/swagger/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/2016-04-02/cdn.json similarity index 100% rename from arm-cdn/2016-04-02/swagger/cdn.json rename to specification/cdn/resource-manager/Microsoft.Cdn/2016-04-02/cdn.json diff --git a/arm-cdn/2016-10-02/swagger/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/2016-10-02/cdn.json similarity index 100% rename from arm-cdn/2016-10-02/swagger/cdn.json rename to specification/cdn/resource-manager/Microsoft.Cdn/2016-10-02/cdn.json diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md new file mode 100644 index 000000000000..5a7c69318aed --- /dev/null +++ b/specification/cdn/resource-manager/readme.md @@ -0,0 +1,71 @@ +# Cdn + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Cdn. + + + +--- +## Getting Started +To build the SDK for Cdn, 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 Cdn API. + +``` yaml +openapi-type: arm +tag: package-2016-10 +``` + + +### Tag: package-2016-10 + +These settings apply only when `--tag=package-2016-10` is specified on the command line. + +``` yaml $(tag) == 'package-2016-10' +input-file: +- Microsoft.Cdn/2016-10-02/cdn.json +``` + +### Tag: package-2016-04 + +These settings apply only when `--tag=package-2016-04` is specified on the command line. + +``` yaml $(tag) == 'package-2016-04' +input-file: +- Microsoft.Cdn/2016-04-02/cdn.json +``` + +### Tag: package-2015-06 + +These settings apply only when `--tag=package-2015-06` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06' +input-file: +- Microsoft.Cdn/2015-06-01/cdn.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-cognitiveservices/2016-02-01-preview/swagger/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2016-02-01-preview/cognitiveservices.json similarity index 100% rename from arm-cognitiveservices/2016-02-01-preview/swagger/cognitiveservices.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2016-02-01-preview/cognitiveservices.json diff --git a/arm-cognitiveservices/2017-04-18/swagger/cognitiveservices.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/cognitiveservices.json similarity index 98% rename from arm-cognitiveservices/2017-04-18/swagger/cognitiveservices.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/cognitiveservices.json index 9a0b885cba59..381ffbd55fd8 100644 --- a/arm-cognitiveservices/2017-04-18/swagger/cognitiveservices.json +++ b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/cognitiveservices.json @@ -36,7 +36,7 @@ "operationId": "CognitiveServicesAccounts_Create", "x-ms-examples": { "Get Account": { - "$ref": "../examples/CreateAccount.json" + "$ref": "./examples/CreateAccount.json" } }, "parameters": [ @@ -102,7 +102,7 @@ "operationId": "CognitiveServicesAccounts_Update", "x-ms-examples": { "Get Account": { - "$ref": "../examples/UpdateAccount.json" + "$ref": "./examples/UpdateAccount.json" } }, "parameters": [ @@ -163,7 +163,7 @@ "operationId": "CognitiveServicesAccounts_Delete", "x-ms-examples": { "Delete Account": { - "$ref": "../examples/DeleteAccount.json" + "$ref": "./examples/DeleteAccount.json" } }, "parameters": [ @@ -214,7 +214,7 @@ "operationId": "CognitiveServicesAccounts_GetProperties", "x-ms-examples": { "Get Account": { - "$ref": "../examples/GetAccount.json" + "$ref": "./examples/GetAccount.json" } }, "parameters": [ @@ -267,7 +267,7 @@ "operationId": "Accounts_ListByResourceGroup", "x-ms-examples": { "List Accounts by Resource Group": { - "$ref": "../examples/ListAccountsByResourceGroup.json" + "$ref": "./examples/ListAccountsByResourceGroup.json" } }, "parameters": [ @@ -313,7 +313,7 @@ "operationId": "Accounts_List", "x-ms-examples": { "List Accounts by Subscription": { - "$ref": "../examples/ListAccountsBySubscription.json" + "$ref": "./examples/ListAccountsBySubscription.json" } }, "parameters": [ @@ -352,7 +352,7 @@ "description": "Lists the account keys for the specified Cognitive Services account.", "x-ms-examples": { "List Keys": { - "$ref": "../examples/ListKeys.json" + "$ref": "./examples/ListKeys.json" } }, "parameters": [ @@ -405,7 +405,7 @@ "description": "Regenerates the specified account key for the specified Cognitive Services account.", "x-ms-examples": { "Regenerate Keys": { - "$ref": "../examples/RegenerateKey.json" + "$ref": "./examples/RegenerateKey.json" } }, "parameters": [ @@ -467,7 +467,7 @@ "description": "List available SKUs for the requested Cognitive Services account", "x-ms-examples": { "List SKUs": { - "$ref": "../examples/ListSkus.json" + "$ref": "./examples/ListSkus.json" } }, "operationId": "CognitiveServicesAccounts_ListSkus", @@ -519,7 +519,7 @@ "operationId": "Operations_List", "x-ms-examples": { "Get Operations": { - "$ref": "../examples/GetOperations.json" + "$ref": "./examples/GetOperations.json" } }, "parameters": [ @@ -548,7 +548,7 @@ "description": "Check available SKUs.", "x-ms-examples": { "Check SKU Availability": { - "$ref": "../examples/CheckSkuAvailability.json" + "$ref": "./examples/CheckSkuAvailability.json" } }, "parameters": [ @@ -1037,4 +1037,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/arm-cognitiveservices/2017-04-18/examples/CheckSkuAvailability.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/CheckSkuAvailability.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/CheckSkuAvailability.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/CheckSkuAvailability.json diff --git a/arm-cognitiveservices/2017-04-18/examples/CreateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/CreateAccount.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/CreateAccount.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/CreateAccount.json diff --git a/arm-cognitiveservices/2017-04-18/examples/DeleteAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/DeleteAccount.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/DeleteAccount.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/DeleteAccount.json diff --git a/arm-cognitiveservices/2017-04-18/examples/GetAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/GetAccount.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/GetAccount.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/GetAccount.json diff --git a/arm-cognitiveservices/2017-04-18/examples/GetOperations.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/GetOperations.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/GetOperations.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/GetOperations.json diff --git a/arm-cognitiveservices/2017-04-18/examples/ListAccountsByResourceGroup.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListAccountsByResourceGroup.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/ListAccountsByResourceGroup.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListAccountsByResourceGroup.json diff --git a/arm-cognitiveservices/2017-04-18/examples/ListAccountsBySubscription.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListAccountsBySubscription.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/ListAccountsBySubscription.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListAccountsBySubscription.json diff --git a/arm-cognitiveservices/2017-04-18/examples/ListKeys.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListKeys.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/ListKeys.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListKeys.json diff --git a/arm-cognitiveservices/2017-04-18/examples/ListSkus.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListSkus.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/ListSkus.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/ListSkus.json diff --git a/arm-cognitiveservices/2017-04-18/examples/RegenerateKey.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/RegenerateKey.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/RegenerateKey.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/RegenerateKey.json diff --git a/arm-cognitiveservices/2017-04-18/examples/UpdateAccount.json b/specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/UpdateAccount.json similarity index 100% rename from arm-cognitiveservices/2017-04-18/examples/UpdateAccount.json rename to specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/2017-04-18/examples/UpdateAccount.json diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md new file mode 100644 index 000000000000..27af4514238b --- /dev/null +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -0,0 +1,63 @@ +# CognitiveServices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for CognitiveServices. + +# Notice +Microsoft will use data you send to the Cognitive Services to improve Microsoft products and services. Where you send personal data to the Cognitive Services, you are responsible for obtaining sufficient consent from the data subjects. The General Privacy and Security Terms in the Online Services Terms do not apply to the Cognitive Services. Please refer to the Microsoft Cognitive Services section in the [Online Services Terms](https://www.microsoft.com/en-us/Licensing/product-licensing/products.aspx) for details. Microsoft offers policy controls that may be used to [disable new Cognitive Services deployments](https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account). + +--- +## Getting Started +To build the SDK for CognitiveServices, 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 CognitiveServices API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.CognitiveServices/2017-04-18/cognitiveservices.json +``` + +### Tag: package-2016-02-preview + +These settings apply only when `--tag=package-2016-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-02-preview' +input-file: +- Microsoft.CognitiveServices/2016-02-01-preview/cognitiveservices.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-commerce/2015-06-01-preview/swagger/commerce.json b/specification/commerce/resource-manager/Microsoft.Commerce/2015-06-01-preview/commerce.json similarity index 99% rename from arm-commerce/2015-06-01-preview/swagger/commerce.json rename to specification/commerce/resource-manager/Microsoft.Commerce/2015-06-01-preview/commerce.json index eeaa54bd402b..77fe4f64c96b 100644 --- a/arm-commerce/2015-06-01-preview/swagger/commerce.json +++ b/specification/commerce/resource-manager/Microsoft.Commerce/2015-06-01-preview/commerce.json @@ -112,7 +112,7 @@ }, "x-ms-examples": { "GetRateCard": { - "$ref": "../examples/GetRatecard.json" + "$ref": "./examples/GetRatecard.json" } }, "parameters": [ @@ -489,4 +489,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-commerce/2015-06-01-preview/examples/GetRatecard.json b/specification/commerce/resource-manager/Microsoft.Commerce/2015-06-01-preview/examples/GetRatecard.json similarity index 100% rename from arm-commerce/2015-06-01-preview/examples/GetRatecard.json rename to specification/commerce/resource-manager/Microsoft.Commerce/2015-06-01-preview/examples/GetRatecard.json diff --git a/specification/commerce/resource-manager/readme.md b/specification/commerce/resource-manager/readme.md new file mode 100644 index 000000000000..e79ec3b31f6d --- /dev/null +++ b/specification/commerce/resource-manager/readme.md @@ -0,0 +1,53 @@ +# Commerce + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Commerce. + + + +--- +## Getting Started +To build the SDK for Commerce, 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 Commerce API. + +``` yaml +openapi-type: arm +tag: package-2015-06-preview +``` + + +### Tag: package-2015-06-preview + +These settings apply only when `--tag=package-2015-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06-preview' +input-file: +- Microsoft.Commerce/2015-06-01-preview/commerce.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-compute/quickstart-templates/aliases.json b/specification/compute/quickstart-templates/aliases.json similarity index 100% rename from arm-compute/quickstart-templates/aliases.json rename to specification/compute/quickstart-templates/aliases.json diff --git a/arm-compute/quickstart-templates/swagger.json b/specification/compute/quickstart-templates/swagger.json similarity index 100% rename from arm-compute/quickstart-templates/swagger.json rename to specification/compute/quickstart-templates/swagger.json diff --git a/arm-compute/quickstart-templates/vm-simple-linux.json b/specification/compute/quickstart-templates/vm-simple-linux.json similarity index 100% rename from arm-compute/quickstart-templates/vm-simple-linux.json rename to specification/compute/quickstart-templates/vm-simple-linux.json diff --git a/arm-compute/quickstart-templates/vm-simple-windows.json b/specification/compute/quickstart-templates/vm-simple-windows.json similarity index 100% rename from arm-compute/quickstart-templates/vm-simple-windows.json rename to specification/compute/quickstart-templates/vm-simple-windows.json diff --git a/arm-compute/quickstart-templates/vm-simple.json b/specification/compute/quickstart-templates/vm-simple.json similarity index 100% rename from arm-compute/quickstart-templates/vm-simple.json rename to specification/compute/quickstart-templates/vm-simple.json diff --git a/arm-compute/2015-06-15/swagger/compute.json b/specification/compute/resource-manager/Microsoft.Compute/2015-06-15/compute.json similarity index 100% rename from arm-compute/2015-06-15/swagger/compute.json rename to specification/compute/resource-manager/Microsoft.Compute/2015-06-15/compute.json diff --git a/arm-compute/2016-03-30/swagger/compute.json b/specification/compute/resource-manager/Microsoft.Compute/2016-03-30/compute.json similarity index 100% rename from arm-compute/2016-03-30/swagger/compute.json rename to specification/compute/resource-manager/Microsoft.Compute/2016-03-30/compute.json diff --git a/arm-compute/2016-04-30-preview/swagger/compute.json b/specification/compute/resource-manager/Microsoft.Compute/2016-04-30-preview/compute.json similarity index 100% rename from arm-compute/2016-04-30-preview/swagger/compute.json rename to specification/compute/resource-manager/Microsoft.Compute/2016-04-30-preview/compute.json diff --git a/arm-compute/2016-04-30-preview/swagger/disk.json b/specification/compute/resource-manager/Microsoft.Compute/2016-04-30-preview/disk.json similarity index 100% rename from arm-compute/2016-04-30-preview/swagger/disk.json rename to specification/compute/resource-manager/Microsoft.Compute/2016-04-30-preview/disk.json diff --git a/arm-compute/2017-03-30/swagger/compute.json b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/compute.json similarity index 100% rename from arm-compute/2017-03-30/swagger/compute.json rename to specification/compute/resource-manager/Microsoft.Compute/2017-03-30/compute.json diff --git a/arm-compute/2017-03-30/swagger/disk.json b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/disk.json similarity index 100% rename from arm-compute/2017-03-30/swagger/disk.json rename to specification/compute/resource-manager/Microsoft.Compute/2017-03-30/disk.json diff --git a/arm-compute/2017-03-30/examples/VirtualMachineRunCommand.json b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/examples/VirtualMachineRunCommand.json similarity index 100% rename from arm-compute/2017-03-30/examples/VirtualMachineRunCommand.json rename to specification/compute/resource-manager/Microsoft.Compute/2017-03-30/examples/VirtualMachineRunCommand.json diff --git a/arm-compute/2017-03-30/examples/VirtualMachineRunCommandGet.json b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/examples/VirtualMachineRunCommandGet.json similarity index 100% rename from arm-compute/2017-03-30/examples/VirtualMachineRunCommandGet.json rename to specification/compute/resource-manager/Microsoft.Compute/2017-03-30/examples/VirtualMachineRunCommandGet.json diff --git a/arm-compute/2017-03-30/examples/VirtualMachineRunCommandList.json b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/examples/VirtualMachineRunCommandList.json similarity index 100% rename from arm-compute/2017-03-30/examples/VirtualMachineRunCommandList.json rename to specification/compute/resource-manager/Microsoft.Compute/2017-03-30/examples/VirtualMachineRunCommandList.json diff --git a/arm-compute/2017-03-30/swagger/runCommands.json b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/runCommands.json similarity index 97% rename from arm-compute/2017-03-30/swagger/runCommands.json rename to specification/compute/resource-manager/Microsoft.Compute/2017-03-30/runCommands.json index ceab23fb00b8..7f23908f198d 100644 --- a/arm-compute/2017-03-30/swagger/runCommands.json +++ b/specification/compute/resource-manager/Microsoft.Compute/2017-03-30/runCommands.json @@ -43,7 +43,7 @@ ], "operationId": "VirtualMachineRunCommands_List", "x-ms-examples": { - "VirtualMachineRunCommandList": { "$ref": "../examples/VirtualMachineRunCommandList.json" } + "VirtualMachineRunCommandList": { "$ref": "./examples/VirtualMachineRunCommandList.json" } }, "description": "Lists all available run commands for a subscription in a location.", "parameters": [ @@ -82,7 +82,7 @@ ], "operationId": "VirtualMachineRunCommands_Get", "x-ms-examples": { - "VirtualMachineRunCommandGet": { "$ref": "../examples/VirtualMachineRunCommandGet.json" } + "VirtualMachineRunCommandGet": { "$ref": "./examples/VirtualMachineRunCommandGet.json" } }, "description": "Gets specific run command for a subscription in a location.", "parameters": [ @@ -125,7 +125,7 @@ ], "operationId": "VirtualMachines_RunCommand", "x-ms-examples": { - "VirtualMachineRunCommand": { "$ref": "../examples/VirtualMachineRunCommand.json" } + "VirtualMachineRunCommand": { "$ref": "./examples/VirtualMachineRunCommand.json" } }, "description": "Run command on the VM.", "parameters": [ diff --git a/arm-compute/2015-11-01-preview/swagger/containerService.json b/specification/compute/resource-manager/Microsoft.ContainerService/2015-11-01-preview/containerService.json similarity index 100% rename from arm-compute/2015-11-01-preview/swagger/containerService.json rename to specification/compute/resource-manager/Microsoft.ContainerService/2015-11-01-preview/containerService.json diff --git a/arm-compute/2016-03-30/swagger/containerService.json b/specification/compute/resource-manager/Microsoft.ContainerService/2016-03-30/containerService.json similarity index 100% rename from arm-compute/2016-03-30/swagger/containerService.json rename to specification/compute/resource-manager/Microsoft.ContainerService/2016-03-30/containerService.json diff --git a/arm-compute/2016-09-30/swagger/containerService.json b/specification/compute/resource-manager/Microsoft.ContainerService/2016-09-30/containerService.json similarity index 100% rename from arm-compute/2016-09-30/swagger/containerService.json rename to specification/compute/resource-manager/Microsoft.ContainerService/2016-09-30/containerService.json diff --git a/arm-compute/2017-01-31/swagger/containerService.json b/specification/compute/resource-manager/Microsoft.ContainerService/2017-01-31/containerService.json similarity index 100% rename from arm-compute/2017-01-31/swagger/containerService.json rename to specification/compute/resource-manager/Microsoft.ContainerService/2017-01-31/containerService.json diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md new file mode 100644 index 000000000000..e812304aa2a3 --- /dev/null +++ b/specification/compute/resource-manager/readme.md @@ -0,0 +1,194 @@ +# Compute + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Compute. + + +The compute RP comprises of small services where each service has its own tag. +Hence, each sub-service has its own swagger spec. + +All of them are tied together using this configuration and are packaged together into one compute client library. +This makes it easier for customers to download one (nuget/npm/pip/maven/gem) compute client library package rather than installing individual packages for each sub service. + + +--- +## Getting Started +To build the SDK for Compute, 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 Compute API. + +``` yaml +title: ComputeManagementClient +description: Compute Client +openapi-type: arm +tag: package-2017-03 +``` + + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- Microsoft.Compute/2017-03-30/compute.json +- Microsoft.Compute/2017-03-30/disk.json +- Microsoft.Compute/2017-03-30/runCommands.json +- Microsoft.ContainerService/2017-01-31/containerService.json +``` + +### Tag: package-compute-2017-03 + +These settings apply only when `--tag=package-compute-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2017-03' +input-file: +- Microsoft.Compute/2017-03-30/compute.json +- Microsoft.Compute/2017-03-30/disk.json +- Microsoft.Compute/2017-03-30/runCommands.json +``` + +### Tag: package-container-service-2017-01 + +These settings apply only when `--tag=package-container-service-2017-01` is specified on the command line. + +``` yaml $(tag) == 'package-container-service-2017-01' +input-file: +- Microsoft.ContainerService/2017-01-31/containerService.json +``` + +### Tag: package-2016-04-preview + +These settings apply only when `--tag=package-2016-04-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-04-preview' +input-file: +- Microsoft.Compute/2016-04-30-preview/compute.json +- Microsoft.Compute/2016-04-30-preview/disk.json +- Microsoft.ContainerService/2017-01-31/containerService.json +``` + +### Tag: package-compute-2016-04-preview + +These settings apply only when `--tag=package-compute-2016-04-preview` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2016-04-preview' +input-file: +- Microsoft.Compute/2016-04-30-preview/compute.json +- Microsoft.Compute/2016-04-30-preview/disk.json +``` + +### Tag: package-2016-03 + +These settings apply only when `--tag=package-2016-03` is specified on the command line. + +``` yaml $(tag) == 'package-2016-03' +input-file: +- Microsoft.Compute/2016-03-30/compute.json +- Microsoft.ContainerService/2016-03-30/containerService.json +``` + +### Tag: package-compute-2016-03 + +These settings apply only when `--tag=package-compute-2016-03` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2016-03' +input-file: +- Microsoft.Compute/2016-03-30/compute.json +``` + +### Tag: package-compute-2015-06 + +These settings apply only when `--tag=package-compute-2015-06` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2015-06' +input-file: +- Microsoft.Compute/2015-06-15/compute.json +``` + +### Tag: package-2015-06-preview + +These settings apply only when `--tag=package-2015-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06-preview' +input-file: +- Microsoft.Compute/2015-06-15/compute.json +- Microsoft.ContainerService/2015-11-01-preview/containerService.json +``` + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 +``` + +### Tag: package-compute-2017-03 and python + +These settings apply only when `--tag=package-compute-2017-03 --python` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2017-03' && $(python) +namespace: azure.mgmt.compute.compute.v2017_03_30 +``` + +### Tag: package-container-service-2017-01 and python + +These settings apply only when `--tag=package-container-service-2017-01 --python` is specified on the command line. + +``` yaml $(tag) == 'package-container-service-2017-01' && $(python) +namespace: azure.mgmt.compute.containerservice.v2017_01_31 +``` + +### Tag: package-compute-2016-04-preview and python + +These settings apply only when `--tag=package-compute-2016-04-preview --python` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2016-04-preview' && $(python) +namespace: azure.mgmt.compute.compute.v2016_04_30_preview +``` + +### Tag: package-compute-2016-03 and python + +These settings apply only when `--tag=package-compute-2016-03 --python` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2016-03' && $(python) +namespace: azure.mgmt.compute.compute.v2016_03_30 +``` + +### Tag: package-compute-2015-06 and python + +These settings apply only when `--tag=package-compute-2015-06 --python` is specified on the command line. + +``` yaml $(tag) == 'package-compute-2015-06' && $(python) +namespace: azure.mgmt.compute.compute.v2015_06_15 +``` + diff --git a/arm-consumption/2017-04-24-preview/swagger/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/consumption.json similarity index 98% rename from arm-consumption/2017-04-24-preview/swagger/consumption.json rename to specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/consumption.json index 82dfbed9ac90..8da9713f82a2 100644 --- a/arm-consumption/2017-04-24-preview/swagger/consumption.json +++ b/specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/consumption.json @@ -46,16 +46,16 @@ }, "x-ms-examples": { "UsageDetailsListForBillingPeriod": { - "$ref": "../examples/UsageDetailsListForBillingPeriod.json" + "$ref": "./examples/UsageDetailsListForBillingPeriod.json" }, "UsageDetailsListForInvoice": { - "$ref": "../examples/UsageDetailsListForInvoice.json" + "$ref": "./examples/UsageDetailsListForInvoice.json" }, "UsageDetailsList": { - "$ref": "../examples/UsageDetailsList.json" + "$ref": "./examples/UsageDetailsList.json" }, "UsageDetailsExpand": { - "$ref": "../examples/UsageDetailsExpand.json" + "$ref": "./examples/UsageDetailsExpand.json" } }, "parameters": [ @@ -441,4 +441,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/arm-consumption/2017-04-24-preview/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsExpand.json similarity index 100% rename from arm-consumption/2017-04-24-preview/examples/UsageDetailsExpand.json rename to specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsExpand.json diff --git a/arm-consumption/2017-04-24-preview/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsList.json similarity index 100% rename from arm-consumption/2017-04-24-preview/examples/UsageDetailsList.json rename to specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsList.json diff --git a/arm-consumption/2017-04-24-preview/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsListForBillingPeriod.json similarity index 100% rename from arm-consumption/2017-04-24-preview/examples/UsageDetailsListForBillingPeriod.json rename to specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsListForBillingPeriod.json diff --git a/arm-consumption/2017-04-24-preview/examples/UsageDetailsListForInvoice.json b/specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsListForInvoice.json similarity index 100% rename from arm-consumption/2017-04-24-preview/examples/UsageDetailsListForInvoice.json rename to specification/consumption/resource-manager/Microsoft.Consumption/2017-04-24-preview/examples/UsageDetailsListForInvoice.json diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md new file mode 100644 index 000000000000..b6184493829a --- /dev/null +++ b/specification/consumption/resource-manager/readme.md @@ -0,0 +1,53 @@ +# Consumption + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Consumption. + + + +--- +## Getting Started +To build the SDK for Consumption, 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 Consumption API. + +``` yaml +openapi-type: arm +tag: package-2017-04-preview +``` + + +### Tag: package-2017-04-preview + +These settings apply only when `--tag=package-2017-04-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04-preview' +input-file: +- Microsoft.Consumption/2017-04-24-preview/consumption.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-containerregistry/2016-06-27-preview/swagger/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2016-06-27-preview/containerregistry.json similarity index 100% rename from arm-containerregistry/2016-06-27-preview/swagger/containerregistry.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2016-06-27-preview/containerregistry.json diff --git a/arm-containerregistry/2017-03-01/swagger/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/containerregistry.json similarity index 97% rename from arm-containerregistry/2017-03-01/swagger/containerregistry.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/containerregistry.json index c8c21623af76..89a8c23017ed 100644 --- a/arm-containerregistry/2017-03-01/swagger/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/containerregistry.json @@ -49,10 +49,10 @@ }, "x-ms-examples": { "RegistryCheckNameAvailable": { - "$ref": "../examples/RegistryCheckNameAvailable.json" + "$ref": "./examples/RegistryCheckNameAvailable.json" }, "RegistryCheckNameNotAvailable": { - "$ref": "../examples/RegistryCheckNameNotAvailable.json" + "$ref": "./examples/RegistryCheckNameNotAvailable.json" } } } @@ -113,7 +113,7 @@ }, "x-ms-examples": { "RegistryGet": { - "$ref": "../examples/RegistryGet.json" + "$ref": "./examples/RegistryGet.json" } } }, @@ -159,7 +159,7 @@ }, "x-ms-examples": { "RegistryCreate": { - "$ref": "../examples/RegistryCreate.json" + "$ref": "./examples/RegistryCreate.json" } }, "x-ms-long-running-operation": true @@ -194,7 +194,7 @@ }, "x-ms-examples": { "RegistryDelete": { - "$ref": "../examples/RegistryDelete.json" + "$ref": "./examples/RegistryDelete.json" } } }, @@ -237,7 +237,7 @@ }, "x-ms-examples": { "RegistryUpdate": { - "$ref": "../examples/RegistryUpdate.json" + "$ref": "./examples/RegistryUpdate.json" } } } @@ -270,7 +270,7 @@ }, "x-ms-examples": { "RegistryListByResourceGroup": { - "$ref": "../examples/RegistryListByResourceGroup.json" + "$ref": "./examples/RegistryListByResourceGroup.json" } }, "x-ms-pageable": { @@ -303,7 +303,7 @@ }, "x-ms-examples": { "RegistryList": { - "$ref": "../examples/RegistryList.json" + "$ref": "./examples/RegistryList.json" } }, "x-ms-pageable": { @@ -342,7 +342,7 @@ }, "x-ms-examples": { "RegistryListCredentials": { - "$ref": "../examples/RegistryListCredentials.json" + "$ref": "./examples/RegistryListCredentials.json" } } } @@ -387,7 +387,7 @@ }, "x-ms-examples": { "RegistryRegenerateCredential": { - "$ref": "../examples/RegistryRegenerateCredential.json" + "$ref": "./examples/RegistryRegenerateCredential.json" } } } @@ -817,4 +817,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/arm-containerregistry/2017-03-01/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryCheckNameAvailable.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryCheckNameAvailable.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryCheckNameAvailable.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryCheckNameNotAvailable.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryCheckNameNotAvailable.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryCheckNameNotAvailable.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryCreate.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryCreate.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryDelete.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryDelete.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryGet.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryGet.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryList.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryList.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryListByResourceGroup.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryListByResourceGroup.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryListByResourceGroup.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryListCredentials.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryListCredentials.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryListCredentials.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryRegenerateCredential.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryRegenerateCredential.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryRegenerateCredential.json diff --git a/arm-containerregistry/2017-03-01/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryUpdate.json similarity index 100% rename from arm-containerregistry/2017-03-01/examples/RegistryUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-03-01/examples/RegistryUpdate.json diff --git a/arm-containerregistry/2017-06-01-preview/swagger/containerregistry.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/containerregistry.json similarity index 97% rename from arm-containerregistry/2017-06-01-preview/swagger/containerregistry.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/containerregistry.json index 2599b7078494..0c52d3226a1c 100644 --- a/arm-containerregistry/2017-06-01-preview/swagger/containerregistry.json +++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/containerregistry.json @@ -49,10 +49,10 @@ }, "x-ms-examples": { "RegistryCheckNameAvailable": { - "$ref": "../examples/RegistryCheckNameAvailable.json" + "$ref": "./examples/RegistryCheckNameAvailable.json" }, "RegistryCheckNameNotAvailable": { - "$ref": "../examples/RegistryCheckNameNotAvailable.json" + "$ref": "./examples/RegistryCheckNameNotAvailable.json" } } } @@ -113,7 +113,7 @@ }, "x-ms-examples": { "RegistryGet": { - "$ref": "../examples/RegistryGet.json" + "$ref": "./examples/RegistryGet.json" } } }, @@ -162,7 +162,7 @@ }, "x-ms-examples": { "RegistryCreate": { - "$ref": "../examples/RegistryCreate.json" + "$ref": "./examples/RegistryCreate.json" } }, "x-ms-long-running-operation": true @@ -200,7 +200,7 @@ }, "x-ms-examples": { "RegistryDelete": { - "$ref": "../examples/RegistryDelete.json" + "$ref": "./examples/RegistryDelete.json" } }, "x-ms-long-running-operation": true @@ -244,7 +244,7 @@ }, "x-ms-examples": { "RegistryUpdate": { - "$ref": "../examples/RegistryUpdate.json" + "$ref": "./examples/RegistryUpdate.json" } } } @@ -277,7 +277,7 @@ }, "x-ms-examples": { "RegistryListByResourceGroup": { - "$ref": "../examples/RegistryListByResourceGroup.json" + "$ref": "./examples/RegistryListByResourceGroup.json" } }, "x-ms-pageable": { @@ -310,7 +310,7 @@ }, "x-ms-examples": { "RegistryList": { - "$ref": "../examples/RegistryList.json" + "$ref": "./examples/RegistryList.json" } }, "x-ms-pageable": { @@ -349,7 +349,7 @@ }, "x-ms-examples": { "RegistryListCredentials": { - "$ref": "../examples/RegistryListCredentials.json" + "$ref": "./examples/RegistryListCredentials.json" } } } @@ -394,7 +394,7 @@ }, "x-ms-examples": { "RegistryRegenerateCredential": { - "$ref": "../examples/RegistryRegenerateCredential.json" + "$ref": "./examples/RegistryRegenerateCredential.json" } } } @@ -430,7 +430,7 @@ }, "x-ms-examples": { "RegistryListUsages": { - "$ref": "../examples/RegistryListUsages.json" + "$ref": "./examples/RegistryListUsages.json" } } } @@ -469,7 +469,7 @@ }, "x-ms-examples": { "ReplicationGet": { - "$ref": "../examples/ReplicationGet.json" + "$ref": "./examples/ReplicationGet.json" } } }, @@ -521,7 +521,7 @@ }, "x-ms-examples": { "ReplicationCreateOrUpdate": { - "$ref": "../examples/ReplicationCreateOrUpdate.json" + "$ref": "./examples/ReplicationCreateOrUpdate.json" } }, "x-ms-long-running-operation": true @@ -562,7 +562,7 @@ }, "x-ms-examples": { "ReplicationDelete": { - "$ref": "../examples/ReplicationDelete.json" + "$ref": "./examples/ReplicationDelete.json" } }, "x-ms-long-running-operation": true @@ -599,7 +599,7 @@ }, "x-ms-examples": { "ReplicationList": { - "$ref": "../examples/ReplicationList.json" + "$ref": "./examples/ReplicationList.json" } }, "x-ms-pageable": { @@ -641,7 +641,7 @@ }, "x-ms-examples": { "WebhookGet": { - "$ref": "../examples/WebhookGet.json" + "$ref": "./examples/WebhookGet.json" } } }, @@ -693,7 +693,7 @@ }, "x-ms-examples": { "WebhookCreate": { - "$ref": "../examples/WebhookCreate.json" + "$ref": "./examples/WebhookCreate.json" } }, "x-ms-long-running-operation": true @@ -734,7 +734,7 @@ }, "x-ms-examples": { "WebhookDelete": { - "$ref": "../examples/WebhookDelete.json" + "$ref": "./examples/WebhookDelete.json" } }, "x-ms-long-running-operation": true @@ -787,7 +787,7 @@ }, "x-ms-examples": { "WebhookUpdate": { - "$ref": "../examples/WebhookUpdate.json" + "$ref": "./examples/WebhookUpdate.json" } }, "x-ms-long-running-operation": true @@ -824,7 +824,7 @@ }, "x-ms-examples": { "WebhookList": { - "$ref": "../examples/WebhookList.json" + "$ref": "./examples/WebhookList.json" } }, "x-ms-pageable": { @@ -866,7 +866,7 @@ }, "x-ms-examples": { "WebhookPing": { - "$ref": "../examples/WebhookPing.json" + "$ref": "./examples/WebhookPing.json" } } } @@ -905,7 +905,7 @@ }, "x-ms-examples": { "WebhookGetCallbackConfig": { - "$ref": "../examples/WebhookGetCallbackConfig.json" + "$ref": "./examples/WebhookGetCallbackConfig.json" } } } @@ -944,7 +944,7 @@ }, "x-ms-examples": { "WebhookListEvents": { - "$ref": "../examples/WebhookListEvents.json" + "$ref": "./examples/WebhookListEvents.json" } }, "x-ms-pageable": { @@ -1964,4 +1964,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryCheckNameAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryCheckNameAvailable.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryCheckNameAvailable.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryCheckNameAvailable.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryCheckNameNotAvailable.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryCheckNameNotAvailable.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryCheckNameNotAvailable.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryCheckNameNotAvailable.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryCreate.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryCreate.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryDelete.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryDelete.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryGet.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryGet.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryList.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryList.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryListByResourceGroup.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryListByResourceGroup.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryListByResourceGroup.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryListByResourceGroup.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryListCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryListCredentials.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryListCredentials.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryListCredentials.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryListUsages.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryListUsages.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryListUsages.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryListUsages.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryRegenerateCredential.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryRegenerateCredential.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryRegenerateCredential.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryRegenerateCredential.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/RegistryUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryUpdate.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/RegistryUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/RegistryUpdate.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/ReplicationCreateOrUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationCreateOrUpdate.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/ReplicationCreateOrUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationCreateOrUpdate.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/ReplicationDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationDelete.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/ReplicationDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationDelete.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/ReplicationGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationGet.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/ReplicationGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationGet.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/ReplicationList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationList.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/ReplicationList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/ReplicationList.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookCreate.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookCreate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookCreate.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookDelete.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookDelete.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookDelete.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookGet.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookGet.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookGet.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookGetCallbackConfig.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookGetCallbackConfig.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookGetCallbackConfig.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookGetCallbackConfig.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookList.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookList.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookList.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookListEvents.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookListEvents.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookListEvents.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookListEvents.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookPing.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookPing.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookPing.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookPing.json diff --git a/arm-containerregistry/2017-06-01-preview/examples/WebhookUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookUpdate.json similarity index 100% rename from arm-containerregistry/2017-06-01-preview/examples/WebhookUpdate.json rename to specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/2017-06-01-preview/examples/WebhookUpdate.json diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md new file mode 100644 index 000000000000..863c2c3e3401 --- /dev/null +++ b/specification/containerregistry/resource-manager/readme.md @@ -0,0 +1,71 @@ +# ContainerRegistry + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ContainerRegistry. + + + +--- +## Getting Started +To build the SDK for ContainerRegistry, 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 ContainerRegistry API. + +``` yaml +openapi-type: arm +tag: package-2017-06-preview +``` + + +### Tag: package-2017-06-preview + +These settings apply only when `--tag=package-2017-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06-preview' +input-file: +- Microsoft.ContainerRegistry/2017-06-01-preview/containerregistry.json +``` + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- Microsoft.ContainerRegistry/2017-03-01/containerregistry.json +``` + +### Tag: package-2016-06-preview + +These settings apply only when `--tag=package-2016-06-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06-preview' +input-file: +- Microsoft.ContainerRegistry/2016-06-27-preview/containerregistry.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-cosmos-db/2015-04-08/swagger/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/cosmos-db.json similarity index 96% rename from arm-cosmos-db/2015-04-08/swagger/cosmos-db.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/cosmos-db.json index 58014da0cc7a..41dfd49e7275 100644 --- a/arm-cosmos-db/2015-04-08/swagger/cosmos-db.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/cosmos-db.json @@ -38,7 +38,7 @@ "get": { "operationId": "DatabaseAccounts_Get", "x-ms-examples": { - "CosmosDBDatabaseAccountGet": { "$ref": "../examples/CosmosDBDatabaseAccountGet.json" } + "CosmosDBDatabaseAccountGet": { "$ref": "./examples/CosmosDBDatabaseAccountGet.json" } }, "description": "Retrieves the properties of an existing Azure Cosmos DB database account.", "parameters": [ @@ -67,7 +67,7 @@ "patch": { "operationId": "DatabaseAccounts_Patch", "x-ms-examples": { - "CosmosDBDatabaseAccountPatch": { "$ref": "../examples/CosmosDBDatabaseAccountPatch.json" } + "CosmosDBDatabaseAccountPatch": { "$ref": "./examples/CosmosDBDatabaseAccountPatch.json" } }, "description": "Patches the properties of an existing Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -106,8 +106,8 @@ "put": { "operationId": "DatabaseAccounts_CreateOrUpdate", "x-ms-examples": { - "CosmosDBDatabaseAccountCreateMin": { "$ref": "../examples/CosmosDBDatabaseAccountCreateMin.json" }, - "CosmosDBDatabaseAccountCreateMax": { "$ref": "../examples/CosmosDBDatabaseAccountCreateMax.json" } + "CosmosDBDatabaseAccountCreateMin": { "$ref": "./examples/CosmosDBDatabaseAccountCreateMin.json" }, + "CosmosDBDatabaseAccountCreateMax": { "$ref": "./examples/CosmosDBDatabaseAccountCreateMax.json" } }, "description": "Creates or updates an Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -146,7 +146,7 @@ "delete": { "operationId": "DatabaseAccounts_Delete", "x-ms-examples": { - "CosmosDBDatabaseAccountDelete": { "$ref": "../examples/CosmosDBDatabaseAccountDelete.json" } + "CosmosDBDatabaseAccountDelete": { "$ref": "./examples/CosmosDBDatabaseAccountDelete.json" } }, "description": "Deletes an existing Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -178,7 +178,7 @@ "post": { "operationId": "DatabaseAccounts_FailoverPriorityChange", "x-ms-examples": { - "CosmosDBDatabaseAccountFailoverPriorityChange": { "$ref": "../examples/CosmosDBDatabaseAccountFailoverPriorityChange.json" } + "CosmosDBDatabaseAccountFailoverPriorityChange": { "$ref": "./examples/CosmosDBDatabaseAccountFailoverPriorityChange.json" } }, "description": "Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.", "x-ms-long-running-operation": true, @@ -219,7 +219,7 @@ "get": { "operationId": "DatabaseAccounts_List", "x-ms-examples": { - "CosmosDBDatabaseAccountList": { "$ref": "../examples/CosmosDBDatabaseAccountList.json" } + "CosmosDBDatabaseAccountList": { "$ref": "./examples/CosmosDBDatabaseAccountList.json" } }, "description": "Lists all the Azure Cosmos DB database accounts available under the subscription.", "parameters": [ @@ -247,7 +247,7 @@ "get": { "operationId": "DatabaseAccounts_ListByResourceGroup", "x-ms-examples": { - "CosmosDBDatabaseAccountListByResourceGroup": { "$ref": "../examples/CosmosDBDatabaseAccountListByResourceGroup.json" } + "CosmosDBDatabaseAccountListByResourceGroup": { "$ref": "./examples/CosmosDBDatabaseAccountListByResourceGroup.json" } }, "description": "Lists all the Azure Cosmos DB database accounts available under the given resource group.", "parameters": [ @@ -278,7 +278,7 @@ "post": { "operationId": "DatabaseAccounts_ListKeys", "x-ms-examples": { - "CosmosDBDatabaseAccountListKeys": { "$ref": "../examples/CosmosDBDatabaseAccountListKeys.json" } + "CosmosDBDatabaseAccountListKeys": { "$ref": "./examples/CosmosDBDatabaseAccountListKeys.json" } }, "description": "Lists the access keys for the specified Azure Cosmos DB database account.", "parameters": [ @@ -309,8 +309,8 @@ "post": { "operationId": "DatabaseAccounts_ListConnectionStrings", "x-ms-examples": { - "CosmosDBDatabaseAccountListConnectionStrings": { "$ref": "../examples/CosmosDBDatabaseAccountListConnectionStrings.json" }, - "CosmosDBDatabaseAccountListConnectionStringsMongo": { "$ref": "../examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json" } + "CosmosDBDatabaseAccountListConnectionStrings": { "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStrings.json" }, + "CosmosDBDatabaseAccountListConnectionStringsMongo": { "$ref": "./examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json" } }, "description": "Lists the connection strings for the specified Azure Cosmos DB database account.", "parameters": [ @@ -341,7 +341,7 @@ "get": { "operationId": "DatabaseAccounts_ListReadOnlyKeys", "x-ms-examples": { - "CosmosDBDatabaseAccountListReadOnlyKeys": { "$ref": "../examples/CosmosDBDatabaseAccountListReadOnlyKeys.json" } + "CosmosDBDatabaseAccountListReadOnlyKeys": { "$ref": "./examples/CosmosDBDatabaseAccountListReadOnlyKeys.json" } }, "description": "Lists the read-only access keys for the specified Azure Cosmos DB database account.", "parameters": [ @@ -372,7 +372,7 @@ "post": { "operationId": "DatabaseAccounts_RegenerateKey", "x-ms-examples": { - "CosmosDBDatabaseAccountRegenerateKey": { "$ref": "../examples/CosmosDBDatabaseAccountRegenerateKey.json" } + "CosmosDBDatabaseAccountRegenerateKey": { "$ref": "./examples/CosmosDBDatabaseAccountRegenerateKey.json" } }, "description": "Regenerates an access key for the specified Azure Cosmos DB database account.", "x-ms-long-running-operation": true, @@ -413,7 +413,7 @@ "head": { "operationId": "DatabaseAccounts_CheckNameExists", "x-ms-examples": { - "CosmosDBDatabaseAccountCheckNameExists": { "$ref": "../examples/CosmosDBDatabaseAccountCheckNameExists.json" } + "CosmosDBDatabaseAccountCheckNameExists": { "$ref": "./examples/CosmosDBDatabaseAccountCheckNameExists.json" } }, "description": "Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.", "parameters": [ diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountCheckNameExists.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountCreateMax.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountCreateMin.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountDelete.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountGet.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountGet.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountGet.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountGet.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountList.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountList.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountList.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountList.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListByResourceGroup.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStrings.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountPatch.json diff --git a/arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json similarity index 100% rename from arm-cosmos-db/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json rename to specification/cosmos-db/resource-manager/Microsoft.DocumentDB/2015-04-08/examples/CosmosDBDatabaseAccountRegenerateKey.json diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md new file mode 100644 index 000000000000..ec66840d42d1 --- /dev/null +++ b/specification/cosmos-db/resource-manager/readme.md @@ -0,0 +1,53 @@ +# Cosmos-DB + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Cosmos-DB. + + + +--- +## Getting Started +To build the SDK for Cosmos-DB, 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 Cosmos-DB API. + +``` yaml +openapi-type: arm +tag: package-2015-04 +``` + + +### Tag: package-2015-04 + +These settings apply only when `--tag=package-2015-04` is specified on the command line. + +``` yaml $(tag) == 'package-2015-04' +input-file: +- Microsoft.DocumentDB/2015-04-08/cosmos-db.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-customer-insights/2017-01-01/swagger/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/customer-insights.json similarity index 97% rename from arm-customer-insights/2017-01-01/swagger/customer-insights.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/customer-insights.json index d73707b52f65..b6ec0a2cdfb4 100644 --- a/arm-customer-insights/2017-01-01/swagger/customer-insights.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/customer-insights.json @@ -1,4 +1,4 @@ -{ +{ "swagger": "2.0", "info": { "title": "CustomerInsightsManagementClient", @@ -45,7 +45,7 @@ "operationId": "Hubs_CreateOrUpdate", "x-ms-examples": { "Hubs_CreateOrUpdate": { - "$ref": "../examples/HubsCreateOrUpdate.json" + "$ref": "./examples/HubsCreateOrUpdate.json" } }, "description": "Creates a hub, or updates an existing hub.", @@ -105,7 +105,7 @@ "operationId": "Hubs_Update", "x-ms-examples": { "Hubs_Update": { - "$ref": "../examples/HubsUpdate.json" + "$ref": "./examples/HubsUpdate.json" } }, "description": "Updates a Hub.", @@ -156,7 +156,7 @@ "operationId": "Hubs_Delete", "x-ms-examples": { "Hubs_Delete": { - "$ref": "../examples/HubsDelete.json" + "$ref": "./examples/HubsDelete.json" } }, "description": "Deletes the specified hub.", @@ -202,7 +202,7 @@ "operationId": "Hubs_Get", "x-ms-examples": { "Hubs_Get": { - "$ref": "../examples/HubsGet.json" + "$ref": "./examples/HubsGet.json" } }, "description": "Gets information about the specified hub.", @@ -246,7 +246,7 @@ "operationId": "Hubs_ListByResourceGroup", "x-ms-examples": { "Hubs_ListByResourceGroup": { - "$ref": "../examples/HubsListByResourceGroup.json" + "$ref": "./examples/HubsListByResourceGroup.json" } }, "description": "Gets all the hubs in a resource group.", @@ -286,7 +286,7 @@ "operationId": "Hubs_List", "x-ms-examples": { "Hubs_List": { - "$ref": "../examples/HubsList.json" + "$ref": "./examples/HubsList.json" } }, "description": "Gets all hubs in the specified subscription.", @@ -319,7 +319,7 @@ "operationId": "Profiles_CreateOrUpdate", "x-ms-examples": { "Profiles_CreateOrUpdate": { - "$ref": "../examples/ProfilesCreateOrUpdate.json" + "$ref": "./examples/ProfilesCreateOrUpdate.json" } }, "description": "Creates a profile within a Hub, or updates an existing profile.", @@ -384,7 +384,7 @@ "operationId": "Profiles_Get", "x-ms-examples": { "Profiles_Get": { - "$ref": "../examples/ProfilesGet.json" + "$ref": "./examples/ProfilesGet.json" } }, "description": "Gets information about the specified profile.", @@ -441,7 +441,7 @@ "operationId": "Profiles_Delete", "x-ms-examples": { "Profiles_Delete": { - "$ref": "../examples/ProfilesDelete.json" + "$ref": "./examples/ProfilesDelete.json" } }, "description": "Deletes a profile within a hub", @@ -504,7 +504,7 @@ "operationId": "Profiles_ListByHub", "x-ms-examples": { "Profiles_ListByHub": { - "$ref": "../examples/ProfilesListByHub.json" + "$ref": "./examples/ProfilesListByHub.json" } }, "description": "Gets all profile in the hub.", @@ -559,7 +559,7 @@ "operationId": "Profiles_GetEnrichingKpis", "x-ms-examples": { "Profiles_GetEnrichingKpis": { - "$ref": "../examples/ProfileGetEnrichingKpis.json" + "$ref": "./examples/ProfileGetEnrichingKpis.json" } }, "description": "Gets the KPIs that enrich the profile Type identified by the supplied name. Enrichment happens through participants of the Interaction on an Interaction KPI and through Relationships for Profile KPIs.", @@ -613,7 +613,7 @@ "operationId": "Interactions_CreateOrUpdate", "x-ms-examples": { "Interactions_CreateOrUpdate": { - "$ref": "../examples/InteractionsCreateOrUpdate.json" + "$ref": "./examples/InteractionsCreateOrUpdate.json" } }, "description": "Creates an interaction or updates an existing interaction within a hub.", @@ -678,7 +678,7 @@ "operationId": "Interactions_Get", "x-ms-examples": { "Interactions_Get": { - "$ref": "../examples/InteractionsGet.json" + "$ref": "./examples/InteractionsGet.json" } }, "description": "Gets information about the specified interaction.", @@ -737,7 +737,7 @@ "operationId": "Interactions_ListByHub", "x-ms-examples": { "Interactions_ListByHub": { - "$ref": "../examples/InteractionsListByHub.json" + "$ref": "./examples/InteractionsListByHub.json" } }, "description": "Gets all interactions in the hub.", @@ -792,7 +792,7 @@ "operationId": "Interactions_SuggestRelationshipLinks", "x-ms-examples": { "Interactions_SuggestRelationshipLinks": { - "$ref": "../examples/InteractionsSuggestRelationshipLinks.json" + "$ref": "./examples/InteractionsSuggestRelationshipLinks.json" } }, "description": "Suggests relationships to create relationship links.", @@ -843,7 +843,7 @@ "operationId": "Relationships_CreateOrUpdate", "x-ms-examples": { "Relationships_CreateOrUpdate": { - "$ref": "../examples/RelationshipsCreateOrUpdate.json" + "$ref": "./examples/RelationshipsCreateOrUpdate.json" } }, "description": "Creates a relationship or updates an existing relationship within a hub.", @@ -908,7 +908,7 @@ "operationId": "Relationships_Get", "x-ms-examples": { "Relationships_Get": { - "$ref": "../examples/RelationshipsGet.json" + "$ref": "./examples/RelationshipsGet.json" } }, "description": "Gets information about the specified relationship.", @@ -957,7 +957,7 @@ "operationId": "Relationships_Delete", "x-ms-examples": { "Relationships_Delete": { - "$ref": "../examples/RelationshipsDelete.json" + "$ref": "./examples/RelationshipsDelete.json" } }, "description": "Deletes a relationship within a hub.", @@ -1009,7 +1009,7 @@ "operationId": "Relationships_ListByHub", "x-ms-examples": { "Relationships_ListByHub": { - "$ref": "../examples/RelationshipsListByHub.json" + "$ref": "./examples/RelationshipsListByHub.json" } }, "description": "Gets all relationships in the hub.", @@ -1056,7 +1056,7 @@ "operationId": "RelationshipLinks_CreateOrUpdate", "x-ms-examples": { "RelationshipLinks_CreateOrUpdate": { - "$ref": "../examples/RelationshipLinksCreateOrUpdate.json" + "$ref": "./examples/RelationshipLinksCreateOrUpdate.json" } }, "description": "Creates a relationship link or updates an existing relationship link within a hub.", @@ -1121,7 +1121,7 @@ "operationId": "RelationshipLinks_Get", "x-ms-examples": { "RelationshipLinks_Get": { - "$ref": "../examples/RelationshipLinksGet.json" + "$ref": "./examples/RelationshipLinksGet.json" } }, "description": "Gets information about the specified relationship Link.", @@ -1170,7 +1170,7 @@ "operationId": "RelationshipLinks_Delete", "x-ms-examples": { "RelationshipLinks_Delete": { - "$ref": "../examples/RelationshipLinksDelete.json" + "$ref": "./examples/RelationshipLinksDelete.json" } }, "description": "Deletes a relationship link within a hub.", @@ -1222,7 +1222,7 @@ "operationId": "RelationshipLinks_ListByHub", "x-ms-examples": { "RelationshipLinks_ListByHub": { - "$ref": "../examples/RelationshipLinksListByHub.json" + "$ref": "./examples/RelationshipLinksListByHub.json" } }, "description": "Gets all relationship links in the hub.", @@ -1269,7 +1269,7 @@ "operationId": "AuthorizationPolicies_CreateOrUpdate", "x-ms-examples": { "AuthorizationPolicies_CreateOrUpdate": { - "$ref": "../examples/AuthorizationPoliciesCreateOrUpdate.json" + "$ref": "./examples/AuthorizationPoliciesCreateOrUpdate.json" } }, "description": "Creates an authorization policy or updates an existing authorization policy.", @@ -1336,7 +1336,7 @@ "operationId": "AuthorizationPolicies_Get", "x-ms-examples": { "AuthorizationPolicies_Get": { - "$ref": "../examples/AuthorizationPoliciesGet.json" + "$ref": "./examples/AuthorizationPoliciesGet.json" } }, "description": "Gets an authorization policy in the hub.", @@ -1387,7 +1387,7 @@ "operationId": "AuthorizationPolicies_ListByHub", "x-ms-examples": { "AuthorizationPolicies_ListByHub": { - "$ref": "../examples/AuthorizationPoliciesListByHub.json" + "$ref": "./examples/AuthorizationPoliciesListByHub.json" } }, "description": "Gets all the authorization policies in a specified hub.", @@ -1434,7 +1434,7 @@ "operationId": "AuthorizationPolicies_RegeneratePrimaryKey", "x-ms-examples": { "AuthorizationPolicies_RegeneratePrimaryKey": { - "$ref": "../examples/AuthorizationPoliciesRegeneratePrimaryKey.json" + "$ref": "./examples/AuthorizationPoliciesRegeneratePrimaryKey.json" } }, "description": "Regenerates the primary policy key of the specified authorization policy.", @@ -1485,7 +1485,7 @@ "operationId": "AuthorizationPolicies_RegenerateSecondaryKey", "x-ms-examples": { "AuthorizationPolicies_RegenerateSecondaryKey": { - "$ref": "../examples/AuthorizationPoliciesRegenerateSecondaryKey.json" + "$ref": "./examples/AuthorizationPoliciesRegenerateSecondaryKey.json" } }, "description": "Regenerates the secondary policy key of the specified authorization policy.", @@ -1536,7 +1536,7 @@ "operationId": "Connectors_CreateOrUpdate", "x-ms-examples": { "Connectors_CreateOrUpdate": { - "$ref": "../examples/ConnectorsCreateOrUpdate.json" + "$ref": "./examples/ConnectorsCreateOrUpdate.json" } }, "description": "Creates a connector or updates an existing connector in the hub.", @@ -1601,7 +1601,7 @@ "operationId": "Connectors_Get", "x-ms-examples": { "Connectors_Get": { - "$ref": "../examples/ConnectorsGet.json" + "$ref": "./examples/ConnectorsGet.json" } }, "description": "Gets a connector in the hub.", @@ -1650,7 +1650,7 @@ "operationId": "Connectors_Delete", "x-ms-examples": { "Connectors_Delete": { - "$ref": "../examples/ConnectorsDelete.json" + "$ref": "./examples/ConnectorsDelete.json" } }, "description": "Deletes a connector in the hub.", @@ -1705,7 +1705,7 @@ "operationId": "Connectors_ListByHub", "x-ms-examples": { "Connectors_ListByHub": { - "$ref": "../examples/ConnectorsListByHub.json" + "$ref": "./examples/ConnectorsListByHub.json" } }, "description": "Gets all the connectors in the specified hub.", @@ -1752,7 +1752,7 @@ "operationId": "ConnectorMappings_CreateOrUpdate", "x-ms-examples": { "ConnectorMappings_CreateOrUpdate": { - "$ref": "../examples/ConnectorMappingsCreateOrUpdate.json" + "$ref": "./examples/ConnectorMappingsCreateOrUpdate.json" } }, "description": "Creates a connector mapping or updates an existing connector mapping in the connector.", @@ -1826,7 +1826,7 @@ "operationId": "ConnectorMappings_Get", "x-ms-examples": { "ConnectorMappings_Get": { - "$ref": "../examples/ConnectorMappingsGet.json" + "$ref": "./examples/ConnectorMappingsGet.json" } }, "description": "Gets a connector mapping in the connector.", @@ -1882,7 +1882,7 @@ "operationId": "ConnectorMappings_Delete", "x-ms-examples": { "ConnectorMappings_Delete": { - "$ref": "../examples/ConnectorMappingsDelete.json" + "$ref": "./examples/ConnectorMappingsDelete.json" } }, "description": "Deletes a connector mapping in the connector.", @@ -1940,7 +1940,7 @@ "operationId": "ConnectorMappings_ListByConnector", "x-ms-examples": { "ConnectorMappings_ListByConnector": { - "$ref": "../examples/ConnectorMappingsListByConnector.json" + "$ref": "./examples/ConnectorMappingsListByConnector.json" } }, "description": "Gets all the connector mappings in the specified connector.", @@ -1994,7 +1994,7 @@ "operationId": "Kpi_CreateOrUpdate", "x-ms-examples": { "Kpi_CreateOrUpdate": { - "$ref": "../examples/KpiCreateOrUpdate.json" + "$ref": "./examples/KpiCreateOrUpdate.json" } }, "description": "Creates a KPI or updates an existing KPI in the hub.", @@ -2059,7 +2059,7 @@ "operationId": "Kpi_Get", "x-ms-examples": { "Kpi_Get": { - "$ref": "../examples/KpiGet.json" + "$ref": "./examples/KpiGet.json" } }, "description": "Gets a KPI in the hub.", @@ -2108,7 +2108,7 @@ "operationId": "Kpi_Delete", "x-ms-examples": { "Kpi_Delete": { - "$ref": "../examples/KpiDelete.json" + "$ref": "./examples/KpiDelete.json" } }, "description": "Deletes a KPI in the hub.", @@ -2160,7 +2160,7 @@ "operationId": "Kpi_Reprocess", "x-ms-examples": { "Kpi_Reprocess": { - "$ref": "../examples/KpiReprocess.json" + "$ref": "./examples/KpiReprocess.json" } }, "description": "Reprocesses the Kpi values of the specified KPI.", @@ -2208,7 +2208,7 @@ "operationId": "Kpi_ListByHub", "x-ms-examples": { "Kpi_ListByHub": { - "$ref": "../examples/KpiListByHub.json" + "$ref": "./examples/KpiListByHub.json" } }, "description": "Gets all the KPIs in the specified hub.", @@ -2255,7 +2255,7 @@ "operationId": "WidgetTypes_ListByHub", "x-ms-examples": { "WidgetTypes_ListByHub": { - "$ref": "../examples/WidgetTypesListByHub.json" + "$ref": "./examples/WidgetTypesListByHub.json" } }, "description": "Gets all available widget types in the specified hub.", @@ -2302,7 +2302,7 @@ "operationId": "WidgetTypes_Get", "x-ms-examples": { "WidgetTypes_Get": { - "$ref": "../examples/WidgetTypesGet.json" + "$ref": "./examples/WidgetTypesGet.json" } }, "description": "Gets a widget type in the specified hub.", @@ -2353,7 +2353,7 @@ "operationId": "Views_ListByHub", "x-ms-examples": { "Views_ListByHub": { - "$ref": "../examples/ViewsListByHub.json" + "$ref": "./examples/ViewsListByHub.json" } }, "description": "Gets all available views for given user in the specified hub.", @@ -2407,7 +2407,7 @@ "operationId": "Views_CreateOrUpdate", "x-ms-examples": { "Views_CreateOrUpdate": { - "$ref": "../examples/ViewsCreateOrUpdate.json" + "$ref": "./examples/ViewsCreateOrUpdate.json" } }, "description": "Creates a view or updates an exisiting view in the hub.", @@ -2467,7 +2467,7 @@ "operationId": "Views_Get", "x-ms-examples": { "Views_Get": { - "$ref": "../examples/ViewsGet.json" + "$ref": "./examples/ViewsGet.json" } }, "description": "Gets a view in the hub.", @@ -2523,7 +2523,7 @@ "operationId": "Views_Delete", "x-ms-examples": { "Views_Delete": { - "$ref": "../examples/ViewsDelete.json" + "$ref": "./examples/ViewsDelete.json" } }, "description": "Deletes a view in the specified hub.", @@ -2578,7 +2578,7 @@ "operationId": "Links_CreateOrUpdate", "x-ms-examples": { "Links_CreateOrUpdate": { - "$ref": "../examples/LinksCreateOrUpdate.json" + "$ref": "./examples/LinksCreateOrUpdate.json" } }, "description": "Creates a link or updates an existing link in the hub.", @@ -2643,7 +2643,7 @@ "operationId": "Links_Get", "x-ms-examples": { "Links_Get": { - "$ref": "../examples/LinksGet.json" + "$ref": "./examples/LinksGet.json" } }, "description": "Gets a link in the hub.", @@ -2692,7 +2692,7 @@ "operationId": "Links_Delete", "x-ms-examples": { "Links_Delete": { - "$ref": "../examples/LinksDelete.json" + "$ref": "./examples/LinksDelete.json" } }, "description": "Deletes a link in the hub.", @@ -2743,7 +2743,7 @@ "operationId": "Links_ListByHub", "x-ms-examples": { "Links_ListByHub": { - "$ref": "../examples/LinksListByHub.json" + "$ref": "./examples/LinksListByHub.json" } }, "description": "Gets all the links in the specified hub.", @@ -2790,7 +2790,7 @@ "operationId": "Roles_ListByHub", "x-ms-examples": { "Roles_ListByHub": { - "$ref": "../examples/RolesListByHub.json" + "$ref": "./examples/RolesListByHub.json" } }, "description": "Gets all the roles for the hub.", @@ -2837,7 +2837,7 @@ "operationId": "RoleAssignments_ListByHub", "x-ms-examples": { "RoleAssignments_ListByHub": { - "$ref": "../examples/RoleAssignmentsListByHub.json" + "$ref": "./examples/RoleAssignmentsListByHub.json" } }, "description": "Gets all the role assignments for the specified hub.", @@ -2884,7 +2884,7 @@ "operationId": "RoleAssignments_CreateOrUpdate", "x-ms-examples": { "RoleAssignments_CreateOrUpdate": { - "$ref": "../examples/RoleAssignmentsCreateOrUpdate.json" + "$ref": "./examples/RoleAssignmentsCreateOrUpdate.json" } }, "description": "Creates or updates a role assignment in the hub.", @@ -2949,7 +2949,7 @@ "operationId": "RoleAssignments_Get", "x-ms-examples": { "RoleAssignments_Get": { - "$ref": "../examples/RoleAssignmentsGet.json" + "$ref": "./examples/RoleAssignmentsGet.json" } }, "description": "Gets the role assignment in the hub.", @@ -2998,7 +2998,7 @@ "operationId": "RoleAssignments_Delete", "x-ms-examples": { "RoleAssignments_Delete": { - "$ref": "../examples/RoleAssignmentsDelete.json" + "$ref": "./examples/RoleAssignmentsDelete.json" } }, "description": "Deletes the role assignment in the hub.", @@ -3052,7 +3052,7 @@ "operationId": "Images_GetUploadUrlForEntityType", "x-ms-examples": { "Images_GetUploadUrlForEntityType": { - "$ref": "../examples/ImagesGetUploadUrlForEntityType.json" + "$ref": "./examples/ImagesGetUploadUrlForEntityType.json" } }, "description": "Gets entity type (profile or interaction) image upload URL.", @@ -3105,7 +3105,7 @@ "operationId": "Images_GetUploadUrlForData", "x-ms-examples": { "Images_GetUploadUrlForData": { - "$ref": "../examples/ImagesGetUploadUrlForData.json" + "$ref": "./examples/ImagesGetUploadUrlForData.json" } }, "description": "Gets data image upload URL.", @@ -5618,4 +5618,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesGet.json diff --git a/arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesRegeneratePrimaryKey.json diff --git a/arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/AuthorizationPoliciesRegenerateSecondaryKey.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorMappingsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorMappingsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsListByConnector.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorMappingsListByConnector.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorMappingsListByConnector.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ConnectorsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ConnectorsListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/HubsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/HubsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/HubsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsList.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/HubsList.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsList.json diff --git a/arm-customer-insights/2017-01-01/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsListByResourceGroup.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/HubsListByResourceGroup.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsListByResourceGroup.json diff --git a/arm-customer-insights/2017-01-01/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/HubsUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/HubsUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ImagesGetUploadUrlForData.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ImagesGetUploadUrlForData.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ImagesGetUploadUrlForData.json diff --git a/arm-customer-insights/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ImagesGetUploadUrlForEntityType.json diff --git a/arm-customer-insights/2017-01-01/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/InteractionsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/InteractionsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/InteractionsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/InteractionsSuggestRelationshipLinks.json diff --git a/arm-customer-insights/2017-01-01/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/KpiCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/KpiDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/KpiGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiGet.json diff --git a/arm-customer-insights/2017-01-01/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/KpiListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiReprocess.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/KpiReprocess.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/KpiReprocess.json diff --git a/arm-customer-insights/2017-01-01/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/LinksCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/LinksDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/LinksGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksGet.json diff --git a/arm-customer-insights/2017-01-01/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/LinksListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/LinksListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfileGetEnrichingKpis.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ProfileGetEnrichingKpis.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfileGetEnrichingKpis.json diff --git a/arm-customer-insights/2017-01-01/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ProfilesCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ProfilesDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ProfilesGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesGet.json diff --git a/arm-customer-insights/2017-01-01/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ProfilesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ProfilesListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipLinksDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipLinksGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksGet.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipLinksListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipLinksListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RelationshipsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RelationshipsListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RoleAssignmentsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RoleAssignmentsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RoleAssignmentsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RoleAssignmentsListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RolesListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/RolesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/RolesListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ViewsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-01-01/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsDelete.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ViewsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsDelete.json diff --git a/arm-customer-insights/2017-01-01/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ViewsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsGet.json diff --git a/arm-customer-insights/2017-01-01/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/ViewsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/ViewsListByHub.json diff --git a/arm-customer-insights/2017-01-01/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/WidgetTypesGet.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/WidgetTypesGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/WidgetTypesGet.json diff --git a/arm-customer-insights/2017-01-01/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/WidgetTypesListByHub.json similarity index 100% rename from arm-customer-insights/2017-01-01/examples/WidgetTypesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-01-01/examples/WidgetTypesListByHub.json diff --git a/arm-customer-insights/2017-04-26/swagger/customer-insights.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/customer-insights.json similarity index 97% rename from arm-customer-insights/2017-04-26/swagger/customer-insights.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/customer-insights.json index 014f0df88d9b..022062731346 100644 --- a/arm-customer-insights/2017-04-26/swagger/customer-insights.json +++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/customer-insights.json @@ -45,7 +45,7 @@ "operationId": "Hubs_CreateOrUpdate", "x-ms-examples": { "Hubs_CreateOrUpdate": { - "$ref": "../examples/HubsCreateOrUpdate.json" + "$ref": "./examples/HubsCreateOrUpdate.json" } }, "description": "Creates a hub, or updates an existing hub.", @@ -105,7 +105,7 @@ "operationId": "Hubs_Update", "x-ms-examples": { "Hubs_Update": { - "$ref": "../examples/HubsUpdate.json" + "$ref": "./examples/HubsUpdate.json" } }, "description": "Updates a Hub.", @@ -156,7 +156,7 @@ "operationId": "Hubs_Delete", "x-ms-examples": { "Hubs_Delete": { - "$ref": "../examples/HubsDelete.json" + "$ref": "./examples/HubsDelete.json" } }, "description": "Deletes the specified hub.", @@ -202,7 +202,7 @@ "operationId": "Hubs_Get", "x-ms-examples": { "Hubs_Get": { - "$ref": "../examples/HubsGet.json" + "$ref": "./examples/HubsGet.json" } }, "description": "Gets information about the specified hub.", @@ -246,7 +246,7 @@ "operationId": "Hubs_ListByResourceGroup", "x-ms-examples": { "Hubs_ListByResourceGroup": { - "$ref": "../examples/HubsListByResourceGroup.json" + "$ref": "./examples/HubsListByResourceGroup.json" } }, "description": "Gets all the hubs in a resource group.", @@ -286,7 +286,7 @@ "operationId": "Hubs_List", "x-ms-examples": { "Hubs_List": { - "$ref": "../examples/HubsList.json" + "$ref": "./examples/HubsList.json" } }, "description": "Gets all hubs in the specified subscription.", @@ -319,7 +319,7 @@ "operationId": "Profiles_CreateOrUpdate", "x-ms-examples": { "Profiles_CreateOrUpdate": { - "$ref": "../examples/ProfilesCreateOrUpdate.json" + "$ref": "./examples/ProfilesCreateOrUpdate.json" } }, "description": "Creates a profile within a Hub, or updates an existing profile.", @@ -384,7 +384,7 @@ "operationId": "Profiles_Get", "x-ms-examples": { "Profiles_Get": { - "$ref": "../examples/ProfilesGet.json" + "$ref": "./examples/ProfilesGet.json" } }, "description": "Gets information about the specified profile.", @@ -441,7 +441,7 @@ "operationId": "Profiles_Delete", "x-ms-examples": { "Profiles_Delete": { - "$ref": "../examples/ProfilesDelete.json" + "$ref": "./examples/ProfilesDelete.json" } }, "description": "Deletes a profile within a hub", @@ -504,7 +504,7 @@ "operationId": "Profiles_ListByHub", "x-ms-examples": { "Profiles_ListByHub": { - "$ref": "../examples/ProfilesListByHub.json" + "$ref": "./examples/ProfilesListByHub.json" } }, "description": "Gets all profile in the hub.", @@ -559,7 +559,7 @@ "operationId": "Profiles_GetEnrichingKpis", "x-ms-examples": { "Profiles_GetEnrichingKpis": { - "$ref": "../examples/ProfileGetEnrichingKpis.json" + "$ref": "./examples/ProfileGetEnrichingKpis.json" } }, "description": "Gets the KPIs that enrich the profile Type identified by the supplied name. Enrichment happens through participants of the Interaction on an Interaction KPI and through Relationships for Profile KPIs.", @@ -613,7 +613,7 @@ "operationId": "Interactions_CreateOrUpdate", "x-ms-examples": { "Interactions_CreateOrUpdate": { - "$ref": "../examples/InteractionsCreateOrUpdate.json" + "$ref": "./examples/InteractionsCreateOrUpdate.json" } }, "description": "Creates an interaction or updates an existing interaction within a hub.", @@ -678,7 +678,7 @@ "operationId": "Interactions_Get", "x-ms-examples": { "Interactions_Get": { - "$ref": "../examples/InteractionsGet.json" + "$ref": "./examples/InteractionsGet.json" } }, "description": "Gets information about the specified interaction.", @@ -737,7 +737,7 @@ "operationId": "Interactions_ListByHub", "x-ms-examples": { "Interactions_ListByHub": { - "$ref": "../examples/InteractionsListByHub.json" + "$ref": "./examples/InteractionsListByHub.json" } }, "description": "Gets all interactions in the hub.", @@ -792,7 +792,7 @@ "operationId": "Interactions_SuggestRelationshipLinks", "x-ms-examples": { "Interactions_SuggestRelationshipLinks": { - "$ref": "../examples/InteractionsSuggestRelationshipLinks.json" + "$ref": "./examples/InteractionsSuggestRelationshipLinks.json" } }, "description": "Suggests relationships to create relationship links.", @@ -843,7 +843,7 @@ "operationId": "Relationships_CreateOrUpdate", "x-ms-examples": { "Relationships_CreateOrUpdate": { - "$ref": "../examples/RelationshipsCreateOrUpdate.json" + "$ref": "./examples/RelationshipsCreateOrUpdate.json" } }, "description": "Creates a relationship or updates an existing relationship within a hub.", @@ -908,7 +908,7 @@ "operationId": "Relationships_Get", "x-ms-examples": { "Relationships_Get": { - "$ref": "../examples/RelationshipsGet.json" + "$ref": "./examples/RelationshipsGet.json" } }, "description": "Gets information about the specified relationship.", @@ -957,7 +957,7 @@ "operationId": "Relationships_Delete", "x-ms-examples": { "Relationships_Delete": { - "$ref": "../examples/RelationshipsDelete.json" + "$ref": "./examples/RelationshipsDelete.json" } }, "description": "Deletes a relationship within a hub.", @@ -1009,7 +1009,7 @@ "operationId": "Relationships_ListByHub", "x-ms-examples": { "Relationships_ListByHub": { - "$ref": "../examples/RelationshipsListByHub.json" + "$ref": "./examples/RelationshipsListByHub.json" } }, "description": "Gets all relationships in the hub.", @@ -1056,7 +1056,7 @@ "operationId": "RelationshipLinks_CreateOrUpdate", "x-ms-examples": { "RelationshipLinks_CreateOrUpdate": { - "$ref": "../examples/RelationshipLinksCreateOrUpdate.json" + "$ref": "./examples/RelationshipLinksCreateOrUpdate.json" } }, "description": "Creates a relationship link or updates an existing relationship link within a hub.", @@ -1121,7 +1121,7 @@ "operationId": "RelationshipLinks_Get", "x-ms-examples": { "RelationshipLinks_Get": { - "$ref": "../examples/RelationshipLinksGet.json" + "$ref": "./examples/RelationshipLinksGet.json" } }, "description": "Gets information about the specified relationship Link.", @@ -1170,7 +1170,7 @@ "operationId": "RelationshipLinks_Delete", "x-ms-examples": { "RelationshipLinks_Delete": { - "$ref": "../examples/RelationshipLinksDelete.json" + "$ref": "./examples/RelationshipLinksDelete.json" } }, "description": "Deletes a relationship link within a hub.", @@ -1222,7 +1222,7 @@ "operationId": "RelationshipLinks_ListByHub", "x-ms-examples": { "RelationshipLinks_ListByHub": { - "$ref": "../examples/RelationshipLinksListByHub.json" + "$ref": "./examples/RelationshipLinksListByHub.json" } }, "description": "Gets all relationship links in the hub.", @@ -1269,7 +1269,7 @@ "operationId": "AuthorizationPolicies_CreateOrUpdate", "x-ms-examples": { "AuthorizationPolicies_CreateOrUpdate": { - "$ref": "../examples/AuthorizationPoliciesCreateOrUpdate.json" + "$ref": "./examples/AuthorizationPoliciesCreateOrUpdate.json" } }, "description": "Creates an authorization policy or updates an existing authorization policy.", @@ -1336,7 +1336,7 @@ "operationId": "AuthorizationPolicies_Get", "x-ms-examples": { "AuthorizationPolicies_Get": { - "$ref": "../examples/AuthorizationPoliciesGet.json" + "$ref": "./examples/AuthorizationPoliciesGet.json" } }, "description": "Gets an authorization policy in the hub.", @@ -1387,7 +1387,7 @@ "operationId": "AuthorizationPolicies_ListByHub", "x-ms-examples": { "AuthorizationPolicies_ListByHub": { - "$ref": "../examples/AuthorizationPoliciesListByHub.json" + "$ref": "./examples/AuthorizationPoliciesListByHub.json" } }, "description": "Gets all the authorization policies in a specified hub.", @@ -1434,7 +1434,7 @@ "operationId": "AuthorizationPolicies_RegeneratePrimaryKey", "x-ms-examples": { "AuthorizationPolicies_RegeneratePrimaryKey": { - "$ref": "../examples/AuthorizationPoliciesRegeneratePrimaryKey.json" + "$ref": "./examples/AuthorizationPoliciesRegeneratePrimaryKey.json" } }, "description": "Regenerates the primary policy key of the specified authorization policy.", @@ -1485,7 +1485,7 @@ "operationId": "AuthorizationPolicies_RegenerateSecondaryKey", "x-ms-examples": { "AuthorizationPolicies_RegenerateSecondaryKey": { - "$ref": "../examples/AuthorizationPoliciesRegenerateSecondaryKey.json" + "$ref": "./examples/AuthorizationPoliciesRegenerateSecondaryKey.json" } }, "description": "Regenerates the secondary policy key of the specified authorization policy.", @@ -1536,7 +1536,7 @@ "operationId": "Connectors_CreateOrUpdate", "x-ms-examples": { "Connectors_CreateOrUpdate": { - "$ref": "../examples/ConnectorsCreateOrUpdate.json" + "$ref": "./examples/ConnectorsCreateOrUpdate.json" } }, "description": "Creates a connector or updates an existing connector in the hub.", @@ -1601,7 +1601,7 @@ "operationId": "Connectors_Get", "x-ms-examples": { "Connectors_Get": { - "$ref": "../examples/ConnectorsGet.json" + "$ref": "./examples/ConnectorsGet.json" } }, "description": "Gets a connector in the hub.", @@ -1650,7 +1650,7 @@ "operationId": "Connectors_Delete", "x-ms-examples": { "Connectors_Delete": { - "$ref": "../examples/ConnectorsDelete.json" + "$ref": "./examples/ConnectorsDelete.json" } }, "description": "Deletes a connector in the hub.", @@ -1705,7 +1705,7 @@ "operationId": "Connectors_ListByHub", "x-ms-examples": { "Connectors_ListByHub": { - "$ref": "../examples/ConnectorsListByHub.json" + "$ref": "./examples/ConnectorsListByHub.json" } }, "description": "Gets all the connectors in the specified hub.", @@ -1752,7 +1752,7 @@ "operationId": "ConnectorMappings_CreateOrUpdate", "x-ms-examples": { "ConnectorMappings_CreateOrUpdate": { - "$ref": "../examples/ConnectorMappingsCreateOrUpdate.json" + "$ref": "./examples/ConnectorMappingsCreateOrUpdate.json" } }, "description": "Creates a connector mapping or updates an existing connector mapping in the connector.", @@ -1826,7 +1826,7 @@ "operationId": "ConnectorMappings_Get", "x-ms-examples": { "ConnectorMappings_Get": { - "$ref": "../examples/ConnectorMappingsGet.json" + "$ref": "./examples/ConnectorMappingsGet.json" } }, "description": "Gets a connector mapping in the connector.", @@ -1882,7 +1882,7 @@ "operationId": "ConnectorMappings_Delete", "x-ms-examples": { "ConnectorMappings_Delete": { - "$ref": "../examples/ConnectorMappingsDelete.json" + "$ref": "./examples/ConnectorMappingsDelete.json" } }, "description": "Deletes a connector mapping in the connector.", @@ -1940,7 +1940,7 @@ "operationId": "ConnectorMappings_ListByConnector", "x-ms-examples": { "ConnectorMappings_ListByConnector": { - "$ref": "../examples/ConnectorMappingsListByConnector.json" + "$ref": "./examples/ConnectorMappingsListByConnector.json" } }, "description": "Gets all the connector mappings in the specified connector.", @@ -1994,7 +1994,7 @@ "operationId": "Kpi_CreateOrUpdate", "x-ms-examples": { "Kpi_CreateOrUpdate": { - "$ref": "../examples/KpiCreateOrUpdate.json" + "$ref": "./examples/KpiCreateOrUpdate.json" } }, "description": "Creates a KPI or updates an existing KPI in the hub.", @@ -2059,7 +2059,7 @@ "operationId": "Kpi_Get", "x-ms-examples": { "Kpi_Get": { - "$ref": "../examples/KpiGet.json" + "$ref": "./examples/KpiGet.json" } }, "description": "Gets a KPI in the hub.", @@ -2108,7 +2108,7 @@ "operationId": "Kpi_Delete", "x-ms-examples": { "Kpi_Delete": { - "$ref": "../examples/KpiDelete.json" + "$ref": "./examples/KpiDelete.json" } }, "description": "Deletes a KPI in the hub.", @@ -2160,7 +2160,7 @@ "operationId": "Kpi_Reprocess", "x-ms-examples": { "Kpi_Reprocess": { - "$ref": "../examples/KpiReprocess.json" + "$ref": "./examples/KpiReprocess.json" } }, "description": "Reprocesses the Kpi values of the specified KPI.", @@ -2208,7 +2208,7 @@ "operationId": "Kpi_ListByHub", "x-ms-examples": { "Kpi_ListByHub": { - "$ref": "../examples/KpiListByHub.json" + "$ref": "./examples/KpiListByHub.json" } }, "description": "Gets all the KPIs in the specified hub.", @@ -2255,7 +2255,7 @@ "operationId": "WidgetTypes_ListByHub", "x-ms-examples": { "WidgetTypes_ListByHub": { - "$ref": "../examples/WidgetTypesListByHub.json" + "$ref": "./examples/WidgetTypesListByHub.json" } }, "description": "Gets all available widget types in the specified hub.", @@ -2302,7 +2302,7 @@ "operationId": "WidgetTypes_Get", "x-ms-examples": { "WidgetTypes_Get": { - "$ref": "../examples/WidgetTypesGet.json" + "$ref": "./examples/WidgetTypesGet.json" } }, "description": "Gets a widget type in the specified hub.", @@ -2353,7 +2353,7 @@ "operationId": "Views_ListByHub", "x-ms-examples": { "Views_ListByHub": { - "$ref": "../examples/ViewsListByHub.json" + "$ref": "./examples/ViewsListByHub.json" } }, "description": "Gets all available views for given user in the specified hub.", @@ -2407,7 +2407,7 @@ "operationId": "Views_CreateOrUpdate", "x-ms-examples": { "Views_CreateOrUpdate": { - "$ref": "../examples/ViewsCreateOrUpdate.json" + "$ref": "./examples/ViewsCreateOrUpdate.json" } }, "description": "Creates a view or updates an exisiting view in the hub.", @@ -2467,7 +2467,7 @@ "operationId": "Views_Get", "x-ms-examples": { "Views_Get": { - "$ref": "../examples/ViewsGet.json" + "$ref": "./examples/ViewsGet.json" } }, "description": "Gets a view in the hub.", @@ -2523,7 +2523,7 @@ "operationId": "Views_Delete", "x-ms-examples": { "Views_Delete": { - "$ref": "../examples/ViewsDelete.json" + "$ref": "./examples/ViewsDelete.json" } }, "description": "Deletes a view in the specified hub.", @@ -2578,7 +2578,7 @@ "operationId": "Links_CreateOrUpdate", "x-ms-examples": { "Links_CreateOrUpdate": { - "$ref": "../examples/LinksCreateOrUpdate.json" + "$ref": "./examples/LinksCreateOrUpdate.json" } }, "description": "Creates a link or updates an existing link in the hub.", @@ -2643,7 +2643,7 @@ "operationId": "Links_Get", "x-ms-examples": { "Links_Get": { - "$ref": "../examples/LinksGet.json" + "$ref": "./examples/LinksGet.json" } }, "description": "Gets a link in the hub.", @@ -2692,7 +2692,7 @@ "operationId": "Links_Delete", "x-ms-examples": { "Links_Delete": { - "$ref": "../examples/LinksDelete.json" + "$ref": "./examples/LinksDelete.json" } }, "description": "Deletes a link in the hub.", @@ -2743,7 +2743,7 @@ "operationId": "Links_ListByHub", "x-ms-examples": { "Links_ListByHub": { - "$ref": "../examples/LinksListByHub.json" + "$ref": "./examples/LinksListByHub.json" } }, "description": "Gets all the links in the specified hub.", @@ -2790,7 +2790,7 @@ "operationId": "Roles_ListByHub", "x-ms-examples": { "Roles_ListByHub": { - "$ref": "../examples/RolesListByHub.json" + "$ref": "./examples/RolesListByHub.json" } }, "description": "Gets all the roles for the hub.", @@ -2837,7 +2837,7 @@ "operationId": "RoleAssignments_ListByHub", "x-ms-examples": { "RoleAssignments_ListByHub": { - "$ref": "../examples/RoleAssignmentsListByHub.json" + "$ref": "./examples/RoleAssignmentsListByHub.json" } }, "description": "Gets all the role assignments for the specified hub.", @@ -2884,7 +2884,7 @@ "operationId": "RoleAssignments_CreateOrUpdate", "x-ms-examples": { "RoleAssignments_CreateOrUpdate": { - "$ref": "../examples/RoleAssignmentsCreateOrUpdate.json" + "$ref": "./examples/RoleAssignmentsCreateOrUpdate.json" } }, "description": "Creates or updates a role assignment in the hub.", @@ -2949,7 +2949,7 @@ "operationId": "RoleAssignments_Get", "x-ms-examples": { "RoleAssignments_Get": { - "$ref": "../examples/RoleAssignmentsGet.json" + "$ref": "./examples/RoleAssignmentsGet.json" } }, "description": "Gets the role assignment in the hub.", @@ -2998,7 +2998,7 @@ "operationId": "RoleAssignments_Delete", "x-ms-examples": { "RoleAssignments_Delete": { - "$ref": "../examples/RoleAssignmentsDelete.json" + "$ref": "./examples/RoleAssignmentsDelete.json" } }, "description": "Deletes the role assignment in the hub.", @@ -3052,7 +3052,7 @@ "operationId": "Images_GetUploadUrlForEntityType", "x-ms-examples": { "Images_GetUploadUrlForEntityType": { - "$ref": "../examples/ImagesGetUploadUrlForEntityType.json" + "$ref": "./examples/ImagesGetUploadUrlForEntityType.json" } }, "description": "Gets entity type (profile or interaction) image upload URL.", @@ -3105,7 +3105,7 @@ "operationId": "Images_GetUploadUrlForData", "x-ms-examples": { "Images_GetUploadUrlForData": { - "$ref": "../examples/ImagesGetUploadUrlForData.json" + "$ref": "./examples/ImagesGetUploadUrlForData.json" } }, "description": "Gets data image upload URL.", diff --git a/arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesGet.json diff --git a/arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesRegeneratePrimaryKey.json diff --git a/arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/AuthorizationPoliciesRegenerateSecondaryKey.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorMappingsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorMappingsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorMappingsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorMappingsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorMappingsListByConnector.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsListByConnector.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorMappingsListByConnector.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorMappingsListByConnector.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/ConnectorsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ConnectorsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ConnectorsListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/HubsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/HubsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/HubsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/HubsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/HubsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/HubsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/HubsList.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsList.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/HubsList.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsList.json diff --git a/arm-customer-insights/2017-04-26/examples/HubsListByResourceGroup.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsListByResourceGroup.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/HubsListByResourceGroup.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsListByResourceGroup.json diff --git a/arm-customer-insights/2017-04-26/examples/HubsUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/HubsUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/HubsUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/ImagesGetUploadUrlForData.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ImagesGetUploadUrlForData.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ImagesGetUploadUrlForData.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ImagesGetUploadUrlForData.json diff --git a/arm-customer-insights/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ImagesGetUploadUrlForEntityType.json diff --git a/arm-customer-insights/2017-04-26/examples/InteractionsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/InteractionsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/InteractionsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/InteractionsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/InteractionsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/InteractionsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/InteractionsSuggestRelationshipLinks.json diff --git a/arm-customer-insights/2017-04-26/examples/KpiCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/KpiCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/KpiDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/KpiDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/KpiGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/KpiGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiGet.json diff --git a/arm-customer-insights/2017-04-26/examples/KpiListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/KpiListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/KpiReprocess.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiReprocess.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/KpiReprocess.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/KpiReprocess.json diff --git a/arm-customer-insights/2017-04-26/examples/LinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/LinksCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/LinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/LinksDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/LinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/LinksGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksGet.json diff --git a/arm-customer-insights/2017-04-26/examples/LinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/LinksListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/LinksListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/ProfileGetEnrichingKpis.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfileGetEnrichingKpis.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ProfileGetEnrichingKpis.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfileGetEnrichingKpis.json diff --git a/arm-customer-insights/2017-04-26/examples/ProfilesCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ProfilesCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/ProfilesDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ProfilesDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/ProfilesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ProfilesGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesGet.json diff --git a/arm-customer-insights/2017-04-26/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ProfilesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ProfilesListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipLinksDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipLinksDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipLinksGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipLinksGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksGet.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipLinksListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipLinksListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipLinksListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/RelationshipsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RelationshipsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RelationshipsListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/RoleAssignmentsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RoleAssignmentsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/RoleAssignmentsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RoleAssignmentsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/RoleAssignmentsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RoleAssignmentsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RoleAssignmentsListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/RolesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RolesListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/RolesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/RolesListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/ViewsCreateOrUpdate.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsCreateOrUpdate.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ViewsCreateOrUpdate.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsCreateOrUpdate.json diff --git a/arm-customer-insights/2017-04-26/examples/ViewsDelete.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsDelete.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ViewsDelete.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsDelete.json diff --git a/arm-customer-insights/2017-04-26/examples/ViewsGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ViewsGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsGet.json diff --git a/arm-customer-insights/2017-04-26/examples/ViewsListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/ViewsListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/ViewsListByHub.json diff --git a/arm-customer-insights/2017-04-26/examples/WidgetTypesGet.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/WidgetTypesGet.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/WidgetTypesGet.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/WidgetTypesGet.json diff --git a/arm-customer-insights/2017-04-26/examples/WidgetTypesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/WidgetTypesListByHub.json similarity index 100% rename from arm-customer-insights/2017-04-26/examples/WidgetTypesListByHub.json rename to specification/customer-insights/resource-manager/Microsoft.CustomerInsights/2017-04-26/examples/WidgetTypesListByHub.json diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md new file mode 100644 index 000000000000..e30f6cde4d43 --- /dev/null +++ b/specification/customer-insights/resource-manager/readme.md @@ -0,0 +1,63 @@ +# CustomerInsights + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for CustomerInsights. + + + +--- +## Getting Started +To build the SDK for CustomerInsights, 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 CustomerInsights API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.CustomerInsights/2017-04-26/customer-insights.json +``` + + +### Tag: package-2017-01 + +These settings apply only when `--tag=package-2017-01` is specified on the command line. + +``` yaml $(tag) == 'package-2017-01' +input-file: +- Microsoft.CustomerInsights/2017-01-01/customer-insights.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-datalake-analytics/account/2015-10-01-preview/swagger/account.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-10-01-preview/account.json similarity index 100% rename from arm-datalake-analytics/account/2015-10-01-preview/swagger/account.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-10-01-preview/account.json diff --git a/arm-datalake-analytics/catalog/2015-10-01-preview/swagger/catalog.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-10-01-preview/catalog.json similarity index 100% rename from arm-datalake-analytics/catalog/2015-10-01-preview/swagger/catalog.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-10-01-preview/catalog.json diff --git a/arm-datalake-analytics/job/2015-11-01-preview/swagger/job.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-11-01-preview/job.json similarity index 100% rename from arm-datalake-analytics/job/2015-11-01-preview/swagger/job.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2015-11-01-preview/job.json diff --git a/arm-datalake-analytics/job/2016-03-20-preview/swagger/job.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-03-20-preview/job.json similarity index 100% rename from arm-datalake-analytics/job/2016-03-20-preview/swagger/job.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-03-20-preview/job.json diff --git a/arm-datalake-analytics/account/2016-11-01/swagger/account.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/account.json similarity index 100% rename from arm-datalake-analytics/account/2016-11-01/swagger/account.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/account.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/swagger/catalog.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/catalog.json similarity index 99% rename from arm-datalake-analytics/catalog/2016-11-01/swagger/catalog.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/catalog.json index 554f726a3047..c13bfeb157ba 100644 --- a/arm-datalake-analytics/catalog/2016-11-01/swagger/catalog.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/catalog.json @@ -844,7 +844,7 @@ "operationId": "Catalog_ListTableStatisticsByDatabaseAndSchema", "description": "Retrieves the list of all table statistics within the specified schema from the Data Lake Analytics catalog.", "x-ms-examples": { - "List all table statistics in a database and schema": { "$ref": "../examples/AdlCatalogListStatisticsInDatabaseSchema.json" } + "List all table statistics in a database and schema": { "$ref": "./examples/AdlCatalogListStatisticsInDatabaseSchema.json" } }, "parameters": [ { @@ -1062,7 +1062,7 @@ "operationId": "Catalog_GetPackage", "description": "Retrieves the specified package from the Data Lake Analytics catalog.", "x-ms-examples": { - "Get a specific package": { "$ref": "../examples/AdlCatalogGetPackage.json" } + "Get a specific package": { "$ref": "./examples/AdlCatalogGetPackage.json" } }, "parameters": [ { @@ -1108,7 +1108,7 @@ "operationId": "Catalog_ListPackages", "description": "Retrieves the list of packages from the Data Lake Analytics catalog.", "x-ms-examples": { - "List all packages in a database and schema": { "$ref": "../examples/AdlCatalogListPackages.json" } + "List all packages in a database and schema": { "$ref": "./examples/AdlCatalogListPackages.json" } }, "parameters": [ { @@ -2057,7 +2057,7 @@ "operationId": "Catalog_ListTableStatisticsByDatabase", "description": "Retrieves the list of all statistics in a database from the Data Lake Analytics catalog.", "x-ms-examples": { - "List all table statistics in a database": { "$ref": "../examples/AdlCatalogListStatisticsInDatabase.json" } + "List all table statistics in a database": { "$ref": "./examples/AdlCatalogListStatisticsInDatabase.json" } }, "parameters": [ { @@ -2139,7 +2139,7 @@ "operationId": "Catalog_ListTablesByDatabase", "description": "Retrieves the list of all tables in a database from the Data Lake Analytics catalog.", "x-ms-examples": { - "List all tables in a database": { "$ref": "../examples/AdlCatalogListTablesInDatabase.json" } + "List all tables in a database": { "$ref": "./examples/AdlCatalogListTablesInDatabase.json" } }, "parameters": [ { @@ -2229,7 +2229,7 @@ "operationId": "Catalog_ListTableValuedFunctionsByDatabase", "description": "Retrieves the list of all table valued functions in a database from the Data Lake Analytics catalog.", "x-ms-examples": { - "List all table valued functions in a database": { "$ref": "../examples/AdlCatalogListTableValuedFunctionsInDatabase.json" } + "List all table valued functions in a database": { "$ref": "./examples/AdlCatalogListTableValuedFunctionsInDatabase.json" } }, "parameters": [ { @@ -2311,7 +2311,7 @@ "operationId": "Catalog_ListViewsByDatabase", "description": "Retrieves the list of all views in a database from the Data Lake Analytics catalog.", "x-ms-examples": { - "List all views in a database": { "$ref": "../examples/AdlCatalogListViewsInDatabase.json" } + "List all views in a database": { "$ref": "./examples/AdlCatalogListViewsInDatabase.json" } }, "parameters": [ { diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogGetPackage.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogGetPackage.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogGetPackage.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogGetPackage.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListPackages.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListPackages.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListPackages.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListPackages.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListStatisticsInDatabase.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListStatisticsInDatabase.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListStatisticsInDatabase.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListStatisticsInDatabase.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListStatisticsInDatabaseSchema.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListStatisticsInDatabaseSchema.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListStatisticsInDatabaseSchema.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListStatisticsInDatabaseSchema.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListTableValuedFunctionsInDatabase.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListTableValuedFunctionsInDatabase.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListTableValuedFunctionsInDatabase.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListTableValuedFunctionsInDatabase.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListTablesInDatabase.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListTablesInDatabase.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListTablesInDatabase.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListTablesInDatabase.json diff --git a/arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListViewsInDatabase.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListViewsInDatabase.json similarity index 100% rename from arm-datalake-analytics/catalog/2016-11-01/examples/AdlCatalogListViewsInDatabase.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlCatalogListViewsInDatabase.json diff --git a/arm-datalake-analytics/job/2016-11-01/examples/AdlJobCreate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlJobCreate.json similarity index 100% rename from arm-datalake-analytics/job/2016-11-01/examples/AdlJobCreate.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlJobCreate.json diff --git a/arm-datalake-analytics/job/2016-11-01/examples/AdlPipelineGet.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlPipelineGet.json similarity index 100% rename from arm-datalake-analytics/job/2016-11-01/examples/AdlPipelineGet.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlPipelineGet.json diff --git a/arm-datalake-analytics/job/2016-11-01/examples/AdlPipelineList.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlPipelineList.json similarity index 100% rename from arm-datalake-analytics/job/2016-11-01/examples/AdlPipelineList.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlPipelineList.json diff --git a/arm-datalake-analytics/job/2016-11-01/examples/AdlRecurrenceGet.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlRecurrenceGet.json similarity index 100% rename from arm-datalake-analytics/job/2016-11-01/examples/AdlRecurrenceGet.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlRecurrenceGet.json diff --git a/arm-datalake-analytics/job/2016-11-01/examples/AdlRecurrenceList.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlRecurrenceList.json similarity index 100% rename from arm-datalake-analytics/job/2016-11-01/examples/AdlRecurrenceList.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlRecurrenceList.json diff --git a/arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyCreateUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyCreateUpdate.json similarity index 100% rename from arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyCreateUpdate.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyCreateUpdate.json diff --git a/arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyDelete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyDelete.json similarity index 100% rename from arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyDelete.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyDelete.json diff --git a/arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyGet.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyGet.json similarity index 100% rename from arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyGet.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyGet.json diff --git a/arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyList.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyList.json similarity index 100% rename from arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyList.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyList.json diff --git a/arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyUpdate.json similarity index 100% rename from arm-datalake-analytics/account/2016-11-01/examples/AdlaComputePolicyUpdate.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/examples/AdlaComputePolicyUpdate.json diff --git a/arm-datalake-analytics/job/2016-11-01/swagger/job.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/job.json similarity index 99% rename from arm-datalake-analytics/job/2016-11-01/swagger/job.json rename to specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/job.json index edd93483f42a..654635d5001b 100644 --- a/arm-datalake-analytics/job/2016-11-01/swagger/job.json +++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/2016-11-01/job.json @@ -43,7 +43,7 @@ "operationId": "Pipeline_List", "description": "Lists all pipelines.", "x-ms-examples": { - "List all of the pipelines in an account": { "$ref": "../examples/AdlPipelineList.json" } + "List all of the pipelines in an account": { "$ref": "./examples/AdlPipelineList.json" } }, "parameters": [ { @@ -87,7 +87,7 @@ "operationId": "Pipeline_Get", "description": "Gets the Pipeline information for the specified pipeline ID.", "x-ms-examples": { - "Get a specific pipelines in an account": { "$ref": "../examples/AdlPipelineGet.json" } + "Get a specific pipelines in an account": { "$ref": "./examples/AdlPipelineGet.json" } }, "parameters": [ { @@ -136,7 +136,7 @@ "operationId": "Recurrence_List", "description": "Lists all recurrences.", "x-ms-examples": { - "List all of the recurrences in an account": { "$ref": "../examples/AdlRecurrenceList.json" } + "List all of the recurrences in an account": { "$ref": "./examples/AdlRecurrenceList.json" } }, "parameters": [ { @@ -180,7 +180,7 @@ "operationId": "Recurrence_Get", "description": "Gets the recurrence information for the specified recurrence ID.", "x-ms-examples": { - "Get a specific recurrences in an account": { "$ref": "../examples/AdlRecurrenceGet.json" } + "Get a specific recurrences in an account": { "$ref": "./examples/AdlRecurrenceGet.json" } }, "parameters": [ { diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md new file mode 100644 index 000000000000..87a322412df8 --- /dev/null +++ b/specification/datalake-analytics/resource-manager/readme.md @@ -0,0 +1,79 @@ +# DataLakeAnalytics + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DataLakeAnalytics. + + + +--- +## Getting Started +To build the SDK for DataLakeAnalytics, 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 DataLakeAnalytics API. + +``` yaml +title: DataLake Analytics +description: DataLake Analytics Client +openapi-type: arm +tag: package-2016-11 +``` + + +### Tag: package-2016-11 + +These settings apply only when `--tag=package-2016-11` is specified on the command line. + +``` yaml $(tag) == 'package-2016-11' +input-file: +- Microsoft.DataLakeAnalytics/2016-11-01/account.json +- Microsoft.DataLakeAnalytics/2016-11-01/catalog.json +- Microsoft.DataLakeAnalytics/2016-11-01/job.json +``` + +### Tag: package-2016-03-preview + +These settings apply only when `--tag=package-2016-03-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-03-preview' +input-file: +- Microsoft.DataLakeAnalytics/2015-10-01-preview/account.json +- Microsoft.DataLakeAnalytics/2015-10-01-preview/catalog.json +- Microsoft.DataLakeAnalytics/2016-03-20-preview/job.json +``` + +### Tag: package-2015-11-preview + +These settings apply only when `--tag=package-2015-11-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-11-preview' +input-file: +- Microsoft.DataLakeAnalytics/2015-10-01-preview/account.json +- Microsoft.DataLakeAnalytics/2015-10-01-preview/catalog.json +- Microsoft.DataLakeAnalytics/2015-11-01-preview/job.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-datalake-store/account/2015-10-01-preview/swagger/account.json b/specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2015-10-01-preview/account.json similarity index 100% rename from arm-datalake-store/account/2015-10-01-preview/swagger/account.json rename to specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2015-10-01-preview/account.json diff --git a/arm-datalake-store/filesystem/2015-10-01-preview/swagger/filesystem.json b/specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2015-10-01-preview/filesystem.json similarity index 100% rename from arm-datalake-store/filesystem/2015-10-01-preview/swagger/filesystem.json rename to specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2015-10-01-preview/filesystem.json diff --git a/arm-datalake-store/account/2016-11-01/swagger/account.json b/specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/account.json similarity index 100% rename from arm-datalake-store/account/2016-11-01/swagger/account.json rename to specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/account.json diff --git a/arm-datalake-store/filesystem/2016-11-01/swagger/filesystem.json b/specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/filesystem.json similarity index 100% rename from arm-datalake-store/filesystem/2016-11-01/swagger/filesystem.json rename to specification/datalake-store/resource-manager/Microsoft.DataLakeStore/2016-11-01/filesystem.json diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md new file mode 100644 index 000000000000..9dfc9c07aecd --- /dev/null +++ b/specification/datalake-store/resource-manager/readme.md @@ -0,0 +1,67 @@ +# DataLakeStore + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DataLakeStore. + + + +--- +## Getting Started +To build the SDK for DataLakeStore, 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 DataLakeStore API. + +``` yaml + +title: DataLake Store +description: DataLake Store Client +openapi-type: arm +tag: package-2016-11 +``` + + +### Tag: package-2016-11 + +These settings apply only when `--tag=package-2016-11` is specified on the command line. + +``` yaml $(tag) == 'package-2016-11' +input-file: +- Microsoft.DataLakeStore/2016-11-01/account.json +- Microsoft.DataLakeStore/2016-11-01/filesystem.json +``` + +### Tag: package-2015-10-preview + +These settings apply only when `--tag=package-2015-10-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-10-preview' +input-file: +- Microsoft.DataLakeStore/2015-10-01-preview/account.json +- Microsoft.DataLakeStore/2015-10-01-preview/filesystem.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-devtestlabs/2015-05-21-preview/swagger/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/2015-05-21-preview/DTL.json similarity index 100% rename from arm-devtestlabs/2015-05-21-preview/swagger/DTL.json rename to specification/devtestlabs/resource-manager/Microsoft.DevTestLab/2015-05-21-preview/DTL.json diff --git a/arm-devtestlabs/2016-05-15/swagger/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/2016-05-15/DTL.json similarity index 100% rename from arm-devtestlabs/2016-05-15/swagger/DTL.json rename to specification/devtestlabs/resource-manager/Microsoft.DevTestLab/2016-05-15/DTL.json diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md new file mode 100644 index 000000000000..6e30076d4552 --- /dev/null +++ b/specification/devtestlabs/resource-manager/readme.md @@ -0,0 +1,62 @@ +# DevTestLab + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DevTestLab. + + + +--- +## Getting Started +To build the SDK for DevTestLab, 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 DevTestLab API. + +``` yaml +openapi-type: arm +tag: package-2016-05 +``` + + +### Tag: package-2016-05 + +These settings apply only when `--tag=package-2016-05` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05' +input-file: +- Microsoft.DevTestLab/2016-05-15/DTL.json +``` + +### Tag: package-2015-05-preview + +These settings apply only when `--tag=package-2015-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-05-preview' +input-file: +- Microsoft.DevTestLab/2015-05-21-preview/DTL.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-dns/2015-05-04-preview/swagger/dns.json b/specification/dns/resource-manager/Microsoft.Network/2015-05-04-preview/dns.json similarity index 100% rename from arm-dns/2015-05-04-preview/swagger/dns.json rename to specification/dns/resource-manager/Microsoft.Network/2015-05-04-preview/dns.json diff --git a/arm-dns/2016-04-01/swagger/dns.json b/specification/dns/resource-manager/Microsoft.Network/2016-04-01/dns.json similarity index 100% rename from arm-dns/2016-04-01/swagger/dns.json rename to specification/dns/resource-manager/Microsoft.Network/2016-04-01/dns.json diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md new file mode 100644 index 000000000000..89eb590f0dfb --- /dev/null +++ b/specification/dns/resource-manager/readme.md @@ -0,0 +1,62 @@ +# DNS + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for DNS. + + + +--- +## Getting Started +To build the SDK for DNS, 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 DNS API. + +``` yaml +openapi-type: arm +tag: package-2016-04 +``` + + +### Tag: package-2016-04 + +These settings apply only when `--tag=package-2016-04` is specified on the command line. + +``` yaml $(tag) == 'package-2016-04' +input-file: +- Microsoft.Network/2016-04-01/dns.json +``` + +### Tag: package-2015-05-preview + +These settings apply only when `--tag=package-2015-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-05-preview' +input-file: +- Microsoft.Network/2015-05-04-preview/dns.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-eventhub/2015-08-01/swagger/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/EventHub.json similarity index 95% rename from arm-eventhub/2015-08-01/swagger/EventHub.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/EventHub.json index 6c76a374cd12..9313726f5201 100644 --- a/arm-eventhub/2015-08-01/swagger/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/EventHub.json @@ -41,7 +41,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "EHOperations_List": { "$ref": "../examples/EHOperations_List.json" } + "EHOperations_List": { "$ref": "./examples/EHOperations_List.json" } }, "description": "Lists all of the available Event Hub REST API operations.", "parameters": [ @@ -69,7 +69,7 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NamespacesCheckNameAvailability": { "$ref": "../examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" } + "NamespacesCheckNameAvailability": { "$ref": "./examples/EHNameSpaceCheckNameAvailability.json" } }, "description": "Check the give Namespace name availability.", "parameters": [ @@ -106,7 +106,7 @@ ], "operationId": "Namespaces_ListBySubscription", "x-ms-examples": { - "NamespacesListBySubscription": { "$ref": "../examples/NameSpaces/EHNameSpaceList.json" } + "NamespacesListBySubscription": { "$ref": "./examples/EHNameSpaceList.json" } }, "description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.", "parameters": [ @@ -137,7 +137,7 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NamespaceListByResourceGroup": { "$ref": "../examples/NameSpaces/EHNameSpaceListByResourceGroup.json" } + "NamespaceListByResourceGroup": { "$ref": "./examples/EHNameSpaceListByResourceGroup.json" } }, "description": "Lists the available Namespaces within a resource group.", "parameters": [ @@ -171,7 +171,7 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NamespaceCreate": { "$ref": "../examples/NameSpaces/EHNameSpaceCreate.json" } + "NamespaceCreate": { "$ref": "./examples/EHNameSpaceCreate.json" } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -222,7 +222,7 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "../examples/NameSpaces/EHNameSpaceDelete.json" } + "NameSpaceDelete": { "$ref": "./examples/EHNameSpaceDelete.json" } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "parameters": [ @@ -258,7 +258,7 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "../examples/NameSpaces/EHNameSpaceGet.json" } + "NameSpaceGet": { "$ref": "./examples/EHNameSpaceGet.json" } }, "description": "Gets the description of the specified namespace.", "parameters": [ @@ -296,7 +296,7 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NamespacesUpdate": { "$ref": "../examples/NameSpaces/EHNameSpaceUpdate.json" } + "NamespacesUpdate": { "$ref": "./examples/EHNameSpaceUpdate.json" } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -348,7 +348,7 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "ListAuthorizationRules": { "$ref": "../examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json" } + "ListAuthorizationRules": { "$ref": "./examples/EHNameSpaceAutorizationRuleListAll.json" } }, "description": "Gets a list of authorization rules for a Namespace.", "parameters": [ @@ -385,7 +385,7 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "../examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/EHNameSpaceAuthorizationRuleCreate.json" } }, "description": "Creates or updates an AuthorizationRule for a Namespace.", "parameters": [ @@ -429,7 +429,7 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleDelete": { "$ref": "../examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json" } + "NameSpaceAutorizationRuleDelete": { "$ref": "./examples/EHNameSpaceAutorizationRuleDelete.json" } }, "description": "Deletes an AuthorizationRule for a Namespace.", "parameters": [ @@ -464,7 +464,7 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleGet": { "$ref": "../examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json" } + "NameSpaceAutorizationRuleGet": { "$ref": "./examples/EHNameSpaceAutorizationRuleGet.json" } }, "description": "Gets an AuthorizationRule for a Namespace by rule name.", "parameters": [ @@ -501,7 +501,7 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "../examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/EHNameSpaceAuthorizationRuleListKey.json" } }, "description": "Gets the primary and secondary connection strings for the Namespace.", "parameters": [ @@ -538,7 +538,7 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "../examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json" } + "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "./examples/EHNameSpaceAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the primary or secondary connection strings for the specified Namespace.", "parameters": [ @@ -584,7 +584,7 @@ ], "operationId": "EventHubs_ListAll", "x-ms-examples": { - "EventHubsListAll": { "$ref": "../examples/EventHubs/EHEventHubListByNameSpace.json" } + "EventHubsListAll": { "$ref": "./examples/EHEventHubListByNameSpace.json" } }, "description": "Gets all the Event Hubs in a Namespace.", "externalDocs": { @@ -624,7 +624,7 @@ ], "operationId": "EventHubs_CreateOrUpdate", "x-ms-examples": { - "EventHubCreate": { "$ref": "../examples/EventHubs/EHEventHubCreate.json" } + "EventHubCreate": { "$ref": "./examples/EHEventHubCreate.json" } }, "description": "Creates or updates a new Event Hub as a nested resource within a Namespace.", "externalDocs": { @@ -671,7 +671,7 @@ ], "operationId": "EventHubs_Delete", "x-ms-examples": { - "EventHubDelete": { "$ref": "../examples/EventHubs/EHEventHubDelete.json" } + "EventHubDelete": { "$ref": "./examples/EHEventHubDelete.json" } }, "description": "Deletes an Event Hub from the specified Namespace and resource group.", "externalDocs": { @@ -709,7 +709,7 @@ ], "operationId": "EventHubs_Get", "x-ms-examples": { - "EventHubGet": { "$ref": "../examples/EventHubs/EHEventHubGet.json" } + "EventHubGet": { "$ref": "./examples/EHEventHubGet.json" } }, "description": "Gets an Event Hubs description for the specified Event Hub.", "externalDocs": { @@ -749,7 +749,7 @@ ], "operationId": "EventHubs_ListAuthorizationRules", "x-ms-examples": { - "EventHubAutorizationRuleListAll": { "$ref": "../examples/EventHubs/EHEventHubAutorizationRuleListAll.json" } + "EventHubAutorizationRuleListAll": { "$ref": "./examples/EHEventHubAutorizationRuleListAll.json" } }, "description": "Gets the authorization rules for an Event Hub.", "parameters": [ @@ -789,7 +789,7 @@ ], "operationId": "EventHubs_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleCreate": { "$ref": "../examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" } + "EventHubAuthorizationRuleCreate": { "$ref": "./examples/EHEventHubAuthorizationRuleCreate.json" } }, "description": "Creates or updates an AuthorizationRule for the specified Event Hub.", "externalDocs": { @@ -839,7 +839,7 @@ ], "operationId": "EventHubs_GetAuthorizationRule", "x-ms-examples": { - "EventHubAutorizationRuleGet": { "$ref": "../examples/EventHubs/EHEventHubAutorizationRuleGet.json" } + "EventHubAutorizationRuleGet": { "$ref": "./examples/EHEventHubAutorizationRuleGet.json" } }, "description": "Gets an AuthorizationRule for an Event Hub by rule name.", "externalDocs": { @@ -880,7 +880,7 @@ ], "operationId": "EventHubs_DeleteAuthorizationRule", "x-ms-examples": { - "EventHubAutorizationRuleDelete": { "$ref": "../examples/EventHubs/EHEventHubAutorizationRuleDelete.json" } + "EventHubAutorizationRuleDelete": { "$ref": "./examples/EHEventHubAutorizationRuleDelete.json" } }, "description": "Deletes an Event Hub AuthorizationRule.", "externalDocs": { @@ -923,7 +923,7 @@ ], "operationId": "EventHubs_ListKeys", "x-ms-examples": { - "EventHubAuthorizationRuleListKey": { "$ref": "../examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" } + "EventHubAuthorizationRuleListKey": { "$ref": "./examples/EHEventHubAuthorizationRuleListKey.json" } }, "description": "Gets the ACS and SAS connection strings for the Event Hub.", "externalDocs": { @@ -966,7 +966,7 @@ ], "operationId": "EventHubs_RegenerateKeys", "x-ms-examples": { - "EventHubAuthorizationRuleRegenrateKey": { "$ref": "../examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json" } + "EventHubAuthorizationRuleRegenrateKey": { "$ref": "./examples/EHEventHubAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the ACS and SAS connection strings for the Event Hub.", "externalDocs": { @@ -1018,7 +1018,7 @@ ], "operationId": "ConsumerGroups_CreateOrUpdate", "x-ms-examples": { - "ConsumerGroupCreate": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupCreate.json" } + "ConsumerGroupCreate": { "$ref": "./examples/EHConsumerGroupCreate.json" } }, "description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.", "externalDocs": { @@ -1068,7 +1068,7 @@ ], "operationId": "ConsumerGroups_Delete", "x-ms-examples": { - "ConsumerGroupDelete": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupDelete.json" } + "ConsumerGroupDelete": { "$ref": "./examples/EHConsumerGroupDelete.json" } }, "description": "Deletes a consumer group from the specified Event Hub and resource group.", "externalDocs": { @@ -1109,7 +1109,7 @@ ], "operationId": "ConsumerGroups_Get", "x-ms-examples": { - "ConsumerGroupGet": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupGet.json" } + "ConsumerGroupGet": { "$ref": "./examples/EHConsumerGroupGet.json" } }, "description": "Gets a description for the specified consumer group.", "externalDocs": { @@ -1152,7 +1152,7 @@ ], "operationId": "ConsumerGroups_ListAll", "x-ms-examples": { - "ConsumerGroupsListAll": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" } + "ConsumerGroupsListAll": { "$ref": "./examples/EHConsumerGroupListByEventHub.json" } }, "description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.", "externalDocs": { @@ -1880,3 +1880,4 @@ } } } + diff --git a/arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupCreate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupCreate.json diff --git a/arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupDelete.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupDelete.json diff --git a/arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupGet.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupGet.json diff --git a/arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupListByEventHub.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHConsumerGroupListByEventHub.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleCreate.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleListKey.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleRegenrateKey.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAuthorizationRuleUpdate.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAutorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAutorizationRuleDelete.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAutorizationRuleDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAutorizationRuleDelete.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAutorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAutorizationRuleGet.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAutorizationRuleGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAutorizationRuleGet.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAutorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAutorizationRuleListAll.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubAutorizationRuleListAll.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubAutorizationRuleListAll.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubCreate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubCreate.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubDelete.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubDelete.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubGet.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubGet.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubListByNameSpace.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubListByNameSpace.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubListByNameSpace.json diff --git a/arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubUpdate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EventHubs/EHEventHubUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHEventHubUpdate.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleCreate.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleListKey.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleRegenrateKey.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAuthorizationRuleUpdate.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAutorizationRuleDelete.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAutorizationRuleDelete.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAutorizationRuleGet.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAutorizationRuleGet.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAutorizationRuleListAll.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceAutorizationRuleListAll.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceCheckNameAvailability.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceCreate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceCreate.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceDelete.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceDelete.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceGet.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceGet.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceList.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceList.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceList.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceListByResourceGroup.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceListByResourceGroup.json diff --git a/arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceUpdate.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/NameSpaces/EHNameSpaceUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHNameSpaceUpdate.json diff --git a/arm-eventhub/2015-08-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHOperations_List.json similarity index 100% rename from arm-eventhub/2015-08-01/examples/EHOperations_List.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2015-08-01/examples/EHOperations_List.json diff --git a/arm-eventhub/2017-04-01/swagger/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/EventHub.json similarity index 95% rename from arm-eventhub/2017-04-01/swagger/EventHub.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/EventHub.json index c3d257b572e5..34d83a4632b0 100644 --- a/arm-eventhub/2017-04-01/swagger/EventHub.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/EventHub.json @@ -41,7 +41,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "EHOperations_List": { "$ref": "../examples/EHOperations_List.json" } + "EHOperations_List": { "$ref": "./examples/EHOperations_List.json" } }, "description": "Lists all of the available Event Hub REST API operations.", "parameters": [ @@ -75,7 +75,7 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NamespacesCheckNameAvailability": { "$ref": "../examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" } + "NamespacesCheckNameAvailability": { "$ref": "./examples/NameSpaces/EHNameSpaceCheckNameAvailability.json" } }, "description": "Check the give Namespace name availability.", "parameters": [ @@ -118,7 +118,7 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "NamespacesListBySubscription": { "$ref": "../examples/NameSpaces/EHNameSpaceList.json" } + "NamespacesListBySubscription": { "$ref": "./examples/NameSpaces/EHNameSpaceList.json" } }, "description": "Lists all the available Namespaces within a subscription, irrespective of the resource groups.", "parameters": [ @@ -155,7 +155,7 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NamespaceListByResourceGroup": { "$ref": "../examples/NameSpaces/EHNameSpaceListByResourceGroup.json" } + "NamespaceListByResourceGroup": { "$ref": "./examples/NameSpaces/EHNameSpaceListByResourceGroup.json" } }, "description": "Lists the available Namespaces within a resource group.", "parameters": [ @@ -195,7 +195,7 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NamespaceCreate": { "$ref": "../examples/NameSpaces/EHNameSpaceCreate.json" } + "NamespaceCreate": { "$ref": "./examples/NameSpaces/EHNameSpaceCreate.json" } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -255,7 +255,7 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "../examples/NameSpaces/EHNameSpaceDelete.json" } + "NameSpaceDelete": { "$ref": "./examples/NameSpaces/EHNameSpaceDelete.json" } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "parameters": [ @@ -297,7 +297,7 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "../examples/NameSpaces/EHNameSpaceGet.json" } + "NameSpaceGet": { "$ref": "./examples/NameSpaces/EHNameSpaceGet.json" } }, "description": "Gets the description of the specified namespace.", "parameters": [ @@ -341,7 +341,7 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NamespacesUpdate": { "$ref": "../examples/NameSpaces/EHNameSpaceUpdate.json" } + "NamespacesUpdate": { "$ref": "./examples/NameSpaces/EHNameSpaceUpdate.json" } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -399,7 +399,7 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "ListAuthorizationRules": { "$ref": "../examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json" } + "ListAuthorizationRules": { "$ref": "./examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json" } }, "description": "Gets a list of authorization rules for a Namespace.", "parameters": [ @@ -442,7 +442,7 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "../examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json" } }, "description": "Creates or updates an AuthorizationRule for a Namespace.", "parameters": [ @@ -492,7 +492,7 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleDelete": { "$ref": "../examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json" } + "NameSpaceAutorizationRuleDelete": { "$ref": "./examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json" } }, "description": "Deletes an AuthorizationRule for a Namespace.", "parameters": [ @@ -533,7 +533,7 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleGet": { "$ref": "../examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json" } + "NameSpaceAutorizationRuleGet": { "$ref": "./examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json" } }, "description": "Gets an AuthorizationRule for a Namespace by rule name.", "parameters": [ @@ -576,7 +576,7 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "../examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json" } }, "description": "Gets the primary and secondary connection strings for the Namespace.", "parameters": [ @@ -619,7 +619,7 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "../examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json" } + "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "./examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the primary or secondary connection strings for the specified Namespace.", "parameters": [ @@ -671,7 +671,7 @@ ], "operationId": "EventHubs_ListByNamespace", "x-ms-examples": { - "EventHubsListAll": { "$ref": "../examples/EventHubs/EHEventHubListByNameSpace.json" } + "EventHubsListAll": { "$ref": "./examples/EventHubs/EHEventHubListByNameSpace.json" } }, "description": "Gets all the Event Hubs in a Namespace.", "parameters": [ @@ -714,7 +714,7 @@ ], "operationId": "EventHubs_CreateOrUpdate", "x-ms-examples": { - "EventHubCreate": { "$ref": "../examples/EventHubs/EHEventHubCreate.json" } + "EventHubCreate": { "$ref": "./examples/EventHubs/EHEventHubCreate.json" } }, "description": "Creates or updates a new Event Hub as a nested resource within a Namespace.", "parameters": [ @@ -764,7 +764,7 @@ ], "operationId": "EventHubs_Delete", "x-ms-examples": { - "EventHubDelete": { "$ref": "../examples/EventHubs/EHEventHubDelete.json" } + "EventHubDelete": { "$ref": "./examples/EventHubs/EHEventHubDelete.json" } }, "description": "Deletes an Event Hub from the specified Namespace and resource group.", "parameters": [ @@ -805,7 +805,7 @@ ], "operationId": "EventHubs_Get", "x-ms-examples": { - "EventHubGet": { "$ref": "../examples/EventHubs/EHEventHubGet.json" } + "EventHubGet": { "$ref": "./examples/EventHubs/EHEventHubGet.json" } }, "description": "Gets an Event Hubs description for the specified Event Hub.", "parameters": [ @@ -848,7 +848,7 @@ ], "operationId": "EventHubs_ListAuthorizationRules", "x-ms-examples": { - "EventHubAutorizationRuleListAll": { "$ref": "../examples/EventHubs/EHEventHubAutorizationRuleListAll.json" } + "EventHubAutorizationRuleListAll": { "$ref": "./examples/EventHubs/EHEventHubAutorizationRuleListAll.json" } }, "description": "Gets the authorization rules for an Event Hub.", "parameters": [ @@ -894,7 +894,7 @@ ], "operationId": "EventHubs_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "EventHubAuthorizationRuleCreate": { "$ref": "../examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" } + "EventHubAuthorizationRuleCreate": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleCreate.json" } }, "description": "Creates or updates an AuthorizationRule for the specified Event Hub.", "parameters": [ @@ -947,7 +947,7 @@ ], "operationId": "EventHubs_GetAuthorizationRule", "x-ms-examples": { - "EventHubAutorizationRuleGet": { "$ref": "../examples/EventHubs/EHEventHubAutorizationRuleGet.json" } + "EventHubAutorizationRuleGet": { "$ref": "./examples/EventHubs/EHEventHubAutorizationRuleGet.json" } }, "description": "Gets an AuthorizationRule for an Event Hub by rule name.", "parameters": [ @@ -991,7 +991,7 @@ ], "operationId": "EventHubs_DeleteAuthorizationRule", "x-ms-examples": { - "EventHubAutorizationRuleDelete": { "$ref": "../examples/EventHubs/EHEventHubAutorizationRuleDelete.json" } + "EventHubAutorizationRuleDelete": { "$ref": "./examples/EventHubs/EHEventHubAutorizationRuleDelete.json" } }, "description": "Deletes an Event Hub AuthorizationRule.", "parameters": [ @@ -1037,7 +1037,7 @@ ], "operationId": "EventHubs_ListKeys", "x-ms-examples": { - "EventHubAuthorizationRuleListKey": { "$ref": "../examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" } + "EventHubAuthorizationRuleListKey": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleListKey.json" } }, "description": "Gets the ACS and SAS connection strings for the Event Hub.", "parameters": [ @@ -1083,7 +1083,7 @@ ], "operationId": "EventHubs_RegenerateKeys", "x-ms-examples": { - "EventHubAuthorizationRuleRegenrateKey": { "$ref": "../examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json" } + "EventHubAuthorizationRuleRegenrateKey": { "$ref": "./examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the ACS and SAS connection strings for the Event Hub.", "parameters": [ @@ -1138,7 +1138,7 @@ ], "operationId": "ConsumerGroups_CreateOrUpdate", "x-ms-examples": { - "ConsumerGroupCreate": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupCreate.json" } + "ConsumerGroupCreate": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupCreate.json" } }, "description": "Creates or updates an Event Hubs consumer group as a nested resource within a Namespace.", "parameters": [ @@ -1191,7 +1191,7 @@ ], "operationId": "ConsumerGroups_Delete", "x-ms-examples": { - "ConsumerGroupDelete": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupDelete.json" } + "ConsumerGroupDelete": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupDelete.json" } }, "description": "Deletes a consumer group from the specified Event Hub and resource group.", "parameters": [ @@ -1235,7 +1235,7 @@ ], "operationId": "ConsumerGroups_Get", "x-ms-examples": { - "ConsumerGroupGet": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupGet.json" } + "ConsumerGroupGet": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupGet.json" } }, "description": "Gets a description for the specified consumer group.", "parameters": [ @@ -1281,7 +1281,7 @@ ], "operationId": "ConsumerGroups_ListByEventHub", "x-ms-examples": { - "ConsumerGroupsListAll": { "$ref": "../examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" } + "ConsumerGroupsListAll": { "$ref": "./examples/ConsumerGroup/EHConsumerGroupListByEventHub.json" } }, "description": "Gets all the consumer groups in a Namespace. An empty feed is returned if no consumer group exists in the Namespace.", "parameters": [ diff --git a/arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupCreate.json diff --git a/arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupDelete.json diff --git a/arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupGet.json diff --git a/arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupListByEventHub.json diff --git a/arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/ConsumerGroup/EHConsumerGroupUpdate.json diff --git a/arm-eventhub/2017-04-01/examples/EHOperations_List.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EHOperations_List.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EHOperations_List.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EHOperations_List.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleCreate.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleListKey.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleRegenrateKey.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAuthorizationRuleUpdate.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleDelete.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleDelete.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleGet.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleGet.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleListAll.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleListAll.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubAutorizationRuleListAll.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubCreate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubCreate.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubDelete.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubDelete.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubGet.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubGet.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubListByNameSpace.json diff --git a/arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubUpdate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/EventHubs/EHEventHubUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/EventHubs/EHEventHubUpdate.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleCreate.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleListKey.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleRegenrateKey.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAuthorizationRuleUpdate.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleDelete.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleGet.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceAutorizationRuleListAll.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceCheckNameAvailability.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceCreate.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceDelete.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceGet.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceList.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceList.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceList.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceList.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceListByResourceGroup.json diff --git a/arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json b/specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json similarity index 100% rename from arm-eventhub/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json rename to specification/eventhub/resource-manager/Microsoft.EventHub/2017-04-01/examples/NameSpaces/EHNameSpaceUpdate.json diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md new file mode 100644 index 000000000000..20b16234945f --- /dev/null +++ b/specification/eventhub/resource-manager/readme.md @@ -0,0 +1,63 @@ +# EventHub + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for EventHub. + + + +--- +## Getting Started +To build the SDK for EventHub, 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 EventHub API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.EventHub/2017-04-01/EventHub.json +``` + + +### Tag: package-2015-08 + +These settings apply only when `--tag=package-2015-08` is specified on the command line. + +``` yaml $(tag) == 'package-2015-08' +input-file: +- Microsoft.EventHub/2015-08-01/EventHub.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-graphrbac/1.6/swagger/graphrbac.json b/specification/graphrbac/data-plane/1.6/graphrbac.json similarity index 100% rename from arm-graphrbac/1.6/swagger/graphrbac.json rename to specification/graphrbac/data-plane/1.6/graphrbac.json diff --git a/specification/graphrbac/data-plane/readme.md b/specification/graphrbac/data-plane/readme.md new file mode 100644 index 000000000000..2557bd2fdf1a --- /dev/null +++ b/specification/graphrbac/data-plane/readme.md @@ -0,0 +1,66 @@ +# GraphRbac + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for GraphRbac. + + + +--- +## Getting Started +To build the SDK for GraphRbac, 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 GraphRbac API. + +``` yaml +openapi-type: data-plane +tag: 1.6 +``` + + +### Tag: 1.6 + +These settings apply only when `--tag=1.6` is specified on the command line. + +``` yaml $(tag) == '1.6' +input-file: +- 1.6/graphrbac.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.graphrbac +``` diff --git a/arm-hdinsight/2015-03-01-preview/swagger/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/applications.json similarity index 95% rename from arm-hdinsight/2015-03-01-preview/swagger/applications.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/applications.json index 4e9e6a2ed8d3..a08bd4c7b1d0 100644 --- a/arm-hdinsight/2015-03-01-preview/swagger/applications.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/applications.json @@ -41,7 +41,7 @@ "operationId": "Applications_List", "x-ms-examples": { "Get All Applications for an HDInsight cluster": { - "$ref": "../examples/GetAllApplications.json" + "$ref": "./examples/GetAllApplications.json" } }, "parameters": [{ @@ -87,10 +87,10 @@ "operationId": "Applications_Get", "x-ms-examples": { "Get application on HDInsight cluster successfully created.": { - "$ref": "../examples/GetApplicationCreated.json" + "$ref": "./examples/GetApplicationCreated.json" }, "Get application on HDInsight cluster creation in progress": { - "$ref": "../examples/GetApplicationInProgress.json" + "$ref": "./examples/GetApplicationInProgress.json" } }, "parameters": [{ @@ -142,7 +142,7 @@ "operationId": "Applications_Create", "x-ms-examples": { "Create Application": { - "$ref": "../examples/CreateApplication.json" + "$ref": "./examples/CreateApplication.json" } }, "parameters": [{ @@ -206,7 +206,7 @@ "operationId": "Applications_Delete", "x-ms-examples": { "Delete Application from HDInsight cluster": { - "$ref": "../examples/DeleteApplication.json" + "$ref": "./examples/DeleteApplication.json" } }, "parameters": [{ @@ -447,4 +447,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-hdinsight/2015-03-01-preview/swagger/capabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/capabilities.json similarity index 96% rename from arm-hdinsight/2015-03-01-preview/swagger/capabilities.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/capabilities.json index 91ce97b08ada..f2b5c61fd737 100644 --- a/arm-hdinsight/2015-03-01-preview/swagger/capabilities.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/capabilities.json @@ -41,7 +41,7 @@ "description": "Gets the capabilities for the specified location.", "x-ms-examples": { "Get the subscription capabilities for specific location": { - "$ref": "../examples/GetHDInsightCapabilities.json" + "$ref": "./examples/GetHDInsightCapabilities.json" } }, "parameters": [{ @@ -266,4 +266,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-hdinsight/2015-03-01-preview/swagger/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/cluster.json similarity index 95% rename from arm-hdinsight/2015-03-01-preview/swagger/cluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/cluster.json index 6c6b1539a3f7..d6445c0c4e1c 100644 --- a/arm-hdinsight/2015-03-01-preview/swagger/cluster.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/cluster.json @@ -41,19 +41,19 @@ "description": "Begins creating a new HDInsight cluster with the specified parameters.", "x-ms-examples": { "Create Hadoop on Linux cluster with SSH password": { - "$ref": "../examples/CreateLinuxHadoopSshPassword.json" + "$ref": "./examples/CreateLinuxHadoopSshPassword.json" }, "Create Hadoop on Linux cluster with SSH public key": { - "$ref": "../examples/CreateLinuxHadoopSshPublicKey.json" + "$ref": "./examples/CreateLinuxHadoopSshPublicKey.json" }, "Create Spark on Linux Cluster with SSH password": { - "$ref": "../examples/CreateLinuxSparkSshPassword.json" + "$ref": "./examples/CreateLinuxSparkSshPassword.json" }, "Create Windows Cluster": { - "$ref": "../examples/CreateWindowsHadoopRdp.json" + "$ref": "./examples/CreateWindowsHadoopRdp.json" }, "Create Secure Hadoop cluster": { - "$ref": "../examples/CreateLinuxHadoopSecureHadoop.json" + "$ref": "./examples/CreateLinuxHadoopSecureHadoop.json" } }, "parameters": [{ @@ -104,7 +104,7 @@ "description": "Patch HDInsight cluster with the specified parameters.", "x-ms-examples": { "Patch HDInsight Linux clusters": { - "$ref": "../examples/PatchLinuxHadoopCluster.json" + "$ref": "./examples/PatchLinuxHadoopCluster.json" } }, "parameters": [{ @@ -154,7 +154,7 @@ "description": "Begins deleting the specified HDInsight cluster.", "x-ms-examples": { "Delete Hadoop on Linux cluster": { - "$ref": "../examples/DeleteLinuxHadoopCluster.json" + "$ref": "./examples/DeleteLinuxHadoopCluster.json" } }, "parameters": [{ @@ -196,10 +196,10 @@ "description": "Gets the specified cluster.", "x-ms-examples": { "Get Hadoop on Linux cluster": { - "$ref": "../examples/GetLinuxHadoopCluster.json" + "$ref": "./examples/GetLinuxHadoopCluster.json" }, "Get Spark on Linux cluster": { - "$ref": "../examples/GetLinuxSparkCluster.json" + "$ref": "./examples/GetLinuxSparkCluster.json" } }, "parameters": [{ @@ -242,7 +242,7 @@ "description": "List the HDInsight clusters in a resource group.", "x-ms-examples": { "Get All Hadoop on Linux cluster": { - "$ref": "../examples/GetLinuxHadoopAllCluster.json" + "$ref": "./examples/GetLinuxHadoopAllCluster.json" } }, "parameters": [{ @@ -1122,4 +1122,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-hdinsight/2015-03-01-preview/swagger/configurations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/configurations.json similarity index 95% rename from arm-hdinsight/2015-03-01-preview/swagger/configurations.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/configurations.json index 055def0826ac..e3d464fd2c93 100644 --- a/arm-hdinsight/2015-03-01-preview/swagger/configurations.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/configurations.json @@ -41,7 +41,7 @@ "description": "Begins changing the RDP settings on the specified cluster.", "x-ms-examples": { "Change Remote Desktop settings - Enable": { - "$ref": "../examples/RdpSettingsEnable.json" + "$ref": "./examples/RdpSettingsEnable.json" } }, "parameters": [{ @@ -95,10 +95,10 @@ "description": "Begins configuring the HTTP settings on the specified cluster.", "x-ms-examples": { "Enable HTTP connectivity": { - "$ref": "../examples/ChangeHttpConnectivityEnable.json" + "$ref": "./examples/ChangeHttpConnectivityEnable.json" }, "Disable HTTP connectivity": { - "$ref": "../examples/ChangeHttpConnectivityDisable.json" + "$ref": "./examples/ChangeHttpConnectivityDisable.json" } }, "parameters": [{ @@ -166,7 +166,7 @@ "description": "The configuration object for the specified cluster.", "x-ms-examples": { "Get HTTP settings": { - "$ref": "../examples/GetHttpConnectivity.json" + "$ref": "./examples/GetHttpConnectivity.json" } }, "parameters": [{ @@ -345,4 +345,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-hdinsight/2015-03-01-preview/examples/ChangeHttpConnectivityDisable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/ChangeHttpConnectivityDisable.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/ChangeHttpConnectivityDisable.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/ChangeHttpConnectivityDisable.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/ChangeHttpConnectivityEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/ChangeHttpConnectivityEnable.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/ChangeHttpConnectivityEnable.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/ChangeHttpConnectivityEnable.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateApplication.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateApplication.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateApplication.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateExtension.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateExtension.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateExtension.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateExtension.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxHadoopSecureHadoop.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPassword.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxHadoopSshPublicKey.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateLinuxSparkSshPassword.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/CreateWindowsHadoopRdp.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateWindowsHadoopRdp.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/CreateWindowsHadoopRdp.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/CreateWindowsHadoopRdp.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/DeleteApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/DeleteApplication.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/DeleteApplication.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/DeleteApplication.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/DeleteLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/DeleteLinuxHadoopCluster.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/DeleteLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/DeleteLinuxHadoopCluster.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetAllApplications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetAllApplications.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetAllApplications.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetAllApplications.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetApplicationCreated.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetApplicationCreated.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetApplicationCreated.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetApplicationCreated.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetApplicationInProgress.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetApplicationInProgress.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetApplicationInProgress.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetApplicationInProgress.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetHDInsightCapabilities.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetHDInsightCapabilities.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetHDInsightCapabilities.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetHttpConnectivity.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetHttpConnectivity.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetHttpConnectivity.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetHttpConnectivity.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopAllCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopAllCluster.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopAllCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopAllCluster.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopCluster.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopCluster.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopScriptAction.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopScriptAction.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopScriptAction.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxHadoopScriptExecutionHistory.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetLinuxSparkCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxSparkCluster.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetLinuxSparkCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetLinuxSparkCluster.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetScriptActionById.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetScriptActionById.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetScriptActionById.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetScriptActionById.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/GetScriptExecutionHistory.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetScriptExecutionHistory.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/GetScriptExecutionHistory.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/GetScriptExecutionHistory.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/PatchLinuxHadoopCluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/PatchLinuxHadoopCluster.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/PatchLinuxHadoopCluster.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/PatchLinuxHadoopCluster.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/PostExecuteScriptAction.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/PostExecuteScriptAction.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/PostExecuteScriptAction.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/PostExecuteScriptAction.json diff --git a/arm-hdinsight/2015-03-01-preview/examples/RdpSettingsEnable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/RdpSettingsEnable.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/examples/RdpSettingsEnable.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/examples/RdpSettingsEnable.json diff --git a/arm-hdinsight/2015-03-01-preview/swagger/extensions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/extensions.json similarity index 96% rename from arm-hdinsight/2015-03-01-preview/swagger/extensions.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/extensions.json index c77bcb038ecd..aab5fa225687 100644 --- a/arm-hdinsight/2015-03-01-preview/swagger/extensions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/extensions.json @@ -41,7 +41,7 @@ "operationId": "Extension_Create", "x-ms-examples": { "Create extensions on Hadoop Linux cluster": { - "$ref": "../examples/CreateExtension.json" + "$ref": "./examples/CreateExtension.json" } }, "parameters": [{ @@ -224,4 +224,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-hdinsight/2015-03-01-preview/swagger/operations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/operations.json similarity index 100% rename from arm-hdinsight/2015-03-01-preview/swagger/operations.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/operations.json diff --git a/arm-hdinsight/2015-03-01-preview/swagger/scriptActions.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/scriptActions.json similarity index 95% rename from arm-hdinsight/2015-03-01-preview/swagger/scriptActions.json rename to specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/scriptActions.json index 94033a03e287..c5e560d84bff 100644 --- a/arm-hdinsight/2015-03-01-preview/swagger/scriptActions.json +++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/2015-03-01-preview/scriptActions.json @@ -83,7 +83,7 @@ "description": "Begins executing script actions on the specified HDInsight cluster.", "x-ms-examples": { "Execute script action on HDInsight cluster": { - "$ref": "../examples/PostExecuteScriptAction.json" + "$ref": "./examples/PostExecuteScriptAction.json" } }, "parameters": [{ @@ -136,7 +136,7 @@ "description": "Lists all persisted script actions for the given cluster.", "x-ms-examples": { "List all persisted script actions for the given cluster": { - "$ref": "../examples/GetLinuxHadoopScriptAction.json" + "$ref": "./examples/GetLinuxHadoopScriptAction.json" } }, "parameters": [{ @@ -182,7 +182,7 @@ "description": "Gets the script execution detail for the given script execution id.", "x-ms-examples": { "Get script execution history by script id": { - "$ref": "../examples/GetScriptActionById.json" + "$ref": "./examples/GetScriptActionById.json" } }, "parameters": [{ @@ -232,7 +232,7 @@ "description": "Lists all scripts execution history for the given cluster.", "x-ms-examples": { "Get Script Execution History List": { - "$ref": "../examples/GetScriptExecutionHistory.json" + "$ref": "./examples/GetScriptExecutionHistory.json" } }, "parameters": [{ @@ -434,4 +434,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md new file mode 100644 index 000000000000..3f29894fbdc0 --- /dev/null +++ b/specification/hdinsight/resource-manager/readme.md @@ -0,0 +1,61 @@ +# HDInsight + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for HDInsight. + + + +--- +## 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 API. + +``` yaml +title: HDInsightManagementClient +description: HDInsight Management Client +openapi-type: arm +tag: package-2015-03-preview +``` + + +### Tag: package-2015-03-preview + +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/2015-03-01-preview/cluster.json +- Microsoft.HDInsight/2015-03-01-preview/applications.json +- Microsoft.HDInsight/2015-03-01-preview/capabilities.json +- Microsoft.HDInsight/2015-03-01-preview/configurations.json +- Microsoft.HDInsight/2015-03-01-preview/extensions.json +- Microsoft.HDInsight/2015-03-01-preview/scriptActions.json +- Microsoft.HDInsight/2015-03-01-preview/operations.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-intune/2015-01-14-preview/swagger/intune.json b/specification/intune/resource-manager/Microsoft.Intune/2015-01-14-preview/intune.json similarity index 100% rename from arm-intune/2015-01-14-preview/swagger/intune.json rename to specification/intune/resource-manager/Microsoft.Intune/2015-01-14-preview/intune.json diff --git a/arm-intune/2015-01-14-privatepreview/swagger/intune.json b/specification/intune/resource-manager/Microsoft.Intune/2015-01-14-privatepreview/intune.json similarity index 100% rename from arm-intune/2015-01-14-privatepreview/swagger/intune.json rename to specification/intune/resource-manager/Microsoft.Intune/2015-01-14-privatepreview/intune.json diff --git a/specification/intune/resource-manager/readme.md b/specification/intune/resource-manager/readme.md new file mode 100644 index 000000000000..8b3384c9a040 --- /dev/null +++ b/specification/intune/resource-manager/readme.md @@ -0,0 +1,62 @@ +# Intune + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Intune. + + + +--- +## Getting Started +To build the SDK for Intune, 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 Intune API. + +``` yaml +openapi-type: arm +tag: package-2015-01-preview +``` + + +### Tag: package-2015-01-preview + +These settings apply only when `--tag=package-2015-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-01-preview' +input-file: +- Microsoft.Intune/2015-01-14-preview/intune.json +``` + +### Tag: package-2015-01-privatepreview + +These settings apply only when `--tag=package-2015-01-privatepreview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-01-privatepreview' +input-file: +- Microsoft.Intune/2015-01-14-privatepreview/intune.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-iothub/2016-02-03/swagger/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/2016-02-03/iothub.json similarity index 100% rename from arm-iothub/2016-02-03/swagger/iothub.json rename to specification/iothub/resource-manager/Microsoft.Devices/2016-02-03/iothub.json diff --git a/arm-iothub/2017-01-19/swagger/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/2017-01-19/iothub.json similarity index 100% rename from arm-iothub/2017-01-19/swagger/iothub.json rename to specification/iothub/resource-manager/Microsoft.Devices/2017-01-19/iothub.json diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md new file mode 100644 index 000000000000..abd8920ef654 --- /dev/null +++ b/specification/iothub/resource-manager/readme.md @@ -0,0 +1,62 @@ +# IotHub + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for IotHub. + + + +--- +## Getting Started +To build the SDK for IotHub, 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 IotHub API. + +``` yaml +openapi-type: arm +tag: package-2017-01 +``` + + +### Tag: package-2017-01 + +These settings apply only when `--tag=package-2017-01` is specified on the command line. + +``` yaml $(tag) == 'package-2017-01' +input-file: +- Microsoft.Devices/2017-01-19/iothub.json +``` + +### Tag: package-2016-02 + +These settings apply only when `--tag=package-2016-02` is specified on the command line. + +``` yaml $(tag) == 'package-2016-02' +input-file: +- Microsoft.Devices/2016-02-03/iothub.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/keyvault/2015-06-01/swagger/keyvault.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2015-06-01/keyvault.json similarity index 100% rename from keyvault/2015-06-01/swagger/keyvault.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2015-06-01/keyvault.json diff --git a/keyvault/2016-10-01/examples/storage/deleteStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json similarity index 99% rename from keyvault/2016-10-01/examples/storage/deleteStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json index 2e9b6489cc9b..1882feca2c92 100644 --- a/keyvault/2016-10-01/examples/storage/deleteStorageAccount.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageAccount.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/keyvault/2016-10-01/examples/storage/deleteStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageSasDefinition.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/deleteStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/deleteStorageSasDefinition.json diff --git a/keyvault/2016-10-01/examples/storage/getStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/getStorageAccount.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/getStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/getStorageAccount.json diff --git a/keyvault/2016-10-01/examples/storage/getStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/getStorageSasDefinition.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/getStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/getStorageSasDefinition.json diff --git a/keyvault/2016-10-01/examples/storage/listStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/listStorageAccount.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/listStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/listStorageAccount.json diff --git a/keyvault/2016-10-01/examples/storage/listStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/listStorageSasDefinition.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/listStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/listStorageSasDefinition.json diff --git a/keyvault/2016-10-01/examples/storage/regenerateStorageAccountKey.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json similarity index 99% rename from keyvault/2016-10-01/examples/storage/regenerateStorageAccountKey.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json index 83863faae582..a7ff24178460 100644 --- a/keyvault/2016-10-01/examples/storage/regenerateStorageAccountKey.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/regenerateStorageAccountKey.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/keyvault/2016-10-01/examples/storage/setStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/setStorageAccount.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/setStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/setStorageAccount.json diff --git a/keyvault/2016-10-01/examples/storage/setStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/setStorageSasDefinition.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/setStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/setStorageSasDefinition.json diff --git a/keyvault/2016-10-01/examples/storage/updateStorageAccount.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/updateStorageAccount.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/updateStorageAccount.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/updateStorageAccount.json diff --git a/keyvault/2016-10-01/examples/storage/updateStorageSasDefinition.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/updateStorageSasDefinition.json similarity index 100% rename from keyvault/2016-10-01/examples/storage/updateStorageSasDefinition.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/examples/updateStorageSasDefinition.json diff --git a/keyvault/2016-10-01/swagger/index.md b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/index.md similarity index 100% rename from keyvault/2016-10-01/swagger/index.md rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/index.md diff --git a/keyvault/2016-10-01/swagger/keyvault.json b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json similarity index 99% rename from keyvault/2016-10-01/swagger/keyvault.json rename to specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json index 1b6c027966c6..320cab9739a1 100644 --- a/keyvault/2016-10-01/swagger/keyvault.json +++ b/specification/keyvault/data-plane/Microsoft.KeyVault/2016-10-01/keyvault.json @@ -2382,7 +2382,7 @@ }, "x-ms-examples": { "List Storage account": { - "$ref": "../examples/storage/listStorageAccount.json" + "$ref": "./examples//listStorageAccount.json" } } } @@ -2423,7 +2423,7 @@ }, "x-ms-examples": { "Delete Storage account": { - "$ref": "../examples/storage/deleteStorageAccount.json" + "$ref": "./examples//deleteStorageAccount.json" } } }, @@ -2462,7 +2462,7 @@ }, "x-ms-examples": { "Get Storage account": { - "$ref": "../examples/storage/getStorageAccount.json" + "$ref": "./examples//getStorageAccount.json" } } }, @@ -2511,7 +2511,7 @@ }, "x-ms-examples": { "Set Storage account": { - "$ref": "../examples/storage/setStorageAccount.json" + "$ref": "./examples//setStorageAccount.json" } } }, @@ -2560,7 +2560,7 @@ }, "x-ms-examples": { "Update Storage account": { - "$ref": "../examples/storage/updateStorageAccount.json" + "$ref": "./examples//updateStorageAccount.json" } } } @@ -2611,7 +2611,7 @@ }, "x-ms-examples": { "Regenerate Storage account key": { - "$ref": "../examples/storage/regenerateStorageAccountKey.json" + "$ref": "./examples//regenerateStorageAccountKey.json" } } } @@ -2665,7 +2665,7 @@ }, "x-ms-examples": { "List Storage Sas Definition": { - "$ref": "../examples/storage/listStorageSasDefinition.json" + "$ref": "./examples//listStorageSasDefinition.json" } } } @@ -2714,7 +2714,7 @@ }, "x-ms-examples": { "Delete Storage Sas Definition": { - "$ref": "../examples/storage/deleteStorageSasDefinition.json" + "$ref": "./examples//deleteStorageSasDefinition.json" } } }, @@ -2761,7 +2761,7 @@ }, "x-ms-examples": { "Get Storage Sas Definition": { - "$ref": "../examples/storage/getStorageSasDefinition.json" + "$ref": "./examples//getStorageSasDefinition.json" } } }, @@ -2818,7 +2818,7 @@ }, "x-ms-examples": { "Set Storage Sas definition": { - "$ref": "../examples/storage/setStorageSasDefinition.json" + "$ref": "./examples//setStorageSasDefinition.json" } } }, @@ -2875,7 +2875,7 @@ }, "x-ms-examples": { "Update Storage Sas definition": { - "$ref": "../examples/storage/updateStorageSasDefinition.json" + "$ref": "./examples//updateStorageSasDefinition.json" } } } @@ -4757,4 +4757,4 @@ "description": "Client API version." } } -} +} \ No newline at end of file diff --git a/specification/keyvault/data-plane/readme.md b/specification/keyvault/data-plane/readme.md new file mode 100644 index 000000000000..3389d02a604e --- /dev/null +++ b/specification/keyvault/data-plane/readme.md @@ -0,0 +1,62 @@ +# KeyVault + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for KeyVault. + + + +--- +## Getting Started +To build the SDK for KeyVault, 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 KeyVault API. + +``` yaml +openapi-type: data-plane +tag: package-2016-10 +``` + + +### Tag: package-2016-10 + +These settings apply only when `--tag=package-2016-10` is specified on the command line. + +``` yaml $(tag) == 'package-2016-10' +input-file: +- Microsoft.KeyVault/2016-10-01/keyvault.json +``` + +### Tag: package-2015-06 + +These settings apply only when `--tag=package-2015-06` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06' +input-file: +- Microsoft.KeyVault/2015-06-01/keyvault.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-keyvault/2015-06-01/swagger/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/2015-06-01/keyvault.json similarity index 100% rename from arm-keyvault/2015-06-01/swagger/keyvault.json rename to specification/keyvault/resource-manager/Microsoft.KeyVault/2015-06-01/keyvault.json diff --git a/arm-keyvault/2016-10-01/swagger/keyvault.json b/specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json similarity index 99% rename from arm-keyvault/2016-10-01/swagger/keyvault.json rename to specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json index 6f2dac4550f8..5222a23906a9 100644 --- a/arm-keyvault/2016-10-01/swagger/keyvault.json +++ b/specification/keyvault/resource-manager/Microsoft.KeyVault/2016-10-01/keyvault.json @@ -705,4 +705,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md new file mode 100644 index 000000000000..3ced608204c2 --- /dev/null +++ b/specification/keyvault/resource-manager/readme.md @@ -0,0 +1,63 @@ +# KeyVault + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for KeyVault. + + + +--- +## Getting Started +To build the SDK for KeyVault, 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 KeyVault API. + +``` yaml +openapi-type: arm +tag: package-2016-10 +``` + + +### Tag: package-2016-10 + +These settings apply only when `--tag=package-2016-10` is specified on the command line. + +``` yaml $(tag) == 'package-2016-10' +input-file: +- Microsoft.KeyVault/2016-10-01/keyvault.json +``` + + +### Tag: package-2015-06 + +These settings apply only when `--tag=package-2015-06` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06' +input-file: +- Microsoft.KeyVault/2015-06-01/keyvault.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-logic/2015-02-01-preview/swagger/logic.json b/specification/logic/resource-manager/Microsoft.Logic/2015-02-01-preview/logic.json similarity index 100% rename from arm-logic/2015-02-01-preview/swagger/logic.json rename to specification/logic/resource-manager/Microsoft.Logic/2015-02-01-preview/logic.json diff --git a/arm-logic/2015-08-01-preview/swagger/logic.json b/specification/logic/resource-manager/Microsoft.Logic/2015-08-01-preview/logic.json similarity index 100% rename from arm-logic/2015-08-01-preview/swagger/logic.json rename to specification/logic/resource-manager/Microsoft.Logic/2015-08-01-preview/logic.json diff --git a/arm-logic/2016-06-01/examples/AgreementsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/AgreementsCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/AgreementsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/AgreementsDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsDelete.json diff --git a/arm-logic/2016-06-01/examples/AgreementsGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/AgreementsGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsGet.json diff --git a/arm-logic/2016-06-01/examples/AgreementsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsListByIntegrationAccounts.json similarity index 100% rename from arm-logic/2016-06-01/examples/AgreementsListByIntegrationAccounts.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/AgreementsListByIntegrationAccounts.json diff --git a/arm-logic/2016-06-01/examples/CertificatesCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/CertificatesCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/CertificatesDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/CertificatesDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesDelete.json diff --git a/arm-logic/2016-06-01/examples/CertificatesGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/CertificatesGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesGet.json diff --git a/arm-logic/2016-06-01/examples/CertificatesListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesListByIntegrationAccounts.json similarity index 100% rename from arm-logic/2016-06-01/examples/CertificatesListByIntegrationAccounts.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/CertificatesListByIntegrationAccounts.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsDelete.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsGet.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsGetCallbackUrl.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsListByResourceGroup.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsListBySubscription.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsListBySubscription.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsListBySubscription.json diff --git a/arm-logic/2016-06-01/examples/IntegrationAccountsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/IntegrationAccountsUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/IntegrationAccountsUpdate.json diff --git a/arm-logic/2016-06-01/examples/MapsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/MapsCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/MapsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/MapsDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsDelete.json diff --git a/arm-logic/2016-06-01/examples/MapsGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/MapsGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsGet.json diff --git a/arm-logic/2016-06-01/examples/MapsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsListByIntegrationAccounts.json similarity index 100% rename from arm-logic/2016-06-01/examples/MapsListByIntegrationAccounts.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/MapsListByIntegrationAccounts.json diff --git a/arm-logic/2016-06-01/examples/PartnersCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/PartnersCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/PartnersDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/PartnersDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersDelete.json diff --git a/arm-logic/2016-06-01/examples/PartnersGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/PartnersGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersGet.json diff --git a/arm-logic/2016-06-01/examples/PartnersListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersListByIntegrationAccounts.json similarity index 100% rename from arm-logic/2016-06-01/examples/PartnersListByIntegrationAccounts.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/PartnersListByIntegrationAccounts.json diff --git a/arm-logic/2016-06-01/examples/SchemasCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/SchemasCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/SchemasDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/SchemasDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasDelete.json diff --git a/arm-logic/2016-06-01/examples/SchemasGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/SchemasGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasGet.json diff --git a/arm-logic/2016-06-01/examples/SchemasListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasListByIntegrationAccounts.json similarity index 100% rename from arm-logic/2016-06-01/examples/SchemasListByIntegrationAccounts.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SchemasListByIntegrationAccounts.json diff --git a/arm-logic/2016-06-01/examples/SessionsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsCreateOrUpdate.json similarity index 100% rename from arm-logic/2016-06-01/examples/SessionsCreateOrUpdate.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsCreateOrUpdate.json diff --git a/arm-logic/2016-06-01/examples/SessionsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsDelete.json similarity index 100% rename from arm-logic/2016-06-01/examples/SessionsDelete.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsDelete.json diff --git a/arm-logic/2016-06-01/examples/SessionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsGet.json similarity index 100% rename from arm-logic/2016-06-01/examples/SessionsGet.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsGet.json diff --git a/arm-logic/2016-06-01/examples/SessionsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsListByIntegrationAccounts.json similarity index 100% rename from arm-logic/2016-06-01/examples/SessionsListByIntegrationAccounts.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/SessionsListByIntegrationAccounts.json diff --git a/arm-logic/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json similarity index 100% rename from arm-logic/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowTriggerHistoriesResubmit.json diff --git a/arm-logic/2016-06-01/examples/WorkflowVersionsListCallbackUrl.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowVersionsListCallbackUrl.json similarity index 100% rename from arm-logic/2016-06-01/examples/WorkflowVersionsListCallbackUrl.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowVersionsListCallbackUrl.json diff --git a/arm-logic/2016-06-01/examples/WorkflowsListSwagger.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowsListSwagger.json similarity index 100% rename from arm-logic/2016-06-01/examples/WorkflowsListSwagger.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowsListSwagger.json diff --git a/arm-logic/2016-06-01/examples/WorkflowsRegenerateAccessKey.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowsRegenerateAccessKey.json similarity index 100% rename from arm-logic/2016-06-01/examples/WorkflowsRegenerateAccessKey.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/examples/WorkflowsRegenerateAccessKey.json diff --git a/arm-logic/2016-06-01/swagger/logic.json b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/logic.json similarity index 99% rename from arm-logic/2016-06-01/swagger/logic.json rename to specification/logic/resource-manager/Microsoft.Logic/2016-06-01/logic.json index 93b1a6b98478..cec697cbc400 100644 --- a/arm-logic/2016-06-01/swagger/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/2016-06-01/logic.json @@ -471,7 +471,7 @@ "description": "Regenerates the callback URL access key for request triggers.", "x-ms-examples": { "Regenerate the callback URL access key for request triggers": { - "$ref": "../examples/WorkflowsRegenerateAccessKey.json" + "$ref": "./examples/WorkflowsRegenerateAccessKey.json" } }, "parameters": [ @@ -813,7 +813,7 @@ "description": "Lists the callback URL for a trigger of a workflow version.", "x-ms-examples": { "Get callback URL for a trigger of a workflow version": { - "$ref": "../examples/WorkflowVersionsListCallbackUrl.json" + "$ref": "./examples/WorkflowVersionsListCallbackUrl.json" } }, "parameters": [ @@ -998,7 +998,7 @@ "description": "Resubmits a workflow run based on the trigger history.", "x-ms-examples": { "Resubmit a workflow run based on the trigger history": { - "$ref": "../examples/WorkflowTriggerHistoriesResubmit.json" + "$ref": "./examples/WorkflowTriggerHistoriesResubmit.json" } }, "parameters": [ @@ -1370,7 +1370,7 @@ "description": "Gets a list of integration accounts by subscription.", "x-ms-examples": { "List IntegrationAccounts by subscription": { - "$ref": "../examples/IntegrationAccountsListBySubscription.json" + "$ref": "./examples/IntegrationAccountsListBySubscription.json" } }, "parameters": [ @@ -1411,7 +1411,7 @@ "description": "Gets a list of integration accounts by resource group.", "x-ms-examples": { "List IntegrationAccounts by resourcegroup name": { - "$ref": "../examples/IntegrationAccountsListByResourceGroup.json" + "$ref": "./examples/IntegrationAccountsListByResourceGroup.json" } }, "parameters": [ @@ -1459,7 +1459,7 @@ "description": "Gets an integration account.", "x-ms-examples": { "Get IntegrationAccount by name": { - "$ref": "../examples/IntegrationAccountsGet.json" + "$ref": "./examples/IntegrationAccountsGet.json" } }, "parameters": [ @@ -1501,7 +1501,7 @@ "description": "Creates or updates an integration account.", "x-ms-examples": { "Create or update an IntegrationAccount": { - "$ref": "../examples/IntegrationAccountsCreateOrUpdate.json" + "$ref": "./examples/IntegrationAccountsCreateOrUpdate.json" } }, "parameters": [ @@ -1558,7 +1558,7 @@ "description": "Updates an integration account.", "x-ms-examples": { "Patch an IntegrationAccount": { - "$ref": "../examples/IntegrationAccountsUpdate.json" + "$ref": "./examples/IntegrationAccountsUpdate.json" } }, "parameters": [ @@ -1609,7 +1609,7 @@ "description": "Deletes an integration account.", "x-ms-examples": { "Delete an IntegrationAccount": { - "$ref": "../examples/IntegrationAccountsDelete.json" + "$ref": "./examples/IntegrationAccountsDelete.json" } }, "parameters": [ @@ -1653,7 +1653,7 @@ "description": "Gets the integration account callback URL.", "x-ms-examples": { "Get IntegrationAccount callback URL": { - "$ref": "../examples/IntegrationAccountsGetCallbackUrl.json" + "$ref": "./examples/IntegrationAccountsGetCallbackUrl.json" } }, "parameters": [ @@ -1706,7 +1706,7 @@ "description": "Gets a list of integration account schemas.", "x-ms-examples": { "Get schemas by integration account name": { - "$ref": "../examples/SchemasListByIntegrationAccounts.json" + "$ref": "./examples/SchemasListByIntegrationAccounts.json" } }, "parameters": [ @@ -1769,7 +1769,7 @@ "description": "Gets an integration account schema.", "x-ms-examples": { "Get schema by name": { - "$ref": "../examples/SchemasGet.json" + "$ref": "./examples/SchemasGet.json" } }, "parameters": [ @@ -1818,7 +1818,7 @@ "description": "Creates or updates an integration account schema.", "x-ms-examples": { "Create or update schema": { - "$ref": "../examples/SchemasCreateOrUpdate.json" + "$ref": "./examples/SchemasCreateOrUpdate.json" } }, "parameters": [ @@ -1882,7 +1882,7 @@ "description": "Deletes an integration account schema.", "x-ms-examples": { "Delete a schema by name": { - "$ref": "../examples/SchemasDelete.json" + "$ref": "./examples/SchemasDelete.json" } }, "parameters": [ @@ -1933,7 +1933,7 @@ "description": "Gets a list of integration account maps.", "x-ms-examples": { "Get maps by integration account name": { - "$ref": "../examples/MapsListByIntegrationAccounts.json" + "$ref": "./examples/MapsListByIntegrationAccounts.json" } }, "parameters": [ @@ -1996,7 +1996,7 @@ "description": "Gets an integration account map.", "x-ms-examples": { "Get map by name": { - "$ref": "../examples/MapsGet.json" + "$ref": "./examples/MapsGet.json" } }, "parameters": [ @@ -2045,7 +2045,7 @@ "description": "Creates or updates an integration account map.", "x-ms-examples": { "Create or update a map": { - "$ref": "../examples/MapsCreateOrUpdate.json" + "$ref": "./examples/MapsCreateOrUpdate.json" } }, "parameters": [ @@ -2109,7 +2109,7 @@ "description": "Deletes an integration account map.", "x-ms-examples": { "Delete a map": { - "$ref": "../examples/MapsDelete.json" + "$ref": "./examples/MapsDelete.json" } }, "parameters": [ @@ -2160,7 +2160,7 @@ "description": "Gets a list of integration account partners.", "x-ms-examples": { "Get partners by integrationaccount name": { - "$ref": "../examples/PartnersListByIntegrationAccounts.json" + "$ref": "./examples/PartnersListByIntegrationAccounts.json" } }, "parameters": [ @@ -2223,7 +2223,7 @@ "description": "Gets an integration account partner.", "x-ms-examples": { "Get partner by name": { - "$ref": "../examples/PartnersGet.json" + "$ref": "./examples/PartnersGet.json" } }, "parameters": [ @@ -2272,7 +2272,7 @@ "description": "Creates or updates an integration account partner.", "x-ms-examples": { "Create or update a partner": { - "$ref": "../examples/PartnersCreateOrUpdate.json" + "$ref": "./examples/PartnersCreateOrUpdate.json" } }, "parameters": [ @@ -2336,7 +2336,7 @@ "description": "Deletes an integration account partner.", "x-ms-examples": { "Delete a partner": { - "$ref": "../examples/PartnersDelete.json" + "$ref": "./examples/PartnersDelete.json" } }, "parameters": [ @@ -2387,7 +2387,7 @@ "description": "Gets a list of integration account agreements.", "x-ms-examples": { "Get agreements by integrationaccount name": { - "$ref": "../examples/AgreementsListByIntegrationAccounts.json" + "$ref": "./examples/AgreementsListByIntegrationAccounts.json" } }, "parameters": [ @@ -2450,7 +2450,7 @@ "description": "Gets an integration account agreement.", "x-ms-examples": { "Get agreement by name": { - "$ref": "../examples/AgreementsGet.json" + "$ref": "./examples/AgreementsGet.json" } }, "parameters": [ @@ -2499,7 +2499,7 @@ "description": "Creates or updates an integration account agreement.", "x-ms-examples": { "Create or update an agreement": { - "$ref": "../examples/AgreementsCreateOrUpdate.json" + "$ref": "./examples/AgreementsCreateOrUpdate.json" } }, "parameters": [ @@ -2563,7 +2563,7 @@ "description": "Deletes an integration account agreement.", "x-ms-examples": { "Delete an agreement": { - "$ref": "../examples/AgreementsDelete.json" + "$ref": "./examples/AgreementsDelete.json" } }, "parameters": [ @@ -2614,7 +2614,7 @@ "description": "Gets a list of integration account certificates.", "x-ms-examples": { "Get certificates by integrationAccount name": { - "$ref": "../examples/CertificatesListByIntegrationAccounts.json" + "$ref": "./examples/CertificatesListByIntegrationAccounts.json" } }, "parameters": [ @@ -2669,7 +2669,7 @@ "description": "Gets an integration account certificate.", "x-ms-examples": { "Get certificate by name": { - "$ref": "../examples/CertificatesGet.json" + "$ref": "./examples/CertificatesGet.json" } }, "parameters": [ @@ -2718,7 +2718,7 @@ "description": "Creates or updates an integration account certificate.", "x-ms-examples": { "Create or update a certificate": { - "$ref": "../examples/CertificatesCreateOrUpdate.json" + "$ref": "./examples/CertificatesCreateOrUpdate.json" } }, "parameters": [ @@ -2782,7 +2782,7 @@ "description": "Deletes an integration account certificate.", "x-ms-examples": { "Delete a certificate": { - "$ref": "../examples/CertificatesDelete.json" + "$ref": "./examples/CertificatesDelete.json" } }, "parameters": [ @@ -2832,7 +2832,7 @@ "operationId": "Sessions_ListByIntegrationAccounts", "x-ms-examples": { "SessionsListByIntegrationAccounts": { - "$ref": "../examples/SessionsListByIntegrationAccounts.json" + "$ref": "./examples/SessionsListByIntegrationAccounts.json" } }, "description": "Gets a list of integration account sessions.", @@ -2901,7 +2901,7 @@ "operationId": "Sessions_Get", "x-ms-examples": { "SessionsGet": { - "$ref": "../examples/SessionsGet.json" + "$ref": "./examples/SessionsGet.json" } }, "description": "Gets an integration account session.", @@ -2956,7 +2956,7 @@ "operationId": "Sessions_CreateOrUpdate", "x-ms-examples": { "SessionsCreateOrUpdate": { - "$ref": "../examples/SessionsCreateOrUpdate.json" + "$ref": "./examples/SessionsCreateOrUpdate.json" } }, "description": "Creates or updates an integration account session.", @@ -3026,7 +3026,7 @@ "operationId": "Sessions_Delete", "x-ms-examples": { "SessionsDelete": { - "$ref": "../examples/SessionsDelete.json" + "$ref": "./examples/SessionsDelete.json" } }, "description": "Deletes an integration account session.", @@ -7244,4 +7244,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md new file mode 100644 index 000000000000..74faf0596198 --- /dev/null +++ b/specification/logic/resource-manager/readme.md @@ -0,0 +1,71 @@ +# Logic + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Logic. + + + +--- +## Getting Started +To build the SDK for Logic, 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 Logic API. + +``` yaml +openapi-type: arm +tag: package-2016-06 +``` + + +### Tag: package-2016-06 + +These settings apply only when `--tag=package-2016-06` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06' +input-file: +- Microsoft.Logic/2016-06-01/logic.json +``` + +### Tag: package-2015-08-preview + +These settings apply only when `--tag=package-2015-08-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-08-preview' +input-file: +- Microsoft.Logic/2015-08-01-preview/logic.json +``` + +### Tag: package-2015-02-preview + +These settings apply only when `--tag=package-2015-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-02-preview' +input-file: +- Microsoft.Logic/2015-02-01-preview/logic.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-machinelearning/2016-05-01-preview/swagger/commitmentPlans.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2016-05-01-preview/commitmentPlans.json similarity index 100% rename from arm-machinelearning/2016-05-01-preview/swagger/commitmentPlans.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2016-05-01-preview/commitmentPlans.json diff --git a/arm-machinelearning/2016-05-01-preview/swagger/webservices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2016-05-01-preview/webservices.json similarity index 100% rename from arm-machinelearning/2016-05-01-preview/swagger/webservices.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2016-05-01-preview/webservices.json diff --git a/arm-machinelearning/2017-01-01/examples/createRegionalProperties.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/createRegionalProperties.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/createRegionalProperties.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/createRegionalProperties.json diff --git a/arm-machinelearning/2017-01-01/examples/deleteWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/deleteWebService.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/deleteWebService.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/deleteWebService.json diff --git a/arm-machinelearning/2017-01-01/examples/getWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebService.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/getWebService.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebService.json diff --git a/arm-machinelearning/2017-01-01/examples/getWebServiceKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebServiceKeys.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/getWebServiceKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebServiceKeys.json diff --git a/arm-machinelearning/2017-01-01/examples/getWebServicesByResourceGroup.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebServicesByResourceGroup.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/getWebServicesByResourceGroup.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebServicesByResourceGroup.json diff --git a/arm-machinelearning/2017-01-01/examples/getWebServicesBySubscriptionId.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebServicesBySubscriptionId.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/getWebServicesBySubscriptionId.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/getWebServicesBySubscriptionId.json diff --git a/arm-machinelearning/2017-01-01/examples/patchWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/patchWebService.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/patchWebService.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/patchWebService.json diff --git a/arm-machinelearning/2017-01-01/examples/putWebService.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/putWebService.json similarity index 100% rename from arm-machinelearning/2017-01-01/examples/putWebService.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/examples/putWebService.json diff --git a/arm-machinelearning/2017-01-01/swagger/webservices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/webservices.json similarity index 98% rename from arm-machinelearning/2017-01-01/swagger/webservices.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/webservices.json index d11f052e0f31..61d560feeff0 100644 --- a/arm-machinelearning/2017-01-01/swagger/webservices.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/2017-01-01/webservices.json @@ -24,7 +24,7 @@ "operationId": "WebServices_CreateOrUpdate", "x-ms-examples": { "PUT WebService": { - "$ref": "../examples/putWebService.json" + "$ref": "./examples/putWebService.json" } }, "description": "Create or update a web service. This call will overwrite an existing web service. Note that there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new web service, call the Get operation first to verify that it does not exist.", @@ -74,7 +74,7 @@ "operationId": "WebServices_Get", "x-ms-examples": { "GET WebService": { - "$ref": "../examples/getWebService.json" + "$ref": "./examples/getWebService.json" } }, "description": "Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that the storage credentials and web service keys are not returned by this call. To get the web service access keys, call List Keys.", @@ -115,7 +115,7 @@ "operationId": "WebServices_Patch", "x-ms-examples": { "Patch WebService": { - "$ref": "../examples/patchWebService.json" + "$ref": "./examples/patchWebService.json" } }, "description": "Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To determine whether it has completed successfully, you must perform a Get operation.", @@ -159,7 +159,7 @@ "operationId": "WebServices_Remove", "x-ms-examples": { "Delete WebService": { - "$ref": "../examples/deleteWebService.json" + "$ref": "./examples/deleteWebService.json" } }, "description": "Deletes the specified web service.", @@ -196,7 +196,7 @@ "operationId": "WebServices_CreateRegionalProperties", "x-ms-examples": { "Create Regional Properties": { - "$ref": "../examples/createRegionalProperties.json" + "$ref": "./examples/createRegionalProperties.json" } }, "description": "Creates an encrypted credentials parameter blob for the specified region. To get the web service from a region other than the region in which it has been created, you must first call Create Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that region. You only need to do this before the first time that you get the web service in the new region.", @@ -243,7 +243,7 @@ "operationId": "WebServices_ListKeys", "x-ms-examples": { "GET WebService Keys": { - "$ref": "../examples/getWebServiceKeys.json" + "$ref": "./examples/getWebServiceKeys.json" } }, "description": "Gets the access keys for the specified web service.", @@ -282,7 +282,7 @@ "operationId": "WebServices_ListByResourceGroup", "x-ms-examples": { "GET WebServices by Resource Group": { - "$ref": "../examples/getWebServicesByResourceGroup.json" + "$ref": "./examples/getWebServicesByResourceGroup.json" } }, "description": "Gets the web services in the specified resource group.", @@ -325,7 +325,7 @@ "operationId": "WebServices_ListBySubscriptionId", "x-ms-examples": { "GET WebServices by Subscription Id": { - "$ref": "../examples/getWebServicesBySubscriptionId.json" + "$ref": "./examples/getWebServicesBySubscriptionId.json" } }, "description": "Gets the web services in the specified subscription.", @@ -1221,4 +1221,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md new file mode 100644 index 000000000000..904637ca00c9 --- /dev/null +++ b/specification/machinelearning/resource-manager/readme.md @@ -0,0 +1,66 @@ +# MachineLearning + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for MachineLearning. + + + +--- +## Getting Started +To build the SDK for MachineLearning, 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 MachineLearning API. + +``` yaml +title: Machine Learning +description: Machine Learning Client +openapi-type: arm +tag: package-2017-01 +``` + + +### Tag: package-2017-01 + +These settings apply only when `--tag=package-2017-01` is specified on the command line. + +``` yaml $(tag) == 'package-2017-01' +input-file: +- Microsoft.MachineLearning/2016-05-01-preview/commitmentPlans.json +- Microsoft.MachineLearning/2017-01-01/webservices.json +``` + +### Tag: package-2016-05-preview + +These settings apply only when `--tag=package-2016-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05-preview' +input-file: +- Microsoft.MachineLearning/2016-05-01-preview/commitmentPlans.json +- Microsoft.MachineLearning/2016-05-01-preview/webservices.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-mediaservices/2015-10-01/swagger/media.json b/specification/mediaservices/resource-manager/Microsoft.Media/2015-10-01/media.json similarity index 100% rename from arm-mediaservices/2015-10-01/swagger/media.json rename to specification/mediaservices/resource-manager/Microsoft.Media/2015-10-01/media.json diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md new file mode 100644 index 000000000000..17ffe20b967f --- /dev/null +++ b/specification/mediaservices/resource-manager/readme.md @@ -0,0 +1,53 @@ +# MediaServices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for MediaServices. + + + +--- +## Getting Started +To build the SDK for MediaServices, 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 MediaServices API. + +``` yaml +openapi-type: arm +tag: package-2015-10 +``` + + +### Tag: package-2015-10 + +These settings apply only when `--tag=package-2015-10` is specified on the command line. + +``` yaml $(tag) == 'package-2015-10' +input-file: +- Microsoft.Media/2015-10-01/media.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-mobileengagement/2014-12-01/swagger/mobile-engagement.json b/specification/mobileengagement/resource-manager/Microsoft.MobileEngagement/2014-12-01/mobile-engagement.json similarity index 100% rename from arm-mobileengagement/2014-12-01/swagger/mobile-engagement.json rename to specification/mobileengagement/resource-manager/Microsoft.MobileEngagement/2014-12-01/mobile-engagement.json diff --git a/arm-mobileengagement/2014-12-01/jsonschema/export.schema.json b/specification/mobileengagement/resource-manager/Microsoft.MobileEngagement/2014-12-01/schema/export.schema.json similarity index 100% rename from arm-mobileengagement/2014-12-01/jsonschema/export.schema.json rename to specification/mobileengagement/resource-manager/Microsoft.MobileEngagement/2014-12-01/schema/export.schema.json diff --git a/specification/mobileengagement/resource-manager/readme.md b/specification/mobileengagement/resource-manager/readme.md new file mode 100644 index 000000000000..124d0e1403c9 --- /dev/null +++ b/specification/mobileengagement/resource-manager/readme.md @@ -0,0 +1,53 @@ +# MobileEngagement + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for MobileEngagement. + + + +--- +## Getting Started +To build the SDK for MobileEngagement, 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 MobileEngagement API. + +``` yaml +openapi-type: arm +tag: package-2014-12 +``` + + +### Tag: package-2014-12 + +These settings apply only when `--tag=package-2014-12` is specified on the command line. + +``` yaml $(tag) == 'package-2014-12' +input-file: +- Microsoft.MobileEngagement/2014-12-01/mobile-engagement.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/monitor/2014-04-01/swagger/usageMetrics_API.json b/specification/monitor/data-plane/microsoft.insights/2014-04-01/usageMetrics_API.json similarity index 100% rename from monitor/2014-04-01/swagger/usageMetrics_API.json rename to specification/monitor/data-plane/microsoft.insights/2014-04-01/usageMetrics_API.json diff --git a/monitor/2015-04-01/swagger/activityLogs_API.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/activityLogs_API.json similarity index 98% rename from monitor/2015-04-01/swagger/activityLogs_API.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/activityLogs_API.json index 1035e3dabd7e..f1c76f63df0a 100644 --- a/monitor/2015-04-01/swagger/activityLogs_API.json +++ b/specification/monitor/data-plane/microsoft.insights/2015-04-01/activityLogs_API.json @@ -151,10 +151,10 @@ }, "x-ms-odata": "#/definitions/EventData", "x-ms-examples": { - "Get Activity Logs without filter or select": { "$ref": "../examples/GetActivityLogsNoParams.json" }, - "Get Activity Logs with filter": { "$ref": "../examples/GetActivityLogsFiltered.json" }, - "Get Activity Logs with select": { "$ref": "../examples/GetActivityLogsSelected.json" }, - "Get Activity Logs with filter and select": { "$ref": "../examples/GetActivityLogsFilteredAndSelected.json" } + "Get Activity Logs without filter or select": { "$ref": "./examples/GetActivityLogsNoParams.json" }, + "Get Activity Logs with filter": { "$ref": "./examples/GetActivityLogsFiltered.json" }, + "Get Activity Logs with select": { "$ref": "./examples/GetActivityLogsSelected.json" }, + "Get Activity Logs with filter and select": { "$ref": "./examples/GetActivityLogsFilteredAndSelected.json" } } } } @@ -400,4 +400,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/monitor/2015-04-01/swagger/eventCategories_API.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/eventCategories_API.json similarity index 100% rename from monitor/2015-04-01/swagger/eventCategories_API.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/eventCategories_API.json diff --git a/monitor/2015-04-01/examples/GetActivityLogsFiltered.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsFiltered.json similarity index 100% rename from monitor/2015-04-01/examples/GetActivityLogsFiltered.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsFiltered.json diff --git a/monitor/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json similarity index 100% rename from monitor/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsFilteredAndSelected.json diff --git a/monitor/2015-04-01/examples/GetActivityLogsNoParams.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsNoParams.json similarity index 100% rename from monitor/2015-04-01/examples/GetActivityLogsNoParams.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsNoParams.json diff --git a/monitor/2015-04-01/examples/GetActivityLogsSelected.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsSelected.json similarity index 100% rename from monitor/2015-04-01/examples/GetActivityLogsSelected.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/examples/GetActivityLogsSelected.json diff --git a/monitor/2015-04-01/swagger/tenantActivityLogs_API.json b/specification/monitor/data-plane/microsoft.insights/2015-04-01/tenantActivityLogs_API.json similarity index 100% rename from monitor/2015-04-01/swagger/tenantActivityLogs_API.json rename to specification/monitor/data-plane/microsoft.insights/2015-04-01/tenantActivityLogs_API.json diff --git a/monitor/2016-03-01/examples/GetMetricDefinitions.json b/specification/monitor/data-plane/microsoft.insights/2016-03-01/examples/GetMetricDefinitions.json similarity index 100% rename from monitor/2016-03-01/examples/GetMetricDefinitions.json rename to specification/monitor/data-plane/microsoft.insights/2016-03-01/examples/GetMetricDefinitions.json diff --git a/monitor/2016-03-01/examples/GetMetricDefinitionsFiltered.json b/specification/monitor/data-plane/microsoft.insights/2016-03-01/examples/GetMetricDefinitionsFiltered.json similarity index 100% rename from monitor/2016-03-01/examples/GetMetricDefinitionsFiltered.json rename to specification/monitor/data-plane/microsoft.insights/2016-03-01/examples/GetMetricDefinitionsFiltered.json diff --git a/monitor/2016-03-01/swagger/metricDefinitions_API.json b/specification/monitor/data-plane/microsoft.insights/2016-03-01/metricDefinitions_API.json similarity index 97% rename from monitor/2016-03-01/swagger/metricDefinitions_API.json rename to specification/monitor/data-plane/microsoft.insights/2016-03-01/metricDefinitions_API.json index be3a4c38d64a..fa6f97982ee7 100644 --- a/monitor/2016-03-01/swagger/metricDefinitions_API.json +++ b/specification/monitor/data-plane/microsoft.insights/2016-03-01/metricDefinitions_API.json @@ -140,8 +140,8 @@ }, "x-ms-odata": "#/definitions/MetricDefinition", "x-ms-examples": { - "Get Metric Definitions without filter": { "$ref": "../examples/GetMetricDefinitions.json" }, - "Get Metric Definitions with filter": { "$ref": "../examples/GetMetricDefinitionsFiltered.json" } + "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" }, + "Get Metric Definitions with filter": { "$ref": "./examples/GetMetricDefinitionsFiltered.json" } } } } @@ -283,4 +283,4 @@ "x-ms-skip-url-encoding": true } } -} \ No newline at end of file +} diff --git a/monitor/2016-09-01/examples/GetMetric.json b/specification/monitor/data-plane/microsoft.insights/2016-09-01/examples/GetMetric.json similarity index 100% rename from monitor/2016-09-01/examples/GetMetric.json rename to specification/monitor/data-plane/microsoft.insights/2016-09-01/examples/GetMetric.json diff --git a/monitor/2016-09-01/examples/GetMetricFiltered.json b/specification/monitor/data-plane/microsoft.insights/2016-09-01/examples/GetMetricFiltered.json similarity index 100% rename from monitor/2016-09-01/examples/GetMetricFiltered.json rename to specification/monitor/data-plane/microsoft.insights/2016-09-01/examples/GetMetricFiltered.json diff --git a/monitor/2016-09-01/swagger/metrics_API.json b/specification/monitor/data-plane/microsoft.insights/2016-09-01/metrics_API.json similarity index 98% rename from monitor/2016-09-01/swagger/metrics_API.json rename to specification/monitor/data-plane/microsoft.insights/2016-09-01/metrics_API.json index 564c8858f104..33086b92a758 100644 --- a/monitor/2016-09-01/swagger/metrics_API.json +++ b/specification/monitor/data-plane/microsoft.insights/2016-09-01/metrics_API.json @@ -127,8 +127,8 @@ }, "x-ms-odata": "#/definitions/Metric", "x-ms-examples": { - "Get Metric without filter": { "$ref": "../examples/GetMetric.json" }, - "Get Metric with filter": { "$ref": "../examples/GetMetricFiltered.json" } + "Get Metric without filter": { "$ref": "./examples/GetMetric.json" }, + "Get Metric with filter": { "$ref": "./examples/GetMetricFiltered.json" } } } } @@ -276,4 +276,4 @@ "x-ms-skip-url-encoding": true } } -} \ No newline at end of file +} diff --git a/specification/monitor/data-plane/readme.md b/specification/monitor/data-plane/readme.md new file mode 100644 index 000000000000..e8fb4e4e2101 --- /dev/null +++ b/specification/monitor/data-plane/readme.md @@ -0,0 +1,73 @@ +# MonitorClient + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for MonitorClient. + + + +--- +## Getting Started +To build the SDK for MonitorClient, 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 MonitorClient API. + +``` yaml +title: MonitorClient +description: Monitor Client +openapi-type: data-plane +tag: package-2016-09 +``` + + +### Tag: package-2016-09 + +These settings apply only when `--tag=package-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' +input-file: +- microsoft.insights/2014-04-01/usageMetrics_API.json +- microsoft.insights/2015-04-01/activityLogs_API.json +- microsoft.insights/2015-04-01/eventCategories_API.json +- microsoft.insights/2015-04-01/tenantActivityLogs_API.json +- microsoft.insights/2016-03-01/metricDefinitions_API.json +- microsoft.insights/2016-09-01/metrics_API.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.monitor +``` diff --git a/arm-monitor/2015-04-01/swagger/autoscale_API.json b/specification/monitor/resource-manager/microsoft.insights/2015-04-01/autoscale_API.json similarity index 99% rename from arm-monitor/2015-04-01/swagger/autoscale_API.json rename to specification/monitor/resource-manager/microsoft.insights/2015-04-01/autoscale_API.json index 1b59b8bade0e..c6921f1fda2d 100644 --- a/arm-monitor/2015-04-01/swagger/autoscale_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2015-04-01/autoscale_API.json @@ -206,7 +206,7 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "List autoscale settings": { "$ref": "../examples/listAutoscaleSetting.json" } + "List autoscale settings": { "$ref": "./examples/listAutoscaleSetting.json" } } } }, @@ -559,7 +559,7 @@ } }, "x-ms-examples": { - "Create or update an autoscale setting": { "$ref": "../examples/createOrUpdateAutoscaleSetting.json" } + "Create or update an autoscale setting": { "$ref": "./examples/createOrUpdateAutoscaleSetting.json" } } }, "delete": { @@ -597,7 +597,7 @@ } }, "x-ms-examples": { - "Delete an autoscale setting": { "$ref": "../examples/deleteAutoscaleSetting.json" } + "Delete an autoscale setting": { "$ref": "./examples/deleteAutoscaleSetting.json" } } }, "get": { @@ -784,7 +784,7 @@ } }, "x-ms-examples": { - "Get an autoscale setting": { "$ref": "../examples/getAutoscaleSetting.json" } + "Get an autoscale setting": { "$ref": "./examples/getAutoscaleSetting.json" } } }, "patch": { @@ -1338,4 +1338,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/arm-monitor/2015-04-01/examples/createOrUpdateAutoscaleSetting.json b/specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/createOrUpdateAutoscaleSetting.json similarity index 100% rename from arm-monitor/2015-04-01/examples/createOrUpdateAutoscaleSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/createOrUpdateAutoscaleSetting.json diff --git a/arm-monitor/2015-04-01/examples/deleteAutoscaleSetting.json b/specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/deleteAutoscaleSetting.json similarity index 100% rename from arm-monitor/2015-04-01/examples/deleteAutoscaleSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/deleteAutoscaleSetting.json diff --git a/arm-monitor/2015-04-01/examples/getAutoscaleSetting.json b/specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/getAutoscaleSetting.json similarity index 100% rename from arm-monitor/2015-04-01/examples/getAutoscaleSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/getAutoscaleSetting.json diff --git a/arm-monitor/2015-04-01/examples/listAutoscaleSetting.json b/specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/listAutoscaleSetting.json similarity index 100% rename from arm-monitor/2015-04-01/examples/listAutoscaleSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2015-04-01/examples/listAutoscaleSetting.json diff --git a/arm-monitor/2015-07-01/swagger/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/microsoft.insights/2015-07-01/serviceDiagnosticsSettings_API.json similarity index 100% rename from arm-monitor/2015-07-01/swagger/serviceDiagnosticsSettings_API.json rename to specification/monitor/resource-manager/microsoft.insights/2015-07-01/serviceDiagnosticsSettings_API.json diff --git a/arm-monitor/2016-03-01/swagger/alertRulesIncidents_API.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRulesIncidents_API.json similarity index 100% rename from arm-monitor/2016-03-01/swagger/alertRulesIncidents_API.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRulesIncidents_API.json diff --git a/arm-monitor/2016-03-01/swagger/alertRules_API.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRules_API.json similarity index 98% rename from arm-monitor/2016-03-01/swagger/alertRules_API.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRules_API.json index cf26e2c15daa..3a10ec211dde 100644 --- a/arm-monitor/2016-03-01/swagger/alertRules_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/alertRules_API.json @@ -144,7 +144,7 @@ } }, "x-ms-examples": { - "Create or update an alert rule": { "$ref": "../examples/createOrUpdateAlertRule.json" } + "Create or update an alert rule": { "$ref": "./examples/createOrUpdateAlertRule.json" } } }, "delete": { @@ -176,7 +176,7 @@ } }, "x-ms-examples": { - "Delete an alert rule": { "$ref": "../examples/deleteAlertRule.json" } + "Delete an alert rule": { "$ref": "./examples/deleteAlertRule.json" } } }, "get": { @@ -238,7 +238,7 @@ } }, "x-ms-examples": { - "Get an alert rule": { "$ref": "../examples/getAlertRule.json" } + "Get an alert rule": { "$ref": "./examples/getAlertRule.json" } } }, "patch": { @@ -384,7 +384,7 @@ "nextLinkName": null }, "x-ms-examples": { - "List alert rules": { "$ref": "../examples/listAlertRule.json" } + "List alert rules": { "$ref": "./examples/listAlertRule.json" } } } } @@ -844,4 +844,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/arm-monitor/2016-03-01/examples/createOrUpdateAlertRule.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/createOrUpdateAlertRule.json similarity index 100% rename from arm-monitor/2016-03-01/examples/createOrUpdateAlertRule.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/createOrUpdateAlertRule.json diff --git a/arm-monitor/2016-03-01/examples/createOrUpdateLogProfile.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/createOrUpdateLogProfile.json similarity index 100% rename from arm-monitor/2016-03-01/examples/createOrUpdateLogProfile.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/createOrUpdateLogProfile.json diff --git a/arm-monitor/2016-03-01/examples/deleteAlertRule.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/deleteAlertRule.json similarity index 100% rename from arm-monitor/2016-03-01/examples/deleteAlertRule.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/deleteAlertRule.json diff --git a/arm-monitor/2016-03-01/examples/deleteLogProfile.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/deleteLogProfile.json similarity index 100% rename from arm-monitor/2016-03-01/examples/deleteLogProfile.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/deleteLogProfile.json diff --git a/arm-monitor/2016-03-01/examples/getAlertRule.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/getAlertRule.json similarity index 100% rename from arm-monitor/2016-03-01/examples/getAlertRule.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/getAlertRule.json diff --git a/arm-monitor/2016-03-01/examples/getLogProfile.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/getLogProfile.json similarity index 100% rename from arm-monitor/2016-03-01/examples/getLogProfile.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/getLogProfile.json diff --git a/arm-monitor/2016-03-01/examples/listAlertRule.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/listAlertRule.json similarity index 100% rename from arm-monitor/2016-03-01/examples/listAlertRule.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/listAlertRule.json diff --git a/arm-monitor/2016-03-01/examples/listLogProfile.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/listLogProfile.json similarity index 100% rename from arm-monitor/2016-03-01/examples/listLogProfile.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/examples/listLogProfile.json diff --git a/arm-monitor/2016-03-01/swagger/logProfiles_API.json b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/logProfiles_API.json similarity index 97% rename from arm-monitor/2016-03-01/swagger/logProfiles_API.json rename to specification/monitor/resource-manager/microsoft.insights/2016-03-01/logProfiles_API.json index b9ffab50cd61..d9a3bb3a3e07 100644 --- a/arm-monitor/2016-03-01/swagger/logProfiles_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2016-03-01/logProfiles_API.json @@ -57,7 +57,7 @@ } }, "x-ms-examples": { - "List alert rules": { "$ref": "../examples/deleteLogProfile.json" } + "List alert rules": { "$ref": "./examples/deleteLogProfile.json" } } }, "get": { @@ -117,7 +117,7 @@ } }, "x-ms-examples": { - "List alert rules": { "$ref": "../examples/getLogProfile.json" } + "List alert rules": { "$ref": "./examples/getLogProfile.json" } } }, "put": { @@ -180,7 +180,7 @@ } }, "x-ms-examples": { - "List alert rules": { "$ref": "../examples/createOrUpdateLogProfile.json" } + "List alert rules": { "$ref": "./examples/createOrUpdateLogProfile.json" } } }, "patch": { @@ -249,7 +249,7 @@ "nextLinkName": null }, "x-ms-examples": { - "List alert rules": { "$ref": "../examples/listLogProfile.json" } + "List alert rules": { "$ref": "./examples/listLogProfile.json" } } } } @@ -424,4 +424,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/GetMetric.json b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/GetMetric.json new file mode 100644 index 000000000000..a1377c14f37b --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/GetMetric.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "api-version": "2016-09-01", + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "data": [ + { + "timeStamp":"2016-11-23T19:14:00Z", + "total":1.0 + }, + { + "timeStamp":"2016-11-23T19:15:00Z" + }, + { + "timeStamp":"2016-11-23T19:16:00Z" + }, + { + "timeStamp":"2016-11-23T19:17:00Z" + }, + { + "timeStamp":"2016-11-23T19:18:00Z" + }, + { + "timeStamp":"2016-11-23T19:19:00Z", + "total":1.0 + }, + { + "timeStamp":"2016-11-23T19:20:00Z" + }, + { + "timeStamp":"2016-11-23T19:21:00Z" + }, + { + "timeStamp":"2016-11-23T19:22:00Z" + }, + { + "timeStamp":"2016-11-23T19:23:00Z" + }, + { + "timeStamp":"2016-11-23T19:24:00Z", + "total":1.0 + } + ], + "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", + "name": { + "value":"RunsStarted", + "localizedValue":"Runs Started" + }, + "type":"Microsoft.Insights/metrics", + "unit":"Count" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/GetMetricFiltered.json b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/GetMetricFiltered.json new file mode 100644 index 000000000000..bece918b2b16 --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/GetMetricFiltered.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "$filter": "(name.value eq 'RunsStarted') and aggregationType eq 'Total' and startTime eq 2016-11-23 and endTime eq 2016-11-24 and timeGrain eq duration'PT1M'", + "resourceUri": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia", + "api-version": "2016-09-01", + "subscriptionId": "df602c9c-7aa0-407d-a6fb-eb20c8bd1192" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "data": [ + { + "timeStamp":"2016-11-23T19:14:00Z", + "total":1.0 + }, + { + "timeStamp":"2016-11-23T19:15:00Z" + }, + { + "timeStamp":"2016-11-23T19:16:00Z" + }, + { + "timeStamp":"2016-11-23T19:17:00Z" + }, + { + "timeStamp":"2016-11-23T19:18:00Z" + }, + { + "timeStamp":"2016-11-23T19:19:00Z", + "total":1.0 + }, + { + "timeStamp":"2016-11-23T19:20:00Z" + }, + { + "timeStamp":"2016-11-23T19:21:00Z" + }, + { + "timeStamp":"2016-11-23T19:22:00Z" + }, + { + "timeStamp":"2016-11-23T19:23:00Z" + }, + { + "timeStamp":"2016-11-23T19:24:00Z", + "total":1.0 + } + ], + "id":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/andy0802australia/providers/Microsoft.Logic/workflows/andy0803australia/providers/microsoft.insights/metrics/RunsStarted", + "name": { + "value":"RunsStarted", + "localizedValue":"Runs Started" + }, + "type":"Microsoft.Insights/metrics", + "unit":"Count" + } + ] + } + } + } +} \ No newline at end of file diff --git a/arm-monitor/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json similarity index 100% rename from arm-monitor/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/createOrUpdateServiceDiagnosticSetting.json diff --git a/arm-monitor/2016-09-01/examples/getServiceDiagnosticSetting.json b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/getServiceDiagnosticSetting.json similarity index 100% rename from arm-monitor/2016-09-01/examples/getServiceDiagnosticSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/getServiceDiagnosticSetting.json diff --git a/arm-monitor/2016-09-01/examples/updateServiceDiagnosticSetting.json b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/updateServiceDiagnosticSetting.json similarity index 100% rename from arm-monitor/2016-09-01/examples/updateServiceDiagnosticSetting.json rename to specification/monitor/resource-manager/microsoft.insights/2016-09-01/examples/updateServiceDiagnosticSetting.json diff --git a/arm-monitor/2016-09-01/swagger/serviceDiagnosticsSettings_API.json b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/serviceDiagnosticsSettings_API.json similarity index 98% rename from arm-monitor/2016-09-01/swagger/serviceDiagnosticsSettings_API.json rename to specification/monitor/resource-manager/microsoft.insights/2016-09-01/serviceDiagnosticsSettings_API.json index 986153437833..3bff6399872d 100644 --- a/arm-monitor/2016-09-01/swagger/serviceDiagnosticsSettings_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2016-09-01/serviceDiagnosticsSettings_API.json @@ -97,7 +97,7 @@ } }, "x-ms-examples": { - "Get service diagnostic setting": { "$ref": "../examples/getServiceDiagnosticSetting.json" } + "Get service diagnostic setting": { "$ref": "./examples/getServiceDiagnosticSetting.json" } } }, "put": { @@ -167,7 +167,7 @@ } }, "x-ms-examples": { - "Create or update a service diagnostic setting": { "$ref": "../examples/createOrUpdateServiceDiagnosticSetting.json" } + "Create or update a service diagnostic setting": { "$ref": "./examples/createOrUpdateServiceDiagnosticSetting.json" } } }, "patch": { @@ -205,7 +205,7 @@ } }, "x-ms-examples": { - "Update a service diagnostic setting": { "$ref": "../examples/updateServiceDiagnosticSetting.json" } + "Update a service diagnostic setting": { "$ref": "./examples/updateServiceDiagnosticSetting.json" } } } } @@ -399,4 +399,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/arm-monitor/2017-03-01-preview/swagger/activityLogAlerts_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/activityLogAlerts_API.json similarity index 97% rename from arm-monitor/2017-03-01-preview/swagger/activityLogAlerts_API.json rename to specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/activityLogAlerts_API.json index 769753c63aa6..78ea50673254 100644 --- a/arm-monitor/2017-03-01-preview/swagger/activityLogAlerts_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/activityLogAlerts_API.json @@ -43,7 +43,7 @@ "operationId": "ActivityLogAlerts_CreateOrUpdate", "x-ms-examples": { "Create or update an activity log alert": { - "$ref": "../examples/createOrUpdateActivityLogAlert.json" + "$ref": "./examples/createOrUpdateActivityLogAlert.json" } }, "parameters": [ @@ -96,7 +96,7 @@ "operationId": "ActivityLogAlerts_Get", "x-ms-examples": { "Get an activity log alert": { - "$ref": "../examples/getActivityLogAlert.json" + "$ref": "./examples/getActivityLogAlert.json" } }, "parameters": [ @@ -134,7 +134,7 @@ "operationId": "ActivityLogAlerts_Delete", "x-ms-examples": { "Delete an activity log alert": { - "$ref": "../examples/deleteActivityLogAlert.json" + "$ref": "./examples/deleteActivityLogAlert.json" } }, "parameters": [ @@ -209,7 +209,7 @@ }, "x-ms-examples": { "Path an activity log alert": { - "$ref": "../examples/patchActivityLogAlert.json" + "$ref": "./examples/patchActivityLogAlert.json" } } } @@ -221,7 +221,7 @@ "operationId": "ActivityLogAlerts_ListBySubscriptionId", "x-ms-examples": { "List activity log alerts": { - "$ref": "../examples/listActivityLogAlerts.json" + "$ref": "./examples/listActivityLogAlerts.json" } }, "x-ms-pageable": { @@ -258,7 +258,7 @@ "operationId": "ActivityLogAlerts_ListByResourceGroup", "x-ms-examples": { "List activity log alerts": { - "$ref": "../examples/listActivityLogAlerts.json" + "$ref": "./examples/listActivityLogAlerts.json" } }, "x-ms-pageable": { @@ -524,4 +524,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-monitor/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json diff --git a/arm-monitor/2017-03-01-preview/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/deleteActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-03-01-preview/examples/deleteActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/deleteActivityLogAlert.json diff --git a/arm-monitor/2017-03-01-preview/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/getActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-03-01-preview/examples/getActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/getActivityLogAlert.json diff --git a/arm-monitor/2017-03-01-preview/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/listActivityLogAlerts.json similarity index 100% rename from arm-monitor/2017-03-01-preview/examples/listActivityLogAlerts.json rename to specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/listActivityLogAlerts.json diff --git a/arm-monitor/2017-03-01-preview/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/patchActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-03-01-preview/examples/patchActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-03-01-preview/examples/patchActivityLogAlert.json diff --git a/arm-monitor/2017-04-01/swagger/actionGroups_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json similarity index 97% rename from arm-monitor/2017-04-01/swagger/actionGroups_API.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json index 5a17c746ce39..c51dbb6da8d3 100644 --- a/arm-monitor/2017-04-01/swagger/actionGroups_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json @@ -42,7 +42,7 @@ "operationId": "ActionGroups_CreateOrUpdate", "x-ms-examples": { "Create or update an action group": { - "$ref": "../examples/createOrUpdateActionGroup.json" + "$ref": "./examples/createOrUpdateActionGroup.json" } }, "parameters": [ @@ -91,7 +91,7 @@ "operationId": "ActionGroups_Get", "x-ms-examples": { "Get an action group": { - "$ref": "../examples/getActionGroup.json" + "$ref": "./examples/getActionGroup.json" } }, "parameters": [ @@ -128,7 +128,7 @@ "operationId": "ActionGroups_Delete", "x-ms-examples": { "Delete an action group": { - "$ref": "../examples/deleteActionGroup.json" + "$ref": "./examples/deleteActionGroup.json" } }, "parameters": [ @@ -164,7 +164,7 @@ "operationId": "ActionGroups_ListBySubscriptionId", "x-ms-examples": { "List action groups": { - "$ref": "../examples/listActionGroups.json" + "$ref": "./examples/listActionGroups.json" } }, "x-ms-pageable": { @@ -197,7 +197,7 @@ "operationId": "ActionGroups_ListByResourceGroup", "x-ms-examples": { "List action groups": { - "$ref": "../examples/listActionGroups.json" + "$ref": "./examples/listActionGroups.json" } }, "x-ms-pageable": { @@ -233,7 +233,7 @@ "operationId": "ActionGroups_EnableReceiver", "x-ms-examples": { "Enable the receiver": { - "$ref": "../examples/enableReceiver.json" + "$ref": "./examples/enableReceiver.json" } }, "parameters": [ @@ -507,4 +507,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-monitor/2017-04-01/swagger/activityLogAlerts_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json similarity index 97% rename from arm-monitor/2017-04-01/swagger/activityLogAlerts_API.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json index 2dd1c58d7439..080538479dbf 100644 --- a/arm-monitor/2017-04-01/swagger/activityLogAlerts_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json @@ -42,7 +42,7 @@ "operationId": "ActivityLogAlerts_CreateOrUpdate", "x-ms-examples": { "Create or update an activity log alert": { - "$ref": "../examples/createOrUpdateActivityLogAlert.json" + "$ref": "./examples/createOrUpdateActivityLogAlert.json" } }, "parameters": [ @@ -94,7 +94,7 @@ "operationId": "ActivityLogAlerts_Get", "x-ms-examples": { "Get an activity log alert": { - "$ref": "../examples/getActivityLogAlert.json" + "$ref": "./examples/getActivityLogAlert.json" } }, "parameters": [ @@ -131,7 +131,7 @@ "operationId": "ActivityLogAlerts_Delete", "x-ms-examples": { "Delete an activity log alert": { - "$ref": "../examples/deleteActivityLogAlert.json" + "$ref": "./examples/deleteActivityLogAlert.json" } }, "parameters": [ @@ -205,7 +205,7 @@ }, "x-ms-examples": { "Path an activity log alert": { - "$ref": "../examples/patchActivityLogAlert.json" + "$ref": "./examples/patchActivityLogAlert.json" } } } @@ -216,7 +216,7 @@ "operationId": "ActivityLogAlerts_ListBySubscriptionId", "x-ms-examples": { "List activity log alerts": { - "$ref": "../examples/listActivityLogAlerts.json" + "$ref": "./examples/listActivityLogAlerts.json" } }, "x-ms-pageable": { @@ -252,7 +252,7 @@ "operationId": "ActivityLogAlerts_ListByResourceGroup", "x-ms-examples": { "List activity log alerts": { - "$ref": "../examples/listActivityLogAlerts.json" + "$ref": "./examples/listActivityLogAlerts.json" } }, "x-ms-pageable": { @@ -523,4 +523,4 @@ "description": "Client Api Version." } } -} \ No newline at end of file +} diff --git a/arm-monitor/2017-04-01/examples/createOrUpdateActionGroup.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/createOrUpdateActionGroup.json similarity index 100% rename from arm-monitor/2017-04-01/examples/createOrUpdateActionGroup.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/createOrUpdateActionGroup.json diff --git a/arm-monitor/2017-04-01/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/createOrUpdateActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-04-01/examples/createOrUpdateActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/createOrUpdateActivityLogAlert.json diff --git a/arm-monitor/2017-04-01/examples/deleteActionGroup.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/deleteActionGroup.json similarity index 100% rename from arm-monitor/2017-04-01/examples/deleteActionGroup.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/deleteActionGroup.json diff --git a/arm-monitor/2017-04-01/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/deleteActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-04-01/examples/deleteActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/deleteActivityLogAlert.json diff --git a/arm-monitor/2017-04-01/examples/enableReceiver.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/enableReceiver.json similarity index 100% rename from arm-monitor/2017-04-01/examples/enableReceiver.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/enableReceiver.json diff --git a/arm-monitor/2017-04-01/examples/getActionGroup.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/getActionGroup.json similarity index 100% rename from arm-monitor/2017-04-01/examples/getActionGroup.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/getActionGroup.json diff --git a/arm-monitor/2017-04-01/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/getActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-04-01/examples/getActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/getActivityLogAlert.json diff --git a/arm-monitor/2017-04-01/examples/listActionGroups.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/listActionGroups.json similarity index 100% rename from arm-monitor/2017-04-01/examples/listActionGroups.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/listActionGroups.json diff --git a/arm-monitor/2017-04-01/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/listActivityLogAlerts.json similarity index 100% rename from arm-monitor/2017-04-01/examples/listActivityLogAlerts.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/listActivityLogAlerts.json diff --git a/arm-monitor/2017-04-01/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/patchActivityLogAlert.json similarity index 100% rename from arm-monitor/2017-04-01/examples/patchActivityLogAlert.json rename to specification/monitor/resource-manager/microsoft.insights/2017-04-01/examples/patchActivityLogAlert.json diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md new file mode 100644 index 000000000000..c3b6cf84ca4a --- /dev/null +++ b/specification/monitor/resource-manager/readme.md @@ -0,0 +1,75 @@ +# MonitorClient + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for MonitorClient. + + + +--- +## Getting Started +To build the SDK for MonitorClient, 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 MonitorClient API. + +``` yaml +title: MonitorClient +description: Monitor Management Client +openapi-type: arm +tag: package-2017-03 +``` + + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- microsoft.insights/2015-04-01/autoscale_API.json +- microsoft.insights/2016-03-01/alertRulesIncidents_API.json +- microsoft.insights/2016-03-01/alertRules_API.json +- microsoft.insights/2016-03-01/logProfiles_API.json +- microsoft.insights/2016-09-01/serviceDiagnosticsSettings_API.json +- microsoft.insights/2017-03-01-preview/activityLogAlerts_API.json +- microsoft.insights/2017-04-01/actionGroups_API.json +- microsoft.insights/2017-04-01/activityLogAlerts_API.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.monitor +``` diff --git a/arm-mysql/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json diff --git a/arm-mysql/2017-04-30-preview/examples/ConfigurationGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ConfigurationGet.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ConfigurationGet.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ConfigurationGet.json diff --git a/arm-mysql/2017-04-30-preview/examples/ConfigurationListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ConfigurationListByServer.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ConfigurationListByServer.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ConfigurationListByServer.json diff --git a/arm-mysql/2017-04-30-preview/examples/DatabaseCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseCreate.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/DatabaseCreate.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseCreate.json diff --git a/arm-mysql/2017-04-30-preview/examples/DatabaseDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseDelete.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/DatabaseDelete.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseDelete.json diff --git a/arm-mysql/2017-04-30-preview/examples/DatabaseGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseGet.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/DatabaseGet.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseGet.json diff --git a/arm-mysql/2017-04-30-preview/examples/DatabaseListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseListByServer.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/DatabaseListByServer.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/DatabaseListByServer.json diff --git a/arm-mysql/2017-04-30-preview/examples/FirewallRuleCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleCreate.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/FirewallRuleCreate.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleCreate.json diff --git a/arm-mysql/2017-04-30-preview/examples/FirewallRuleDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleDelete.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/FirewallRuleDelete.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleDelete.json diff --git a/arm-mysql/2017-04-30-preview/examples/FirewallRuleGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleGet.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/FirewallRuleGet.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleGet.json diff --git a/arm-mysql/2017-04-30-preview/examples/FirewallRuleListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleListByServer.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/FirewallRuleListByServer.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/FirewallRuleListByServer.json diff --git a/arm-mysql/2017-04-30-preview/examples/LogFileListByServer.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/LogFileListByServer.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/LogFileListByServer.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/LogFileListByServer.json diff --git a/arm-mysql/2017-04-30-preview/examples/OperationList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/OperationList.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/OperationList.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/OperationList.json diff --git a/arm-mysql/2017-04-30-preview/examples/ServerCreate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerCreate.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ServerCreate.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerCreate.json diff --git a/arm-mysql/2017-04-30-preview/examples/ServerDelete.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerDelete.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ServerDelete.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerDelete.json diff --git a/arm-mysql/2017-04-30-preview/examples/ServerGet.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerGet.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ServerGet.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerGet.json diff --git a/arm-mysql/2017-04-30-preview/examples/ServerList.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerList.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ServerList.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerList.json diff --git a/arm-mysql/2017-04-30-preview/examples/ServerListByResourceGroup.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerListByResourceGroup.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ServerListByResourceGroup.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerListByResourceGroup.json diff --git a/arm-mysql/2017-04-30-preview/examples/ServerUpdate.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerUpdate.json similarity index 100% rename from arm-mysql/2017-04-30-preview/examples/ServerUpdate.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/examples/ServerUpdate.json diff --git a/arm-mysql/2017-04-30-preview/swagger/mysql.json b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/mysql.json similarity index 96% rename from arm-mysql/2017-04-30-preview/swagger/mysql.json rename to specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/mysql.json index 7912a089fe64..8cf0c86cba29 100644 --- a/arm-mysql/2017-04-30-preview/swagger/mysql.json +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/2017-04-30-preview/mysql.json @@ -41,7 +41,7 @@ ], "operationId": "Servers_CreateOrUpdate", "x-ms-examples": { - "ServerCreate": { "$ref": "../examples/ServerCreate.json" } + "ServerCreate": { "$ref": "./examples/ServerCreate.json" } }, "description": "Creates a new server or updates an existing server. The update action will overwrite the existing server.", "parameters": [ @@ -92,7 +92,7 @@ ], "operationId": "Servers_Update", "x-ms-examples": { - "ServerUpdate": { "$ref": "../examples/ServerUpdate.json" } + "ServerUpdate": { "$ref": "./examples/ServerUpdate.json" } }, "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", "parameters": [ @@ -137,7 +137,7 @@ ], "operationId": "Servers_Delete", "x-ms-examples": { - "ServerDelete": { "$ref": "../examples/ServerDelete.json" } + "ServerDelete": { "$ref": "./examples/ServerDelete.json" } }, "description": "Deletes a server.", "parameters": [ @@ -173,7 +173,7 @@ ], "operationId": "Servers_Get", "x-ms-examples": { - "ServerGet": { "$ref": "../examples/ServerGet.json" } + "ServerGet": { "$ref": "./examples/ServerGet.json" } }, "description": "Gets information about a server.", "parameters": [ @@ -207,7 +207,7 @@ ], "operationId": "Servers_ListByResourceGroup", "x-ms-examples": { - "ServerListByResourceGroup": { "$ref": "../examples/ServerListByResourceGroup.json" } + "ServerListByResourceGroup": { "$ref": "./examples/ServerListByResourceGroup.json" } }, "description": "List all the servers in a given resource group.", "parameters": [ @@ -241,7 +241,7 @@ ], "operationId": "Servers_List", "x-ms-examples": { - "ServerList": { "$ref": "../examples/ServerList.json" } + "ServerList": { "$ref": "./examples/ServerList.json" } }, "description": "List all the servers in a given subscription.", "parameters": [ @@ -272,7 +272,7 @@ ], "operationId": "FirewallRules_CreateOrUpdate", "x-ms-examples": { - "FirewallRuleCreate": { "$ref": "../examples/FirewallRuleCreate.json" } + "FirewallRuleCreate": { "$ref": "./examples/FirewallRuleCreate.json" } }, "description": "Creates a new firewall rule or updates an existing firewall rule.", "parameters": [ @@ -326,7 +326,7 @@ ], "operationId": "FirewallRules_Delete", "x-ms-examples": { - "FirewallRuleDelete": { "$ref": "../examples/FirewallRuleDelete.json" } + "FirewallRuleDelete": { "$ref": "./examples/FirewallRuleDelete.json" } }, "description": "Deletes a server firewall rule.", "parameters": [ @@ -365,7 +365,7 @@ ], "operationId": "FirewallRules_Get", "x-ms-examples": { - "FirewallRuleGet": { "$ref": "../examples/FirewallRuleGet.json" } + "FirewallRuleGet": { "$ref": "./examples/FirewallRuleGet.json" } }, "description": "Gets information about a server firewall rule.", "parameters": [ @@ -402,7 +402,7 @@ ], "operationId": "FirewallRules_ListByServer", "x-ms-examples": { - "FirewallRuleList": { "$ref": "../examples/FirewallRuleListByServer.json" } + "FirewallRuleList": { "$ref": "./examples/FirewallRuleListByServer.json" } }, "description": "List all the firewall rules in a given server.", "parameters": [ @@ -439,7 +439,7 @@ ], "operationId": "Databases_CreateOrUpdate", "x-ms-examples": { - "DatabaseCreate": { "$ref": "../examples/DatabaseCreate.json" } + "DatabaseCreate": { "$ref": "./examples/DatabaseCreate.json" } }, "description": "Creates a new database or updates an existing database.", "parameters": [ @@ -493,7 +493,7 @@ ], "operationId": "Databases_Delete", "x-ms-examples": { - "DatabaseDelete": { "$ref": "../examples/DatabaseDelete.json" } + "DatabaseDelete": { "$ref": "./examples/DatabaseDelete.json" } }, "description": "Deletes a database.", "parameters": [ @@ -532,7 +532,7 @@ ], "operationId": "Databases_Get", "x-ms-examples": { - "DatabaseGet": { "$ref": "../examples/DatabaseGet.json" } + "DatabaseGet": { "$ref": "./examples/DatabaseGet.json" } }, "description": "Gets information about a database.", "parameters": [ @@ -569,7 +569,7 @@ ], "operationId": "Databases_ListByServer", "x-ms-examples": { - "DatabaseList": { "$ref": "../examples/DatabaseListByServer.json" } + "DatabaseList": { "$ref": "./examples/DatabaseListByServer.json" } }, "description": "List all the databases in a given server.", "parameters": [ @@ -606,7 +606,7 @@ ], "operationId": "Configurations_CreateOrUpdate", "x-ms-examples": { - "ConfigurationCreateOrUpdate": { "$ref": "../examples/ConfigurationCreateOrUpdate.json" } + "ConfigurationCreateOrUpdate": { "$ref": "./examples/ConfigurationCreateOrUpdate.json" } }, "description": "Updates a configuration of a server.", "parameters": [ @@ -654,7 +654,7 @@ ], "operationId": "Configurations_Get", "x-ms-examples": { - "ConfigurationGet": { "$ref": "../examples/ConfigurationGet.json" } + "ConfigurationGet": { "$ref": "./examples/ConfigurationGet.json" } }, "description": "Gets information about a configuration of server.", "parameters": [ @@ -691,7 +691,7 @@ ], "operationId": "Configurations_ListByServer", "x-ms-examples": { - "ConfigurationList": { "$ref": "../examples/ConfigurationListByServer.json" } + "ConfigurationList": { "$ref": "./examples/ConfigurationListByServer.json" } }, "description": "List all the configurations in a given server.", "parameters": [ @@ -728,7 +728,7 @@ ], "operationId": "LogFiles_ListByServer", "x-ms-examples": { - "LogFileList": { "$ref": "../examples/LogFileListByServer.json" } + "LogFileList": { "$ref": "./examples/LogFileListByServer.json" } }, "description": "List all the log files in a given server.", "parameters": [ @@ -765,7 +765,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationList": { "$ref": "../examples/OperationList.json" } + "OperationList": { "$ref": "./examples/OperationList.json" } }, "description": "Lists all of the available REST API operations.", "parameters": [ diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md new file mode 100644 index 000000000000..32fd70e07502 --- /dev/null +++ b/specification/mysql/resource-manager/readme.md @@ -0,0 +1,52 @@ +# MySql + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Sql. + + + +--- +## Getting Started +To build the SDK for MySql, 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 Sql API. + +``` yaml +openapi-type: arm +tag: package-2017-04-preview +``` + + +### Tag: package-2017-04-preview + +These settings apply only when `--tag=package-2017-04-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04-preview' +input-file: +- Microsoft.DBforMySQL/2017-04-30-preview/mysql.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` diff --git a/arm-network/2015-05-01-preview/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2015-05-01-preview/network.json similarity index 100% rename from arm-network/2015-05-01-preview/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2015-05-01-preview/network.json diff --git a/arm-network/2015-06-15/swagger/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/applicationGateway.json similarity index 100% rename from arm-network/2015-06-15/swagger/applicationGateway.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/applicationGateway.json diff --git a/arm-network/2015-06-15/swagger/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/checkDnsAvailability.json similarity index 100% rename from arm-network/2015-06-15/swagger/checkDnsAvailability.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/checkDnsAvailability.json diff --git a/arm-network/2015-06-15/swagger/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/expressRouteCircuit.json similarity index 100% rename from arm-network/2015-06-15/swagger/expressRouteCircuit.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/expressRouteCircuit.json diff --git a/arm-network/2015-06-15/swagger/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/loadBalancer.json similarity index 100% rename from arm-network/2015-06-15/swagger/loadBalancer.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/loadBalancer.json diff --git a/arm-network/2015-06-15/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/network.json similarity index 100% rename from arm-network/2015-06-15/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/network.json diff --git a/arm-network/2015-06-15/swagger/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/networkInterface.json similarity index 100% rename from arm-network/2015-06-15/swagger/networkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/networkInterface.json diff --git a/arm-network/2015-06-15/swagger/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/networkSecurityGroup.json similarity index 100% rename from arm-network/2015-06-15/swagger/networkSecurityGroup.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/networkSecurityGroup.json diff --git a/arm-network/2015-06-15/swagger/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/publicIpAddress.json similarity index 100% rename from arm-network/2015-06-15/swagger/publicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/publicIpAddress.json diff --git a/arm-network/2015-06-15/swagger/routeTable.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/routeTable.json similarity index 100% rename from arm-network/2015-06-15/swagger/routeTable.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/routeTable.json diff --git a/arm-network/2015-06-15/swagger/usage.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/usage.json similarity index 100% rename from arm-network/2015-06-15/swagger/usage.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/usage.json diff --git a/arm-network/2015-06-15/swagger/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/virtualNetwork.json similarity index 100% rename from arm-network/2015-06-15/swagger/virtualNetwork.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/virtualNetwork.json diff --git a/arm-network/2015-06-15/swagger/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/virtualNetworkGateway.json similarity index 100% rename from arm-network/2015-06-15/swagger/virtualNetworkGateway.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/virtualNetworkGateway.json diff --git a/arm-network/2015-06-15/swagger/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/2015-06-15/vmssNetworkInterface.json similarity index 100% rename from arm-network/2015-06-15/swagger/vmssNetworkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2015-06-15/vmssNetworkInterface.json diff --git a/arm-network/2016-03-30/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2016-03-30/network.json similarity index 100% rename from arm-network/2016-03-30/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2016-03-30/network.json diff --git a/arm-network/2016-06-01/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2016-06-01/network.json similarity index 100% rename from arm-network/2016-06-01/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2016-06-01/network.json diff --git a/arm-network/2016-09-01/swagger/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/applicationGateway.json similarity index 100% rename from arm-network/2016-09-01/swagger/applicationGateway.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/applicationGateway.json diff --git a/arm-network/2016-09-01/swagger/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/checkDnsAvailability.json similarity index 100% rename from arm-network/2016-09-01/swagger/checkDnsAvailability.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/checkDnsAvailability.json diff --git a/arm-network/2016-09-01/swagger/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/expressRouteCircuit.json similarity index 100% rename from arm-network/2016-09-01/swagger/expressRouteCircuit.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/expressRouteCircuit.json diff --git a/arm-network/2016-09-01/swagger/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/loadBalancer.json similarity index 100% rename from arm-network/2016-09-01/swagger/loadBalancer.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/loadBalancer.json diff --git a/arm-network/2016-09-01/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/network.json similarity index 100% rename from arm-network/2016-09-01/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/network.json diff --git a/arm-network/2016-09-01/swagger/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/networkInterface.json similarity index 100% rename from arm-network/2016-09-01/swagger/networkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/networkInterface.json diff --git a/arm-network/2016-09-01/swagger/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/networkSecurityGroup.json similarity index 100% rename from arm-network/2016-09-01/swagger/networkSecurityGroup.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/networkSecurityGroup.json diff --git a/arm-network/2016-09-01/swagger/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/networkWatcher.json similarity index 100% rename from arm-network/2016-09-01/swagger/networkWatcher.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/networkWatcher.json diff --git a/arm-network/2016-09-01/swagger/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/publicIpAddress.json similarity index 100% rename from arm-network/2016-09-01/swagger/publicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/publicIpAddress.json diff --git a/arm-network/2016-09-01/swagger/routeTable.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/routeTable.json similarity index 100% rename from arm-network/2016-09-01/swagger/routeTable.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/routeTable.json diff --git a/arm-network/2016-09-01/swagger/usage.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/usage.json similarity index 100% rename from arm-network/2016-09-01/swagger/usage.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/usage.json diff --git a/arm-network/2016-09-01/swagger/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/virtualNetwork.json similarity index 100% rename from arm-network/2016-09-01/swagger/virtualNetwork.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/virtualNetwork.json diff --git a/arm-network/2016-09-01/swagger/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/virtualNetworkGateway.json similarity index 100% rename from arm-network/2016-09-01/swagger/virtualNetworkGateway.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/virtualNetworkGateway.json diff --git a/arm-network/2016-09-01/swagger/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/2016-09-01/vmssNetworkInterface.json similarity index 100% rename from arm-network/2016-09-01/swagger/vmssNetworkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2016-09-01/vmssNetworkInterface.json diff --git a/arm-network/2016-12-01/swagger/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/applicationGateway.json similarity index 100% rename from arm-network/2016-12-01/swagger/applicationGateway.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/applicationGateway.json diff --git a/arm-network/2016-12-01/swagger/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/checkDnsAvailability.json similarity index 100% rename from arm-network/2016-12-01/swagger/checkDnsAvailability.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/checkDnsAvailability.json diff --git a/arm-network/2016-12-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterCreate.json similarity index 89% rename from arm-network/2016-12-01/examples/RouteFilterCreate.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterCreate.json index a3fa58474cbe..f175d03759a0 100644 --- a/arm-network/2016-12-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterDelete.json similarity index 100% rename from arm-network/2016-12-01/examples/RouteFilterDelete.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterDelete.json diff --git a/arm-network/2016-12-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterGet.json similarity index 86% rename from arm-network/2016-12-01/examples/RouteFilterGet.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterGet.json index accacb052e09..4dcfae1faa0d 100644 --- a/arm-network/2016-12-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterList.json similarity index 86% rename from arm-network/2016-12-01/examples/RouteFilterList.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterList.json index ffa48511d8a0..befdd247f958 100644 --- a/arm-network/2016-12-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterListByResourceGroup.json similarity index 86% rename from arm-network/2016-12-01/examples/RouteFilterListByResourceGroup.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterListByResourceGroup.json index aa66c6d1f4ba..29a613cc2c40 100644 --- a/arm-network/2016-12-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleCreate.json similarity index 91% rename from arm-network/2016-12-01/examples/RouteFilterRuleCreate.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleCreate.json index 422517aa3a21..40266d38639d 100644 --- a/arm-network/2016-12-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleCreate.json @@ -22,7 +22,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -41,7 +41,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleDelete.json similarity index 100% rename from arm-network/2016-12-01/examples/RouteFilterRuleDelete.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleDelete.json diff --git a/arm-network/2016-12-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleGet.json similarity index 90% rename from arm-network/2016-12-01/examples/RouteFilterRuleGet.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleGet.json index e4be116210c8..1cd1e991a53c 100644 --- a/arm-network/2016-12-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleListByRouteFilter.json similarity index 90% rename from arm-network/2016-12-01/examples/RouteFilterRuleListByRouteFilter.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleListByRouteFilter.json index af385f4117f4..ab3a66670b44 100644 --- a/arm-network/2016-12-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleUpdate.json similarity index 92% rename from arm-network/2016-12-01/examples/RouteFilterRuleUpdate.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleUpdate.json index a047c58d339c..761ed4f0fa1a 100644 --- a/arm-network/2016-12-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterRuleUpdate.json @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterUpdate.json similarity index 89% rename from arm-network/2016-12-01/examples/RouteFilterUpdate.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterUpdate.json index 4fe1dc6329ed..8ca544d25684 100644 --- a/arm-network/2016-12-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/ServiceCommunityList.json similarity index 78% rename from arm-network/2016-12-01/examples/ServiceCommunityList.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/ServiceCommunityList.json index 22a0c3d5cd33..0980c1a355cd 100644 --- a/arm-network/2016-12-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName" : "skype", "bgpCommunities": [ @@ -27,9 +27,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName" : "exchange", "bgpCommunities": [ @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2016-12-01/swagger/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/expressRouteCircuit.json similarity index 100% rename from arm-network/2016-12-01/swagger/expressRouteCircuit.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/expressRouteCircuit.json diff --git a/arm-network/2016-12-01/swagger/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/loadBalancer.json similarity index 100% rename from arm-network/2016-12-01/swagger/loadBalancer.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/loadBalancer.json diff --git a/arm-network/2016-12-01/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/network.json similarity index 100% rename from arm-network/2016-12-01/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/network.json diff --git a/arm-network/2016-12-01/swagger/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/networkInterface.json similarity index 100% rename from arm-network/2016-12-01/swagger/networkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/networkInterface.json diff --git a/arm-network/2016-12-01/swagger/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/networkSecurityGroup.json similarity index 100% rename from arm-network/2016-12-01/swagger/networkSecurityGroup.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/networkSecurityGroup.json diff --git a/arm-network/2016-12-01/swagger/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/networkWatcher.json similarity index 100% rename from arm-network/2016-12-01/swagger/networkWatcher.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/networkWatcher.json diff --git a/arm-network/2016-12-01/swagger/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/publicIpAddress.json similarity index 100% rename from arm-network/2016-12-01/swagger/publicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/publicIpAddress.json diff --git a/arm-network/2016-12-01/swagger/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/routeFilter.json similarity index 97% rename from arm-network/2016-12-01/swagger/routeFilter.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/routeFilter.json index bae14e352cb2..cc573f726e41 100644 --- a/arm-network/2016-12-01/swagger/routeFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/routeFilter.json @@ -41,7 +41,7 @@ ], "operationId": "RouteFilters_Delete", "x-ms-examples": { - "RouteFilterDelete": { "$ref": "../examples/RouteFilterDelete.json" } + "RouteFilterDelete": { "$ref": "./examples/RouteFilterDelete.json" } }, "description": "Deletes the specified route filter.", "parameters": [ @@ -85,7 +85,7 @@ ], "operationId": "RouteFilters_Get", "x-ms-examples": { - "RouteFilterGet": { "$ref": "../examples/RouteFilterGet.json" } + "RouteFilterGet": { "$ref": "./examples/RouteFilterGet.json" } }, "description": "Gets the specified route filter.", "parameters": [ @@ -132,7 +132,7 @@ ], "operationId": "RouteFilters_CreateOrUpdate", "x-ms-examples": { - "RouteFilterCreate": { "$ref": "../examples/RouteFilterCreate.json" } + "RouteFilterCreate": { "$ref": "./examples/RouteFilterCreate.json" } }, "description": "Creates or updates a route filter in a specified resource group.", "parameters": [ @@ -188,7 +188,7 @@ ], "operationId": "RouteFilters_Update", "x-ms-examples": { - "RouteFilterUpdate": { "$ref": "../examples/RouteFilterUpdate.json" } + "RouteFilterUpdate": { "$ref": "./examples/RouteFilterUpdate.json" } }, "description": "Updates a route filter in a specified resource group.", "parameters": [ @@ -240,7 +240,7 @@ ], "operationId": "RouteFilters_ListByResourceGroup", "x-ms-examples": { - "RouteFilterListByResourceGroup": { "$ref": "../examples/RouteFilterListByResourceGroup.json" } + "RouteFilterListByResourceGroup": { "$ref": "./examples/RouteFilterListByResourceGroup.json" } }, "description": "Gets all route filters in a resource group.", "parameters": [ @@ -278,7 +278,7 @@ ], "operationId": "RouteFilters_List", "x-ms-examples": { - "RouteFilterList": { "$ref": "../examples/RouteFilterList.json" } + "RouteFilterList": { "$ref": "./examples/RouteFilterList.json" } }, "description": "Gets all route filters in a subscription.", "parameters": [ @@ -309,7 +309,7 @@ ], "operationId": "RouteFilterRules_Delete", "x-ms-examples": { - "RouteFilterRuleDelete": { "$ref": "../examples/RouteFilterRuleDelete.json" } + "RouteFilterRuleDelete": { "$ref": "./examples/RouteFilterRuleDelete.json" } }, "description": "Deletes the specified rule from a route filter.", "parameters": [ @@ -360,7 +360,7 @@ ], "operationId": "RouteFilterRules_Get", "x-ms-examples": { - "RouteFilterRuleGet": { "$ref": "../examples/RouteFilterRuleGet.json" } + "RouteFilterRuleGet": { "$ref": "./examples/RouteFilterRuleGet.json" } }, "description": "Gets the specified rule from a route filter.", "parameters": [ @@ -407,7 +407,7 @@ ], "operationId": "RouteFilterRules_CreateOrUpdate", "x-ms-examples": { - "RouteFilterRuleCreate": { "$ref": "../examples/RouteFilterRuleCreate.json" } + "RouteFilterRuleCreate": { "$ref": "./examples/RouteFilterRuleCreate.json" } }, "description": "Creates or updates a route in the specified route filter.", "parameters": [ @@ -470,7 +470,7 @@ ], "operationId": "RouteFilterRules_Update", "x-ms-examples": { - "RouteFilterRuleUpdate": { "$ref": "../examples/RouteFilterRuleUpdate.json" } + "RouteFilterRuleUpdate": { "$ref": "./examples/RouteFilterRuleUpdate.json" } }, "description": "Updates a route in the specified route filter.", "parameters": [ @@ -529,7 +529,7 @@ ], "operationId": "RouteFilterRules_ListByRouteFilter", "x-ms-examples": { - "RouteFilterRuleListByRouteFilter": { "$ref": "../examples/RouteFilterRuleListByRouteFilter.json" } + "RouteFilterRuleListByRouteFilter": { "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" } }, "description": "Gets all RouteFilterRules in a route filter.", "parameters": [ @@ -813,3 +813,4 @@ } } } + diff --git a/arm-network/2016-12-01/swagger/routeTable.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/routeTable.json similarity index 100% rename from arm-network/2016-12-01/swagger/routeTable.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/routeTable.json diff --git a/arm-network/2016-12-01/swagger/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/serviceCommunity.json similarity index 98% rename from arm-network/2016-12-01/swagger/serviceCommunity.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/serviceCommunity.json index 0dbed0eb7fbc..b9b2695910cc 100644 --- a/arm-network/2016-12-01/swagger/serviceCommunity.json +++ b/specification/network/resource-manager/Microsoft.Network/2016-12-01/serviceCommunity.json @@ -41,7 +41,7 @@ ], "operationId": "BgpServiceCommunities_List", "x-ms-examples": { - "ServiceCommunityList": { "$ref": "../examples/ServiceCommunityList.json" } + "ServiceCommunityList": { "$ref": "./examples/ServiceCommunityList.json" } }, "description": "Gets all the available bgp service communities.", "parameters": [ @@ -155,3 +155,4 @@ } } } + diff --git a/arm-network/2016-12-01/swagger/usage.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/usage.json similarity index 100% rename from arm-network/2016-12-01/swagger/usage.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/usage.json diff --git a/arm-network/2016-12-01/swagger/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/virtualNetwork.json similarity index 100% rename from arm-network/2016-12-01/swagger/virtualNetwork.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/virtualNetwork.json diff --git a/arm-network/2016-12-01/swagger/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/virtualNetworkGateway.json similarity index 100% rename from arm-network/2016-12-01/swagger/virtualNetworkGateway.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/virtualNetworkGateway.json diff --git a/arm-network/2016-12-01/swagger/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/2016-12-01/vmssNetworkInterface.json similarity index 100% rename from arm-network/2016-12-01/swagger/vmssNetworkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2016-12-01/vmssNetworkInterface.json diff --git a/arm-network/2017-03-01/swagger/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/applicationGateway.json similarity index 100% rename from arm-network/2017-03-01/swagger/applicationGateway.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/applicationGateway.json diff --git a/arm-network/2017-03-01/swagger/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/checkDnsAvailability.json similarity index 100% rename from arm-network/2017-03-01/swagger/checkDnsAvailability.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/checkDnsAvailability.json diff --git a/arm-network/2017-03-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterCreate.json similarity index 89% rename from arm-network/2017-03-01/examples/RouteFilterCreate.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterCreate.json index a244f16211b1..f7e68ba5c825 100644 --- a/arm-network/2017-03-01/examples/RouteFilterCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterCreate.json @@ -30,11 +30,11 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -42,7 +42,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -62,11 +62,11 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -74,7 +74,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -93,4 +93,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterDelete.json similarity index 100% rename from arm-network/2017-03-01/examples/RouteFilterDelete.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterDelete.json diff --git a/arm-network/2017-03-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterGet.json similarity index 86% rename from arm-network/2017-03-01/examples/RouteFilterGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterGet.json index 3511f9bdd893..9943b9903aa1 100644 --- a/arm-network/2017-03-01/examples/RouteFilterGet.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterGet.json @@ -8,11 +8,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -39,4 +39,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterList.json similarity index 86% rename from arm-network/2017-03-01/examples/RouteFilterList.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterList.json index 2a3be2f2a8de..d3fbbe60c93f 100644 --- a/arm-network/2017-03-01/examples/RouteFilterList.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterList.json @@ -8,11 +8,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -20,7 +20,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -41,4 +41,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterListByResourceGroup.json similarity index 86% rename from arm-network/2017-03-01/examples/RouteFilterListByResourceGroup.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterListByResourceGroup.json index c85051315553..7de73b32d5ae 100644 --- a/arm-network/2017-03-01/examples/RouteFilterListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterListByResourceGroup.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -21,7 +21,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -42,4 +42,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleCreate.json similarity index 91% rename from arm-network/2017-03-01/examples/RouteFilterRuleCreate.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleCreate.json index 7558b0f2c163..b87907b1d58e 100644 --- a/arm-network/2017-03-01/examples/RouteFilterRuleCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleCreate.json @@ -22,7 +22,7 @@ "responses": { "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -41,7 +41,7 @@ }, "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -59,4 +59,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleDelete.json similarity index 100% rename from arm-network/2017-03-01/examples/RouteFilterRuleDelete.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleDelete.json diff --git a/arm-network/2017-03-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleGet.json similarity index 90% rename from arm-network/2017-03-01/examples/RouteFilterRuleGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleGet.json index 0c4d7b2c72d5..753a5eb3666d 100644 --- a/arm-network/2017-03-01/examples/RouteFilterRuleGet.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleGet.json @@ -9,7 +9,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -27,4 +27,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleListByRouteFilter.json similarity index 90% rename from arm-network/2017-03-01/examples/RouteFilterRuleListByRouteFilter.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleListByRouteFilter.json index d2834d058d31..b273ec24e001 100644 --- a/arm-network/2017-03-01/examples/RouteFilterRuleListByRouteFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleListByRouteFilter.json @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleUpdate.json similarity index 92% rename from arm-network/2017-03-01/examples/RouteFilterRuleUpdate.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleUpdate.json index f61ca9476c59..1190e0a21f5e 100644 --- a/arm-network/2017-03-01/examples/RouteFilterRuleUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterRuleUpdate.json @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "tags": { "key1": "value1" @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterUpdate.json similarity index 89% rename from arm-network/2017-03-01/examples/RouteFilterUpdate.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterUpdate.json index a393e600aef9..9f8388d439b5 100644 --- a/arm-network/2017-03-01/examples/RouteFilterUpdate.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/RouteFilterUpdate.json @@ -27,11 +27,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "location": "West US", "name": "filterName", - "type": "Microsofot.Network/routeFilters", + "type": "Microsoft.Network/routeFilters", "tags": { "key1": "value1" }, @@ -39,7 +39,7 @@ "provisioningState": "Succeeded", "rules": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/routeFilters/filterName/routeFilterRules/ruleName", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", "etag": "w/\\00000000-0000-0000-0000-000000000000\\", "name": "ruleName", "properties": { @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/ServiceCommunityList.json similarity index 78% rename from arm-network/2017-03-01/examples/ServiceCommunityList.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/ServiceCommunityList.json index c07d634236b3..bcb3af2f4af6 100644 --- a/arm-network/2017-03-01/examples/ServiceCommunityList.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/ServiceCommunityList.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/skype", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/skype", "name": "skype", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName" : "skype", "bgpCommunities": [ @@ -27,9 +27,9 @@ } }, { - "id": "/subscriptions/subid/providers/Microsofot.Network/bgpServiceCommunities/exchange", + "id": "/subscriptions/subid/providers/Microsoft.Network/bgpServiceCommunities/exchange", "name": "exchange", - "type": "Microsofot.Network/bgpServiceCommunities", + "type": "Microsoft.Network/bgpServiceCommunities", "properties": { "serviceName" : "exchange", "bgpCommunities": [ @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-network/2017-03-01/examples/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VirtualNetworkListUsage.json similarity index 100% rename from arm-network/2017-03-01/examples/VirtualNetworkListUsage.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VirtualNetworkListUsage.json diff --git a/arm-network/2017-03-01/examples/VmssPublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VmssPublicIpGet.json similarity index 100% rename from arm-network/2017-03-01/examples/VmssPublicIpGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VmssPublicIpGet.json diff --git a/arm-network/2017-03-01/examples/VmssPublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VmssPublicIpListAll.json similarity index 100% rename from arm-network/2017-03-01/examples/VmssPublicIpListAll.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VmssPublicIpListAll.json diff --git a/arm-network/2017-03-01/examples/VmssVmPublicIpList.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VmssVmPublicIpList.json similarity index 100% rename from arm-network/2017-03-01/examples/VmssVmPublicIpList.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/examples/VmssVmPublicIpList.json diff --git a/arm-network/2017-03-01/swagger/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/expressRouteCircuit.json similarity index 100% rename from arm-network/2017-03-01/swagger/expressRouteCircuit.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/expressRouteCircuit.json diff --git a/arm-network/2017-03-01/swagger/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/loadBalancer.json similarity index 100% rename from arm-network/2017-03-01/swagger/loadBalancer.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/loadBalancer.json diff --git a/arm-network/2017-03-01/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/network.json similarity index 100% rename from arm-network/2017-03-01/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/network.json diff --git a/arm-network/2017-03-01/swagger/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/networkInterface.json similarity index 100% rename from arm-network/2017-03-01/swagger/networkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/networkInterface.json diff --git a/arm-network/2017-03-01/swagger/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/networkSecurityGroup.json similarity index 100% rename from arm-network/2017-03-01/swagger/networkSecurityGroup.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/networkSecurityGroup.json diff --git a/arm-network/2017-03-01/swagger/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/networkWatcher.json similarity index 100% rename from arm-network/2017-03-01/swagger/networkWatcher.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/networkWatcher.json diff --git a/arm-network/2017-03-01/swagger/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/publicIpAddress.json similarity index 100% rename from arm-network/2017-03-01/swagger/publicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/publicIpAddress.json diff --git a/arm-network/2017-03-01/swagger/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/routeFilter.json similarity index 97% rename from arm-network/2017-03-01/swagger/routeFilter.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/routeFilter.json index de55a379939b..68221073ac1f 100644 --- a/arm-network/2017-03-01/swagger/routeFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/routeFilter.json @@ -41,7 +41,7 @@ ], "operationId": "RouteFilters_Delete", "x-ms-examples": { - "RouteFilterDelete": { "$ref": "../examples/RouteFilterDelete.json" } + "RouteFilterDelete": { "$ref": "./examples/RouteFilterDelete.json" } }, "description": "Deletes the specified route filter.", "parameters": [ @@ -85,7 +85,7 @@ ], "operationId": "RouteFilters_Get", "x-ms-examples": { - "RouteFilterGet": { "$ref": "../examples/RouteFilterGet.json" } + "RouteFilterGet": { "$ref": "./examples/RouteFilterGet.json" } }, "description": "Gets the specified route filter.", "parameters": [ @@ -132,7 +132,7 @@ ], "operationId": "RouteFilters_CreateOrUpdate", "x-ms-examples": { - "RouteFilterCreate": { "$ref": "../examples/RouteFilterCreate.json" } + "RouteFilterCreate": { "$ref": "./examples/RouteFilterCreate.json" } }, "description": "Creates or updates a route filter in a specified resource group.", "parameters": [ @@ -188,7 +188,7 @@ ], "operationId": "RouteFilters_Update", "x-ms-examples": { - "RouteFilterUpdate": { "$ref": "../examples/RouteFilterUpdate.json" } + "RouteFilterUpdate": { "$ref": "./examples/RouteFilterUpdate.json" } }, "description": "Updates a route filter in a specified resource group.", "parameters": [ @@ -240,7 +240,7 @@ ], "operationId": "RouteFilters_ListByResourceGroup", "x-ms-examples": { - "RouteFilterListByResourceGroup": { "$ref": "../examples/RouteFilterListByResourceGroup.json" } + "RouteFilterListByResourceGroup": { "$ref": "./examples/RouteFilterListByResourceGroup.json" } }, "description": "Gets all route filters in a resource group.", "parameters": [ @@ -278,7 +278,7 @@ ], "operationId": "RouteFilters_List", "x-ms-examples": { - "RouteFilterList": { "$ref": "../examples/RouteFilterList.json" } + "RouteFilterList": { "$ref": "./examples/RouteFilterList.json" } }, "description": "Gets all route filters in a subscription.", "parameters": [ @@ -309,7 +309,7 @@ ], "operationId": "RouteFilterRules_Delete", "x-ms-examples": { - "RouteFilterRuleDelete": { "$ref": "../examples/RouteFilterRuleDelete.json" } + "RouteFilterRuleDelete": { "$ref": "./examples/RouteFilterRuleDelete.json" } }, "description": "Deletes the specified rule from a route filter.", "parameters": [ @@ -360,7 +360,7 @@ ], "operationId": "RouteFilterRules_Get", "x-ms-examples": { - "RouteFilterRuleGet": { "$ref": "../examples/RouteFilterRuleGet.json" } + "RouteFilterRuleGet": { "$ref": "./examples/RouteFilterRuleGet.json" } }, "description": "Gets the specified rule from a route filter.", "parameters": [ @@ -407,7 +407,7 @@ ], "operationId": "RouteFilterRules_CreateOrUpdate", "x-ms-examples": { - "RouteFilterRuleCreate": { "$ref": "../examples/RouteFilterRuleCreate.json" } + "RouteFilterRuleCreate": { "$ref": "./examples/RouteFilterRuleCreate.json" } }, "description": "Creates or updates a route in the specified route filter.", "parameters": [ @@ -470,7 +470,7 @@ ], "operationId": "RouteFilterRules_Update", "x-ms-examples": { - "RouteFilterRuleUpdate": { "$ref": "../examples/RouteFilterRuleUpdate.json" } + "RouteFilterRuleUpdate": { "$ref": "./examples/RouteFilterRuleUpdate.json" } }, "description": "Updates a route in the specified route filter.", "parameters": [ @@ -529,7 +529,7 @@ ], "operationId": "RouteFilterRules_ListByRouteFilter", "x-ms-examples": { - "RouteFilterRuleListByRouteFilter": { "$ref": "../examples/RouteFilterRuleListByRouteFilter.json" } + "RouteFilterRuleListByRouteFilter": { "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" } }, "description": "Gets all RouteFilterRules in a route filter.", "parameters": [ @@ -813,3 +813,4 @@ } } } + diff --git a/arm-network/2017-03-01/swagger/routeTable.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/routeTable.json similarity index 100% rename from arm-network/2017-03-01/swagger/routeTable.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/routeTable.json diff --git a/arm-network/2017-03-01/swagger/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/serviceCommunity.json similarity index 98% rename from arm-network/2017-03-01/swagger/serviceCommunity.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/serviceCommunity.json index 5b6370fbfc37..677f5c500aba 100644 --- a/arm-network/2017-03-01/swagger/serviceCommunity.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/serviceCommunity.json @@ -41,7 +41,7 @@ ], "operationId": "BgpServiceCommunities_List", "x-ms-examples": { - "ServiceCommunityList": { "$ref": "../examples/ServiceCommunityList.json" } + "ServiceCommunityList": { "$ref": "./examples/ServiceCommunityList.json" } }, "description": "Gets all the available bgp service communities.", "parameters": [ @@ -155,3 +155,4 @@ } } } + diff --git a/arm-network/2017-03-01/swagger/usage.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/usage.json similarity index 100% rename from arm-network/2017-03-01/swagger/usage.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/usage.json diff --git a/arm-network/2017-03-01/swagger/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetwork.json similarity index 99% rename from arm-network/2017-03-01/swagger/virtualNetwork.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetwork.json index 1259da7d2c83..ce36b5abefe0 100644 --- a/arm-network/2017-03-01/swagger/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetwork.json @@ -716,7 +716,7 @@ } }, "x-ms-examples": { - "VnetGetUsage": { "$ref": "../examples/VirtualNetworkListUsage.json" } + "VnetGetUsage": { "$ref": "./examples/VirtualNetworkListUsage.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -1108,3 +1108,4 @@ } } } + diff --git a/arm-network/2017-03-01/swagger/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetworkGateway.json similarity index 100% rename from arm-network/2017-03-01/swagger/virtualNetworkGateway.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/virtualNetworkGateway.json diff --git a/arm-network/2017-03-01/swagger/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/vmssNetworkInterface.json similarity index 100% rename from arm-network/2017-03-01/swagger/vmssNetworkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/vmssNetworkInterface.json diff --git a/arm-network/2017-03-01/swagger/vmssPublicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2017-03-01/vmssPublicIpAddress.json similarity index 94% rename from arm-network/2017-03-01/swagger/vmssPublicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2017-03-01/vmssPublicIpAddress.json index ca57827ab561..86b3d7b0bb4a 100644 --- a/arm-network/2017-03-01/swagger/vmssPublicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-03-01/vmssPublicIpAddress.json @@ -82,7 +82,7 @@ } }, "x-ms-examples": { - "ListVMSSPublicIP": { "$ref": "../examples/VmssPublicIpListAll.json" } + "ListVMSSPublicIP": { "$ref": "./examples/VmssPublicIpListAll.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -156,7 +156,7 @@ } }, "x-ms-examples": { - "ListVMSSVMPublicIP": { "$ref": "../examples/VmssVmPublicIpList.json" } + "ListVMSSVMPublicIP": { "$ref": "./examples/VmssVmPublicIpList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -236,7 +236,7 @@ } ], "x-ms-examples": { - "GetVMSSPublicIP": { "$ref": "../examples/VmssPublicIpGet.json" } + "GetVMSSPublicIP": { "$ref": "./examples/VmssPublicIpGet.json" } }, "responses": { "200": { diff --git a/arm-network/2017-06-01/swagger/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/applicationGateway.json similarity index 99% rename from arm-network/2017-06-01/swagger/applicationGateway.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/applicationGateway.json index 4e6e9bf776bf..bb466fcfd2e3 100644 --- a/arm-network/2017-06-01/swagger/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-06-01/applicationGateway.json @@ -392,7 +392,7 @@ ], "operationId": "ApplicationGateways_ListAvailableSslOptions", "x-ms-examples": { - "ApplicationGatewayAvailableSslOptionsGet": { "$ref": "../examples/ApplicationGatewayAvailableSslOptionsGet.json" } + "ApplicationGatewayAvailableSslOptionsGet": { "$ref": "./examples/ApplicationGatewayAvailableSslOptionsGet.json" } }, "description": "Lists available Ssl options for configuring Ssl policy.", "parameters": [ @@ -420,7 +420,7 @@ ], "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies", "x-ms-examples": { - "ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet": { "$ref": "../examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json" } + "ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet": { "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -451,7 +451,7 @@ ], "operationId": "ApplicationGateways_GetSslPredefinedPolicy", "x-ms-examples": { - "ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet": { "$ref": "../examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json" } + "ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet": { "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json" } }, "description": "Gets Ssl predefined policy with the specified policy name.", "parameters": [ diff --git a/arm-network/2017-06-01/swagger/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/checkDnsAvailability.json similarity index 100% rename from arm-network/2017-06-01/swagger/checkDnsAvailability.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/checkDnsAvailability.json diff --git a/arm-network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json similarity index 100% rename from arm-network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsGet.json diff --git a/arm-network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json similarity index 100% rename from arm-network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json diff --git a/arm-network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json similarity index 100% rename from arm-network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json diff --git a/arm-network/2017-06-01/examples/PrivateAccessServicesList.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/PrivateAccessServicesList.json similarity index 100% rename from arm-network/2017-06-01/examples/PrivateAccessServicesList.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/PrivateAccessServicesList.json diff --git a/arm-network/2017-06-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterCreate.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterCreate.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterCreate.json diff --git a/arm-network/2017-06-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterDelete.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterDelete.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterDelete.json diff --git a/arm-network/2017-06-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterGet.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterGet.json diff --git a/arm-network/2017-06-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterList.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterList.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterList.json diff --git a/arm-network/2017-06-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterListByResourceGroup.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterListByResourceGroup.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterListByResourceGroup.json diff --git a/arm-network/2017-06-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleCreate.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterRuleCreate.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleCreate.json diff --git a/arm-network/2017-06-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleDelete.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterRuleDelete.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleDelete.json diff --git a/arm-network/2017-06-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleGet.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterRuleGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleGet.json diff --git a/arm-network/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleListByRouteFilter.json diff --git a/arm-network/2017-06-01/examples/RouteFilterRuleUpdate.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleUpdate.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterRuleUpdate.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterRuleUpdate.json diff --git a/arm-network/2017-06-01/examples/RouteFilterUpdate.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterUpdate.json similarity index 100% rename from arm-network/2017-06-01/examples/RouteFilterUpdate.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/RouteFilterUpdate.json diff --git a/arm-network/2017-06-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ServiceCommunityList.json similarity index 100% rename from arm-network/2017-06-01/examples/ServiceCommunityList.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/ServiceCommunityList.json diff --git a/arm-network/2017-06-01/examples/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/SubnetCreate.json similarity index 100% rename from arm-network/2017-06-01/examples/SubnetCreate.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/SubnetCreate.json diff --git a/arm-network/2017-06-01/examples/SubnetPrivateAccessServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/SubnetPrivateAccessServiceCreate.json similarity index 100% rename from arm-network/2017-06-01/examples/SubnetPrivateAccessServiceCreate.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/SubnetPrivateAccessServiceCreate.json diff --git a/arm-network/2017-06-01/examples/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VirtualNetworkListUsage.json similarity index 100% rename from arm-network/2017-06-01/examples/VirtualNetworkListUsage.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VirtualNetworkListUsage.json diff --git a/arm-network/2017-06-01/examples/VmssPublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VmssPublicIpGet.json similarity index 100% rename from arm-network/2017-06-01/examples/VmssPublicIpGet.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VmssPublicIpGet.json diff --git a/arm-network/2017-06-01/examples/VmssPublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VmssPublicIpListAll.json similarity index 100% rename from arm-network/2017-06-01/examples/VmssPublicIpListAll.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VmssPublicIpListAll.json diff --git a/arm-network/2017-06-01/examples/VmssVmPublicIpList.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VmssVmPublicIpList.json similarity index 100% rename from arm-network/2017-06-01/examples/VmssVmPublicIpList.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/examples/VmssVmPublicIpList.json diff --git a/arm-network/2017-06-01/swagger/expressRouteCircuit.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/expressRouteCircuit.json similarity index 100% rename from arm-network/2017-06-01/swagger/expressRouteCircuit.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/expressRouteCircuit.json diff --git a/arm-network/2017-06-01/swagger/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/loadBalancer.json similarity index 100% rename from arm-network/2017-06-01/swagger/loadBalancer.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/loadBalancer.json diff --git a/arm-network/2017-06-01/swagger/network.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/network.json similarity index 100% rename from arm-network/2017-06-01/swagger/network.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/network.json diff --git a/arm-network/2017-06-01/swagger/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/networkInterface.json similarity index 100% rename from arm-network/2017-06-01/swagger/networkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/networkInterface.json diff --git a/arm-network/2017-06-01/swagger/networkSecurityGroup.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/networkSecurityGroup.json similarity index 100% rename from arm-network/2017-06-01/swagger/networkSecurityGroup.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/networkSecurityGroup.json diff --git a/arm-network/2017-06-01/swagger/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/networkWatcher.json similarity index 100% rename from arm-network/2017-06-01/swagger/networkWatcher.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/networkWatcher.json diff --git a/arm-network/2017-06-01/swagger/privateAccessServices.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/privateAccessServices.json similarity index 94% rename from arm-network/2017-06-01/swagger/privateAccessServices.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/privateAccessServices.json index 6c45a3747c78..27900f6f3b51 100644 --- a/arm-network/2017-06-01/swagger/privateAccessServices.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-06-01/privateAccessServices.json @@ -65,7 +65,7 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "PrivateAccessServicesList": { "$ref": "../examples/PrivateAccessServicesList.json" } + "PrivateAccessServicesList": { "$ref": "./examples/PrivateAccessServicesList.json" } } } } diff --git a/arm-network/2017-06-01/swagger/publicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/publicIpAddress.json similarity index 100% rename from arm-network/2017-06-01/swagger/publicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/publicIpAddress.json diff --git a/arm-network/2017-06-01/swagger/routeFilter.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/routeFilter.json similarity index 97% rename from arm-network/2017-06-01/swagger/routeFilter.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/routeFilter.json index 782ebef5c73e..10c26495dc28 100644 --- a/arm-network/2017-06-01/swagger/routeFilter.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-06-01/routeFilter.json @@ -41,7 +41,7 @@ ], "operationId": "RouteFilters_Delete", "x-ms-examples": { - "RouteFilterDelete": { "$ref": "../examples/RouteFilterDelete.json" } + "RouteFilterDelete": { "$ref": "./examples/RouteFilterDelete.json" } }, "description": "Deletes the specified route filter.", "parameters": [ @@ -85,7 +85,7 @@ ], "operationId": "RouteFilters_Get", "x-ms-examples": { - "RouteFilterGet": { "$ref": "../examples/RouteFilterGet.json" } + "RouteFilterGet": { "$ref": "./examples/RouteFilterGet.json" } }, "description": "Gets the specified route filter.", "parameters": [ @@ -132,7 +132,7 @@ ], "operationId": "RouteFilters_CreateOrUpdate", "x-ms-examples": { - "RouteFilterCreate": { "$ref": "../examples/RouteFilterCreate.json" } + "RouteFilterCreate": { "$ref": "./examples/RouteFilterCreate.json" } }, "description": "Creates or updates a route filter in a specified resource group.", "parameters": [ @@ -188,7 +188,7 @@ ], "operationId": "RouteFilters_Update", "x-ms-examples": { - "RouteFilterUpdate": { "$ref": "../examples/RouteFilterUpdate.json" } + "RouteFilterUpdate": { "$ref": "./examples/RouteFilterUpdate.json" } }, "description": "Updates a route filter in a specified resource group.", "parameters": [ @@ -240,7 +240,7 @@ ], "operationId": "RouteFilters_ListByResourceGroup", "x-ms-examples": { - "RouteFilterListByResourceGroup": { "$ref": "../examples/RouteFilterListByResourceGroup.json" } + "RouteFilterListByResourceGroup": { "$ref": "./examples/RouteFilterListByResourceGroup.json" } }, "description": "Gets all route filters in a resource group.", "parameters": [ @@ -278,7 +278,7 @@ ], "operationId": "RouteFilters_List", "x-ms-examples": { - "RouteFilterList": { "$ref": "../examples/RouteFilterList.json" } + "RouteFilterList": { "$ref": "./examples/RouteFilterList.json" } }, "description": "Gets all route filters in a subscription.", "parameters": [ @@ -309,7 +309,7 @@ ], "operationId": "RouteFilterRules_Delete", "x-ms-examples": { - "RouteFilterRuleDelete": { "$ref": "../examples/RouteFilterRuleDelete.json" } + "RouteFilterRuleDelete": { "$ref": "./examples/RouteFilterRuleDelete.json" } }, "description": "Deletes the specified rule from a route filter.", "parameters": [ @@ -360,7 +360,7 @@ ], "operationId": "RouteFilterRules_Get", "x-ms-examples": { - "RouteFilterRuleGet": { "$ref": "../examples/RouteFilterRuleGet.json" } + "RouteFilterRuleGet": { "$ref": "./examples/RouteFilterRuleGet.json" } }, "description": "Gets the specified rule from a route filter.", "parameters": [ @@ -407,7 +407,7 @@ ], "operationId": "RouteFilterRules_CreateOrUpdate", "x-ms-examples": { - "RouteFilterRuleCreate": { "$ref": "../examples/RouteFilterRuleCreate.json" } + "RouteFilterRuleCreate": { "$ref": "./examples/RouteFilterRuleCreate.json" } }, "description": "Creates or updates a route in the specified route filter.", "parameters": [ @@ -470,7 +470,7 @@ ], "operationId": "RouteFilterRules_Update", "x-ms-examples": { - "RouteFilterRuleUpdate": { "$ref": "../examples/RouteFilterRuleUpdate.json" } + "RouteFilterRuleUpdate": { "$ref": "./examples/RouteFilterRuleUpdate.json" } }, "description": "Updates a route in the specified route filter.", "parameters": [ @@ -529,7 +529,7 @@ ], "operationId": "RouteFilterRules_ListByRouteFilter", "x-ms-examples": { - "RouteFilterRuleListByRouteFilter": { "$ref": "../examples/RouteFilterRuleListByRouteFilter.json" } + "RouteFilterRuleListByRouteFilter": { "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" } }, "description": "Gets all RouteFilterRules in a route filter.", "parameters": [ diff --git a/arm-network/2017-06-01/swagger/routeTable.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/routeTable.json similarity index 100% rename from arm-network/2017-06-01/swagger/routeTable.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/routeTable.json diff --git a/arm-network/2017-06-01/swagger/serviceCommunity.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/serviceCommunity.json similarity index 98% rename from arm-network/2017-06-01/swagger/serviceCommunity.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/serviceCommunity.json index b94ec16fa99a..30c7e36e551c 100644 --- a/arm-network/2017-06-01/swagger/serviceCommunity.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-06-01/serviceCommunity.json @@ -41,7 +41,7 @@ ], "operationId": "BgpServiceCommunities_List", "x-ms-examples": { - "ServiceCommunityList": { "$ref": "../examples/ServiceCommunityList.json" } + "ServiceCommunityList": { "$ref": "./examples/ServiceCommunityList.json" } }, "description": "Gets all the available bgp service communities.", "parameters": [ diff --git a/arm-network/2017-06-01/swagger/usage.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/usage.json similarity index 100% rename from arm-network/2017-06-01/swagger/usage.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/usage.json diff --git a/arm-network/2017-06-01/swagger/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/virtualNetwork.json similarity index 99% rename from arm-network/2017-06-01/swagger/virtualNetwork.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/virtualNetwork.json index d9a251cf59a6..dd5b92d78ee8 100644 --- a/arm-network/2017-06-01/swagger/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-06-01/virtualNetwork.json @@ -399,8 +399,8 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Create subnet": { "$ref": "../examples/SubnetCreate.json" }, - "Create subnet with private access services": { "$ref": "../examples/SubnetPrivateAccessServiceCreate.json" } + "Create subnet": { "$ref": "./examples/SubnetCreate.json" }, + "Create subnet with private access services": { "$ref": "./examples/SubnetPrivateAccessServiceCreate.json" } } } }, @@ -720,7 +720,7 @@ } }, "x-ms-examples": { - "VnetGetUsage": { "$ref": "../examples/VirtualNetworkListUsage.json" } + "VnetGetUsage": { "$ref": "./examples/VirtualNetworkListUsage.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" diff --git a/arm-network/2017-06-01/swagger/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/virtualNetworkGateway.json similarity index 100% rename from arm-network/2017-06-01/swagger/virtualNetworkGateway.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/virtualNetworkGateway.json diff --git a/arm-network/2017-06-01/swagger/vmssNetworkInterface.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/vmssNetworkInterface.json similarity index 100% rename from arm-network/2017-06-01/swagger/vmssNetworkInterface.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/vmssNetworkInterface.json diff --git a/arm-network/2017-06-01/swagger/vmssPublicIpAddress.json b/specification/network/resource-manager/Microsoft.Network/2017-06-01/vmssPublicIpAddress.json similarity index 97% rename from arm-network/2017-06-01/swagger/vmssPublicIpAddress.json rename to specification/network/resource-manager/Microsoft.Network/2017-06-01/vmssPublicIpAddress.json index eaa9111c110d..79113ac031f9 100644 --- a/arm-network/2017-06-01/swagger/vmssPublicIpAddress.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-06-01/vmssPublicIpAddress.json @@ -82,7 +82,7 @@ } }, "x-ms-examples": { - "ListVMSSPublicIP": { "$ref": "../examples/VmssPublicIpListAll.json" } + "ListVMSSPublicIP": { "$ref": "./examples/VmssPublicIpListAll.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -156,7 +156,7 @@ } }, "x-ms-examples": { - "ListVMSSVMPublicIP": { "$ref": "../examples/VmssVmPublicIpList.json" } + "ListVMSSVMPublicIP": { "$ref": "./examples/VmssVmPublicIpList.json" } }, "x-ms-pageable": { "nextLinkName": "nextLink" @@ -236,7 +236,7 @@ } ], "x-ms-examples": { - "GetVMSSPublicIP": { "$ref": "../examples/VmssPublicIpGet.json" } + "GetVMSSPublicIP": { "$ref": "./examples/VmssPublicIpGet.json" } }, "responses": { "200": { diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md new file mode 100644 index 000000000000..b420ebfc9751 --- /dev/null +++ b/specification/network/resource-manager/readme.md @@ -0,0 +1,252 @@ +# Network + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Network. + + + +--- +## Getting Started +To build the SDK for Network, 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 Network API. + +``` yaml +title: NetworkManagementClient +description: Network Client +openapi-type: arm +tag: package-2017-06 +``` + + +### Tag: package-2017-06 + +These settings apply only when `--tag=package-2017-06` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06' +input-file: +- Microsoft.Network/2017-06-01/applicationGateway.json +- Microsoft.Network/2017-06-01/checkDnsAvailability.json +- Microsoft.Network/2017-06-01/expressRouteCircuit.json +- Microsoft.Network/2017-06-01/loadBalancer.json +- Microsoft.Network/2017-06-01/network.json +- Microsoft.Network/2017-06-01/networkInterface.json +- Microsoft.Network/2017-06-01/networkSecurityGroup.json +- Microsoft.Network/2017-06-01/networkWatcher.json +- Microsoft.Compute/2017-06-01/privateAccessServices.json +- Microsoft.Network/2017-06-01/publicIpAddress.json +- Microsoft.Network/2017-06-01/routeFilter.json +- Microsoft.Network/2017-06-01/routeTable.json +- Microsoft.Network/2017-06-01/serviceCommunity.json +- Microsoft.Network/2017-06-01/usage.json +- Microsoft.Network/2017-06-01/virtualNetwork.json +- Microsoft.Network/2017-06-01/virtualNetworkGateway.json +- Microsoft.Compute/2017-06-01/vmssNetworkInterface.json +- Microsoft.Compute/2017-06-01/vmssPublicIpAddress.json +``` + + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- Microsoft.Network/2017-03-01/applicationGateway.json +- Microsoft.Network/2017-03-01/checkDnsAvailability.json +- Microsoft.Network/2017-03-01/expressRouteCircuit.json +- Microsoft.Network/2017-03-01/loadBalancer.json +- Microsoft.Network/2017-03-01/network.json +- Microsoft.Network/2017-03-01/networkInterface.json +- Microsoft.Network/2017-03-01/networkSecurityGroup.json +- Microsoft.Network/2017-03-01/networkWatcher.json +- Microsoft.Network/2017-03-01/publicIpAddress.json +- Microsoft.Network/2017-03-01/routeFilter.json +- Microsoft.Network/2017-03-01/routeTable.json +- Microsoft.Network/2017-03-01/serviceCommunity.json +- Microsoft.Network/2017-03-01/usage.json +- Microsoft.Network/2017-03-01/virtualNetwork.json +- Microsoft.Network/2017-03-01/virtualNetworkGateway.json +- Microsoft.Compute/2017-03-01/vmssNetworkInterface.json +- Microsoft.Compute/2017-03-01/vmssPublicIpAddress.json +``` + +### Tag: package-2016-12 + +These settings apply only when `--tag=package-2016-12` is specified on the command line. + +``` yaml $(tag) == 'package-2016-12' +input-file: +- microsoft.Compute/2016-12-01/vmssNetworkInterface.json +- Microsoft.Network/2016-12-01/applicationGateway.json +- Microsoft.Network/2016-12-01/checkDnsAvailability.json +- Microsoft.Network/2016-12-01/expressRouteCircuit.json +- Microsoft.Network/2016-12-01/loadBalancer.json +- Microsoft.Network/2016-12-01/network.json +- Microsoft.Network/2016-12-01/networkInterface.json +- Microsoft.Network/2016-12-01/networkSecurityGroup.json +- Microsoft.Network/2016-12-01/networkWatcher.json +- Microsoft.Network/2016-12-01/publicIpAddress.json +- Microsoft.Network/2016-12-01/routeFilter.json +- Microsoft.Network/2016-12-01/routeTable.json +- Microsoft.Network/2016-12-01/serviceCommunity.json +- Microsoft.Network/2016-12-01/usage.json +- Microsoft.Network/2016-12-01/virtualNetwork.json +- Microsoft.Network/2016-12-01/virtualNetworkGateway.json +``` + +### Tag: package-2016-09 + +These settings apply only when `--tag=package-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' +input-file: +- microsoft.Compute/2016-09-01/vmssNetworkInterface.json +- Microsoft.Network/2016-09-01/applicationGateway.json +- Microsoft.Network/2016-09-01/checkDnsAvailability.json +- Microsoft.Network/2016-09-01/expressRouteCircuit.json +- Microsoft.Network/2016-09-01/loadBalancer.json +- Microsoft.Network/2016-09-01/network.json +- Microsoft.Network/2016-09-01/networkInterface.json +- Microsoft.Network/2016-09-01/networkSecurityGroup.json +- Microsoft.Network/2016-09-01/networkWatcher.json +- Microsoft.Network/2016-09-01/publicIpAddress.json +- Microsoft.Network/2016-09-01/routeTable.json +- Microsoft.Network/2016-09-01/usage.json +- Microsoft.Network/2016-09-01/virtualNetwork.json +- Microsoft.Network/2016-09-01/virtualNetworkGateway.json +``` + +### Tag: package-2016-06 + +These settings apply only when `--tag=package-2016-06` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06' +input-file: +- Microsoft.Network/2016-06-01/network.json +``` + +### Tag: package-2016-03 + +These settings apply only when `--tag=package-2016-03` is specified on the command line. + +``` yaml $(tag) == 'package-2016-03' +input-file: +- Microsoft.Network/2016-03-30/network.json +``` + +### Tag: package-2015-06split + +These settings apply only when `--tag=package-2015-06split` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06split' +input-file: +- Microsoft.Network/2015-06-15/applicationGateway.json +- Microsoft.Network/2015-06-15/checkDnsAvailability.json +- Microsoft.Network/2015-06-15/expressRouteCircuit.json +- Microsoft.Network/2015-06-15/loadBalancer.json +- Microsoft.Network/2015-06-15/networkInterface.json +- Microsoft.Network/2015-06-15/networkSecurityGroup.json +- Microsoft.Network/2015-06-15/publicIpAddress.json +- Microsoft.Network/2015-06-15/routeTable.json +- Microsoft.Network/2015-06-15/usage.json +- Microsoft.Network/2015-06-15/virtualNetwork.json +- Microsoft.Network/2015-06-15/virtualNetworkGateway.json +- microsoft.Compute/2015-06-15/vmssNetworkInterface.json +``` + +### Tag: package-2015-06 + +These settings apply only when `--tag=package-2015-06` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06' +input-file: +- Microsoft.Network/2015-06-15/network.json +``` + +### Tag: package-2015-05-preview + +These settings apply only when `--tag=package-2015-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-05-preview' +input-file: +- Microsoft.Network/2015-05-01-preview/network.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 +``` + +### Tag: package-2017-06 and python + +These settings apply only when `--tag=package-2017-06 --python` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06' && $(python) +namespace: azure.mgmt.network.v2017_06_01 +``` + +### Tag: package-2017-03 and python + +These settings apply only when `--tag=package-2017-03 --python` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' && $(python) +namespace: azure.mgmt.network.v2017_03_01 +``` + +### Tag: package-2016-12 and python + +These settings apply only when `--tag=package-2016-12 --python` is specified on the command line. + +``` yaml $(tag) == 'package-2016-12' && $(python) +namespace: azure.mgmt.network.v2016_12_01 +``` + +### Tag: package-2016-09 and python + +These settings apply only when `--tag=package-2016-09 --python` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' && $(python) +namespace: azure.mgmt.network.v2016_09_01 +``` + +### Tag: package-2015-06split and python + +These settings apply only when `--tag=package-2015-06split --python` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06split' && $(python) +namespace: azure.mgmt.network.v2015_06_01 +``` diff --git a/arm-notificationhubs/2014-09-01/swagger/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2014-09-01/notificationhubs.json similarity index 100% rename from arm-notificationhubs/2014-09-01/swagger/notificationhubs.json rename to specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2014-09-01/notificationhubs.json diff --git a/arm-notificationhubs/2016-03-01/swagger/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2016-03-01/notificationhubs.json similarity index 100% rename from arm-notificationhubs/2016-03-01/swagger/notificationhubs.json rename to specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2016-03-01/notificationhubs.json diff --git a/arm-notificationhubs/2017-04-01/swagger/notificationhubs.json b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2017-04-01/notificationhubs.json similarity index 100% rename from arm-notificationhubs/2017-04-01/swagger/notificationhubs.json rename to specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/2017-04-01/notificationhubs.json diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md new file mode 100644 index 000000000000..22637fa4efef --- /dev/null +++ b/specification/notificationhubs/resource-manager/readme.md @@ -0,0 +1,71 @@ +# NotificationHubs + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for NotificationHubs. + + + +--- +## Getting Started +To build the SDK for NotificationHubs, 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 NotificationHubs API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.NotificationHubs/2017-04-01/notificationhubs.json +``` + +### Tag: package-2016-03 + +These settings apply only when `--tag=package-2016-03` is specified on the command line. + +``` yaml $(tag) == 'package-2016-03' +input-file: +- Microsoft.NotificationHubs/2016-03-01/notificationhubs.json +``` + +### Tag: package-2014-09 + +These settings apply only when `--tag=package-2014-09` is specified on the command line. + +``` yaml $(tag) == 'package-2014-09' +input-file: +- Microsoft.NotificationHubs/2014-09-01/notificationhubs.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-operationalinsights/2015-03-20/swagger/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/2015-03-20/OperationalInsights.json similarity index 100% rename from arm-operationalinsights/2015-03-20/swagger/OperationalInsights.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/2015-03-20/OperationalInsights.json diff --git a/arm-operationalinsights/2015-11-01-preview/swagger/OperationalInsights.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/2015-11-01-preview/OperationalInsights.json similarity index 100% rename from arm-operationalinsights/2015-11-01-preview/swagger/OperationalInsights.json rename to specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/2015-11-01-preview/OperationalInsights.json diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md new file mode 100644 index 000000000000..60255f3fa063 --- /dev/null +++ b/specification/operationalinsights/resource-manager/readme.md @@ -0,0 +1,65 @@ +# OperationalInsights + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for OperationalInsights. + + + +--- +## Getting Started +To build the SDK for OperationalInsights, 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 OperationalInsights API. + +``` yaml +title: Azure Log Analytics +description: Operational Insights Client +openapi-type: arm +tag: package-2015-11-preview +``` + + +### Tag: package-2015-11-preview + +These settings apply only when `--tag=package-2015-11-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-11-preview' +input-file: +- Microsoft.OperationalInsights/2015-11-01-preview/OperationalInsights.json +- Microsoft.OperationalInsights/2015-03-20/OperationalInsights.json +``` + +### Tag: package-2015-03 + +These settings apply only when `--tag=package-2015-03` is specified on the command line. + +``` yaml $(tag) == 'package-2015-03' +input-file: +- Microsoft.OperationalInsights/2015-03-20/OperationalInsights.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-postgresql/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ConfigurationCreateOrUpdate.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ConfigurationGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ConfigurationGet.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ConfigurationGet.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ConfigurationGet.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ConfigurationListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ConfigurationListByServer.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ConfigurationListByServer.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ConfigurationListByServer.json diff --git a/arm-postgresql/2017-04-30-preview/examples/DatabaseCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseCreate.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/DatabaseCreate.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseCreate.json diff --git a/arm-postgresql/2017-04-30-preview/examples/DatabaseDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseDelete.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/DatabaseDelete.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseDelete.json diff --git a/arm-postgresql/2017-04-30-preview/examples/DatabaseGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseGet.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/DatabaseGet.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseGet.json diff --git a/arm-postgresql/2017-04-30-preview/examples/DatabaseListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseListByServer.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/DatabaseListByServer.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/DatabaseListByServer.json diff --git a/arm-postgresql/2017-04-30-preview/examples/FirewallRuleCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleCreate.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/FirewallRuleCreate.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleCreate.json diff --git a/arm-postgresql/2017-04-30-preview/examples/FirewallRuleDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleDelete.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/FirewallRuleDelete.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleDelete.json diff --git a/arm-postgresql/2017-04-30-preview/examples/FirewallRuleGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleGet.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/FirewallRuleGet.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleGet.json diff --git a/arm-postgresql/2017-04-30-preview/examples/FirewallRuleListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleListByServer.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/FirewallRuleListByServer.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/FirewallRuleListByServer.json diff --git a/arm-postgresql/2017-04-30-preview/examples/LogFileListByServer.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/LogFileListByServer.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/LogFileListByServer.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/LogFileListByServer.json diff --git a/arm-postgresql/2017-04-30-preview/examples/OperationList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/OperationList.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/OperationList.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/OperationList.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ServerCreate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerCreate.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ServerCreate.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerCreate.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ServerDelete.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerDelete.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ServerDelete.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerDelete.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ServerGet.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerGet.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ServerGet.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerGet.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ServerList.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerList.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ServerList.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerList.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ServerListByResourceGroup.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerListByResourceGroup.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ServerListByResourceGroup.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerListByResourceGroup.json diff --git a/arm-postgresql/2017-04-30-preview/examples/ServerUpdate.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerUpdate.json similarity index 100% rename from arm-postgresql/2017-04-30-preview/examples/ServerUpdate.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/examples/ServerUpdate.json diff --git a/arm-postgresql/2017-04-30-preview/swagger/postgresql.json b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/postgresql.json similarity index 96% rename from arm-postgresql/2017-04-30-preview/swagger/postgresql.json rename to specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/postgresql.json index ffaacb1cb0f3..a8bb2b6debaa 100644 --- a/arm-postgresql/2017-04-30-preview/swagger/postgresql.json +++ b/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/2017-04-30-preview/postgresql.json @@ -41,7 +41,7 @@ ], "operationId": "Servers_CreateOrUpdate", "x-ms-examples": { - "ServerCreate": { "$ref": "../examples/ServerCreate.json" } + "ServerCreate": { "$ref": "./examples/ServerCreate.json" } }, "description": "Creates a new server or updates an existing server. The update action will overwrite the existing server.", "parameters": [ @@ -92,7 +92,7 @@ ], "operationId": "Servers_Update", "x-ms-examples": { - "ServerUpdate": { "$ref": "../examples/ServerUpdate.json" } + "ServerUpdate": { "$ref": "./examples/ServerUpdate.json" } }, "description": "Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.", "parameters": [ @@ -137,7 +137,7 @@ ], "operationId": "Servers_Delete", "x-ms-examples": { - "ServerDelete": { "$ref": "../examples/ServerDelete.json" } + "ServerDelete": { "$ref": "./examples/ServerDelete.json" } }, "description": "Deletes a server.", "parameters": [ @@ -173,7 +173,7 @@ ], "operationId": "Servers_Get", "x-ms-examples": { - "ServerGet": { "$ref": "../examples/ServerGet.json" } + "ServerGet": { "$ref": "./examples/ServerGet.json" } }, "description": "Gets information about a server.", "parameters": [ @@ -207,7 +207,7 @@ ], "operationId": "Servers_ListByResourceGroup", "x-ms-examples": { - "ServerListByResourceGroup": { "$ref": "../examples/ServerListByResourceGroup.json" } + "ServerListByResourceGroup": { "$ref": "./examples/ServerListByResourceGroup.json" } }, "description": "List all the servers in a given resource group.", "parameters": [ @@ -241,7 +241,7 @@ ], "operationId": "Servers_List", "x-ms-examples": { - "ServerList": { "$ref": "../examples/ServerList.json" } + "ServerList": { "$ref": "./examples/ServerList.json" } }, "description": "List all the servers in a given subscription.", "parameters": [ @@ -272,7 +272,7 @@ ], "operationId": "FirewallRules_CreateOrUpdate", "x-ms-examples": { - "FirewallRuleCreate": { "$ref": "../examples/FirewallRuleCreate.json" } + "FirewallRuleCreate": { "$ref": "./examples/FirewallRuleCreate.json" } }, "description": "Creates a new firewall rule or updates an existing firewall rule.", "parameters": [ @@ -326,7 +326,7 @@ ], "operationId": "FirewallRules_Delete", "x-ms-examples": { - "FirewallRuleDelete": { "$ref": "../examples/FirewallRuleDelete.json" } + "FirewallRuleDelete": { "$ref": "./examples/FirewallRuleDelete.json" } }, "description": "Deletes a server firewall rule.", "parameters": [ @@ -365,7 +365,7 @@ ], "operationId": "FirewallRules_Get", "x-ms-examples": { - "FirewallRuleGet": { "$ref": "../examples/FirewallRuleGet.json" } + "FirewallRuleGet": { "$ref": "./examples/FirewallRuleGet.json" } }, "description": "Gets information about a server firewall rule.", "parameters": [ @@ -402,7 +402,7 @@ ], "operationId": "FirewallRules_ListByServer", "x-ms-examples": { - "FirewallRuleList": { "$ref": "../examples/FirewallRuleListByServer.json" } + "FirewallRuleList": { "$ref": "./examples/FirewallRuleListByServer.json" } }, "description": "List all the firewall rules in a given server.", "parameters": [ @@ -439,7 +439,7 @@ ], "operationId": "Databases_CreateOrUpdate", "x-ms-examples": { - "DatabaseCreate": { "$ref": "../examples/DatabaseCreate.json" } + "DatabaseCreate": { "$ref": "./examples/DatabaseCreate.json" } }, "description": "Creates a new database or updates an existing database.", "parameters": [ @@ -493,7 +493,7 @@ ], "operationId": "Databases_Delete", "x-ms-examples": { - "DatabaseDelete": { "$ref": "../examples/DatabaseDelete.json" } + "DatabaseDelete": { "$ref": "./examples/DatabaseDelete.json" } }, "description": "Deletes a database.", "parameters": [ @@ -532,7 +532,7 @@ ], "operationId": "Databases_Get", "x-ms-examples": { - "DatabaseGet": { "$ref": "../examples/DatabaseGet.json" } + "DatabaseGet": { "$ref": "./examples/DatabaseGet.json" } }, "description": "Gets information about a database.", "parameters": [ @@ -569,7 +569,7 @@ ], "operationId": "Databases_ListByServer", "x-ms-examples": { - "DatabaseList": { "$ref": "../examples/DatabaseListByServer.json" } + "DatabaseList": { "$ref": "./examples/DatabaseListByServer.json" } }, "description": "List all the databases in a given server.", "parameters": [ @@ -606,7 +606,7 @@ ], "operationId": "Configurations_CreateOrUpdate", "x-ms-examples": { - "ConfigurationCreateOrUpdate": { "$ref": "../examples/ConfigurationCreateOrUpdate.json" } + "ConfigurationCreateOrUpdate": { "$ref": "./examples/ConfigurationCreateOrUpdate.json" } }, "description": "Updates a configuration of a server.", "parameters": [ @@ -654,7 +654,7 @@ ], "operationId": "Configurations_Get", "x-ms-examples": { - "ConfigurationGet": { "$ref": "../examples/ConfigurationGet.json" } + "ConfigurationGet": { "$ref": "./examples/ConfigurationGet.json" } }, "description": "Gets information about a configuration of server.", "parameters": [ @@ -691,7 +691,7 @@ ], "operationId": "Configurations_ListByServer", "x-ms-examples": { - "ConfigurationList": { "$ref": "../examples/ConfigurationListByServer.json" } + "ConfigurationList": { "$ref": "./examples/ConfigurationListByServer.json" } }, "description": "List all the configurations in a given server.", "parameters": [ @@ -728,7 +728,7 @@ ], "operationId": "LogFiles_ListByServer", "x-ms-examples": { - "LogFileList": { "$ref": "../examples/LogFileListByServer.json" } + "LogFileList": { "$ref": "./examples/LogFileListByServer.json" } }, "description": "List all the log files in a given server.", "parameters": [ @@ -765,7 +765,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationList": { "$ref": "../examples/OperationList.json" } + "OperationList": { "$ref": "./examples/OperationList.json" } }, "description": "Lists all of the available REST API operations.", "parameters": [ diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md new file mode 100644 index 000000000000..5400bc80339c --- /dev/null +++ b/specification/postgresql/resource-manager/readme.md @@ -0,0 +1,52 @@ +# PostgreSQL + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Sql. + + + +--- +## Getting Started +To build the SDK for PostgreSQLPostgreSQL, 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 Sql API. + +``` yaml +openapi-type: arm +tag: package-2017-04-preview +``` + + +### Tag: package-2017-04-preview + +These settings apply only when `--tag=package-2017-04-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04-preview' +input-file: +- Microsoft.DBforPostgreSQL/2017-04-30-preview/postgresql.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` diff --git a/arm-powerbiembedded/2016-01-29/swagger/powerbiembedded.json b/specification/powerbiembedded/resource-manager/Microsoft.PowerBI/2016-01-29/powerbiembedded.json similarity index 100% rename from arm-powerbiembedded/2016-01-29/swagger/powerbiembedded.json rename to specification/powerbiembedded/resource-manager/Microsoft.PowerBI/2016-01-29/powerbiembedded.json diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md new file mode 100644 index 000000000000..afcf59dd485e --- /dev/null +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -0,0 +1,53 @@ +# PowerBI + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for PowerBI. + + + +--- +## Getting Started +To build the SDK for PowerBI, 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 PowerBI API. + +``` yaml +openapi-type: arm +tag: package-2016-01 +``` + + +### Tag: package-2016-01 + +These settings apply only when `--tag=package-2016-01` is specified on the command line. + +``` yaml $(tag) == 'package-2016-01' +input-file: +- Microsoft.PowerBI/2016-01-29/powerbiembedded.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-recoveryservices/2016-06-01/swagger/registeredidentities.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/registeredidentities.json similarity index 100% rename from arm-recoveryservices/2016-06-01/swagger/registeredidentities.json rename to specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/registeredidentities.json diff --git a/arm-recoveryservices/2016-06-01/swagger/replicationusages.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/replicationusages.json similarity index 100% rename from arm-recoveryservices/2016-06-01/swagger/replicationusages.json rename to specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/replicationusages.json diff --git a/arm-recoveryservices/2016-06-01/swagger/vaults.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/vaults.json similarity index 100% rename from arm-recoveryservices/2016-06-01/swagger/vaults.json rename to specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/vaults.json diff --git a/arm-recoveryservices/2016-06-01/swagger/vaultusages.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/vaultusages.json similarity index 100% rename from arm-recoveryservices/2016-06-01/swagger/vaultusages.json rename to specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-06-01/vaultusages.json diff --git a/arm-recoveryservices/2016-06-01/swagger/backup.json b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-12-01/backup.json similarity index 94% rename from arm-recoveryservices/2016-06-01/swagger/backup.json rename to specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-12-01/backup.json index b7001e26d3d0..1d973c57ebc5 100644 --- a/arm-recoveryservices/2016-06-01/swagger/backup.json +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/2016-12-01/backup.json @@ -217,7 +217,7 @@ "description": "The backup storage config.", "allOf": [ { - "$ref": "./vaults.json#/definitions/Resource" + "$ref": "../2016-06-01/vaults.json#/definitions/Resource" } ], "properties": { @@ -276,7 +276,7 @@ "description": "Backup vault config details.", "allOf": [ { - "$ref": "./vaults.json#/definitions/Resource" + "$ref": "../2016-06-01/vaults.json#/definitions/Resource" } ], "properties": { diff --git a/specification/recoveryservices/resource-manager/readme.md b/specification/recoveryservices/resource-manager/readme.md new file mode 100644 index 000000000000..98f27b21b458 --- /dev/null +++ b/specification/recoveryservices/resource-manager/readme.md @@ -0,0 +1,71 @@ +# RecoveryServices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for RecoveryServices. + + + +--- +## Getting Started +To build the SDK for RecoveryServices, 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 RecoveryServices API. + +``` yaml +title: RecoveryServicesClient +description: Recovery Services Client +openapi-type: arm +tag: package-2016-12 +``` + + +### Tag: package-2016-12 + +These settings apply only when `--tag=package-2016-12` is specified on the command line. + +``` yaml $(tag) == 'package-2016-12' +input-file: +- Microsoft.RecoveryServices/2016-12-01/backup.json +- Microsoft.RecoveryServices/2016-06-01/registeredidentities.json +- Microsoft.RecoveryServices/2016-06-01/replicationusages.json +- Microsoft.RecoveryServices/2016-06-01/vaults.json +- Microsoft.RecoveryServices/2016-06-01/vaultusages.json +``` + +### Tag: package-2016-06 + +These settings apply only when `--tag=package-2016-06` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06' +input-file: +- Microsoft.RecoveryServices/2016-06-01/registeredidentities.json +- Microsoft.RecoveryServices/2016-06-01/replicationusages.json +- Microsoft.RecoveryServices/2016-06-01/vaults.json +- Microsoft.RecoveryServices/2016-06-01/vaultusages.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-recoveryservicesbackup/2016-06-01/swagger/recoveryservicesbackup.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-06-01/recoveryservicesbackup.json similarity index 100% rename from arm-recoveryservicesbackup/2016-06-01/swagger/recoveryservicesbackup.json rename to specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-06-01/recoveryservicesbackup.json diff --git a/arm-recoveryservicesbackup/2016-06-01/swagger/registeredIdentities.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-06-01/registeredIdentities.json similarity index 100% rename from arm-recoveryservicesbackup/2016-06-01/swagger/registeredIdentities.json rename to specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-06-01/registeredIdentities.json diff --git a/arm-recoveryservicesbackup/2016-08-10/examples/ListOperations.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ListOperations.json similarity index 100% rename from arm-recoveryservicesbackup/2016-08-10/examples/ListOperations.json rename to specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ListOperations.json diff --git a/arm-recoveryservicesbackup/2016-08-10/swagger/operations.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-08-10/operations.json similarity index 98% rename from arm-recoveryservicesbackup/2016-08-10/swagger/operations.json rename to specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-08-10/operations.json index a268184bfd7d..ba8e180ae7b1 100644 --- a/arm-recoveryservicesbackup/2016-08-10/swagger/operations.json +++ b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-08-10/operations.json @@ -45,7 +45,7 @@ }, "x-ms-examples": { "ListOperations": { - "$ref": "../examples/ListOperations.json" + "$ref": "./examples/ListOperations.json" } } } diff --git a/arm-recoveryservicesbackup/2016-12-01/swagger/backupManagement.json b/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-12-01/backupManagement.json similarity index 100% rename from arm-recoveryservicesbackup/2016-12-01/swagger/backupManagement.json rename to specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/2016-12-01/backupManagement.json diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md new file mode 100644 index 000000000000..79fa9586406f --- /dev/null +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -0,0 +1,95 @@ +# RecoveryServices.Backup + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for RecoveryServicesBackup. + + + +--- +## Getting Started +To build the SDK for RecoveryServicesBackup, 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 RecoveryServicesBackup API. + +``` yaml +title: Recovery Services Backup Client +description: Open API 2.0 Specs for Azure RecoveryServices Backup service +openapi-type: arm +tag: package-2016-12 + +azure-arm: true +license-header: MICROSOFT_MIT +``` + + +### Tag: package-2016-12 + +These settings apply only when `--tag=package-2016-12` is specified on the command line. + +``` yaml $(tag) == 'package-2016-12' +input-file: +- Microsoft.RecoveryServices/2016-12-01/backupManagement.json +- Microsoft.RecoveryServices/2016-08-10/operations.json +``` + +### Tag: package-2016-06 + +These settings apply only when `--tag=package-2016-06` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06' +input-file: +- Microsoft.RecoveryServices/2016-06-01/recoveryservicesbackup.json +- Microsoft.RecoveryServices/2016-06-01/registeredIdentities.json +``` + + +--- +# Code Generation + +## C# + +These settings apply only when `--csharp` is specified on the command line. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT + namespace: Microsoft.Azure.Management.RecoveryServices.Backup + output-folder: $(output-folder)Generated/CSharp +``` + +## Python + +```yaml $(python) +python: + azure-arm: true + namespace: azure.mgmt.recoveryservicesbackup + package-version: 0.1.0 + output-folder: $(output-folder)Generated/Python + payload-flattening-threshold: 2 + license-header: MICROSOFT_MIT_NO_VERSION +``` + +--- +# Validation + +## Suppression + +``` yaml +directive: + - suppress: DefinitionsPropertiesNamesCamelCase + reason: Autorest invalidates two letter acronyms as well and changes in data contracts require service wide changes and require more time +``` diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/Operations_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/Operations_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/Operations_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/Operations_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/RecoveryPoints_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/RecoveryPoints_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/RecoveryPoints_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/RecoveryPoints_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/RecoveryPoints_ListByReplicationProtectedItems.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/RecoveryPoints_ListByReplicationProtectedItems.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/RecoveryPoints_ListByReplicationProtectedItems.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/RecoveryPoints_ListByReplicationProtectedItems.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationAlertSettings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationAlertSettings_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationAlertSettings_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationAlertSettings_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationAlertSettings_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationAlertSettings_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationAlertSettings_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationAlertSettings_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationAlertSettings_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationAlertSettings_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationAlertSettings_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationAlertSettings_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationEvents_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationEvents_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationEvents_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationEvents_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationEvents_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationEvents_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationEvents_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationEvents_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_CheckConsistency.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Purge.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_Purge.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_Purge.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_ReassociateGateway.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationFabrics_RenewCertificate.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Cancel.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Cancel.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Cancel.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Cancel.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Export.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Export.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Export.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Export.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Restart.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Restart.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Restart.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Restart.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Resume.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Resume.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationJobs_Resume.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationJobs_Resume.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationLogicalNetworks_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationLogicalNetworks_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationLogicalNetworks_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationLogicalNetworks_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_ListByReplicationNetworks.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Update.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworkMappings_Update.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworkMappings_Update.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworks_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworks_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworks_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworks_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworks_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworks_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworks_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworks_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworks_ListByReplicationFabrics.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworks_ListByReplicationFabrics.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationNetworks_ListByReplicationFabrics.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationNetworks_ListByReplicationFabrics.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Update.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationPolicies_Update.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationPolicies_Update.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectableItems_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectableItems_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectableItems_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectableItems_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_ApplyRecoveryPoint.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_FailoverCommit.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_PlannedFailover.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Purge.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Purge.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Purge.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_RepairReplication.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Reprotect.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_TestFailover.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_TestFailoverCleanup.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_UnplannedFailover.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Update.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_Update.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_Update.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectedItems_UpdateMobilityService.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainerMappings_Purge.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_DiscoverProtectableItem.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_ListByReplicationFabrics.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationProtectionContainers_SwitchProtection.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_FailoverCommit.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_PlannedFailover.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Reprotect.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_TestFailover.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_TestFailoverCleanup.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_UnplannedFailover.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Update.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryPlans_Update.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryPlans_Update.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_Purge.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationRecoveryServicesProviders_RefreshProvider.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassifications_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassifications_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassifications_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassifications_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassifications_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassifications_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassifications_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassifications_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationStorageClassifications_ListByReplicationFabrics.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Create.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Create.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Create.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Create.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Delete.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Delete.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Delete.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Delete.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Get.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Get.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Get.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Get.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_List.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_List.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_List.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_List.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_ListByReplicationFabrics.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_ListByReplicationFabrics.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_ListByReplicationFabrics.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_ListByReplicationFabrics.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Update.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Update.json similarity index 100% rename from arm-recoveryservicessiterecovery/2016-08-10/examples/ReplicationvCenters_Update.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/examples/ReplicationvCenters_Update.json diff --git a/arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/service.json similarity index 98% rename from arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json rename to specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/service.json index b66d3feeec7c..31ff1e0f6c6a 100644 --- a/arm-recoveryservicessiterecovery/2016-08-10/swagger/service.json +++ b/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/2016-08-10/service.json @@ -70,7 +70,7 @@ }, "x-ms-examples": { "Gets the list of Replication protected items.": { - "$ref": "../examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json" + "$ref": "./examples/ReplicationProtectedItems_ListByReplicationProtectionContainers.json" } } } @@ -128,7 +128,7 @@ "x-ms-odata": "ProtectedItemsQueryParameter", "x-ms-examples": { "Gets the list of replication protected items.": { - "$ref": "../examples/ReplicationProtectedItems_List.json" + "$ref": "./examples/ReplicationProtectedItems_List.json" } } } @@ -171,7 +171,7 @@ }, "x-ms-examples": { "Gets all the network mappings under a vault.": { - "$ref": "../examples/ReplicationNetworkMappings_List.json" + "$ref": "./examples/ReplicationNetworkMappings_List.json" } } } @@ -228,7 +228,7 @@ }, "x-ms-examples": { "Gets all the network mappings under a network.": { - "$ref": "../examples/ReplicationNetworkMappings_ListByReplicationNetworks.json" + "$ref": "./examples/ReplicationNetworkMappings_ListByReplicationNetworks.json" } } } @@ -291,7 +291,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Renews certificate for the fabric.": { - "$ref": "../examples/ReplicationFabrics_RenewCertificate.json" + "$ref": "./examples/ReplicationFabrics_RenewCertificate.json" } } } @@ -345,7 +345,7 @@ }, "x-ms-examples": { "Gets the details of a vCenter.": { - "$ref": "../examples/ReplicationvCenters_Get.json" + "$ref": "./examples/ReplicationvCenters_Get.json" } } }, @@ -413,7 +413,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Add vCenter.": { - "$ref": "../examples/ReplicationvCenters_Create.json" + "$ref": "./examples/ReplicationvCenters_Create.json" } } }, @@ -466,7 +466,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Remove vCenter operation.": { - "$ref": "../examples/ReplicationvCenters_Delete.json" + "$ref": "./examples/ReplicationvCenters_Delete.json" } } }, @@ -534,7 +534,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update vCenter operation.": { - "$ref": "../examples/ReplicationvCenters_Update.json" + "$ref": "./examples/ReplicationvCenters_Update.json" } } } @@ -584,7 +584,7 @@ }, "x-ms-examples": { "Gets the list of vCenter registered under a fabric.": { - "$ref": "../examples/ReplicationvCenters_ListByReplicationFabrics.json" + "$ref": "./examples/ReplicationvCenters_ListByReplicationFabrics.json" } } } @@ -627,7 +627,7 @@ }, "x-ms-examples": { "Gets the list of vCenter registered under the vault.": { - "$ref": "../examples/ReplicationvCenters_List.json" + "$ref": "./examples/ReplicationvCenters_List.json" } } } @@ -688,7 +688,7 @@ }, "x-ms-examples": { "Gets the details of a storage classification mapping.": { - "$ref": "../examples/ReplicationStorageClassificationMappings_Get.json" + "$ref": "./examples/ReplicationStorageClassificationMappings_Get.json" } } }, @@ -763,7 +763,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create storage classification mapping.": { - "$ref": "../examples/ReplicationStorageClassificationMappings_Create.json" + "$ref": "./examples/ReplicationStorageClassificationMappings_Create.json" } } }, @@ -823,7 +823,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete a storage classification mapping.": { - "$ref": "../examples/ReplicationStorageClassificationMappings_Delete.json" + "$ref": "./examples/ReplicationStorageClassificationMappings_Delete.json" } } } @@ -880,7 +880,7 @@ }, "x-ms-examples": { "Gets the list of storage classification mappings objects under a storage.": { - "$ref": "../examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json" + "$ref": "./examples/ReplicationStorageClassificationMappings_ListByReplicationStorageClassifications.json" } } } @@ -923,7 +923,7 @@ }, "x-ms-examples": { "Gets the list of storage classification mappings objects under a vault.": { - "$ref": "../examples/ReplicationStorageClassificationMappings_List.json" + "$ref": "./examples/ReplicationStorageClassificationMappings_List.json" } } } @@ -977,7 +977,7 @@ }, "x-ms-examples": { "Gets the details of a storage classification.": { - "$ref": "../examples/ReplicationStorageClassifications_Get.json" + "$ref": "./examples/ReplicationStorageClassifications_Get.json" } } } @@ -1027,7 +1027,7 @@ }, "x-ms-examples": { "Gets the list of storage classification objects under a fabric.": { - "$ref": "../examples/ReplicationStorageClassifications_ListByReplicationFabrics.json" + "$ref": "./examples/ReplicationStorageClassifications_ListByReplicationFabrics.json" } } } @@ -1070,7 +1070,7 @@ }, "x-ms-examples": { "Gets the list of storage classification objects under a vault.": { - "$ref": "../examples/ReplicationStorageClassifications_List.json" + "$ref": "./examples/ReplicationStorageClassifications_List.json" } } } @@ -1147,7 +1147,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Change or apply recovery point.": { - "$ref": "../examples/ReplicationProtectedItems_ApplyRecoveryPoint.json" + "$ref": "./examples/ReplicationProtectedItems_ApplyRecoveryPoint.json" } } } @@ -1212,7 +1212,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Resynchronize or repair replication.": { - "$ref": "../examples/ReplicationProtectedItems_RepairReplication.json" + "$ref": "./examples/ReplicationProtectedItems_RepairReplication.json" } } } @@ -1289,7 +1289,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update the mobility service on a protected item.": { - "$ref": "../examples/ReplicationProtectedItems_UpdateMobilityService.json" + "$ref": "./examples/ReplicationProtectedItems_UpdateMobilityService.json" } } } @@ -1366,7 +1366,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute Reverse Replication\\Reprotect": { - "$ref": "../examples/ReplicationProtectedItems_Reprotect.json" + "$ref": "./examples/ReplicationProtectedItems_Reprotect.json" } } } @@ -1431,7 +1431,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute commit failover": { - "$ref": "../examples/ReplicationProtectedItems_FailoverCommit.json" + "$ref": "./examples/ReplicationProtectedItems_FailoverCommit.json" } } } @@ -1508,7 +1508,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute test failover cleanup.": { - "$ref": "../examples/ReplicationProtectedItems_TestFailoverCleanup.json" + "$ref": "./examples/ReplicationProtectedItems_TestFailoverCleanup.json" } } } @@ -1585,7 +1585,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute test failover": { - "$ref": "../examples/ReplicationProtectedItems_TestFailover.json" + "$ref": "./examples/ReplicationProtectedItems_TestFailover.json" } } } @@ -1662,7 +1662,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute unplanned failover": { - "$ref": "../examples/ReplicationProtectedItems_UnplannedFailover.json" + "$ref": "./examples/ReplicationProtectedItems_UnplannedFailover.json" } } } @@ -1739,7 +1739,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute planned failover": { - "$ref": "../examples/ReplicationProtectedItems_PlannedFailover.json" + "$ref": "./examples/ReplicationProtectedItems_PlannedFailover.json" } } } @@ -1813,7 +1813,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Disables protection.": { - "$ref": "../examples/ReplicationProtectedItems_Delete.json" + "$ref": "./examples/ReplicationProtectedItems_Delete.json" } } } @@ -1874,7 +1874,7 @@ }, "x-ms-examples": { "Gets the details of a Replication protected item.": { - "$ref": "../examples/ReplicationProtectedItems_Get.json" + "$ref": "./examples/ReplicationProtectedItems_Get.json" } } }, @@ -1949,7 +1949,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Enables protection.": { - "$ref": "../examples/ReplicationProtectedItems_Create.json" + "$ref": "./examples/ReplicationProtectedItems_Create.json" } } }, @@ -2009,7 +2009,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Purges protection.": { - "$ref": "../examples/ReplicationProtectedItems_Purge.json" + "$ref": "./examples/ReplicationProtectedItems_Purge.json" } } }, @@ -2084,7 +2084,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Updates protection.": { - "$ref": "../examples/ReplicationProtectedItems_Update.json" + "$ref": "./examples/ReplicationProtectedItems_Update.json" } } } @@ -2142,7 +2142,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Refresh details from the recovery services provider.": { - "$ref": "../examples/ReplicationRecoveryServicesProviders_RefreshProvider.json" + "$ref": "./examples/ReplicationRecoveryServicesProviders_RefreshProvider.json" } } } @@ -2197,7 +2197,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Deletes provider from fabric. Note: Deleting provider for any fabric other than SingleHost is unsupported. To maintain backward compatibility for released clients the object \"deleteRspInput\" is used (if the object is empty we assume that it is old client and continue the old behavior).": { - "$ref": "../examples/ReplicationRecoveryServicesProviders_Delete.json" + "$ref": "./examples/ReplicationRecoveryServicesProviders_Delete.json" } } } @@ -2251,7 +2251,7 @@ }, "x-ms-examples": { "Gets the details of a recovery services provider.": { - "$ref": "../examples/ReplicationRecoveryServicesProviders_Get.json" + "$ref": "./examples/ReplicationRecoveryServicesProviders_Get.json" } } }, @@ -2304,7 +2304,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Purges recovery service provider from fabric": { - "$ref": "../examples/ReplicationRecoveryServicesProviders_Purge.json" + "$ref": "./examples/ReplicationRecoveryServicesProviders_Purge.json" } } } @@ -2354,7 +2354,7 @@ }, "x-ms-examples": { "Gets the list of registered recovery services providers for the fabric.": { - "$ref": "../examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json" + "$ref": "./examples/ReplicationRecoveryServicesProviders_ListByReplicationFabrics.json" } } } @@ -2397,7 +2397,7 @@ }, "x-ms-examples": { "Gets the list of registered recovery services providers in the vault. This is a view only api.": { - "$ref": "../examples/ReplicationRecoveryServicesProviders_List.json" + "$ref": "./examples/ReplicationRecoveryServicesProviders_List.json" } } } @@ -2465,7 +2465,7 @@ }, "x-ms-examples": { "Get a recovery point.": { - "$ref": "../examples/RecoveryPoints_Get.json" + "$ref": "./examples/RecoveryPoints_Get.json" } } } @@ -2529,7 +2529,7 @@ }, "x-ms-examples": { "Get recovery points for a replication protected item.": { - "$ref": "../examples/RecoveryPoints_ListByReplicationProtectedItems.json" + "$ref": "./examples/RecoveryPoints_ListByReplicationProtectedItems.json" } } } @@ -2580,7 +2580,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute reprotect of the recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_Reprotect.json" + "$ref": "./examples/ReplicationRecoveryPlans_Reprotect.json" } } } @@ -2631,7 +2631,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute commit failover of the recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_FailoverCommit.json" + "$ref": "./examples/ReplicationRecoveryPlans_FailoverCommit.json" } } } @@ -2694,7 +2694,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute test failover cleanup of the recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_TestFailoverCleanup.json" + "$ref": "./examples/ReplicationRecoveryPlans_TestFailoverCleanup.json" } } } @@ -2757,7 +2757,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute test failover of the recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_TestFailover.json" + "$ref": "./examples/ReplicationRecoveryPlans_TestFailover.json" } } } @@ -2820,7 +2820,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute unplanned failover of the recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_UnplannedFailover.json" + "$ref": "./examples/ReplicationRecoveryPlans_UnplannedFailover.json" } } } @@ -2883,7 +2883,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Execute planned failover of the recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_PlannedFailover.json" + "$ref": "./examples/ReplicationRecoveryPlans_PlannedFailover.json" } } } @@ -2930,7 +2930,7 @@ }, "x-ms-examples": { "Gets the requested recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_Get.json" + "$ref": "./examples/ReplicationRecoveryPlans_Get.json" } } }, @@ -2991,7 +2991,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Creates a recovery plan with the given details.": { - "$ref": "../examples/ReplicationRecoveryPlans_Create.json" + "$ref": "./examples/ReplicationRecoveryPlans_Create.json" } } }, @@ -3037,7 +3037,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Deletes the specified recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_Delete.json" + "$ref": "./examples/ReplicationRecoveryPlans_Delete.json" } } }, @@ -3098,7 +3098,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Updates the given recovery plan.": { - "$ref": "../examples/ReplicationRecoveryPlans_Update.json" + "$ref": "./examples/ReplicationRecoveryPlans_Update.json" } } } @@ -3141,7 +3141,7 @@ }, "x-ms-examples": { "Gets the list of recovery plans.": { - "$ref": "../examples/ReplicationRecoveryPlans_List.json" + "$ref": "./examples/ReplicationRecoveryPlans_List.json" } } } @@ -3211,7 +3211,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Switches protection from one container to another or one replication provider to another.": { - "$ref": "../examples/ReplicationProtectionContainers_SwitchProtection.json" + "$ref": "./examples/ReplicationProtectionContainers_SwitchProtection.json" } } } @@ -3266,7 +3266,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Removes a protection container.": { - "$ref": "../examples/ReplicationProtectionContainers_Delete.json" + "$ref": "./examples/ReplicationProtectionContainers_Delete.json" } } } @@ -3336,7 +3336,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Adds a protectable item to the replication protection container.": { - "$ref": "../examples/ReplicationProtectionContainers_DiscoverProtectableItem.json" + "$ref": "./examples/ReplicationProtectionContainers_DiscoverProtectableItem.json" } } } @@ -3390,7 +3390,7 @@ }, "x-ms-examples": { "Gets the protection container details.": { - "$ref": "../examples/ReplicationProtectionContainers_Get.json" + "$ref": "./examples/ReplicationProtectionContainers_Get.json" } } }, @@ -3458,7 +3458,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create a protection container.": { - "$ref": "../examples/ReplicationProtectionContainers_Create.json" + "$ref": "./examples/ReplicationProtectionContainers_Create.json" } } } @@ -3508,7 +3508,7 @@ }, "x-ms-examples": { "Gets the list of protection container for a fabric.": { - "$ref": "../examples/ReplicationProtectionContainers_ListByReplicationFabrics.json" + "$ref": "./examples/ReplicationProtectionContainers_ListByReplicationFabrics.json" } } } @@ -3551,7 +3551,7 @@ }, "x-ms-examples": { "Gets the list of all protection containers in a vault.": { - "$ref": "../examples/ReplicationProtectionContainers_List.json" + "$ref": "./examples/ReplicationProtectionContainers_List.json" } } } @@ -3625,7 +3625,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Remove protection container mapping.": { - "$ref": "../examples/ReplicationProtectionContainerMappings_Delete.json" + "$ref": "./examples/ReplicationProtectionContainerMappings_Delete.json" } } } @@ -3686,7 +3686,7 @@ }, "x-ms-examples": { "Gets a protection container mapping/": { - "$ref": "../examples/ReplicationProtectionContainerMappings_Get.json" + "$ref": "./examples/ReplicationProtectionContainerMappings_Get.json" } } }, @@ -3761,7 +3761,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create protection container mapping.": { - "$ref": "../examples/ReplicationProtectionContainerMappings_Create.json" + "$ref": "./examples/ReplicationProtectionContainerMappings_Create.json" } } }, @@ -3821,7 +3821,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Purge protection container mapping.": { - "$ref": "../examples/ReplicationProtectionContainerMappings_Purge.json" + "$ref": "./examples/ReplicationProtectionContainerMappings_Purge.json" } } } @@ -3878,7 +3878,7 @@ }, "x-ms-examples": { "Gets the list of protection container mappings for a protection container.": { - "$ref": "../examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json" + "$ref": "./examples/ReplicationProtectionContainerMappings_ListByReplicationProtectionContainers.json" } } } @@ -3921,7 +3921,7 @@ }, "x-ms-examples": { "Gets the list of all protection container mappings in a vault.": { - "$ref": "../examples/ReplicationProtectionContainerMappings_List.json" + "$ref": "./examples/ReplicationProtectionContainerMappings_List.json" } } } @@ -3982,7 +3982,7 @@ }, "x-ms-examples": { "Gets the details of a protectable item.": { - "$ref": "../examples/ReplicationProtectableItems_Get.json" + "$ref": "./examples/ReplicationProtectableItems_Get.json" } } } @@ -4039,7 +4039,7 @@ }, "x-ms-examples": { "Gets the list of protectable items.": { - "$ref": "../examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json" + "$ref": "./examples/ReplicationProtectableItems_ListByReplicationProtectionContainers.json" } } } @@ -4086,7 +4086,7 @@ }, "x-ms-examples": { "Gets the requested policy.": { - "$ref": "../examples/ReplicationPolicies_Get.json" + "$ref": "./examples/ReplicationPolicies_Get.json" } } }, @@ -4147,7 +4147,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Creates the policy.": { - "$ref": "../examples/ReplicationPolicies_Create.json" + "$ref": "./examples/ReplicationPolicies_Create.json" } } }, @@ -4193,7 +4193,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete the policy.": { - "$ref": "../examples/ReplicationPolicies_Delete.json" + "$ref": "./examples/ReplicationPolicies_Delete.json" } } }, @@ -4254,7 +4254,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Updates the protection profile.": { - "$ref": "../examples/ReplicationPolicies_Update.json" + "$ref": "./examples/ReplicationPolicies_Update.json" } } } @@ -4297,7 +4297,7 @@ }, "x-ms-examples": { "Gets the list of replication policies": { - "$ref": "../examples/ReplicationPolicies_List.json" + "$ref": "./examples/ReplicationPolicies_List.json" } } } @@ -4337,7 +4337,7 @@ }, "x-ms-examples": { "Returns the list of available operations.": { - "$ref": "../examples/Operations_List.json" + "$ref": "./examples/Operations_List.json" } } } @@ -4380,7 +4380,7 @@ }, "x-ms-examples": { "Gets the list of networks. View-only API.": { - "$ref": "../examples/ReplicationNetworks_List.json" + "$ref": "./examples/ReplicationNetworks_List.json" } } } @@ -4430,7 +4430,7 @@ }, "x-ms-examples": { "Gets the list of networks under a fabric.": { - "$ref": "../examples/ReplicationNetworks_ListByReplicationFabrics.json" + "$ref": "./examples/ReplicationNetworks_ListByReplicationFabrics.json" } } } @@ -4484,7 +4484,7 @@ }, "x-ms-examples": { "Gets a network with specified server id and network name.": { - "$ref": "../examples/ReplicationNetworks_Get.json" + "$ref": "./examples/ReplicationNetworks_Get.json" } } } @@ -4545,7 +4545,7 @@ }, "x-ms-examples": { "Gets network mapping by name.": { - "$ref": "../examples/ReplicationNetworkMappings_Get.json" + "$ref": "./examples/ReplicationNetworkMappings_Get.json" } } }, @@ -4620,7 +4620,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Creates network mapping.": { - "$ref": "../examples/ReplicationNetworkMappings_Create.json" + "$ref": "./examples/ReplicationNetworkMappings_Create.json" } } }, @@ -4680,7 +4680,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete network mapping.": { - "$ref": "../examples/ReplicationNetworkMappings_Delete.json" + "$ref": "./examples/ReplicationNetworkMappings_Delete.json" } } }, @@ -4755,7 +4755,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Updates network mapping.": { - "$ref": "../examples/ReplicationNetworkMappings_Update.json" + "$ref": "./examples/ReplicationNetworkMappings_Update.json" } } } @@ -4805,7 +4805,7 @@ }, "x-ms-examples": { "Gets the list of logical networks under a fabric.": { - "$ref": "../examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json" + "$ref": "./examples/ReplicationLogicalNetworks_ListByReplicationFabrics.json" } } } @@ -4859,7 +4859,7 @@ }, "x-ms-examples": { "Gets a logical network with specified server id and logical network name.": { - "$ref": "../examples/ReplicationLogicalNetworks_Get.json" + "$ref": "./examples/ReplicationLogicalNetworks_Get.json" } } } @@ -4922,7 +4922,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Resumes the specified job.": { - "$ref": "../examples/ReplicationJobs_Resume.json" + "$ref": "./examples/ReplicationJobs_Resume.json" } } } @@ -4973,7 +4973,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Restarts the specified job.": { - "$ref": "../examples/ReplicationJobs_Restart.json" + "$ref": "./examples/ReplicationJobs_Restart.json" } } } @@ -5024,7 +5024,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Cancels the specified job.": { - "$ref": "../examples/ReplicationJobs_Cancel.json" + "$ref": "./examples/ReplicationJobs_Cancel.json" } } } @@ -5071,7 +5071,7 @@ }, "x-ms-examples": { "Gets the job details.": { - "$ref": "../examples/ReplicationJobs_Get.json" + "$ref": "./examples/ReplicationJobs_Get.json" } } } @@ -5127,7 +5127,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Exports the details of the Azure Site Recovery jobs of the vault.": { - "$ref": "../examples/ReplicationJobs_Export.json" + "$ref": "./examples/ReplicationJobs_Export.json" } } } @@ -5178,7 +5178,7 @@ "x-ms-odata": "JobQueryParameter", "x-ms-examples": { "Gets the list of jobs.": { - "$ref": "../examples/ReplicationJobs_List.json" + "$ref": "./examples/ReplicationJobs_List.json" } } } @@ -5241,7 +5241,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Perform failover of the process server.": { - "$ref": "../examples/ReplicationFabrics_ReassociateGateway.json" + "$ref": "./examples/ReplicationFabrics_ReassociateGateway.json" } } } @@ -5292,7 +5292,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Checks the consistency of the ASR fabric.": { - "$ref": "../examples/ReplicationFabrics_CheckConsistency.json" + "$ref": "./examples/ReplicationFabrics_CheckConsistency.json" } } } @@ -5340,7 +5340,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Deletes the site.": { - "$ref": "../examples/ReplicationFabrics_Delete.json" + "$ref": "./examples/ReplicationFabrics_Delete.json" } } } @@ -5387,7 +5387,7 @@ }, "x-ms-examples": { "Gets the details of an ASR fabric.": { - "$ref": "../examples/ReplicationFabrics_Get.json" + "$ref": "./examples/ReplicationFabrics_Get.json" } } }, @@ -5448,7 +5448,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Creates an Azure Site Recoery fabric.": { - "$ref": "../examples/ReplicationFabrics_Create.json" + "$ref": "./examples/ReplicationFabrics_Create.json" } } }, @@ -5494,7 +5494,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Purges the site.": { - "$ref": "../examples/ReplicationFabrics_Purge.json" + "$ref": "./examples/ReplicationFabrics_Purge.json" } } } @@ -5537,7 +5537,7 @@ }, "x-ms-examples": { "Gets the list of ASR fabrics": { - "$ref": "../examples/ReplicationFabrics_List.json" + "$ref": "./examples/ReplicationFabrics_List.json" } } } @@ -5584,7 +5584,7 @@ }, "x-ms-examples": { "Get the details of an Azure Site recovery event.": { - "$ref": "../examples/ReplicationEvents_Get.json" + "$ref": "./examples/ReplicationEvents_Get.json" } } } @@ -5627,7 +5627,7 @@ }, "x-ms-examples": { "Gets the list of Azure Site Recovery events.": { - "$ref": "../examples/ReplicationEvents_List.json" + "$ref": "./examples/ReplicationEvents_List.json" } } } @@ -5674,7 +5674,7 @@ }, "x-ms-examples": { "Gets an email notification(alert) configuration.": { - "$ref": "../examples/ReplicationAlertSettings_Get.json" + "$ref": "./examples/ReplicationAlertSettings_Get.json" } } }, @@ -5731,7 +5731,7 @@ }, "x-ms-examples": { "Configures email notifications for this vault.": { - "$ref": "../examples/ReplicationAlertSettings_Create.json" + "$ref": "./examples/ReplicationAlertSettings_Create.json" } } } @@ -5774,7 +5774,7 @@ }, "x-ms-examples": { "Gets the list of configured email notification(alert) configurations.": { - "$ref": "../examples/ReplicationAlertSettings_List.json" + "$ref": "./examples/ReplicationAlertSettings_List.json" } } } diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md new file mode 100644 index 000000000000..bd3f22f3a063 --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -0,0 +1,53 @@ +# RecoveryServicesSiteRecovery + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for RecoveryServicesSiteRecovery. + + + +--- +## Getting Started +To build the SDK for RecoveryServicesSiteRecovery, 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 RecoveryServicesSiteRecovery API. + +``` yaml +openapi-type: arm +tag: package-2016-08 +``` + + +### Tag: package-2016-08 + +These settings apply only when `--tag=package-2016-08` is specified on the command line. + +``` yaml $(tag) == 'package-2016-08' +input-file: +- Microsoft.RecoveryServices/2016-08-10/service.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-redis/2015-08-01/swagger/redis.json b/specification/redis/resource-manager/Microsoft.Cache/2015-08-01/redis.json similarity index 100% rename from arm-redis/2015-08-01/swagger/redis.json rename to specification/redis/resource-manager/Microsoft.Cache/2015-08-01/redis.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheCreate.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheCreate.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheCreate.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheDelete.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheDelete.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheDelete.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheExport.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheExport.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheExport.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheFirewallRuleCreate.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRuleCreate.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheFirewallRuleCreate.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRuleCreate.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheFirewallRuleDelete.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRuleDelete.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheFirewallRuleDelete.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRuleDelete.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheFirewallRuleGet.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRuleGet.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheFirewallRuleGet.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRuleGet.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheFirewallRulesList.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRulesList.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheFirewallRulesList.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheFirewallRulesList.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheForceReboot.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheForceReboot.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheForceReboot.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheGet.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheGet.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheGet.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheImport.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheImport.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheImport.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheList.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheList.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheList.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheListByResourceGroup.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheListByResourceGroup.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheListByResourceGroup.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheListKeys.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheListKeys.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheListKeys.json diff --git a/arm-redis/2016-04-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json diff --git a/arm-redis/2016-04-01/examples/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCachePatchSchedulesDelete.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCachePatchSchedulesDelete.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCachePatchSchedulesDelete.json diff --git a/arm-redis/2016-04-01/examples/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCachePatchSchedulesGet.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCachePatchSchedulesGet.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCachePatchSchedulesGet.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheRegenerateKey.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheRegenerateKey.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheRegenerateKey.json diff --git a/arm-redis/2016-04-01/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheUpdate.json similarity index 100% rename from arm-redis/2016-04-01/examples/RedisCacheUpdate.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/examples/RedisCacheUpdate.json diff --git a/arm-redis/2016-04-01/swagger/redis.json b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/redis.json similarity index 96% rename from arm-redis/2016-04-01/swagger/redis.json rename to specification/redis/resource-manager/Microsoft.Cache/2016-04-01/redis.json index 143a84bdd6f0..63023aa32e0e 100644 --- a/arm-redis/2016-04-01/swagger/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/2016-04-01/redis.json @@ -66,7 +66,7 @@ ], "operationId": "Redis_Create", "x-ms-examples": { - "RedisCacheCreate": { "$ref": "../examples/RedisCacheCreate.json" } + "RedisCacheCreate": { "$ref": "./examples/RedisCacheCreate.json" } }, "description": "Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.", "x-ms-long-running-operation": true, @@ -122,7 +122,7 @@ ], "operationId": "Redis_Update", "x-ms-examples": { - "RedisCacheUpdate": { "$ref": "../examples/RedisCacheUpdate.json" } + "RedisCacheUpdate": { "$ref": "./examples/RedisCacheUpdate.json" } }, "description": "Update an existing Redis cache.", "parameters": [ @@ -171,7 +171,7 @@ ], "operationId": "Redis_Delete", "x-ms-examples": { - "RedisCacheDelete": { "$ref": "../examples/RedisCacheDelete.json" } + "RedisCacheDelete": { "$ref": "./examples/RedisCacheDelete.json" } }, "description": "Deletes a Redis cache.", "x-ms-long-running-operation": true, @@ -212,7 +212,7 @@ ], "operationId": "Redis_Get", "x-ms-examples": { - "RedisCacheGet": { "$ref": "../examples/RedisCacheGet.json" } + "RedisCacheGet": { "$ref": "./examples/RedisCacheGet.json" } }, "description": "Gets a Redis cache (resource description).", "parameters": [ @@ -254,7 +254,7 @@ ], "operationId": "Redis_ListByResourceGroup", "x-ms-examples": { - "RedisCacheListByResourceGroup": { "$ref": "../examples/RedisCacheListByResourceGroup.json" } + "RedisCacheListByResourceGroup": { "$ref": "./examples/RedisCacheListByResourceGroup.json" } }, "description": "Lists all Redis caches in a resource group.", "parameters": [ @@ -292,7 +292,7 @@ ], "operationId": "Redis_List", "x-ms-examples": { - "RedisCacheList": { "$ref": "../examples/RedisCacheList.json" } + "RedisCacheList": { "$ref": "./examples/RedisCacheList.json" } }, "description": "Gets all Redis caches in the specified subscription.", "parameters": [ @@ -323,7 +323,7 @@ ], "operationId": "Redis_ListKeys", "x-ms-examples": { - "RedisCacheListKeys": { "$ref": "../examples/RedisCacheListKeys.json" } + "RedisCacheListKeys": { "$ref": "./examples/RedisCacheListKeys.json" } }, "description": "Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.", "parameters": [ @@ -365,7 +365,7 @@ ], "operationId": "Redis_RegenerateKey", "x-ms-examples": { - "RedisCacheRegenerateKey": { "$ref": "../examples/RedisCacheRegenerateKey.json" } + "RedisCacheRegenerateKey": { "$ref": "./examples/RedisCacheRegenerateKey.json" } }, "description": "Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.", "parameters": [ @@ -416,7 +416,7 @@ ], "operationId": "Redis_ForceReboot", "x-ms-examples": { - "RedisCacheForceReboot": { "$ref": "../examples/RedisCacheForceReboot.json" } + "RedisCacheForceReboot": { "$ref": "./examples/RedisCacheForceReboot.json" } }, "description": "Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.", "parameters": [ @@ -467,7 +467,7 @@ ], "operationId": "Redis_ImportData", "x-ms-examples": { - "RedisCacheImport": { "$ref": "../examples/RedisCacheImport.json" } + "RedisCacheImport": { "$ref": "./examples/RedisCacheImport.json" } }, "x-ms-long-running-operation": true, "description": "Import data into Redis cache.", @@ -522,7 +522,7 @@ ], "operationId": "Redis_ExportData", "x-ms-examples": { - "RedisCacheExport": { "$ref": "../examples/RedisCacheExport.json" } + "RedisCacheExport": { "$ref": "./examples/RedisCacheExport.json" } }, "x-ms-long-running-operation": true, "description": "Export data from the redis cache to blobs in a container.", @@ -579,7 +579,7 @@ "operationId": "FirewallRules_List", "description": "Gets all firewall rules in the specified redis cache.", "x-ms-examples": { - "RedisCacheFirewallRulesList": { "$ref": "../examples/RedisCacheFirewallRulesList.json" } + "RedisCacheFirewallRulesList": { "$ref": "./examples/RedisCacheFirewallRulesList.json" } }, "parameters": [ { @@ -625,7 +625,7 @@ "operationId": "RedisFirewallRule_CreateOrUpdate", "description": "Create or update a redis cache firewall rule", "x-ms-examples": { - "RedisCacheFirewallRuleCreate": { "$ref": "../examples/RedisCacheFirewallRuleCreate.json" } + "RedisCacheFirewallRuleCreate": { "$ref": "./examples/RedisCacheFirewallRuleCreate.json" } }, "parameters": [ { @@ -688,7 +688,7 @@ "operationId": "RedisFirewallRule_Get", "description": "Gets a single firewall rule in a specified redis cache.", "x-ms-examples": { - "RedisCacheFirewallRuleGet": { "$ref": "../examples/RedisCacheFirewallRuleGet.json" } + "RedisCacheFirewallRuleGet": { "$ref": "./examples/RedisCacheFirewallRuleGet.json" } }, "parameters": [ { @@ -736,7 +736,7 @@ "operationId": "RedisFirewallRule_Delete", "description": "Deletes a single firewall rule in a specified redis cache.", "x-ms-examples": { - "RedisCacheFirewallRuleDelete": { "$ref": "../examples/RedisCacheFirewallRuleDelete.json" } + "RedisCacheFirewallRuleDelete": { "$ref": "./examples/RedisCacheFirewallRuleDelete.json" } }, "parameters": [ { @@ -784,7 +784,7 @@ ], "operationId": "PatchSchedules_CreateOrUpdate", "x-ms-examples": { - "RedisCachePatchSchedulesCreateOrUpdate": { "$ref": "../examples/RedisCachePatchSchedulesCreateOrUpdate.json" } + "RedisCachePatchSchedulesCreateOrUpdate": { "$ref": "./examples/RedisCachePatchSchedulesCreateOrUpdate.json" } }, "description": "Create or replace the patching schedule for Redis cache (requires Premium SKU).", "parameters": [ @@ -839,7 +839,7 @@ ], "operationId": "PatchSchedules_Delete", "x-ms-examples": { - "RedisCachePatchSchedulesDelete": { "$ref": "../examples/RedisCachePatchSchedulesDelete.json" } + "RedisCachePatchSchedulesDelete": { "$ref": "./examples/RedisCachePatchSchedulesDelete.json" } }, "description": "Deletes the patching schedule of a redis cache (requires Premium SKU).", "parameters": [ @@ -879,7 +879,7 @@ ], "operationId": "PatchSchedules_Get", "x-ms-examples": { - "RedisCachePatchSchedulesGet": { "$ref": "../examples/RedisCachePatchSchedulesGet.json" } + "RedisCachePatchSchedulesGet": { "$ref": "./examples/RedisCachePatchSchedulesGet.json" } }, "description": "Gets the patching schedule of a redis cache (requires Premium SKU).", "parameters": [ @@ -1499,3 +1499,4 @@ } } } + diff --git a/arm-redis/2017-02-01/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheCreate.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheCreate.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheCreate.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheDelete.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheDelete.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheDelete.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheDelete.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheExport.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheExport.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheExport.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheExport.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheForceReboot.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheForceReboot.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheForceReboot.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheForceReboot.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheGet.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheGet.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheGet.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheImport.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheImport.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheImport.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheImport.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheLinkedServer_Create.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_Create.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheLinkedServer_Create.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_Create.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheLinkedServer_Delete.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_Delete.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheLinkedServer_Delete.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_Delete.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheLinkedServer_Get.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_Get.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheLinkedServer_Get.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_Get.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheLinkedServer_List.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_List.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheLinkedServer_List.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheLinkedServer_List.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheList.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheList.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheList.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheListByResourceGroup.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheListByResourceGroup.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheListByResourceGroup.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheListByResourceGroup.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheListKeys.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheListKeys.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheListKeys.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheListKeys.json diff --git a/arm-redis/2017-02-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCachePatchSchedulesCreateOrUpdate.json diff --git a/arm-redis/2017-02-01/examples/RedisCachePatchSchedulesDelete.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCachePatchSchedulesDelete.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCachePatchSchedulesDelete.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCachePatchSchedulesDelete.json diff --git a/arm-redis/2017-02-01/examples/RedisCachePatchSchedulesGet.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCachePatchSchedulesGet.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCachePatchSchedulesGet.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCachePatchSchedulesGet.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheRegenerateKey.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheRegenerateKey.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheRegenerateKey.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheRegenerateKey.json diff --git a/arm-redis/2017-02-01/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheUpdate.json similarity index 100% rename from arm-redis/2017-02-01/examples/RedisCacheUpdate.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/examples/RedisCacheUpdate.json diff --git a/arm-redis/2017-02-01/swagger/redis.json b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/redis.json similarity index 96% rename from arm-redis/2017-02-01/swagger/redis.json rename to specification/redis/resource-manager/Microsoft.Cache/2017-02-01/redis.json index 2695ee4a369f..974d785d8676 100644 --- a/arm-redis/2017-02-01/swagger/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/2017-02-01/redis.json @@ -41,7 +41,7 @@ ], "operationId": "Redis_Create", "x-ms-examples": { - "RedisCacheCreate": { "$ref": "../examples/RedisCacheCreate.json" } + "RedisCacheCreate": { "$ref": "./examples/RedisCacheCreate.json" } }, "description": "Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.", "x-ms-long-running-operation": true, @@ -97,7 +97,7 @@ ], "operationId": "Redis_Update", "x-ms-examples": { - "RedisCacheUpdate": { "$ref": "../examples/RedisCacheUpdate.json" } + "RedisCacheUpdate": { "$ref": "./examples/RedisCacheUpdate.json" } }, "description": "Update an existing Redis cache.", "parameters": [ @@ -146,7 +146,7 @@ ], "operationId": "Redis_Delete", "x-ms-examples": { - "RedisCacheDelete": { "$ref": "../examples/RedisCacheDelete.json" } + "RedisCacheDelete": { "$ref": "./examples/RedisCacheDelete.json" } }, "description": "Deletes a Redis cache.", "x-ms-long-running-operation": true, @@ -187,7 +187,7 @@ ], "operationId": "Redis_Get", "x-ms-examples": { - "RedisCacheGet": { "$ref": "../examples/RedisCacheGet.json" } + "RedisCacheGet": { "$ref": "./examples/RedisCacheGet.json" } }, "description": "Gets a Redis cache (resource description).", "parameters": [ @@ -229,7 +229,7 @@ ], "operationId": "Redis_ListByResourceGroup", "x-ms-examples": { - "RedisCacheListByResourceGroup": { "$ref": "../examples/RedisCacheListByResourceGroup.json" } + "RedisCacheListByResourceGroup": { "$ref": "./examples/RedisCacheListByResourceGroup.json" } }, "description": "Lists all Redis caches in a resource group.", "parameters": [ @@ -267,7 +267,7 @@ ], "operationId": "Redis_List", "x-ms-examples": { - "RedisCacheList": { "$ref": "../examples/RedisCacheList.json" } + "RedisCacheList": { "$ref": "./examples/RedisCacheList.json" } }, "description": "Gets all Redis caches in the specified subscription.", "parameters": [ @@ -298,7 +298,7 @@ ], "operationId": "Redis_ListKeys", "x-ms-examples": { - "RedisCacheListKeys": { "$ref": "../examples/RedisCacheListKeys.json" } + "RedisCacheListKeys": { "$ref": "./examples/RedisCacheListKeys.json" } }, "description": "Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.", "parameters": [ @@ -340,7 +340,7 @@ ], "operationId": "Redis_RegenerateKey", "x-ms-examples": { - "RedisCacheRegenerateKey": { "$ref": "../examples/RedisCacheRegenerateKey.json" } + "RedisCacheRegenerateKey": { "$ref": "./examples/RedisCacheRegenerateKey.json" } }, "description": "Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.", "parameters": [ @@ -391,7 +391,7 @@ ], "operationId": "Redis_ForceReboot", "x-ms-examples": { - "RedisCacheForceReboot": { "$ref": "../examples/RedisCacheForceReboot.json" } + "RedisCacheForceReboot": { "$ref": "./examples/RedisCacheForceReboot.json" } }, "description": "Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.", "parameters": [ @@ -442,7 +442,7 @@ ], "operationId": "Redis_ImportData", "x-ms-examples": { - "RedisCacheImport": { "$ref": "../examples/RedisCacheImport.json" } + "RedisCacheImport": { "$ref": "./examples/RedisCacheImport.json" } }, "x-ms-long-running-operation": true, "description": "Import data into Redis cache.", @@ -497,7 +497,7 @@ ], "operationId": "Redis_ExportData", "x-ms-examples": { - "RedisCacheExport": { "$ref": "../examples/RedisCacheExport.json" } + "RedisCacheExport": { "$ref": "./examples/RedisCacheExport.json" } }, "x-ms-long-running-operation": true, "description": "Export data from the redis cache to blobs in a container.", @@ -552,7 +552,7 @@ ], "operationId": "PatchSchedules_CreateOrUpdate", "x-ms-examples": { - "RedisCachePatchSchedulesCreateOrUpdate": { "$ref": "../examples/RedisCachePatchSchedulesCreateOrUpdate.json" } + "RedisCachePatchSchedulesCreateOrUpdate": { "$ref": "./examples/RedisCachePatchSchedulesCreateOrUpdate.json" } }, "description": "Create or replace the patching schedule for Redis cache (requires Premium SKU).", "parameters": [ @@ -607,7 +607,7 @@ ], "operationId": "PatchSchedules_Delete", "x-ms-examples": { - "RedisCachePatchSchedulesDelete": { "$ref": "../examples/RedisCachePatchSchedulesDelete.json" } + "RedisCachePatchSchedulesDelete": { "$ref": "./examples/RedisCachePatchSchedulesDelete.json" } }, "description": "Deletes the patching schedule of a redis cache (requires Premium SKU).", "parameters": [ @@ -647,7 +647,7 @@ ], "operationId": "PatchSchedules_Get", "x-ms-examples": { - "RedisCachePatchSchedulesGet": { "$ref": "../examples/RedisCachePatchSchedulesGet.json" } + "RedisCachePatchSchedulesGet": { "$ref": "./examples/RedisCachePatchSchedulesGet.json" } }, "description": "Gets the patching schedule of a redis cache (requires Premium SKU).", "parameters": [ @@ -690,7 +690,7 @@ "operationId": "RedisLinkedServer_Create", "x-ms-long-running-operation": true, "x-ms-examples": { - "RedisLinkedServer_Create": { "$ref": "../examples/RedisCacheLinkedServer_Create.json" } + "RedisLinkedServer_Create": { "$ref": "./examples/RedisCacheLinkedServer_Create.json" } }, "description": "Adds a linked server to the Redis cache (requires Premium SKU).", "parameters": [ @@ -752,7 +752,7 @@ ], "operationId": "RedisLinkedServer_Delete", "x-ms-examples": { - "RedisLinkedServerDelete": { "$ref": "../examples/RedisCacheLinkedServer_Delete.json" } + "RedisLinkedServerDelete": { "$ref": "./examples/RedisCacheLinkedServer_Delete.json" } }, "description": "Deletes the linked server from a redis cache (requires Premium SKU).", "parameters": [ @@ -796,7 +796,7 @@ ], "operationId": "RedisLinkedServer_Get", "x-ms-examples": { - "RedisLinkedServer_Get": { "$ref": "../examples/RedisCacheLinkedServer_Get.json" } + "RedisLinkedServer_Get": { "$ref": "./examples/RedisCacheLinkedServer_Get.json" } }, "description": "Gets the detailed information about a linked server of a redis cache (requires Premium SKU).", "parameters": [ @@ -845,7 +845,7 @@ ], "operationId": "RedisLinkedServer_List", "x-ms-examples": { - "RedisLinkedServer_List": { "$ref": "../examples/RedisCacheLinkedServer_List.json" } + "RedisLinkedServer_List": { "$ref": "./examples/RedisCacheLinkedServer_List.json" } }, "description": "Gets the list of linked servers associated with this redis cache (requires Premium SKU).", "parameters": [ diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md new file mode 100644 index 000000000000..cc253b6d82ea --- /dev/null +++ b/specification/redis/resource-manager/readme.md @@ -0,0 +1,72 @@ +# Redis + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Redis. + + + +--- +## Getting Started +To build the SDK for Redis, 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 Redis API. + +``` yaml +openapi-type: arm +tag: package-2017-02 +``` + + +### Tag: package-2017-02 + +These settings apply only when `--tag=package-2017-02` is specified on the command line. + +``` yaml $(tag) == 'package-2017-02' +input-file: +- Microsoft.Cache/2017-02-01/redis.json +``` + + +### Tag: package-2016-04 + +These settings apply only when `--tag=package-2016-04` is specified on the command line. + +``` yaml $(tag) == 'package-2016-04' +input-file: +- Microsoft.Cache/2016-04-01/redis.json +``` + +### Tag: package-2015-08 + +These settings apply only when `--tag=package-2015-08` is specified on the command line. + +``` yaml $(tag) == 'package-2015-08' +input-file: +- Microsoft.Cache/2015-08-01/redis.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleCreate.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleCreate.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleListKey.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleListKey.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleListKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleListKey.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleRegenrateKey.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleRegenrateKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleRegenrateKey.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleUpdate.json similarity index 91% rename from arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleUpdate.json index a0cdbdbdec65..be26f0780ce0 100644 --- a/arm-relay/2016-07-01/examples/Relay/RelayAuthorizationRuleUpdate.json +++ b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAuthorizationRuleUpdate.json @@ -8,11 +8,9 @@ "subscriptionId": "8c246e6a-cbc6-4a87-aff1-d6a886f376ef", "parameters": { "properties": { - "right": { - [ - "Listen" - ] - } + "right": [ + "Listen" + ] } } }, diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAutorizationRuleDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAutorizationRuleDelete.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayAutorizationRuleDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAutorizationRuleDelete.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAutorizationRuleGet.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAutorizationRuleGet.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayAutorizationRuleGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAutorizationRuleGet.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayAutorizationRuleListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAutorizationRuleListAll.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayAutorizationRuleListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayAutorizationRuleListAll.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayCreate.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayCreate.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayDelete.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayDelete.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayGet.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayGet.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayGet.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleCreate.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleCreate.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleListKey.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleListKey.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleRegenrateKey.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleUpdate.json similarity index 92% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleUpdate.json index 7cabf5e13e22..2de995cfd19e 100644 --- a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json +++ b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAuthorizationRuleUpdate.json @@ -9,11 +9,9 @@ "parameters": { "location": "West US", "properties": { - "right": { - [ - "Listen" - ] - } + "right": [ + "Listen" + ] } } }, diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAutorizationRuleDelete.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAutorizationRuleDelete.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAutorizationRuleGet.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAutorizationRuleGet.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAutorizationRuleListAll.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionAutorizationRuleListAll.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionCreate.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionCreate.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionGet.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionGet.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionGet.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionListAll.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionListAll.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionUpdate.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridConnectionUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridConnectionUpdate.json diff --git a/arm-relay/2016-07-01/examples/HybridConnection/RelayHybridconnectionDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridconnectionDelete.json similarity index 100% rename from arm-relay/2016-07-01/examples/HybridConnection/RelayHybridconnectionDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayHybridconnectionDelete.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayListAll.json similarity index 100% rename from arm-relay/2016-07-01/examples/Relay/RelayListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayListAll.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleCreate.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleCreate.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleListKey.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleListKey.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleRegenrateKey.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleUpdate.json similarity index 91% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleUpdate.json index ced8a47cb9af..63cc07578e9e 100644 --- a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json +++ b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAuthorizationRuleUpdate.json @@ -7,11 +7,9 @@ "subscriptionId": "8c246e6a-cbc6-4a87-aff1-d6a886f376ef", "parameters": { "properties": { - "rights": { - [ - "Listen" - ] - } + "rights": [ + "Listen" + ] } } }, diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAutorizationRuleDelete.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAutorizationRuleDelete.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAutorizationRuleGet.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAutorizationRuleGet.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAutorizationRuleListAll.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceAutorizationRuleListAll.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceCheckNameAvailability.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceCheckNameAvailability.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceCreate.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceCreate.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceDelete.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceDelete.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceGet.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceGet.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceGet.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceListByResourceGroup.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceListByResourceGroup.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceListBySubscription.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceListBySubscription.json diff --git a/arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceUpdate.json similarity index 100% rename from arm-relay/2016-07-01/examples/NameSpaces/RelayNameSpaceUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayNameSpaceUpdate.json diff --git a/arm-relay/2016-07-01/examples/RelayOperations_List.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayOperations_List.json similarity index 100% rename from arm-relay/2016-07-01/examples/RelayOperations_List.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayOperations_List.json diff --git a/arm-relay/2016-07-01/examples/Relay/RelayUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayUpdate.json similarity index 98% rename from arm-relay/2016-07-01/examples/Relay/RelayUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayUpdate.json index 23e3f6bee8a8..a925ee528d9b 100644 --- a/arm-relay/2016-07-01/examples/Relay/RelayUpdate.json +++ b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/examples/RelayUpdate.json @@ -22,7 +22,7 @@ "name": "sdk-Relay-Wcf-01", "type": "Microsoft.Relay/Namespaces/WcfRelays", "properties": { - "path":, + "path":null, "createdAt": "2017-01-24T00:46:27.0049983Z", "updatedAt": "2017-01-24T00:46:27.0049983Z", "relayType": "NetTcp", diff --git a/arm-relay/2016-07-01/swagger/relay.json b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/relay.json similarity index 95% rename from arm-relay/2016-07-01/swagger/relay.json rename to specification/relay/resource-manager/Microsoft.Relay/2016-07-01/relay.json index 261794b50236..6d2fb8554bff 100644 --- a/arm-relay/2016-07-01/swagger/relay.json +++ b/specification/relay/resource-manager/Microsoft.Relay/2016-07-01/relay.json @@ -42,7 +42,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "RelayOperationsList": { "$ref": "../examples/RelayOperations_List.json" } + "RelayOperationsList": { "$ref": "./examples/RelayOperations_List.json" } }, "description": "Lists all of the available Relay REST API operations.", "parameters": [ @@ -76,7 +76,7 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "RelayCheckNameAvailability": { "$ref": "../examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json" } + "RelayCheckNameAvailability": { "$ref": "./examples/RelayNameSpaceCheckNameAvailability.json" } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -113,7 +113,7 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "RelayNameSpaceListBySubscription": { "$ref": "../examples/NameSpaces/RelayNameSpaceListBySubscription.json" } + "RelayNameSpaceListBySubscription": { "$ref": "./examples/RelayNameSpaceListBySubscription.json" } }, "description": "Lists all the available namespaces within the subscription irrespective of the resourceGroups.", "parameters": [ @@ -150,7 +150,7 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "RelayNameSpaceListByResourceGroup": { "$ref": "../examples/NameSpaces/RelayNameSpaceListByResourceGroup.json" } + "RelayNameSpaceListByResourceGroup": { "$ref": "./examples/RelayNameSpaceListByResourceGroup.json" } }, "description": "Lists all the available namespaces within the ResourceGroup.", "parameters": [ @@ -192,7 +192,7 @@ "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "RelayNamespaceCreate": { "$ref": "../examples/NameSpaces/RelayNameSpaceCreate.json" } + "RelayNamespaceCreate": { "$ref": "./examples/RelayNameSpaceCreate.json" } }, "description": "Create Azure Relay namespace.", @@ -245,7 +245,7 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "RelayNameSpaceDelete": { "$ref": "../examples/NameSpaces/RelayNameSpaceDelete.json" } + "RelayNameSpaceDelete": { "$ref": "./examples/RelayNameSpaceDelete.json" } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "parameters": [ @@ -289,7 +289,7 @@ "operationId": "Namespaces_Get", "x-ms-examples": { - "RelayNameSpaceGet": { "$ref": "../examples/NameSpaces/RelayNameSpaceGet.json" } + "RelayNameSpaceGet": { "$ref": "./examples/RelayNameSpaceGet.json" } }, "description": "Returns the description for the specified namespace.", @@ -369,7 +369,7 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "RelayNameSpaceAutorizationRuleListAll": { "$ref": "../examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json" } + "RelayNameSpaceAutorizationRuleListAll": { "$ref": "./examples/RelayNameSpaceAutorizationRuleListAll.json" } }, "description": "Authorization rules for a namespace.", "parameters": [ @@ -412,7 +412,7 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "RelayNameSpaceAuthorizationRuleCreate": { "$ref": "../examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json" } + "RelayNameSpaceAuthorizationRuleCreate": { "$ref": "./examples/RelayNameSpaceAuthorizationRuleCreate.json" } }, "description": "Creates or Updates an authorization rule for a namespace", "parameters": [ @@ -462,7 +462,7 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "RelayNameSpaceAutorizationRuleDelete": { "$ref": "../examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json" } + "RelayNameSpaceAutorizationRuleDelete": { "$ref": "./examples/RelayNameSpaceAutorizationRuleDelete.json" } }, "description": "Deletes a namespace authorization rule", "parameters": [ @@ -503,7 +503,7 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "RelayNameSpaceAutorizationRuleGet": { "$ref": "../examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json" } + "RelayNameSpaceAutorizationRuleGet": { "$ref": "./examples/RelayNameSpaceAutorizationRuleGet.json" } }, "description": "Authorization rule for a namespace by name.", "parameters": [ @@ -546,7 +546,7 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "RelayNameSpaceAuthorizationRuleListKey": { "$ref": "../examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json" } + "RelayNameSpaceAuthorizationRuleListKey": { "$ref": "./examples/RelayNameSpaceAuthorizationRuleListKey.json" } }, "description": "Primary and Secondary ConnectionStrings to the namespace ", "parameters": [ @@ -589,7 +589,7 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "RelayNameSpaceAuthorizationRuleRegenrateKey": { "$ref": "../examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json" } + "RelayNameSpaceAuthorizationRuleRegenrateKey": { "$ref": "./examples/RelayNameSpaceAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the Primary or Secondary ConnectionStrings to the namespace ", "parameters": [ @@ -641,7 +641,7 @@ ], "operationId": "HybridConnections_ListByNamespace", "x-ms-examples": { - "RelayHybridConnectionListAll": { "$ref": "../examples/HybridConnection/RelayHybridConnectionListAll.json" } + "RelayHybridConnectionListAll": { "$ref": "./examples/RelayHybridConnectionListAll.json" } }, "description": "Lists the HybridConnection within the namespace.", "parameters": [ @@ -684,7 +684,7 @@ ], "operationId": "HybridConnections_CreateOrUpdate", "x-ms-examples": { - "RelayHybridConnectionCreate": { "$ref": "../examples/HybridConnection/RelayHybridConnectionCreate.json" } + "RelayHybridConnectionCreate": { "$ref": "./examples/RelayHybridConnectionCreate.json" } }, "description": "Creates or Updates a service HybridConnection. This operation is idempotent.", "parameters": [ @@ -734,7 +734,7 @@ ], "operationId": "HybridConnections_Delete", "x-ms-examples": { - "RelayHybridconnectionDelete": { "$ref": "../examples/HybridConnection/RelayHybridconnectionDelete.json" } + "RelayHybridconnectionDelete": { "$ref": "./examples/RelayHybridconnectionDelete.json" } }, "description": "Deletes a HybridConnection .", "parameters": [ @@ -775,7 +775,7 @@ ], "operationId": "HybridConnections_Get", "x-ms-examples": { - "RelayHybridConnectionGet": { "$ref": "../examples/HybridConnection/RelayHybridConnectionGet.json" } + "RelayHybridConnectionGet": { "$ref": "./examples/RelayHybridConnectionGet.json" } }, "description": "Returns the description for the specified HybridConnection.", "parameters": [ @@ -818,7 +818,7 @@ ], "operationId": "HybridConnections_ListAuthorizationRules", "x-ms-examples": { - "RelayHybridConnectionAutorizationRuleListAll": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json" } + "RelayHybridConnectionAutorizationRuleListAll": { "$ref": "./examples/RelayHybridConnectionAutorizationRuleListAll.json" } }, "description": "Authorization rules for a HybridConnection.", "parameters": [ @@ -858,7 +858,7 @@ ], "operationId": "HybridConnections_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "RelayHybridConnectionAuthorizationRuleCreate": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json" } + "RelayHybridConnectionAuthorizationRuleCreate": { "$ref": "./examples/RelayHybridConnectionAuthorizationRuleCreate.json" } }, "description": "Creates or Updates an authorization rule for a HybridConnection", "parameters": [ @@ -911,7 +911,7 @@ ], "operationId": "HybridConnections_DeleteAuthorizationRule", "x-ms-examples": { - "RelayHybridConnectionAutorizationRuleDelete": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json" } + "RelayHybridConnectionAutorizationRuleDelete": { "$ref": "./examples/RelayHybridConnectionAutorizationRuleDelete.json" } }, "description": "Deletes a HybridConnection authorization rule", "parameters": [ @@ -955,7 +955,7 @@ ], "operationId": "HybridConnections_GetAuthorizationRule", "x-ms-examples": { - "RelayHybridConnectionAutorizationRuleGet": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json" } + "RelayHybridConnectionAutorizationRuleGet": { "$ref": "./examples/RelayHybridConnectionAutorizationRuleGet.json" } }, "description": "HybridConnection authorizationRule for a HybridConnection by name.", "parameters": [ @@ -1001,7 +1001,7 @@ ], "operationId": "HybridConnections_ListKeys", "x-ms-examples": { - "RelayHybridConnectionAuthorizationRuleListKey": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json" } + "RelayHybridConnectionAuthorizationRuleListKey": { "$ref": "./examples/RelayHybridConnectionAuthorizationRuleListKey.json" } }, "description": "Primary and Secondary ConnectionStrings to the HybridConnection.", "parameters": [ @@ -1047,7 +1047,7 @@ ], "operationId": "HybridConnections_RegenerateKeys", "x-ms-examples": { - "RelayHybridConnectionAuthorizationRuleRegenrateKey": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json" } + "RelayHybridConnectionAuthorizationRuleRegenrateKey": { "$ref": "./examples/RelayHybridConnectionAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the Primary or Secondary ConnectionStrings to the HybridConnection", "parameters": [ @@ -1102,7 +1102,7 @@ ], "operationId": "WCFRelays_ListByNamespace", "x-ms-examples": { - "RelayListAll": { "$ref": "../examples/Relay/RelayListAll.json" } + "RelayListAll": { "$ref": "./examples/RelayListAll.json" } }, "description": "Lists the WCFRelays within the namespace.", "parameters": [ @@ -1145,7 +1145,7 @@ ], "operationId": "WCFRelays_CreateOrUpdate", "x-ms-examples": { - "RelayCreate": { "$ref": "../examples/Relay/RelayCreate.json" } + "RelayCreate": { "$ref": "./examples/RelayCreate.json" } }, "description": "Creates or Updates a WCFRelay. This operation is idempotent.", "parameters": [ @@ -1195,7 +1195,7 @@ ], "operationId": "WCFRelays_Delete", "x-ms-examples": { - "RelayDelete": { "$ref": "../examples/Relay/RelayDelete.json" } + "RelayDelete": { "$ref": "./examples/RelayDelete.json" } }, "description": "Deletes a WCFRelays .", "parameters": [ @@ -1236,7 +1236,7 @@ ], "operationId": "WCFRelays_Get", "x-ms-examples": { - "RelayGet": { "$ref": "../examples/Relay/RelayGet.json" } + "RelayGet": { "$ref": "./examples/RelayGet.json" } }, "description": "Returns the description for the specified WCFRelays.", "parameters": [ @@ -1282,7 +1282,7 @@ ], "operationId": "WCFRelays_ListAuthorizationRules", "x-ms-examples": { - "RelayAutorizationRuleListAll": { "$ref": "../examples/Relay/RelayAutorizationRuleListAll.json" } + "RelayAutorizationRuleListAll": { "$ref": "./examples/RelayAutorizationRuleListAll.json" } }, "description": "Authorization rules for a WCFRelays.", "parameters": [ @@ -1322,7 +1322,7 @@ ], "operationId": "WCFRelays_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "RelayAuthorizationRuleCreate": { "$ref": "../examples/Relay/RelayAuthorizationRuleCreate.json" } + "RelayAuthorizationRuleCreate": { "$ref": "./examples/RelayAuthorizationRuleCreate.json" } }, "description": "Creates or Updates an authorization rule for a WCFRelays", "parameters": [ @@ -1375,7 +1375,7 @@ ], "operationId": "WCFRelays_DeleteAuthorizationRule", "x-ms-examples": { - "RelayAutorizationRuleDelete": { "$ref": "../examples/Relay/RelayAutorizationRuleDelete.json" } + "RelayAutorizationRuleDelete": { "$ref": "./examples/RelayAutorizationRuleDelete.json" } }, "description": "Deletes a WCFRelays authorization rule", "parameters": [ @@ -1419,7 +1419,7 @@ ], "operationId": "WCFRelays_GetAuthorizationRule", "x-ms-examples": { - "RelayAutorizationRuleGet": { "$ref": "../examples/Relay/RelayAutorizationRuleGet.json" } + "RelayAutorizationRuleGet": { "$ref": "./examples/RelayAutorizationRuleGet.json" } }, "description": "Get authorizationRule for a WCFRelays by name.", "parameters": [ @@ -1465,7 +1465,7 @@ ], "operationId": "WCFRelays_ListKeys", "x-ms-examples": { - "RelayAuthorizationRuleListKey.json": { "$ref": "../examples/Relay/RelayAuthorizationRuleListKey.json" } + "RelayAuthorizationRuleListKey.json": { "$ref": "./examples/RelayAuthorizationRuleListKey.json" } }, "description": "Primary and Secondary ConnectionStrings to the WCFRelays.", "parameters": [ @@ -1511,7 +1511,7 @@ ], "operationId": "WCFRelays_RegenerateKeys", "x-ms-examples": { - "RelayAuthorizationRuleRegenrateKey.json": { "$ref": "../examples/Relay/RelayAuthorizationRuleRegenrateKey.json" } + "RelayAuthorizationRuleRegenrateKey.json": { "$ref": "./examples/RelayAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the Primary or Secondary ConnectionStrings to the WCFRelays", "parameters": [ @@ -2145,4 +2145,4 @@ "description": "The relay name" } } -} \ No newline at end of file +} diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAuthorizationRuleUpdate.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionCreate.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionCreate.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionGet.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionGet.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionGet.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionListAll.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionListAll.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionUpdate.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridConnectionUpdate.json diff --git a/arm-relay/2017-04-01/examples/HybridConnection/RelayHybridconnectionDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridconnectionDelete.json similarity index 100% rename from arm-relay/2017-04-01/examples/HybridConnection/RelayHybridconnectionDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/HybridConnection/RelayHybridconnectionDelete.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAuthorizationRuleUpdate.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCreate.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceCreate.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceDelete.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceDelete.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceGet.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceGet.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceGet.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListByResourceGroup.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceListBySubscription.json diff --git a/arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceUpdate.json similarity index 100% rename from arm-relay/2017-04-01/examples/NameSpaces/RelayNameSpaceUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/NameSpaces/RelayNameSpaceUpdate.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleCreate.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleCreate.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleListKey.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleListKey.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleListKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleListKey.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleRegenrateKey.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleRegenrateKey.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleRegenrateKey.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleUpdate.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAuthorizationRuleUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAuthorizationRuleUpdate.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAutorizationRuleDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAutorizationRuleDelete.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAutorizationRuleDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAutorizationRuleDelete.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAutorizationRuleGet.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAutorizationRuleGet.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAutorizationRuleGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAutorizationRuleGet.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayAutorizationRuleListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAutorizationRuleListAll.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayAutorizationRuleListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayAutorizationRuleListAll.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayCreate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayCreate.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayCreate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayCreate.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayDelete.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayDelete.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayDelete.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayDelete.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayGet.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayGet.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayGet.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayGet.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayListAll.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayListAll.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayListAll.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayListAll.json diff --git a/arm-relay/2017-04-01/examples/Relay/RelayUpdate.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayUpdate.json similarity index 100% rename from arm-relay/2017-04-01/examples/Relay/RelayUpdate.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/Relay/RelayUpdate.json diff --git a/arm-relay/2017-04-01/examples/RelayOperations_List.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/RelayOperations_List.json similarity index 100% rename from arm-relay/2017-04-01/examples/RelayOperations_List.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/examples/RelayOperations_List.json diff --git a/arm-relay/2017-04-01/swagger/relay.json b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/relay.json similarity index 95% rename from arm-relay/2017-04-01/swagger/relay.json rename to specification/relay/resource-manager/Microsoft.Relay/2017-04-01/relay.json index ed806cfd1e63..be1637e2ea69 100644 --- a/arm-relay/2017-04-01/swagger/relay.json +++ b/specification/relay/resource-manager/Microsoft.Relay/2017-04-01/relay.json @@ -42,7 +42,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "RelayOperationsList": { "$ref": "../examples/RelayOperations_List.json" } + "RelayOperationsList": { "$ref": "./examples/RelayOperations_List.json" } }, "description": "Lists all of the available Relay REST API operations.", "parameters": [ @@ -76,7 +76,7 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "RelayCheckNameAvailability": { "$ref": "../examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json" } + "RelayCheckNameAvailability": { "$ref": "./examples/NameSpaces/RelayNameSpaceCheckNameAvailability.json" } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -119,7 +119,7 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "RelayNameSpaceListBySubscription": { "$ref": "../examples/NameSpaces/RelayNameSpaceListBySubscription.json" } + "RelayNameSpaceListBySubscription": { "$ref": "./examples/NameSpaces/RelayNameSpaceListBySubscription.json" } }, "description": "Lists all the available namespaces within the subscription irrespective of the resourceGroups.", "parameters": [ @@ -156,7 +156,7 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "RelayNameSpaceListByResourceGroup": { "$ref": "../examples/NameSpaces/RelayNameSpaceListByResourceGroup.json" } + "RelayNameSpaceListByResourceGroup": { "$ref": "./examples/NameSpaces/RelayNameSpaceListByResourceGroup.json" } }, "description": "Lists all the available namespaces within the ResourceGroup.", "parameters": [ @@ -198,7 +198,7 @@ "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "RelayNamespaceCreate": { "$ref": "../examples/NameSpaces/RelayNameSpaceCreate.json" } + "RelayNamespaceCreate": { "$ref": "./examples/NameSpaces/RelayNameSpaceCreate.json" } }, "description": "Create Azure Relay namespace.", @@ -254,7 +254,7 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "RelayNameSpaceDelete": { "$ref": "../examples/NameSpaces/RelayNameSpaceDelete.json" } + "RelayNameSpaceDelete": { "$ref": "./examples/NameSpaces/RelayNameSpaceDelete.json" } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "parameters": [ @@ -298,7 +298,7 @@ "operationId": "Namespaces_Get", "x-ms-examples": { - "RelayNameSpaceGet": { "$ref": "../examples/NameSpaces/RelayNameSpaceGet.json" } + "RelayNameSpaceGet": { "$ref": "./examples/NameSpaces/RelayNameSpaceGet.json" } }, "description": "Returns the description for the specified namespace.", @@ -338,7 +338,7 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "RelayNameSpaceUpdate": { "$ref": "../examples/NameSpaces/RelayNameSpaceUpdate.json" } + "RelayNameSpaceUpdate": { "$ref": "./examples/NameSpaces/RelayNameSpaceUpdate.json" } }, "description": "Creates or updates a namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -393,7 +393,7 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "RelayNameSpaceAutorizationRuleListAll": { "$ref": "../examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json" } + "RelayNameSpaceAutorizationRuleListAll": { "$ref": "./examples/NameSpaces/RelayNameSpaceAutorizationRuleListAll.json" } }, "description": "Authorization rules for a namespace.", "parameters": [ @@ -436,7 +436,7 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "RelayNameSpaceAuthorizationRuleCreate": { "$ref": "../examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json" } + "RelayNameSpaceAuthorizationRuleCreate": { "$ref": "./examples/NameSpaces/RelayNameSpaceAuthorizationRuleCreate.json" } }, "description": "Creates or Updates an authorization rule for a namespace", "parameters": [ @@ -486,7 +486,7 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "RelayNameSpaceAutorizationRuleDelete": { "$ref": "../examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json" } + "RelayNameSpaceAutorizationRuleDelete": { "$ref": "./examples/NameSpaces/RelayNameSpaceAutorizationRuleDelete.json" } }, "description": "Deletes a namespace authorization rule", "parameters": [ @@ -527,7 +527,7 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "RelayNameSpaceAutorizationRuleGet": { "$ref": "../examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json" } + "RelayNameSpaceAutorizationRuleGet": { "$ref": "./examples/NameSpaces/RelayNameSpaceAutorizationRuleGet.json" } }, "description": "Authorization rule for a namespace by name.", "parameters": [ @@ -570,7 +570,7 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "RelayNameSpaceAuthorizationRuleListKey": { "$ref": "../examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json" } + "RelayNameSpaceAuthorizationRuleListKey": { "$ref": "./examples/NameSpaces/RelayNameSpaceAuthorizationRuleListKey.json" } }, "description": "Primary and Secondary ConnectionStrings to the namespace ", "parameters": [ @@ -613,7 +613,7 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "RelayNameSpaceAuthorizationRuleRegenrateKey": { "$ref": "../examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json" } + "RelayNameSpaceAuthorizationRuleRegenrateKey": { "$ref": "./examples/NameSpaces/RelayNameSpaceAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the Primary or Secondary ConnectionStrings to the namespace ", "parameters": [ @@ -665,7 +665,7 @@ ], "operationId": "HybridConnections_ListByNamespace", "x-ms-examples": { - "RelayHybridConnectionListAll": { "$ref": "../examples/HybridConnection/RelayHybridConnectionListAll.json" } + "RelayHybridConnectionListAll": { "$ref": "./examples/HybridConnection/RelayHybridConnectionListAll.json" } }, "description": "Lists the HybridConnection within the namespace.", "parameters": [ @@ -708,7 +708,7 @@ ], "operationId": "HybridConnections_CreateOrUpdate", "x-ms-examples": { - "RelayHybridConnectionCreate": { "$ref": "../examples/HybridConnection/RelayHybridConnectionCreate.json" } + "RelayHybridConnectionCreate": { "$ref": "./examples/HybridConnection/RelayHybridConnectionCreate.json" } }, "description": "Creates or Updates a service HybridConnection. This operation is idempotent.", "parameters": [ @@ -758,7 +758,7 @@ ], "operationId": "HybridConnections_Delete", "x-ms-examples": { - "RelayHybridconnectionDelete": { "$ref": "../examples/HybridConnection/RelayHybridconnectionDelete.json" } + "RelayHybridconnectionDelete": { "$ref": "./examples/HybridConnection/RelayHybridconnectionDelete.json" } }, "description": "Deletes a HybridConnection .", "parameters": [ @@ -799,7 +799,7 @@ ], "operationId": "HybridConnections_Get", "x-ms-examples": { - "RelayHybridConnectionGet": { "$ref": "../examples/HybridConnection/RelayHybridConnectionGet.json" } + "RelayHybridConnectionGet": { "$ref": "./examples/HybridConnection/RelayHybridConnectionGet.json" } }, "description": "Returns the description for the specified HybridConnection.", "parameters": [ @@ -842,7 +842,7 @@ ], "operationId": "HybridConnections_ListAuthorizationRules", "x-ms-examples": { - "RelayHybridConnectionAutorizationRuleListAll": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json" } + "RelayHybridConnectionAutorizationRuleListAll": { "$ref": "./examples/HybridConnection/RelayHybridConnectionAutorizationRuleListAll.json" } }, "description": "Authorization rules for a HybridConnection.", "parameters": [ @@ -888,7 +888,7 @@ ], "operationId": "HybridConnections_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "RelayHybridConnectionAuthorizationRuleCreate": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json" } + "RelayHybridConnectionAuthorizationRuleCreate": { "$ref": "./examples/HybridConnection/RelayHybridConnectionAuthorizationRuleCreate.json" } }, "description": "Creates or Updates an authorization rule for a HybridConnection", "parameters": [ @@ -941,7 +941,7 @@ ], "operationId": "HybridConnections_DeleteAuthorizationRule", "x-ms-examples": { - "RelayHybridConnectionAutorizationRuleDelete": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json" } + "RelayHybridConnectionAutorizationRuleDelete": { "$ref": "./examples/HybridConnection/RelayHybridConnectionAutorizationRuleDelete.json" } }, "description": "Deletes a HybridConnection authorization rule", "parameters": [ @@ -985,7 +985,7 @@ ], "operationId": "HybridConnections_GetAuthorizationRule", "x-ms-examples": { - "RelayHybridConnectionAutorizationRuleGet": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json" } + "RelayHybridConnectionAutorizationRuleGet": { "$ref": "./examples/HybridConnection/RelayHybridConnectionAutorizationRuleGet.json" } }, "description": "HybridConnection authorizationRule for a HybridConnection by name.", "parameters": [ @@ -1031,7 +1031,7 @@ ], "operationId": "HybridConnections_ListKeys", "x-ms-examples": { - "RelayHybridConnectionAuthorizationRuleListKey": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json" } + "RelayHybridConnectionAuthorizationRuleListKey": { "$ref": "./examples/HybridConnection/RelayHybridConnectionAuthorizationRuleListKey.json" } }, "description": "Primary and Secondary ConnectionStrings to the HybridConnection.", "parameters": [ @@ -1077,7 +1077,7 @@ ], "operationId": "HybridConnections_RegenerateKeys", "x-ms-examples": { - "RelayHybridConnectionAuthorizationRuleRegenrateKey": { "$ref": "../examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json" } + "RelayHybridConnectionAuthorizationRuleRegenrateKey": { "$ref": "./examples/HybridConnection/RelayHybridConnectionAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the Primary or Secondary ConnectionStrings to the HybridConnection", "parameters": [ @@ -1132,7 +1132,7 @@ ], "operationId": "WCFRelays_ListByNamespace", "x-ms-examples": { - "RelayListAll": { "$ref": "../examples/Relay/RelayListAll.json" } + "RelayListAll": { "$ref": "./examples/Relay/RelayListAll.json" } }, "description": "Lists the WCFRelays within the namespace.", "parameters": [ @@ -1175,7 +1175,7 @@ ], "operationId": "WCFRelays_CreateOrUpdate", "x-ms-examples": { - "RelayCreate": { "$ref": "../examples/Relay/RelayCreate.json" } + "RelayCreate": { "$ref": "./examples/Relay/RelayCreate.json" } }, "description": "Creates or Updates a WCFRelay. This operation is idempotent.", "parameters": [ @@ -1225,7 +1225,7 @@ ], "operationId": "WCFRelays_Delete", "x-ms-examples": { - "RelayDelete": { "$ref": "../examples/Relay/RelayDelete.json" } + "RelayDelete": { "$ref": "./examples/Relay/RelayDelete.json" } }, "description": "Deletes a WCFRelays .", "parameters": [ @@ -1266,7 +1266,7 @@ ], "operationId": "WCFRelays_Get", "x-ms-examples": { - "RelayGet": { "$ref": "../examples/Relay/RelayGet.json" } + "RelayGet": { "$ref": "./examples/Relay/RelayGet.json" } }, "description": "Returns the description for the specified WCFRelays.", "parameters": [ @@ -1312,7 +1312,7 @@ ], "operationId": "WCFRelays_ListAuthorizationRules", "x-ms-examples": { - "RelayAutorizationRuleListAll": { "$ref": "../examples/Relay/RelayAutorizationRuleListAll.json" } + "RelayAutorizationRuleListAll": { "$ref": "./examples/Relay/RelayAutorizationRuleListAll.json" } }, "description": "Authorization rules for a WCFRelays.", "parameters": [ @@ -1352,7 +1352,7 @@ ], "operationId": "WCFRelays_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "RelayAuthorizationRuleCreate": { "$ref": "../examples/Relay/RelayAuthorizationRuleCreate.json" } + "RelayAuthorizationRuleCreate": { "$ref": "./examples/Relay/RelayAuthorizationRuleCreate.json" } }, "description": "Creates or Updates an authorization rule for a WCFRelays", "parameters": [ @@ -1405,7 +1405,7 @@ ], "operationId": "WCFRelays_DeleteAuthorizationRule", "x-ms-examples": { - "RelayAutorizationRuleDelete": { "$ref": "../examples/Relay/RelayAutorizationRuleDelete.json" } + "RelayAutorizationRuleDelete": { "$ref": "./examples/Relay/RelayAutorizationRuleDelete.json" } }, "description": "Deletes a WCFRelays authorization rule", "parameters": [ @@ -1449,7 +1449,7 @@ ], "operationId": "WCFRelays_GetAuthorizationRule", "x-ms-examples": { - "RelayAutorizationRuleGet": { "$ref": "../examples/Relay/RelayAutorizationRuleGet.json" } + "RelayAutorizationRuleGet": { "$ref": "./examples/Relay/RelayAutorizationRuleGet.json" } }, "description": "Get authorizationRule for a WCFRelays by name.", "parameters": [ @@ -1495,7 +1495,7 @@ ], "operationId": "WCFRelays_ListKeys", "x-ms-examples": { - "RelayAuthorizationRuleListKey.json": { "$ref": "../examples/Relay/RelayAuthorizationRuleListKey.json" } + "RelayAuthorizationRuleListKey.json": { "$ref": "./examples/Relay/RelayAuthorizationRuleListKey.json" } }, "description": "Primary and Secondary ConnectionStrings to the WCFRelays.", "parameters": [ @@ -1541,7 +1541,7 @@ ], "operationId": "WCFRelays_RegenerateKeys", "x-ms-examples": { - "RelayAuthorizationRuleRegenrateKey.json": { "$ref": "../examples/Relay/RelayAuthorizationRuleRegenrateKey.json" } + "RelayAuthorizationRuleRegenrateKey.json": { "$ref": "./examples/Relay/RelayAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the Primary or Secondary ConnectionStrings to the WCFRelays", "parameters": [ diff --git a/specification/relay/resource-manager/readme.md b/specification/relay/resource-manager/readme.md new file mode 100644 index 000000000000..34704f210cb7 --- /dev/null +++ b/specification/relay/resource-manager/readme.md @@ -0,0 +1,63 @@ +# Relay + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Relay. + + + +--- +## Getting Started +To build the SDK for Relay, 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 Relay API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.Relay/2017-04-01/relay.json +``` + + +### Tag: package-2016-07 + +These settings apply only when `--tag=package-2016-07` is specified on the command line. + +``` yaml $(tag) == 'package-2016-07' +input-file: +- Microsoft.Relay/2016-07-01/relay.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-resourcehealth/2015-01-01/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/AvailabilityStatus_GetByResource.json similarity index 100% rename from arm-resourcehealth/2015-01-01/examples/AvailabilityStatus_GetByResource.json rename to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/AvailabilityStatus_GetByResource.json diff --git a/arm-resourcehealth/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json similarity index 100% rename from arm-resourcehealth/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json rename to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/AvailabilityStatuses_ListByResourceGroup.json diff --git a/arm-resourcehealth/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json similarity index 100% rename from arm-resourcehealth/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json rename to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/AvailabilityStatuses_ListBySubscriptionId.json diff --git a/arm-resourcehealth/2015-01-01/examples/Availabilitystatuses_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/Availabilitystatuses_List.json similarity index 100% rename from arm-resourcehealth/2015-01-01/examples/Availabilitystatuses_List.json rename to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/examples/Availabilitystatuses_List.json diff --git a/arm-resourcehealth/2015-01-01/swagger/resourcehealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/resourcehealth.json similarity index 98% rename from arm-resourcehealth/2015-01-01/swagger/resourcehealth.json rename to specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/resourcehealth.json index c2a265a3d741..f32cc99bbfcc 100644 --- a/arm-resourcehealth/2015-01-01/swagger/resourcehealth.json +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/2015-01-01/resourcehealth.json @@ -71,7 +71,7 @@ }, "x-ms-examples": { "ListHealthBySubscriptionId": { - "$ref": "../examples/AvailabilityStatuses_ListBySubscriptionId.json" + "$ref": "./examples/AvailabilityStatuses_ListBySubscriptionId.json" } } } @@ -119,7 +119,7 @@ }, "x-ms-examples": { "ListByResourceGroup": { - "$ref": "../examples/AvailabilityStatuses_ListByResourceGroup.json" + "$ref": "./examples/AvailabilityStatuses_ListByResourceGroup.json" } } } @@ -166,7 +166,7 @@ }, "x-ms-examples": { "GetCurrentHealthByResource": { - "$ref": "../examples/AvailabilityStatus_GetByResource.json" + "$ref": "./examples/AvailabilityStatus_GetByResource.json" } } } @@ -216,7 +216,7 @@ }, "x-ms-examples": { "GetHealthHistoryByResource": { - "$ref": "../examples/Availabilitystatuses_List.json" + "$ref": "./examples/Availabilitystatuses_List.json" } } } @@ -572,4 +572,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/resourcehealth/resource-manager/readme.md b/specification/resourcehealth/resource-manager/readme.md new file mode 100644 index 000000000000..3e2659511f28 --- /dev/null +++ b/specification/resourcehealth/resource-manager/readme.md @@ -0,0 +1,53 @@ +# ResourceHealth + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ResourceHealth. + + + +--- +## Getting Started +To build the SDK for ResourceHealth, 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 ResourceHealth API. + +``` yaml +openapi-type: arm +tag: package-2015-01 +``` + + +### Tag: package-2015-01 + +These settings apply only when `--tag=package-2015-01` is specified on the command line. + +``` yaml $(tag) == 'package-2015-01' +input-file: +- Microsoft.ResourceHealth/2015-01-01/resourcehealth.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-resources/locks/2015-01-01/swagger/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/2015-01-01/locks.json similarity index 100% rename from arm-resources/locks/2015-01-01/swagger/locks.json rename to specification/resources/resource-manager/Microsoft.Authorization/2015-01-01/locks.json diff --git a/arm-resources/policy/2015-10-01-preview/swagger/policy.json b/specification/resources/resource-manager/Microsoft.Authorization/2015-10-01-preview/policy.json similarity index 100% rename from arm-resources/policy/2015-10-01-preview/swagger/policy.json rename to specification/resources/resource-manager/Microsoft.Authorization/2015-10-01-preview/policy.json diff --git a/arm-resources/policy/2016-04-01/swagger/policy.json b/specification/resources/resource-manager/Microsoft.Authorization/2016-04-01/policy.json similarity index 100% rename from arm-resources/policy/2016-04-01/swagger/policy.json rename to specification/resources/resource-manager/Microsoft.Authorization/2016-04-01/policy.json diff --git a/arm-resources/locks/2016-09-01/swagger/locks.json b/specification/resources/resource-manager/Microsoft.Authorization/2016-09-01/locks.json similarity index 100% rename from arm-resources/locks/2016-09-01/swagger/locks.json rename to specification/resources/resource-manager/Microsoft.Authorization/2016-09-01/locks.json diff --git a/arm-resources/policy/2016-12-01/swagger/policy.json b/specification/resources/resource-manager/Microsoft.Authorization/2016-12-01/policy.json similarity index 100% rename from arm-resources/policy/2016-12-01/swagger/policy.json rename to specification/resources/resource-manager/Microsoft.Authorization/2016-12-01/policy.json diff --git a/arm-resources/features/2015-12-01/swagger/features.json b/specification/resources/resource-manager/Microsoft.Features/2015-12-01/features.json similarity index 100% rename from arm-resources/features/2015-12-01/swagger/features.json rename to specification/resources/resource-manager/Microsoft.Features/2015-12-01/features.json diff --git a/arm-resources/resources/2015-11-01/swagger/resources.json b/specification/resources/resource-manager/Microsoft.Resources/2015-11-01/resources.json similarity index 100% rename from arm-resources/resources/2015-11-01/swagger/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/2015-11-01/resources.json diff --git a/arm-resources/subscriptions/2015-11-01/swagger/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/2015-11-01/subscriptions.json similarity index 100% rename from arm-resources/subscriptions/2015-11-01/swagger/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/2015-11-01/subscriptions.json diff --git a/arm-resources/resources/2016-02-01/swagger/resources.json b/specification/resources/resource-manager/Microsoft.Resources/2016-02-01/resources.json similarity index 100% rename from arm-resources/resources/2016-02-01/swagger/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/2016-02-01/resources.json diff --git a/arm-resources/subscriptions/2016-06-01/swagger/subscriptions.json b/specification/resources/resource-manager/Microsoft.Resources/2016-06-01/subscriptions.json similarity index 100% rename from arm-resources/subscriptions/2016-06-01/swagger/subscriptions.json rename to specification/resources/resource-manager/Microsoft.Resources/2016-06-01/subscriptions.json diff --git a/arm-resources/resources/2016-07-01/swagger/resources.json b/specification/resources/resource-manager/Microsoft.Resources/2016-07-01/resources.json similarity index 100% rename from arm-resources/resources/2016-07-01/swagger/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/2016-07-01/resources.json diff --git a/arm-resources/links/2016-09-01/swagger/links.json b/specification/resources/resource-manager/Microsoft.Resources/2016-09-01/links.json similarity index 100% rename from arm-resources/links/2016-09-01/swagger/links.json rename to specification/resources/resource-manager/Microsoft.Resources/2016-09-01/links.json diff --git a/arm-resources/resources/2016-09-01/swagger/resources.json b/specification/resources/resource-manager/Microsoft.Resources/2016-09-01/resources.json similarity index 100% rename from arm-resources/resources/2016-09-01/swagger/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/2016-09-01/resources.json diff --git a/arm-resources/resources/2017-05-10/swagger/resources.json b/specification/resources/resource-manager/Microsoft.Resources/2017-05-10/resources.json similarity index 100% rename from arm-resources/resources/2017-05-10/swagger/resources.json rename to specification/resources/resource-manager/Microsoft.Resources/2017-05-10/resources.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/examples/appliance/createOrUpdateAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/createOrUpdateAppliance.json similarity index 100% rename from arm-resources/managedapplications/2016-09-01-preview/examples/appliance/createOrUpdateAppliance.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/createOrUpdateAppliance.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/examples/appliancedefinition/createOrUpdateApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json similarity index 100% rename from arm-resources/managedapplications/2016-09-01-preview/examples/appliancedefinition/createOrUpdateApplianceDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/createOrUpdateApplianceDefinition.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/examples/appliance/getAppliance.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/getAppliance.json similarity index 100% rename from arm-resources/managedapplications/2016-09-01-preview/examples/appliance/getAppliance.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/getAppliance.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/examples/appliancedefinition/getApplianceDefinition.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/getApplianceDefinition.json similarity index 100% rename from arm-resources/managedapplications/2016-09-01-preview/examples/appliancedefinition/getApplianceDefinition.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/getApplianceDefinition.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/examples/appliancedefinition/listApplianceDefinitionsByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json similarity index 100% rename from arm-resources/managedapplications/2016-09-01-preview/examples/appliancedefinition/listApplianceDefinitionsByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/listApplianceDefinitionsByResourceGroup.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/examples/appliance/listAppliancesByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/listAppliancesByResourceGroup.json similarity index 100% rename from arm-resources/managedapplications/2016-09-01-preview/examples/appliance/listAppliancesByResourceGroup.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/examples/listAppliancesByResourceGroup.json diff --git a/arm-resources/managedapplications/2016-09-01-preview/swagger/managedapplications.json b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/managedapplications.json similarity index 98% rename from arm-resources/managedapplications/2016-09-01-preview/swagger/managedapplications.json rename to specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/managedapplications.json index a5a94105ed5b..9929087d79ce 100644 --- a/arm-resources/managedapplications/2016-09-01-preview/swagger/managedapplications.json +++ b/specification/resources/resource-manager/Microsoft.Solutions/2016-09-01-preview/managedapplications.json @@ -43,7 +43,7 @@ "description": "Gets the appliance.", "x-ms-examples": { "Get an appliance": { - "$ref": "../examples/appliance/getAppliance.json" + "$ref": "./examples/getAppliance.json" } }, "parameters": [ @@ -148,7 +148,7 @@ "description": "Creates a new appliance.", "x-ms-examples": { "Create or update appliance": { - "$ref": "../examples/appliance/createOrUpdateAppliance.json" + "$ref": "./examples/createOrUpdateAppliance.json" } }, "parameters": [ @@ -275,7 +275,7 @@ "description": "Gets the appliance definition.", "x-ms-examples": { "Get appliance definition": { - "$ref": "../examples/appliancedefinition/getApplianceDefinition.json" + "$ref": "./examples/getApplianceDefinition.json" } }, "parameters": [ @@ -383,7 +383,7 @@ "description": "Creates a new appliance definition.", "x-ms-examples": { "Create or update appliance definition": { - "$ref": "../examples/appliancedefinition/createOrUpdateApplianceDefinition.json" + "$ref": "./examples/createOrUpdateApplianceDefinition.json" } }, "parameters": [ @@ -454,7 +454,7 @@ "description": "Lists the appliance definitions in a resource group.", "x-ms-examples": { "List appliance definitions": { - "$ref": "../examples/appliancedefinition/listApplianceDefinitionsByResourceGroup.json" + "$ref": "./examples/listApplianceDefinitionsByResourceGroup.json" } }, "parameters": [ @@ -503,7 +503,7 @@ "description": "Gets all the appliances within a resource group.", "x-ms-examples": { "Lists appliances": { - "$ref": "../examples/appliance/listAppliancesByResourceGroup.json" + "$ref": "./examples/listAppliancesByResourceGroup.json" } }, "parameters": [ @@ -1385,4 +1385,4 @@ "description": "The API version to use for this operation." } } -} \ No newline at end of file +} diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md new file mode 100644 index 000000000000..8e4badf718bd --- /dev/null +++ b/specification/resources/resource-manager/readme.md @@ -0,0 +1,140 @@ +# Resource + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Resource. + + + +--- +## Getting Started +To build the SDK for Resource, 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 Resource API. + +``` yaml +title: ResourceClient +description: Resource Client +openapi-type: arm +tag: package-2017-05 +``` + + +### Tag: package-2017-05 + +These settings apply only when `--tag=package-2017-05` is specified on the command line. + +``` yaml $(tag) == 'package-2017-05' +input-file: +- Microsoft.Authorization/2016-09-01/locks.json +- Microsoft.Authorization/2016-12-01/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2017-05-10/resources.json +- Microsoft.Resources/2016-06-01/subscriptions.json +- Microsoft.Scheduler/2016-09-01/links.json +- Microsoft.Solutions/2016-09-01-preview/managedapplications.json +``` + +### Tag: package-2016-09 + +These settings apply only when `--tag=package-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' +input-file: +- Microsoft.Authorization/2016-09-01/locks.json +- Microsoft.Authorization/2016-04-01/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2016-09-01/resources.json +- Microsoft.Resources/2016-06-01/subscriptions.json +- Microsoft.Resources/2016-09-01/links.json +``` + +### Tag: package-2016-07 + +These settings apply only when `--tag=package-2016-07` is specified on the command line. + +``` yaml $(tag) == 'package-2016-07' +input-file: +- Microsoft.Authorization/2015-01-01/locks.json +- Microsoft.Authorization/2016-04-01/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2016-07-01/resources.json +- Microsoft.Resources/2016-06-01/subscriptions.json +``` + +### Tag: package-2016-06 + +These settings apply only when `--tag=package-2016-06` is specified on the command line. + +``` yaml $(tag) == 'package-2016-06' +input-file: +- Microsoft.Authorization/2015-01-01/locks.json +- Microsoft.Authorization/2016-04-01/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2016-02-01/resources.json +- Microsoft.Resources/2016-06-01/subscriptions.json +``` + +### Tag: package-2016-04 + +These settings apply only when `--tag=package-2016-04` is specified on the command line. + +``` yaml $(tag) == 'package-2016-04' +input-file: +- Microsoft.Authorization/2015-01-01/locks.json +- Microsoft.Authorization/2016-04-01/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2016-02-01/resources.json +- Microsoft.Resources/2015-11-01/subscriptions.json +``` + +### Tag: package-2016-02 + +These settings apply only when `--tag=package-2016-02` is specified on the command line. + +``` yaml $(tag) == 'package-2016-02' +input-file: +- Microsoft.Authorization/2015-01-01/locks.json +- Microsoft.Authorization/2015-10-01-preview/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2016-02-01/resources.json +- Microsoft.Resources/2015-11-01/subscriptions.json +``` + +### Tag: package-2015-12 + +These settings apply only when `--tag=package-2015-12` is specified on the command line. + +``` yaml $(tag) == 'package-2015-12' +input-file: +- Microsoft.Authorization/2015-01-01/locks.json +- Microsoft.Authorization/2015-10-01-preview/policy.json +- Microsoft.Features/2015-12-01/features.json +- Microsoft.Resources/2015-11-01/resources.json +- Microsoft.Resources/2015-11-01/subscriptions.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-scheduler/2014-08-01-preview/swagger/scheduler.json b/specification/scheduler/resource-manager/Microsoft.Scheduler/2014-08-01-preview/scheduler.json similarity index 100% rename from arm-scheduler/2014-08-01-preview/swagger/scheduler.json rename to specification/scheduler/resource-manager/Microsoft.Scheduler/2014-08-01-preview/scheduler.json diff --git a/arm-scheduler/2016-01-01/swagger/scheduler.json b/specification/scheduler/resource-manager/Microsoft.Scheduler/2016-01-01/scheduler.json similarity index 100% rename from arm-scheduler/2016-01-01/swagger/scheduler.json rename to specification/scheduler/resource-manager/Microsoft.Scheduler/2016-01-01/scheduler.json diff --git a/arm-scheduler/2016-03-01/swagger/scheduler.json b/specification/scheduler/resource-manager/Microsoft.Scheduler/2016-03-01/scheduler.json similarity index 100% rename from arm-scheduler/2016-03-01/swagger/scheduler.json rename to specification/scheduler/resource-manager/Microsoft.Scheduler/2016-03-01/scheduler.json diff --git a/specification/scheduler/resource-manager/readme.md b/specification/scheduler/resource-manager/readme.md new file mode 100644 index 000000000000..4e790b860388 --- /dev/null +++ b/specification/scheduler/resource-manager/readme.md @@ -0,0 +1,71 @@ +# Scheduler + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Scheduler. + + + +--- +## Getting Started +To build the SDK for Scheduler, 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 Scheduler API. + +``` yaml +openapi-type: arm +tag: package-2016-03 +``` + + +### Tag: package-2016-03 + +These settings apply only when `--tag=package-2016-03` is specified on the command line. + +``` yaml $(tag) == 'package-2016-03' +input-file: +- Microsoft.Scheduler/2016-03-01/scheduler.json +``` + +### Tag: package-2016-01 + +These settings apply only when `--tag=package-2016-01` is specified on the command line. + +``` yaml $(tag) == 'package-2016-01' +input-file: +- Microsoft.Scheduler/2016-01-01/scheduler.json +``` + +### Tag: package-2014-08-preview + +These settings apply only when `--tag=package-2014-08-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2014-08-preview' +input-file: +- Microsoft.Scheduler/2014-08-01-preview/scheduler.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/search/2015-02-28-Preview/swagger/searchindex.json b/specification/search/data-plane/Microsoft.Search/2015-02-28-preview/searchindex.json similarity index 100% rename from search/2015-02-28-Preview/swagger/searchindex.json rename to specification/search/data-plane/Microsoft.Search/2015-02-28-preview/searchindex.json diff --git a/search/2015-02-28-Preview/swagger/searchservice.json b/specification/search/data-plane/Microsoft.Search/2015-02-28-preview/searchservice.json similarity index 100% rename from search/2015-02-28-Preview/swagger/searchservice.json rename to specification/search/data-plane/Microsoft.Search/2015-02-28-preview/searchservice.json diff --git a/search/2015-02-28/swagger/searchindex.json b/specification/search/data-plane/Microsoft.Search/2015-02-28/searchindex.json similarity index 100% rename from search/2015-02-28/swagger/searchindex.json rename to specification/search/data-plane/Microsoft.Search/2015-02-28/searchindex.json diff --git a/search/2015-02-28/swagger/searchservice.json b/specification/search/data-plane/Microsoft.Search/2015-02-28/searchservice.json similarity index 100% rename from search/2015-02-28/swagger/searchservice.json rename to specification/search/data-plane/Microsoft.Search/2015-02-28/searchservice.json diff --git a/search/2016-09-01/swagger/searchindex.json b/specification/search/data-plane/Microsoft.Search/2016-09-01/searchindex.json similarity index 100% rename from search/2016-09-01/swagger/searchindex.json rename to specification/search/data-plane/Microsoft.Search/2016-09-01/searchindex.json diff --git a/search/2016-09-01/swagger/searchservice.json b/specification/search/data-plane/Microsoft.Search/2016-09-01/searchservice.json similarity index 100% rename from search/2016-09-01/swagger/searchservice.json rename to specification/search/data-plane/Microsoft.Search/2016-09-01/searchservice.json diff --git a/specification/search/data-plane/readme.md b/specification/search/data-plane/readme.md new file mode 100644 index 000000000000..675cbbb43cf7 --- /dev/null +++ b/specification/search/data-plane/readme.md @@ -0,0 +1,77 @@ +# SearchClient + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for SearchClient. + + + +--- +## Getting Started +To build the SDK for SearchClient, 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 SearchClient API. + +``` yaml + +title: SearchClient +description: Search Client +openapi-type: data-plane +tag: package-2016-09 +``` + + +### Tag: package-2016-09 + +These settings apply only when `--tag=package-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' +input-file: +- Microsoft.Search/2016-09-01/searchindex.json +- Microsoft.Search/2016-09-01/searchservice.json +``` + +### Tag: package-2015-02-preview + +These settings apply only when `--tag=package-2015-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-02-preview' +input-file: +- Microsoft.Search/2015-02-28-preview/searchindex.json +- Microsoft.Search/2015-02-28-preview/searchservice.json +``` + +### Tag: package-2015-02 + +These settings apply only when `--tag=package-2015-02` is specified on the command line. + +``` yaml $(tag) == 'package-2015-02' +input-file: +- Microsoft.Search/2015-02-28/searchindex.json +- Microsoft.Search/2015-02-28/searchservice.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-search/2015-02-28/swagger/search.json b/specification/search/resource-manager/Microsoft.Search/2015-02-28/search.json similarity index 100% rename from arm-search/2015-02-28/swagger/search.json rename to specification/search/resource-manager/Microsoft.Search/2015-02-28/search.json diff --git a/arm-search/2015-08-19/swagger/search.json b/specification/search/resource-manager/Microsoft.Search/2015-08-19/search.json similarity index 100% rename from arm-search/2015-08-19/swagger/search.json rename to specification/search/resource-manager/Microsoft.Search/2015-08-19/search.json diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md new file mode 100644 index 000000000000..632d2aae9916 --- /dev/null +++ b/specification/search/resource-manager/readme.md @@ -0,0 +1,62 @@ +# SearchClient + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for SearchClient. + + + +--- +## Getting Started +To build the SDK for SearchClient, 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 SearchClient API. + +``` yaml +openapi-type: arm +tag: package-2015-08 +``` + + +### Tag: package-2015-08 + +These settings apply only when `--tag=package-2015-08` is specified on the command line. + +``` yaml $(tag) == 'package-2015-08' +input-file: +- Microsoft.Search/2015-08-19/search.json +``` + +### Tag: package-2015-02 + +These settings apply only when `--tag=package-2015-02` is specified on the command line. + +``` yaml $(tag) == 'package-2015-02' +input-file: +- Microsoft.Search/2015-02-28/search.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-servermanagement/2015-07-01-preview/swagger/servermanagement.json b/specification/servermanagement/resource-manager/Microsoft.ServerManagement/2015-07-01-preview/servermanagement.json similarity index 100% rename from arm-servermanagement/2015-07-01-preview/swagger/servermanagement.json rename to specification/servermanagement/resource-manager/Microsoft.ServerManagement/2015-07-01-preview/servermanagement.json diff --git a/arm-servermanagement/2016-07-01-preview/swagger/servermanagement.json b/specification/servermanagement/resource-manager/Microsoft.ServerManagement/2016-07-01-preview/servermanagement.json similarity index 100% rename from arm-servermanagement/2016-07-01-preview/swagger/servermanagement.json rename to specification/servermanagement/resource-manager/Microsoft.ServerManagement/2016-07-01-preview/servermanagement.json diff --git a/specification/servermanagement/resource-manager/readme.md b/specification/servermanagement/resource-manager/readme.md new file mode 100644 index 000000000000..f335cc0b3b60 --- /dev/null +++ b/specification/servermanagement/resource-manager/readme.md @@ -0,0 +1,62 @@ +# ServerManagement + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ServerManagement. + + + +--- +## Getting Started +To build the SDK for ServerManagement, 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 ServerManagement API. + +``` yaml +openapi-type: arm +tag: package-2016-07-preview +``` + + +### Tag: package-2016-07-preview + +These settings apply only when `--tag=package-2016-07-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2016-07-preview' +input-file: +- Microsoft.ServerManagement/2016-07-01-preview/servermanagement.json +``` + +### Tag: package-2015-07-preview + +These settings apply only when `--tag=package-2015-07-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-07-preview' +input-file: +- Microsoft.ServerManagement/2015-07-01-preview/servermanagement.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-service-map/2015-11-01-preview/swagger/arm-service-map.json b/specification/service-map/resource-manager/Microsoft.OperationalInsights/2015-11-01-preview/arm-service-map.json similarity index 100% rename from arm-service-map/2015-11-01-preview/swagger/arm-service-map.json rename to specification/service-map/resource-manager/Microsoft.OperationalInsights/2015-11-01-preview/arm-service-map.json diff --git a/specification/service-map/resource-manager/readme.md b/specification/service-map/resource-manager/readme.md new file mode 100644 index 000000000000..238022ce0c82 --- /dev/null +++ b/specification/service-map/resource-manager/readme.md @@ -0,0 +1,53 @@ +# ServiceMap + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ServiceMap. + + + +--- +## Getting Started +To build the SDK for ServiceMap, 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 ServiceMap API. + +``` yaml +openapi-type: arm +tag: package-2015-11-preview +``` + + +### Tag: package-2015-11-preview + +These settings apply only when `--tag=package-2015-11-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-11-preview' +input-file: +- Microsoft.OperationalInsights/2015-11-01-preview/arm-service-map.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleCreate.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleListKey.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleListKey.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleRegenrateKey.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAuthorizationRuleUpdate.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAutorizationRuleDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAutorizationRuleDelete.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAutorizationRuleGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAutorizationRuleGet.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAutorizationRuleListAll.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceAutorizationRuleListAll.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceCheckNameAvailability.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceCheckNameAvailability.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceCreate.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceDelete.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceGet.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceList.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceList.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceList.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceListByResourceGroup.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceListByResourceGroup.json diff --git a/arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/NameSpaces/SBNameSpaceUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBNameSpaceUpdate.json diff --git a/arm-servicebus/2015-08-01/examples/SBOperations_List.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBOperations_List.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/SBOperations_List.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBOperations_List.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleCreate.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleListKey.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleListKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleListKey.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleRegenrateKey.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAuthorizationRuleUpdate.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAutorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAutorizationRuleDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAutorizationRuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAutorizationRuleDelete.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAutorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAutorizationRuleGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAutorizationRuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAutorizationRuleGet.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueAutorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAutorizationRuleListAll.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueAutorizationRuleListAll.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueAutorizationRuleListAll.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueCreate.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueDelete.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueGet.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueListByNameSpace.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueListByNameSpace.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueListByNameSpace.json diff --git a/arm-servicebus/2015-08-01/examples/Queues/SBQueueUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Queues/SBQueueUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBQueueUpdate.json diff --git a/arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionCreate.json diff --git a/arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionDelete.json diff --git a/arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionGet.json diff --git a/arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionListByTopic.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionListByTopic.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionListByTopic.json diff --git a/arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Subscriptions/SBSubscriptionUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBSubscriptionUpdate.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleCreate.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleListKey.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleListKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleListKey.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleRegenrateKey.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAuthorizationRuleUpdate.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAutorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAutorizationRuleDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAutorizationRuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAutorizationRuleDelete.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAutorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAutorizationRuleGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAutorizationRuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAutorizationRuleGet.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicAutorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAutorizationRuleListAll.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicAutorizationRuleListAll.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicAutorizationRuleListAll.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicCreate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicCreate.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicDelete.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicDelete.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicGet.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicGet.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicListByNameSpace.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicListByNameSpace.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicListByNameSpace.json diff --git a/arm-servicebus/2015-08-01/examples/Topics/SBTopicUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicUpdate.json similarity index 100% rename from arm-servicebus/2015-08-01/examples/Topics/SBTopicUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/examples/SBTopicUpdate.json diff --git a/arm-servicebus/2015-08-01/swagger/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/servicebus.json similarity index 95% rename from arm-servicebus/2015-08-01/swagger/servicebus.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/servicebus.json index d07a15dad96c..e84c9bd0e164 100644 --- a/arm-servicebus/2015-08-01/swagger/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2015-08-01/servicebus.json @@ -41,7 +41,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "../examples/SBOperations_List.json" } + "OperationsList": { "$ref": "./examples/SBOperations_List.json" } }, "description": "Lists all of the available ServiceBus REST API operations.", "parameters": [ @@ -69,7 +69,7 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NameSpaceCheckNameAvailability": { "$ref": "../examples/NameSpaces/SBNameSpaceCheckNameAvailability.json" } + "NameSpaceCheckNameAvailability": { "$ref": "./examples/SBNameSpaceCheckNameAvailability.json" } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -106,7 +106,7 @@ ], "operationId": "Namespaces_ListBySubscription", "x-ms-examples": { - "NameSpaceList": { "$ref": "../examples/NameSpaces/SBNameSpaceList.json" } + "NameSpaceList": { "$ref": "./examples/SBNameSpaceList.json" } }, "description": "Gets all the available namespaces within the subscription, irrespective of the resource groups.", "externalDocs": { @@ -140,7 +140,7 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NameSpaceListByResourceGroup": { "$ref": "../examples/NameSpaces/SBNameSpaceListByResourceGroup.json" } + "NameSpaceListByResourceGroup": { "$ref": "./examples/SBNameSpaceListByResourceGroup.json" } }, "description": "Gets the available namespaces within a resource group.", "externalDocs": { @@ -177,7 +177,7 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NameSpaceCreate": { "$ref": "../examples/NameSpaces/SBNameSpaceCreate.json" } + "NameSpaceCreate": { "$ref": "./examples/SBNameSpaceCreate.json" } }, "description": "Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "externalDocs": { @@ -235,7 +235,7 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "../examples/NameSpaces/SBNameSpaceDelete.json" } + "NameSpaceDelete": { "$ref": "./examples/SBNameSpaceDelete.json" } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "externalDocs": { @@ -274,7 +274,7 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "../examples/NameSpaces/SBNameSpaceGet.json" } + "NameSpaceGet": { "$ref": "./examples/SBNameSpaceGet.json" } }, "description": "Gets a description for the specified namespace.", "externalDocs": { @@ -309,7 +309,7 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NameSpaceUpdate": { "$ref": "../examples/NameSpaces/SBNameSpaceUpdate.json" } + "NameSpaceUpdate": { "$ref": "./examples/SBNameSpaceUpdate.json" } }, "description": "Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -361,7 +361,7 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "NameSpaceAutorizationRuleListAll": { "$ref": "../examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json" } + "NameSpaceAutorizationRuleListAll": { "$ref": "./examples/SBNameSpaceAutorizationRuleListAll.json" } }, "description": "Gets the authorization rules for a namespace.", "externalDocs": { @@ -401,7 +401,7 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "../examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/SBNameSpaceAuthorizationRuleCreate.json" } }, "description": "Creates or updates an authorization rule for a namespace.", "externalDocs": { @@ -448,7 +448,7 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleDelete": { "$ref": "../examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json" } + "NameSpaceAutorizationRuleDelete": { "$ref": "./examples/SBNameSpaceAutorizationRuleDelete.json" } }, "description": "Deletes a namespace authorization rule.", "externalDocs": { @@ -486,7 +486,7 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleGet": { "$ref": "../examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json" } + "NameSpaceAutorizationRuleGet": { "$ref": "./examples/SBNameSpaceAutorizationRuleGet.json" } }, "description": "Gets an authorization rule for a namespace by rule name.", "externalDocs": { @@ -526,7 +526,7 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "../examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/SBNameSpaceAuthorizationRuleListKey.json" } }, "description": "Gets the primary and secondary connection strings for the namespace.", "externalDocs": { @@ -566,7 +566,7 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "../examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json" } + "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "./examples/SBNameSpaceAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the primary or secondary connection strings for the namespace.", "externalDocs": { @@ -615,7 +615,7 @@ ], "operationId": "Queues_ListAll", "x-ms-examples": { - "QueueListByNameSpace": { "$ref": "../examples/Queues/SBQueueListByNameSpace.json" } + "QueueListByNameSpace": { "$ref": "./examples/SBQueueListByNameSpace.json" } }, "description": "Gets the queues within a namespace.", "externalDocs": { @@ -655,7 +655,7 @@ ], "operationId": "Queues_CreateOrUpdate", "x-ms-examples": { - "QueueCreate": { "$ref": "../examples/Queues/SBQueueCreate.json" } + "QueueCreate": { "$ref": "./examples/SBQueueCreate.json" } }, "description": "Creates or updates a Service Bus queue. This operation is idempotent.", "externalDocs": { @@ -702,7 +702,7 @@ ], "operationId": "Queues_Delete", "x-ms-examples": { - "QueueDelete": { "$ref": "../examples/Queues/SBQueueDelete.json" } + "QueueDelete": { "$ref": "./examples/SBQueueDelete.json" } }, "description": "Deletes a queue from the specified namespace in a resource group.", "externalDocs": { @@ -740,7 +740,7 @@ ], "operationId": "Queues_Get", "x-ms-examples": { - "QueueGet": { "$ref": "../examples/Queues/SBQueueGet.json" } + "QueueGet": { "$ref": "./examples/SBQueueGet.json" } }, "description": "Returns a description for the specified queue.", "externalDocs": { @@ -780,7 +780,7 @@ ], "operationId": "Queues_ListAuthorizationRules", "x-ms-examples": { - "QueueAutorizationRuleListAll": { "$ref": "../examples/Queues/SBQueueAutorizationRuleListAll.json" } + "QueueAutorizationRuleListAll": { "$ref": "./examples/SBQueueAutorizationRuleListAll.json" } }, "description": "Gets all authorization rules for a queue.", "externalDocs": { @@ -823,7 +823,7 @@ ], "operationId": "Queues_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleCreate": { "$ref": "../examples/Queues/SBQueueAuthorizationRuleCreate.json" } + "QueueAuthorizationRuleCreate": { "$ref": "./examples/SBQueueAuthorizationRuleCreate.json" } }, "description": "Creates an authorization rule for a queue.", "parameters": [ @@ -870,7 +870,7 @@ ], "operationId": "Queues_DeleteAuthorizationRule", "x-ms-examples": { - "QueueAutorizationRuleDelete": { "$ref": "../examples/Queues/SBQueueAutorizationRuleDelete.json" } + "QueueAutorizationRuleDelete": { "$ref": "./examples/SBQueueAutorizationRuleDelete.json" } }, "description": "Deletes a queue authorization rule.", "externalDocs": { @@ -911,7 +911,7 @@ ], "operationId": "Queues_GetAuthorizationRule", "x-ms-examples": { - "QueueAutorizationRuleGet": { "$ref": "../examples/Queues/SBQueueAutorizationRuleGet.json" } + "QueueAutorizationRuleGet": { "$ref": "./examples/SBQueueAutorizationRuleGet.json" } }, "description": "Gets an authorization rule for a queue by rule name.", "externalDocs": { @@ -954,7 +954,7 @@ ], "operationId": "Queues_ListKeys", "x-ms-examples": { - "QueueAuthorizationRuleListKey": { "$ref": "../examples/Queues/SBQueueAuthorizationRuleListKey.json" } + "QueueAuthorizationRuleListKey": { "$ref": "./examples/SBQueueAuthorizationRuleListKey.json" } }, "description": "Primary and secondary connection strings to the queue.", "externalDocs": { @@ -997,7 +997,7 @@ ], "operationId": "Queues_RegenerateKeys", "x-ms-examples": { - "QueueAuthorizationRuleRegenrateKey": { "$ref": "../examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json" } + "QueueAuthorizationRuleRegenrateKey": { "$ref": "./examples/SBQueueAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the primary or secondary connection strings to the queue.", "externalDocs": { @@ -1049,7 +1049,7 @@ ], "operationId": "Topics_ListAll", "x-ms-examples": { - "TopicGet": { "$ref": "../examples/Topics/SBTopicListByNameSpace.json" } + "TopicGet": { "$ref": "./examples/SBTopicListByNameSpace.json" } }, "description": "Gets all the topics in a namespace.", "externalDocs": { @@ -1089,7 +1089,7 @@ ], "operationId": "Topics_CreateOrUpdate", "x-ms-examples": { - "TopicCreate": { "$ref": "../examples/Topics/SBTopicCreate.json" } + "TopicCreate": { "$ref": "./examples/SBTopicCreate.json" } }, "description": "Creates a topic in the specified namespace.", "externalDocs": { @@ -1136,7 +1136,7 @@ ], "operationId": "Topics_Delete", "x-ms-examples": { - "TopicDelete": { "$ref": "../examples/Topics/SBTopicDelete.json" } + "TopicDelete": { "$ref": "./examples/SBTopicDelete.json" } }, "description": "Deletes a topic from the specified namespace and resource group.", "externalDocs": { @@ -1174,7 +1174,7 @@ ], "operationId": "Topics_Get", "x-ms-examples": { - "TopicGet": { "$ref": "../examples/Topics/SBTopicGet.json" } + "TopicGet": { "$ref": "./examples/SBTopicGet.json" } }, "description": "Returns a description for the specified topic.", "externalDocs": { @@ -1214,7 +1214,7 @@ ], "operationId": "Topics_ListAuthorizationRules", "x-ms-examples": { - "TopicAutorizationRuleListAll": { "$ref": "../examples/Topics/SBTopicAutorizationRuleListAll.json" } + "TopicAutorizationRuleListAll": { "$ref": "./examples/SBTopicAutorizationRuleListAll.json" } }, "description": "Gets authorization rules for a topic.", "externalDocs": { @@ -1257,7 +1257,7 @@ ], "operationId": "Topics_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleCreate": { "$ref": "../examples/Topics/SBTopicAuthorizationRuleCreate.json" } + "TopicAuthorizationRuleCreate": { "$ref": "./examples/SBTopicAuthorizationRuleCreate.json" } }, "description": "Creates an authorizatio rule for the specified topic.", "externalDocs": { @@ -1307,7 +1307,7 @@ ], "operationId": "Topics_GetAuthorizationRule", "x-ms-examples": { - "TopicAutorizationRuleGet": { "$ref": "../examples/Topics/SBTopicAutorizationRuleGet.json" } + "TopicAutorizationRuleGet": { "$ref": "./examples/SBTopicAutorizationRuleGet.json" } }, "description": "Returns the specified authorization rule.", "externalDocs": { @@ -1348,7 +1348,7 @@ ], "operationId": "Topics_DeleteAuthorizationRule", "x-ms-examples": { - "TopicAutorizationRuleDelete": { "$ref": "../examples/Topics/SBTopicAutorizationRuleDelete.json" } + "TopicAutorizationRuleDelete": { "$ref": "./examples/SBTopicAutorizationRuleDelete.json" } }, "description": "Deletes a topic authorization rule.", "externalDocs": { @@ -1391,7 +1391,7 @@ ], "operationId": "Topics_ListKeys", "x-ms-examples": { - "TopicAuthorizationRuleListKey": { "$ref": "../examples/Topics/SBTopicAuthorizationRuleListKey.json" } + "TopicAuthorizationRuleListKey": { "$ref": "./examples/SBTopicAuthorizationRuleListKey.json" } }, "description": "Gets the primary and secondary connection strings for the topic.", "externalDocs": { @@ -1434,7 +1434,7 @@ ], "operationId": "Topics_RegenerateKeys", "x-ms-examples": { - "TopicAuthorizationRuleRegenrateKey": { "$ref": "../examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json" } + "TopicAuthorizationRuleRegenrateKey": { "$ref": "./examples/SBTopicAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates primary or secondary connection strings for the topic.", "externalDocs": { @@ -1486,7 +1486,7 @@ ], "operationId": "Subscriptions_ListAll", "x-ms-examples": { - "SubscriptionListByTopic": { "$ref": "../examples/Subscriptions/SBSubscriptionListByTopic.json" } + "SubscriptionListByTopic": { "$ref": "./examples/SBSubscriptionListByTopic.json" } }, "description": "List all the subscriptions under a specified topic.", "externalDocs": { @@ -1529,7 +1529,7 @@ ], "operationId": "Subscriptions_CreateOrUpdate", "x-ms-examples": { - "SubscriptionCreate": { "$ref": "../examples/Subscriptions/SBSubscriptionCreate.json" } + "SubscriptionCreate": { "$ref": "./examples/SBSubscriptionCreate.json" } }, "description": "Creates a topic subscription.", "externalDocs": { @@ -1579,7 +1579,7 @@ ], "operationId": "Subscriptions_Delete", "x-ms-examples": { - "SubscriptionDelete": { "$ref": "../examples/Subscriptions/SBSubscriptionDelete.json" } + "SubscriptionDelete": { "$ref": "./examples/SBSubscriptionDelete.json" } }, "description": "Deletes a subscription from the specified topic.", "externalDocs": { @@ -1620,7 +1620,7 @@ ], "operationId": "Subscriptions_Get", "x-ms-examples": { - "SubscriptionGet": { "$ref": "../examples/Subscriptions/SBSubscriptionGet.json" } + "SubscriptionGet": { "$ref": "./examples/SBSubscriptionGet.json" } }, "description": "Returns a subscription description for the specified topic.", "externalDocs": { @@ -2669,3 +2669,4 @@ } } } + diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAuthorizationRuleUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceCheckNameAvailability.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceCreate.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceDelete.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceGet.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceList.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceList.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceList.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceList.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceListByResourceGroup.json diff --git a/arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/NameSpaces/SBNameSpaceUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleCreate.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleListKey.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAuthorizationRuleUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAutorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAutorizationRuleDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAutorizationRuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAutorizationRuleDelete.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAutorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAutorizationRuleGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAutorizationRuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAutorizationRuleGet.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueAutorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAutorizationRuleListAll.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueAutorizationRuleListAll.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueAutorizationRuleListAll.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueCreate.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueDelete.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueGet.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueListByNameSpace.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueListByNameSpace.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueListByNameSpace.json diff --git a/arm-servicebus/2017-04-01/examples/Queues/SBQueueUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Queues/SBQueueUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Queues/SBQueueUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/Rules/RuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Rules/RuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleCreate.json diff --git a/arm-servicebus/2017-04-01/examples/Rules/RuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Rules/RuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleDelete.json diff --git a/arm-servicebus/2017-04-01/examples/Rules/RuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Rules/RuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleGet.json diff --git a/arm-servicebus/2017-04-01/examples/Rules/RuleListBySubscription.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleListBySubscription.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Rules/RuleListBySubscription.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleListBySubscription.json diff --git a/arm-servicebus/2017-04-01/examples/Rules/RuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Rules/RuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Rules/RuleUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/SBOperations_List.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/SBOperations_List.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/SBOperations_List.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/SBOperations_List.json diff --git a/arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionCreate.json diff --git a/arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionDelete.json diff --git a/arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionGet.json diff --git a/arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionListByTopic.json diff --git a/arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Subscriptions/SBSubscriptionUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleCreate.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleListKey.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAuthorizationRuleUpdate.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAutorizationRuleDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAutorizationRuleDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAutorizationRuleDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAutorizationRuleDelete.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAutorizationRuleGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAutorizationRuleGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAutorizationRuleGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAutorizationRuleGet.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicAutorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAutorizationRuleListAll.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicAutorizationRuleListAll.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicAutorizationRuleListAll.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicCreate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicCreate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicCreate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicCreate.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicDelete.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicDelete.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicDelete.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicDelete.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicGet.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicGet.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicGet.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicGet.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicListByNameSpace.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicListByNameSpace.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicListByNameSpace.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicListByNameSpace.json diff --git a/arm-servicebus/2017-04-01/examples/Topics/SBTopicUpdate.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicUpdate.json similarity index 100% rename from arm-servicebus/2017-04-01/examples/Topics/SBTopicUpdate.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/examples/Topics/SBTopicUpdate.json diff --git a/arm-servicebus/2017-04-01/swagger/servicebus.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/servicebus.json similarity index 95% rename from arm-servicebus/2017-04-01/swagger/servicebus.json rename to specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/servicebus.json index 5a3feb32b98f..2d507d9cb457 100644 --- a/arm-servicebus/2017-04-01/swagger/servicebus.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/2017-04-01/servicebus.json @@ -41,7 +41,7 @@ ], "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "../examples/SBOperations_List.json" } + "OperationsList": { "$ref": "./examples/SBOperations_List.json" } }, "description": "Lists all of the available ServiceBus REST API operations.", "parameters": [ @@ -75,7 +75,7 @@ ], "operationId": "Namespaces_CheckNameAvailability", "x-ms-examples": { - "NameSpaceCheckNameAvailability": { "$ref": "../examples/NameSpaces/SBNameSpaceCheckNameAvailability.json" } + "NameSpaceCheckNameAvailability": { "$ref": "./examples/NameSpaces/SBNameSpaceCheckNameAvailability.json" } }, "description": "Check the give namespace name availability.", "parameters": [ @@ -118,7 +118,7 @@ ], "operationId": "Namespaces_List", "x-ms-examples": { - "NameSpaceList": { "$ref": "../examples/NameSpaces/SBNameSpaceList.json" } + "NameSpaceList": { "$ref": "./examples/NameSpaces/SBNameSpaceList.json" } }, "description": "Gets all the available namespaces within the subscription, irrespective of the resource groups.", "externalDocs": { @@ -158,7 +158,7 @@ ], "operationId": "Namespaces_ListByResourceGroup", "x-ms-examples": { - "NameSpaceListByResourceGroup": { "$ref": "../examples/NameSpaces/SBNameSpaceListByResourceGroup.json" } + "NameSpaceListByResourceGroup": { "$ref": "./examples/NameSpaces/SBNameSpaceListByResourceGroup.json" } }, "description": "Gets the available namespaces within a resource group.", "externalDocs": { @@ -201,7 +201,7 @@ ], "operationId": "Namespaces_CreateOrUpdate", "x-ms-examples": { - "NameSpaceCreate": { "$ref": "../examples/NameSpaces/SBNameSpaceCreate.json" } + "NameSpaceCreate": { "$ref": "./examples/NameSpaces/SBNameSpaceCreate.json" } }, "description": "Creates or updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "externalDocs": { @@ -265,7 +265,7 @@ ], "operationId": "Namespaces_Delete", "x-ms-examples": { - "NameSpaceDelete": { "$ref": "../examples/NameSpaces/SBNameSpaceDelete.json" } + "NameSpaceDelete": { "$ref": "./examples/NameSpaces/SBNameSpaceDelete.json" } }, "description": "Deletes an existing namespace. This operation also removes all associated resources under the namespace.", "externalDocs": { @@ -310,7 +310,7 @@ ], "operationId": "Namespaces_Get", "x-ms-examples": { - "NameSpaceGet": { "$ref": "../examples/NameSpaces/SBNameSpaceGet.json" } + "NameSpaceGet": { "$ref": "./examples/NameSpaces/SBNameSpaceGet.json" } }, "description": "Gets a description for the specified namespace.", "externalDocs": { @@ -351,7 +351,7 @@ ], "operationId": "Namespaces_Update", "x-ms-examples": { - "NameSpaceUpdate": { "$ref": "../examples/NameSpaces/SBNameSpaceUpdate.json" } + "NameSpaceUpdate": { "$ref": "./examples/NameSpaces/SBNameSpaceUpdate.json" } }, "description": "Updates a service namespace. Once created, this namespace's resource manifest is immutable. This operation is idempotent.", "parameters": [ @@ -409,7 +409,7 @@ ], "operationId": "Namespaces_ListAuthorizationRules", "x-ms-examples": { - "NameSpaceAutorizationRuleListAll": { "$ref": "../examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json" } + "NameSpaceAutorizationRuleListAll": { "$ref": "./examples/NameSpaces/SBNameSpaceAutorizationRuleListAll.json" } }, "description": "Gets the authorization rules for a namespace.", "externalDocs": { @@ -455,7 +455,7 @@ ], "operationId": "Namespaces_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "NameSpaceAuthorizationRuleCreate": { "$ref": "../examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json" } + "NameSpaceAuthorizationRuleCreate": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleCreate.json" } }, "description": "Creates or updates an authorization rule for a namespace.", "externalDocs": { @@ -508,7 +508,7 @@ ], "operationId": "Namespaces_DeleteAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleDelete": { "$ref": "../examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json" } + "NameSpaceAutorizationRuleDelete": { "$ref": "./examples/NameSpaces/SBNameSpaceAutorizationRuleDelete.json" } }, "description": "Deletes a namespace authorization rule.", "externalDocs": { @@ -552,7 +552,7 @@ ], "operationId": "Namespaces_GetAuthorizationRule", "x-ms-examples": { - "NameSpaceAutorizationRuleGet": { "$ref": "../examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json" } + "NameSpaceAutorizationRuleGet": { "$ref": "./examples/NameSpaces/SBNameSpaceAutorizationRuleGet.json" } }, "description": "Gets an authorization rule for a namespace by rule name.", "externalDocs": { @@ -598,7 +598,7 @@ ], "operationId": "Namespaces_ListKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleListKey": { "$ref": "../examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json" } + "NameSpaceAuthorizationRuleListKey": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleListKey.json" } }, "description": "Gets the primary and secondary connection strings for the namespace.", "externalDocs": { @@ -644,7 +644,7 @@ ], "operationId": "Namespaces_RegenerateKeys", "x-ms-examples": { - "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "../examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json" } + "NameSpaceAuthorizationRuleRegenrateKey": { "$ref": "./examples/NameSpaces/SBNameSpaceAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the primary or secondary connection strings for the namespace.", "externalDocs": { @@ -699,7 +699,7 @@ ], "operationId": "Queues_ListByNamespace", "x-ms-examples": { - "QueueListByNameSpace": { "$ref": "../examples/Queues/SBQueueListByNameSpace.json" } + "QueueListByNameSpace": { "$ref": "./examples/Queues/SBQueueListByNameSpace.json" } }, "description": "Gets the queues within a namespace.", "externalDocs": { @@ -745,7 +745,7 @@ ], "operationId": "Queues_CreateOrUpdate", "x-ms-examples": { - "QueueCreate": { "$ref": "../examples/Queues/SBQueueCreate.json" } + "QueueCreate": { "$ref": "./examples/Queues/SBQueueCreate.json" } }, "description": "Creates or updates a Service Bus queue. This operation is idempotent.", "externalDocs": { @@ -798,7 +798,7 @@ ], "operationId": "Queues_Delete", "x-ms-examples": { - "QueueDelete": { "$ref": "../examples/Queues/SBQueueDelete.json" } + "QueueDelete": { "$ref": "./examples/Queues/SBQueueDelete.json" } }, "description": "Deletes a queue from the specified namespace in a resource group.", "externalDocs": { @@ -842,7 +842,7 @@ ], "operationId": "Queues_Get", "x-ms-examples": { - "QueueGet": { "$ref": "../examples/Queues/SBQueueGet.json" } + "QueueGet": { "$ref": "./examples/Queues/SBQueueGet.json" } }, "description": "Returns a description for the specified queue.", "externalDocs": { @@ -888,7 +888,7 @@ ], "operationId": "Queues_ListAuthorizationRules", "x-ms-examples": { - "QueueAutorizationRuleListAll": { "$ref": "../examples/Queues/SBQueueAutorizationRuleListAll.json" } + "QueueAutorizationRuleListAll": { "$ref": "./examples/Queues/SBQueueAutorizationRuleListAll.json" } }, "description": "Gets all authorization rules for a queue.", "externalDocs": { @@ -937,7 +937,7 @@ ], "operationId": "Queues_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "QueueAuthorizationRuleCreate": { "$ref": "../examples/Queues/SBQueueAuthorizationRuleCreate.json" } + "QueueAuthorizationRuleCreate": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleCreate.json" } }, "description": "Creates an authorization rule for a queue.", "parameters": [ @@ -990,7 +990,7 @@ ], "operationId": "Queues_DeleteAuthorizationRule", "x-ms-examples": { - "QueueAutorizationRuleDelete": { "$ref": "../examples/Queues/SBQueueAutorizationRuleDelete.json" } + "QueueAutorizationRuleDelete": { "$ref": "./examples/Queues/SBQueueAutorizationRuleDelete.json" } }, "description": "Deletes a queue authorization rule.", "externalDocs": { @@ -1037,7 +1037,7 @@ ], "operationId": "Queues_GetAuthorizationRule", "x-ms-examples": { - "QueueAutorizationRuleGet": { "$ref": "../examples/Queues/SBQueueAutorizationRuleGet.json" } + "QueueAutorizationRuleGet": { "$ref": "./examples/Queues/SBQueueAutorizationRuleGet.json" } }, "description": "Gets an authorization rule for a queue by rule name.", "externalDocs": { @@ -1086,7 +1086,7 @@ ], "operationId": "Queues_ListKeys", "x-ms-examples": { - "QueueAuthorizationRuleListKey": { "$ref": "../examples/Queues/SBQueueAuthorizationRuleListKey.json" } + "QueueAuthorizationRuleListKey": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleListKey.json" } }, "description": "Primary and secondary connection strings to the queue.", "externalDocs": { @@ -1135,7 +1135,7 @@ ], "operationId": "Queues_RegenerateKeys", "x-ms-examples": { - "QueueAuthorizationRuleRegenrateKey": { "$ref": "../examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json" } + "QueueAuthorizationRuleRegenrateKey": { "$ref": "./examples/Queues/SBQueueAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates the primary or secondary connection strings to the queue.", "externalDocs": { @@ -1193,7 +1193,7 @@ ], "operationId": "Topics_ListByNamespace", "x-ms-examples": { - "TopicGet": { "$ref": "../examples/Topics/SBTopicListByNameSpace.json" } + "TopicGet": { "$ref": "./examples/Topics/SBTopicListByNameSpace.json" } }, "description": "Gets all the topics in a namespace.", "externalDocs": { @@ -1239,7 +1239,7 @@ ], "operationId": "Topics_CreateOrUpdate", "x-ms-examples": { - "TopicCreate": { "$ref": "../examples/Topics/SBTopicCreate.json" } + "TopicCreate": { "$ref": "./examples/Topics/SBTopicCreate.json" } }, "description": "Creates a topic in the specified namespace.", "externalDocs": { @@ -1292,7 +1292,7 @@ ], "operationId": "Topics_Delete", "x-ms-examples": { - "TopicDelete": { "$ref": "../examples/Topics/SBTopicDelete.json" } + "TopicDelete": { "$ref": "./examples/Topics/SBTopicDelete.json" } }, "description": "Deletes a topic from the specified namespace and resource group.", "externalDocs": { @@ -1336,7 +1336,7 @@ ], "operationId": "Topics_Get", "x-ms-examples": { - "TopicGet": { "$ref": "../examples/Topics/SBTopicGet.json" } + "TopicGet": { "$ref": "./examples/Topics/SBTopicGet.json" } }, "description": "Returns a description for the specified topic.", "externalDocs": { @@ -1382,7 +1382,7 @@ ], "operationId": "Topics_ListAuthorizationRules", "x-ms-examples": { - "TopicAutorizationRuleListAll": { "$ref": "../examples/Topics/SBTopicAutorizationRuleListAll.json" } + "TopicAutorizationRuleListAll": { "$ref": "./examples/Topics/SBTopicAutorizationRuleListAll.json" } }, "description": "Gets authorization rules for a topic.", "externalDocs": { @@ -1431,7 +1431,7 @@ ], "operationId": "Topics_CreateOrUpdateAuthorizationRule", "x-ms-examples": { - "TopicAuthorizationRuleCreate": { "$ref": "../examples/Topics/SBTopicAuthorizationRuleCreate.json" } + "TopicAuthorizationRuleCreate": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleCreate.json" } }, "description": "Creates an authorizatio rule for the specified topic.", "externalDocs": { @@ -1487,7 +1487,7 @@ ], "operationId": "Topics_GetAuthorizationRule", "x-ms-examples": { - "TopicAutorizationRuleGet": { "$ref": "../examples/Topics/SBTopicAutorizationRuleGet.json" } + "TopicAutorizationRuleGet": { "$ref": "./examples/Topics/SBTopicAutorizationRuleGet.json" } }, "description": "Returns the specified authorization rule.", "externalDocs": { @@ -1534,7 +1534,7 @@ ], "operationId": "Topics_DeleteAuthorizationRule", "x-ms-examples": { - "TopicAutorizationRuleDelete": { "$ref": "../examples/Topics/SBTopicAutorizationRuleDelete.json" } + "TopicAutorizationRuleDelete": { "$ref": "./examples/Topics/SBTopicAutorizationRuleDelete.json" } }, "description": "Deletes a topic authorization rule.", "externalDocs": { @@ -1583,7 +1583,7 @@ ], "operationId": "Topics_ListKeys", "x-ms-examples": { - "TopicAuthorizationRuleListKey": { "$ref": "../examples/Topics/SBTopicAuthorizationRuleListKey.json" } + "TopicAuthorizationRuleListKey": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleListKey.json" } }, "description": "Gets the primary and secondary connection strings for the topic.", "externalDocs": { @@ -1632,7 +1632,7 @@ ], "operationId": "Topics_RegenerateKeys", "x-ms-examples": { - "TopicAuthorizationRuleRegenrateKey": { "$ref": "../examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json" } + "TopicAuthorizationRuleRegenrateKey": { "$ref": "./examples/Topics/SBTopicAuthorizationRuleRegenrateKey.json" } }, "description": "Regenerates primary or secondary connection strings for the topic.", "externalDocs": { @@ -1690,7 +1690,7 @@ ], "operationId": "Subscriptions_ListByTopic", "x-ms-examples": { - "SubscriptionListByTopic": { "$ref": "../examples/Subscriptions/SBSubscriptionListByTopic.json" } + "SubscriptionListByTopic": { "$ref": "./examples/Subscriptions/SBSubscriptionListByTopic.json" } }, "description": "List all the subscriptions under a specified topic.", "externalDocs": { @@ -1739,7 +1739,7 @@ ], "operationId": "Subscriptions_CreateOrUpdate", "x-ms-examples": { - "SubscriptionCreate": { "$ref": "../examples/Subscriptions/SBSubscriptionCreate.json" } + "SubscriptionCreate": { "$ref": "./examples/Subscriptions/SBSubscriptionCreate.json" } }, "description": "Creates a topic subscription.", "externalDocs": { @@ -1795,7 +1795,7 @@ ], "operationId": "Subscriptions_Delete", "x-ms-examples": { - "SubscriptionDelete": { "$ref": "../examples/Subscriptions/SBSubscriptionDelete.json" } + "SubscriptionDelete": { "$ref": "./examples/Subscriptions/SBSubscriptionDelete.json" } }, "description": "Deletes a subscription from the specified topic.", "externalDocs": { @@ -1842,7 +1842,7 @@ ], "operationId": "Subscriptions_Get", "x-ms-examples": { - "SubscriptionGet": { "$ref": "../examples/Subscriptions/SBSubscriptionGet.json" } + "SubscriptionGet": { "$ref": "./examples/Subscriptions/SBSubscriptionGet.json" } }, "description": "Returns a subscription description for the specified topic.", "externalDocs": { @@ -1891,7 +1891,7 @@ ], "operationId": "Rules_ListBySubscriptions", "x-ms-examples": { - "RulesListBySubscriptions": { "$ref": "../examples/Rules/RuleListBySubscription.json" } + "RulesListBySubscriptions": { "$ref": "./examples/Rules/RuleListBySubscription.json" } }, "description": "List all the rules within given topic-subscription", "parameters": [ @@ -1940,7 +1940,7 @@ ], "operationId": "Rules_CreateOrUpdate", "x-ms-examples": { - "RulesCreateOrUpdate": { "$ref": "../examples/Rules/RuleUpdate.json" } + "RulesCreateOrUpdate": { "$ref": "./examples/Rules/RuleUpdate.json" } }, "description": "Creates a new rule and updates an existing rule", "parameters": [ @@ -1996,7 +1996,7 @@ ], "operationId": "Rules_Delete", "x-ms-examples": { - "RulesDelete": { "$ref": "../examples/Rules/RuleDelete.json" } + "RulesDelete": { "$ref": "./examples/Rules/RuleDelete.json" } }, "description": "Deletes an existing rule.", "parameters": [ @@ -2043,7 +2043,7 @@ ], "operationId": "Rules_Get", "x-ms-examples": { - "RulesGet": { "$ref": "../examples/Rules/RuleGet.json" } + "RulesGet": { "$ref": "./examples/Rules/RuleGet.json" } }, "description": "Retrieves the description for the specified rule.", "externalDocs": { diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md new file mode 100644 index 000000000000..88c311af8b2a --- /dev/null +++ b/specification/servicebus/resource-manager/readme.md @@ -0,0 +1,63 @@ +# ServiceBus + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ServiceBus. + + + +--- +## Getting Started +To build the SDK for ServiceBus, 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 ServiceBus API. + +``` yaml +openapi-type: arm +tag: package-2017-04 +``` + + +### Tag: package-2017-04 + +These settings apply only when `--tag=package-2017-04` is specified on the command line. + +``` yaml $(tag) == 'package-2017-04' +input-file: +- Microsoft.ServiceBus/2017-04-01/servicebus.json +``` + + +### Tag: package-2015-08 + +These settings apply only when `--tag=package-2015-08` is specified on the command line. + +``` yaml $(tag) == 'package-2015-08' +input-file: +- Microsoft.ServiceBus/2015-08-01/servicebus.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/servicefabric/2016-01-28/swagger/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/1.0.0/servicefabric.json similarity index 100% rename from servicefabric/2016-01-28/swagger/servicefabric.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/1.0.0/servicefabric.json diff --git a/servicefabric/5.6/examples/CreateApplication-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/CreateApplication-1.json similarity index 100% rename from servicefabric/5.6/examples/CreateApplication-1.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/CreateApplication-1.json diff --git a/servicefabric/5.6/examples/GetApplicationTypeInfoList-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetApplicationTypeInfoList-1.json similarity index 100% rename from servicefabric/5.6/examples/GetApplicationTypeInfoList-1.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetApplicationTypeInfoList-1.json diff --git a/servicefabric/5.6/examples/GetApplicationTypeInfoList-2.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetApplicationTypeInfoList-2.json similarity index 100% rename from servicefabric/5.6/examples/GetApplicationTypeInfoList-2.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetApplicationTypeInfoList-2.json diff --git a/servicefabric/5.6/examples/GetApplicationTypeInfoList-3.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetApplicationTypeInfoList-3.json similarity index 100% rename from servicefabric/5.6/examples/GetApplicationTypeInfoList-3.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetApplicationTypeInfoList-3.json diff --git a/servicefabric/5.6/examples/GetChaosReport.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetChaosReport.json similarity index 100% rename from servicefabric/5.6/examples/GetChaosReport.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetChaosReport.json diff --git a/servicefabric/5.6/examples/GetDataLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetDataLossProgress-Running.json similarity index 100% rename from servicefabric/5.6/examples/GetDataLossProgress-Running.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetDataLossProgress-Running.json diff --git a/servicefabric/5.6/examples/GetDataLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetDataLossProgress.json similarity index 100% rename from servicefabric/5.6/examples/GetDataLossProgress.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetDataLossProgress.json diff --git a/servicefabric/5.6/examples/GetFaultOperationList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetFaultOperationList.json similarity index 100% rename from servicefabric/5.6/examples/GetFaultOperationList.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetFaultOperationList.json diff --git a/servicefabric/5.6/examples/GetNodeInfoList.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetNodeInfoList.json similarity index 100% rename from servicefabric/5.6/examples/GetNodeInfoList.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetNodeInfoList.json diff --git a/servicefabric/5.6/examples/GetNodeTransitionProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetNodeTransitionProgress-Running.json similarity index 100% rename from servicefabric/5.6/examples/GetNodeTransitionProgress-Running.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetNodeTransitionProgress-Running.json diff --git a/servicefabric/5.6/examples/GetNodeTransitionProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetNodeTransitionProgress.json similarity index 100% rename from servicefabric/5.6/examples/GetNodeTransitionProgress.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetNodeTransitionProgress.json diff --git a/servicefabric/5.6/examples/GetPartitionRestartProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetPartitionRestartProgress.json similarity index 100% rename from servicefabric/5.6/examples/GetPartitionRestartProgress.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetPartitionRestartProgress.json diff --git a/servicefabric/5.6/examples/GetQuorumLossProgress-Running.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetQuorumLossProgress-Running.json similarity index 100% rename from servicefabric/5.6/examples/GetQuorumLossProgress-Running.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetQuorumLossProgress-Running.json diff --git a/servicefabric/5.6/examples/GetQuorumLossProgress.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetQuorumLossProgress.json similarity index 100% rename from servicefabric/5.6/examples/GetQuorumLossProgress.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/examples/GetQuorumLossProgress.json diff --git a/servicefabric/5.6/swagger/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/servicefabric.json similarity index 99% rename from servicefabric/5.6/swagger/servicefabric.json rename to specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/servicefabric.json index 88e8ad0d2c84..c50cbc39d1ed 100644 --- a/servicefabric/5.6/swagger/servicefabric.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/5.6/servicefabric.json @@ -370,7 +370,7 @@ "operationId": "GetNodeInfoList", "x-ms-examples": { "Get information about all nodes.": { - "$ref": "../examples/GetNodeInfoList.json" + "$ref": "./examples/GetNodeInfoList.json" } }, "parameters": [ @@ -819,13 +819,13 @@ ], "x-ms-examples": { "Limit maximum results": { - "$ref": "../examples/GetApplicationTypeInfoList-1.json" + "$ref": "./examples/GetApplicationTypeInfoList-1.json" }, "Page using continuation token": { - "$ref": "../examples/GetApplicationTypeInfoList-2.json" + "$ref": "./examples/GetApplicationTypeInfoList-2.json" }, "Exclude application parameters from the result": { - "$ref": "../examples/GetApplicationTypeInfoList-3.json" + "$ref": "./examples/GetApplicationTypeInfoList-3.json" } }, "tags": [ @@ -1138,7 +1138,7 @@ "operationId": "CreateApplication", "x-ms-examples": { "Create application.": { - "$ref": "../examples/CreateApplication-1.json" + "$ref": "./examples/CreateApplication-1.json" } }, "parameters": [ @@ -3601,7 +3601,7 @@ "operationId": "GetChaosReport", "x-ms-examples": { "Get Chaos report given a time range": { - "$ref": "../examples/GetChaosReport.json" + "$ref": "./examples/GetChaosReport.json" } }, "parameters": [ @@ -3923,10 +3923,10 @@ "operationId": "GetDataLossProgress", "x-ms-examples": { "Gets information about a partition data loss operation. In this case the operation has a State of Completed": { - "$ref": "../examples/GetDataLossProgress.json" + "$ref": "./examples/GetDataLossProgress.json" }, "Get information about a partition data loss operation. In this case the operation is a State of Running": { - "$ref": "../examples/GetDataLossProgress-Running.json" + "$ref": "./examples/GetDataLossProgress-Running.json" } }, "parameters": [ @@ -4016,10 +4016,10 @@ "operationId": "GetQuorumLossProgress", "x-ms-examples": { "Gets information about a completed quorum loss operation": { - "$ref": "../examples/GetQuorumLossProgress.json" + "$ref": "./examples/GetQuorumLossProgress.json" }, "Gets information about a running quorum operation operation": { - "$ref": "../examples/GetQuorumLossProgress-Running.json" + "$ref": "./examples/GetQuorumLossProgress-Running.json" } }, "parameters": [ @@ -4106,7 +4106,7 @@ "operationId": "GetPartitionRestartProgress", "x-ms-examples": { "Get information a completed PartitionRestart operation": { - "$ref": "../examples/GetPartitionRestartProgress.json" + "$ref": "./examples/GetPartitionRestartProgress.json" } }, "parameters": [ @@ -4196,10 +4196,10 @@ "operationId": "GetNodeTransitionProgress", "x-ms-examples": { "Gets information about a completed NodeTransition operation": { - "$ref": "../examples/GetNodeTransitionProgress.json" + "$ref": "./examples/GetNodeTransitionProgress.json" }, "Gets information about a running NodeTransition operation": { - "$ref": "../examples/GetNodeTransitionProgress-Running.json" + "$ref": "./examples/GetNodeTransitionProgress-Running.json" } }, "parameters": [ @@ -4242,7 +4242,7 @@ "description": "Gets the a list of user-induced fault operations filtered by provided input.", "x-ms-examples": { "Gets information on fault operations": { - "$ref": "../examples/GetFaultOperationList.json" + "$ref": "./examples/GetFaultOperationList.json" } }, "tags": [ @@ -11238,4 +11238,4 @@ "description": "The server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds." } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/data-plane/README.md b/specification/servicefabric/data-plane/README.md new file mode 100644 index 000000000000..0d708c04d9e2 --- /dev/null +++ b/specification/servicefabric/data-plane/README.md @@ -0,0 +1,63 @@ +# ServiceFabricClient + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ServiceFabricClient. + + + +--- +## Getting Started +To build the SDK for ServiceFabricClient, 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 ServiceFabricClient API. + +``` yaml +openapi-type: data-plane +tag: 1.0.0 +``` + + +### Tag: 1.0.0 + +These settings apply only when `--tag=1.0.0` is specified on the command line. + +``` yaml $(tag) == '1.0.0' +input-file: +- Microsoft.ServiceFabric/1.0.0/servicefabric.json +``` + + +### Tag: 5.6 + +These settings apply only when `--tag=5.6` is specified on the command line. + +``` yaml $(tag) == '1.0.0' +input-file: +- Microsoft.ServiceFabric/5.6/servicefabric.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-servicefabric/2016-09-01/examples/ClusterDeleteOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterDeleteOperation_example.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterDeleteOperation_example.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterDeleteOperation_example.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterGetOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterGetOperation_example.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterGetOperation_example.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterGetOperation_example.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterListByResourceGroupOperation_exmaple.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterListByResourceGroupOperation_exmaple.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterListByResourceGroupOperation_exmaple.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterListByResourceGroupOperation_exmaple.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterListOperation_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterListOperation_example.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterListOperation_example.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterListOperation_example.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterPatchOperation_exmaple.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterPatchOperation_exmaple.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterPatchOperation_exmaple.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterPatchOperation_exmaple.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterPutOperation_exmaple_max.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterPutOperation_exmaple_max.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterPutOperation_exmaple_max.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterPutOperation_exmaple_max.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterPutOperation_exmaple_min.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterPutOperation_exmaple_min.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterPutOperation_exmaple_min.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterPutOperation_exmaple_min.json diff --git a/arm-servicefabric/2016-09-01/examples/ClusterVersionsList_example.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterVersionsList_example.json similarity index 100% rename from arm-servicefabric/2016-09-01/examples/ClusterVersionsList_example.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/examples/ClusterVersionsList_example.json diff --git a/arm-servicefabric/2016-09-01/swagger/servicefabric.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/servicefabric.json similarity index 98% rename from arm-servicefabric/2016-09-01/swagger/servicefabric.json rename to specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/servicefabric.json index db0c15261465..fe2128f62fec 100644 --- a/arm-servicefabric/2016-09-01/swagger/servicefabric.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/2016-09-01/servicefabric.json @@ -43,7 +43,7 @@ "description": "Update cluster configuration", "x-ms-examples": { "Patch a cluster": { - "$ref": "../examples/ClusterPatchOperation_exmaple.json" + "$ref": "./examples/ClusterPatchOperation_exmaple.json" } }, "produces": [ @@ -101,7 +101,7 @@ "description": "Get cluster resource", "x-ms-examples": { "Get a cluster": { - "$ref": "../examples/ClusterGetOperation_example.json" + "$ref": "./examples/ClusterGetOperation_example.json" } }, "produces": [ @@ -145,10 +145,10 @@ "description": "Create cluster resource", "x-ms-examples": { "Put a cluster with min parameter": { - "$ref": "../examples/ClusterPutOperation_exmaple_min.json" + "$ref": "./examples/ClusterPutOperation_exmaple_min.json" }, "Put a cluster with max parameter": { - "$ref": "../examples/ClusterPutOperation_exmaple_max.json" + "$ref": "./examples/ClusterPutOperation_exmaple_max.json" } }, "produces": [ @@ -206,7 +206,7 @@ "description": "Delete cluster resource", "x-ms-examples": { "Delete a cluster": { - "$ref": "../examples/ClusterDeleteOperation_example.json" + "$ref": "./examples/ClusterDeleteOperation_example.json" } }, "parameters": [ @@ -248,7 +248,7 @@ "description": "List cluster resource by resource group", "x-ms-examples": { "List cluster by resource group": { - "$ref": "../examples/ClusterListByResourceGroupOperation_exmaple.json" + "$ref": "./examples/ClusterListByResourceGroupOperation_exmaple.json" } }, "produces": [ @@ -287,7 +287,7 @@ "description": "List cluster resource", "x-ms-examples": { "List clusters": { - "$ref": "../examples/ClusterListOperation_example.json" + "$ref": "./examples/ClusterListOperation_example.json" } }, "produces": [ @@ -323,7 +323,7 @@ "description": "List cluster code versions by location", "x-ms-examples": { "List clusters": { - "$ref": "../examples/ClusterVersionsList_example.json" + "$ref": "./examples/ClusterVersionsList_example.json" } }, "produces": [ @@ -1215,4 +1215,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md new file mode 100644 index 000000000000..b78ae2aea483 --- /dev/null +++ b/specification/servicefabric/resource-manager/readme.md @@ -0,0 +1,53 @@ +# ServiceFabricClient + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for ServiceFabricClient. + + + +--- +## Getting Started +To build the SDK for ServiceFabricClient, 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 ServiceFabricClient API. + +``` yaml +openapi-type: arm +tag: package-2016-09 +``` + + +### Tag: package-2016-09 + +These settings apply only when `--tag=package-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' +input-file: +- Microsoft.ServiceFabric/2016-09-01/servicefabric.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-sql/2014-04-01/swagger/advisors.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/advisors.json similarity index 98% rename from arm-sql/2014-04-01/swagger/advisors.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/advisors.json index e7ba09b60c0c..190c822e0ff5 100644 --- a/arm-sql/2014-04-01/swagger/advisors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/advisors.json @@ -50,7 +50,7 @@ }, "x-ms-examples": { "List of database advisors": { - "$ref": "../examples/DatabaseAdvisorList.json" + "$ref": "./examples/DatabaseAdvisorList.json" } } } @@ -92,7 +92,7 @@ }, "x-ms-examples": { "Get database advisor": { - "$ref": "../examples/DatabaseAdvisorGet.json" + "$ref": "./examples/DatabaseAdvisorGet.json" } } }, @@ -141,7 +141,7 @@ }, "x-ms-examples": { "Update database advisor": { - "$ref": "../examples/DatabaseAdvisorCreateOrUpdate.json" + "$ref": "./examples/DatabaseAdvisorCreateOrUpdate.json" } } } diff --git a/arm-sql/2014-04-01/swagger/backupLongTermRetentionPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backupLongTermRetentionPolicies.json similarity index 98% rename from arm-sql/2014-04-01/swagger/backupLongTermRetentionPolicies.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backupLongTermRetentionPolicies.json index 01b2bc600102..d76cdaa3ae5d 100644 --- a/arm-sql/2014-04-01/swagger/backupLongTermRetentionPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backupLongTermRetentionPolicies.json @@ -25,7 +25,7 @@ "description": "Returns a database backup long term retention policy", "x-ms-examples": { "Get backup long term retention policy": { - "$ref": "../examples/BackupLongTermRetentionPolicyGet.json" + "$ref": "./examples/BackupLongTermRetentionPolicyGet.json" } }, "parameters": [ @@ -80,7 +80,7 @@ "description": "Creates or updates a database backup long term retention policy", "x-ms-examples": { "Update backup long term retention policy": { - "$ref": "../examples/BackupLongTermRetentionPolicyUpdate.json" + "$ref": "./examples/BackupLongTermRetentionPolicyUpdate.json" } }, "parameters": [ diff --git a/arm-sql/2014-04-01/swagger/backupLongTermRetentionVaults.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backupLongTermRetentionVaults.json similarity index 98% rename from arm-sql/2014-04-01/swagger/backupLongTermRetentionVaults.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backupLongTermRetentionVaults.json index 21f810d658a9..bb017cb4fee2 100644 --- a/arm-sql/2014-04-01/swagger/backupLongTermRetentionVaults.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backupLongTermRetentionVaults.json @@ -25,7 +25,7 @@ "description": "Gets a server backup long term retention vault", "x-ms-examples": { "Get backup long term retention vault": { - "$ref": "../examples/BackupLongTermRetentionVaultGet.json" + "$ref": "./examples/BackupLongTermRetentionVaultGet.json" } }, "parameters": [ @@ -73,7 +73,7 @@ "description": "Updates a server backup long term retention vault", "x-ms-examples": { "Update backup long term retention vault": { - "$ref": "../examples/BackupLongTermRetentionVaultUpdate.json" + "$ref": "./examples/BackupLongTermRetentionVaultUpdate.json" } }, "parameters": [ diff --git a/arm-sql/2014-04-01/swagger/backups.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backups.json similarity index 98% rename from arm-sql/2014-04-01/swagger/backups.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backups.json index 6536c1c25a26..123ae3a0632b 100644 --- a/arm-sql/2014-04-01/swagger/backups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/backups.json @@ -66,7 +66,7 @@ "description": "Gets a recoverable database, which is a resource representing a database's geo backup", "x-ms-examples": { "Get a recoverable database": { - "$ref": "../examples/RecoverableDatabaseGet.json" + "$ref": "./examples/RecoverableDatabaseGet.json" } }, "parameters": [ @@ -109,7 +109,7 @@ "description": "Gets a list of recoverable databases", "x-ms-examples": { "Get list of restorable dropped databases": { - "$ref": "../examples/RecoverableDatabaseList.json" + "$ref": "./examples/RecoverableDatabaseList.json" } }, "parameters": [ @@ -148,7 +148,7 @@ "description": "Gets a deleted database that can be restored", "x-ms-examples": { "Get a restorable dropped database": { - "$ref": "../examples/RestorableDroppedDatabaseGet.json" + "$ref": "./examples/RestorableDroppedDatabaseGet.json" } }, "parameters": [ @@ -191,7 +191,7 @@ "description": "Gets a list of deleted databases that can be restored", "x-ms-examples": { "Get list of restorable dropped databases": { - "$ref": "../examples/RestorableDroppedDatabaseList.json" + "$ref": "./examples/RestorableDroppedDatabaseList.json" } }, "parameters": [ diff --git a/arm-sql/2014-04-01/swagger/capabilities.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/capabilities.json similarity index 99% rename from arm-sql/2014-04-01/swagger/capabilities.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/capabilities.json index 7492708dcd91..20f48722ab58 100644 --- a/arm-sql/2014-04-01/swagger/capabilities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/capabilities.json @@ -47,7 +47,7 @@ } }, "x-ms-examples": { - "Get location capabilities": { "$ref": "../examples/CapabilitiesList.json" } + "Get location capabilities": { "$ref": "./examples/CapabilitiesList.json" } } } } @@ -401,3 +401,4 @@ } } } + diff --git a/arm-sql/2014-04-01/swagger/connectionPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/connectionPolicies.json similarity index 98% rename from arm-sql/2014-04-01/swagger/connectionPolicies.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/connectionPolicies.json index 26aff40d6dc8..2a8694edff25 100644 --- a/arm-sql/2014-04-01/swagger/connectionPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/connectionPolicies.json @@ -24,7 +24,7 @@ "operationId": "Servers_CreateOrUpdateConnectionPolicy", "description": "Creates or updates the server's connection policy.", "x-ms-examples": { - "Create or update a server's secure connection policy": { "$ref": "../examples/ServerConnectionPolicyCreateOrUpdate.json" } + "Create or update a server's secure connection policy": { "$ref": "./examples/ServerConnectionPolicyCreateOrUpdate.json" } }, "parameters": [ { @@ -74,7 +74,7 @@ "operationId": "Servers_GetConnectionPolicy", "description": "Gets the server's secure connection policy.", "x-ms-examples": { - "Get a server's secure connection policy": { "$ref": "../examples/ServerConnectionPolicyGet.json" } + "Get a server's secure connection policy": { "$ref": "./examples/ServerConnectionPolicyGet.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/dataMasking.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/dataMasking.json similarity index 97% rename from arm-sql/2014-04-01/swagger/dataMasking.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/dataMasking.json index 4a5da6949b65..d52ebbd22a50 100644 --- a/arm-sql/2014-04-01/swagger/dataMasking.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/dataMasking.json @@ -24,8 +24,8 @@ "operationId": "Databases_CreateOrUpdateDataMaskingPolicy", "description": "Creates or updates a database data masking policy", "x-ms-examples": { - "Create or update data masking policy max": { "$ref": "../examples/DataMaskingPolicyCreateOrUpdateMax.json" }, - "Create or update data masking policy min": { "$ref": "../examples/DataMaskingPolicyCreateOrUpdateMin.json" } + "Create or update data masking policy max": { "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMax.json" }, + "Create or update data masking policy min": { "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMin.json" } }, "parameters": [ { @@ -72,7 +72,7 @@ "operationId": "Databases_GetDataMaskingPolicy", "description": "Gets a database data masking policy.", "x-ms-examples": { - "Get data masking policy": { "$ref": "../examples/DataMaskingPolicyGet.json" } + "Get data masking policy": { "$ref": "./examples/DataMaskingPolicyGet.json" } }, "parameters": [ { @@ -112,10 +112,10 @@ "operationId": "Databases_CreateOrUpdateDataMaskingRule", "description": "Creates or updates a database data masking rule.", "x-ms-examples": { - "Create/Update data masking rule for text": { "$ref": "../examples/DataMaskingRuleCreateOrUpdateText.json" }, - "Create/Update data masking rule for numbers": { "$ref": "../examples/DataMaskingRuleCreateOrUpdateNumber.json" }, - "Create/Update data masking rule for default min": { "$ref": "../examples/DataMaskingRuleCreateOrUpdateDefaultMin.json" }, - "Create/Update data masking rule for default max": { "$ref": "../examples/DataMaskingRuleCreateOrUpdateDefaultMax.json" } + "Create/Update data masking rule for text": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateText.json" }, + "Create/Update data masking rule for numbers": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateNumber.json" }, + "Create/Update data masking rule for default min": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMin.json" }, + "Create/Update data masking rule for default max": { "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMax.json" } }, "parameters": [ { @@ -177,7 +177,7 @@ "operationId": "Databases_ListDataMaskingRules", "description": "Gets a list of database data masking rules.", "x-ms-examples": { - "List data masking rules": { "$ref": "../examples/DataMaskingRuleList.json" } + "List data masking rules": { "$ref": "./examples/DataMaskingRuleList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/databaseSecurityAlertPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/databaseSecurityAlertPolicies.json similarity index 98% rename from arm-sql/2014-04-01/swagger/databaseSecurityAlertPolicies.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/databaseSecurityAlertPolicies.json index 5cd78a46405f..dcabe4c681f6 100644 --- a/arm-sql/2014-04-01/swagger/databaseSecurityAlertPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/databaseSecurityAlertPolicies.json @@ -24,7 +24,7 @@ "description": "Gets a database's threat detection policy.", "operationId": "Databases_GetThreatDetectionPolicy", "x-ms-examples": { - "Get database security alert policy": { "$ref": "../examples/DatabaseSecurityAlertGet.json" } + "Get database security alert policy": { "$ref": "./examples/DatabaseSecurityAlertGet.json" } }, "parameters": [ { @@ -78,8 +78,8 @@ "description": "Creates or updates a database's threat detection policy.", "operationId": "Databases_CreateOrUpdateThreatDetectionPolicy", "x-ms-examples": { - "Create database security alert policy min": { "$ref": "../examples/DatabaseSecurityAlertCreateMin.json" }, - "Create database security alert policy max": { "$ref": "../examples/DatabaseSecurityAlertCreateMax.json" } + "Create database security alert policy min": { "$ref": "./examples/DatabaseSecurityAlertCreateMin.json" }, + "Create database security alert policy max": { "$ref": "./examples/DatabaseSecurityAlertCreateMax.json" } }, "parameters": [ { @@ -344,4 +344,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-sql/2014-04-01/swagger/deprecated.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/deprecated.json similarity index 98% rename from arm-sql/2014-04-01/swagger/deprecated.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/deprecated.json index 9fe2e54a2984..437aa18f10c8 100644 --- a/arm-sql/2014-04-01/swagger/deprecated.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/deprecated.json @@ -25,7 +25,7 @@ "description": "Gets a list of a database's transparent data encryption configurations. There is only ever one element, named 'current', so GetTransparentDataEncryptionConfiguration should be used instead.", "deprecated": true, "x-ms-examples": { - "Get a list of transparent data encryption configurations": { "$ref": "../examples/DatabaseTransparentDataEncryptionList.json" } + "Get a list of transparent data encryption configurations": { "$ref": "./examples/DatabaseTransparentDataEncryptionList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionPolicyGet.json diff --git a/arm-sql/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionPolicyUpdate.json diff --git a/arm-sql/2014-04-01/examples/BackupLongTermRetentionVaultGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionVaultGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/BackupLongTermRetentionVaultGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionVaultGet.json diff --git a/arm-sql/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/BackupLongTermRetentionVaultUpdate.json diff --git a/arm-sql/2014-04-01/examples/CapabilitiesList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CapabilitiesList.json similarity index 100% rename from arm-sql/2014-04-01/examples/CapabilitiesList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CapabilitiesList.json diff --git a/arm-sql/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json similarity index 100% rename from arm-sql/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CheckNameAvailabilityServerAlreadyExists.json diff --git a/arm-sql/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json similarity index 100% rename from arm-sql/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CheckNameAvailabilityServerAvailable.json diff --git a/arm-sql/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json similarity index 100% rename from arm-sql/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/CheckNameAvailabilityServerInvalid.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMax.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingPolicyCreateOrUpdateMin.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingPolicyGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingPolicyGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingPolicyGet.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateNumber.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleCreateOrUpdateText.json diff --git a/arm-sql/2014-04-01/examples/DataMaskingRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleList.json similarity index 100% rename from arm-sql/2014-04-01/examples/DataMaskingRuleList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DataMaskingRuleList.json diff --git a/arm-sql/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseAdvisorCreateOrUpdate.json diff --git a/arm-sql/2014-04-01/examples/DatabaseAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseAdvisorGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseAdvisorGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseAdvisorGet.json diff --git a/arm-sql/2014-04-01/examples/DatabaseAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseAdvisorList.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseAdvisorList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseAdvisorList.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateCopy.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateCopy.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateCopy.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateCopy.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestore.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateGeoRestore.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateGeoRestore.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateGeoRestore.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateGeoRestore.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMaxSasKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMaxStorageKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateImportMinSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMinSasKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateImportMinSasKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMinSasKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateImportMinStorageKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateLongTermRetentionRestore.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateMax.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateOrUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateMin.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateNonReadableSecondary.json diff --git a/arm-sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateOnlineSecondary.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateOrUpdateMin.json new file mode 100644 index 000000000000..5986645454ae --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreateOrUpdateMin.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-4799", + "serverName": "sqlcrudtest-5961", + "databaseName": "testdb", + "api-version": "2014-04-01", + "parameters": { + "location": "Japan East" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-02-24T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:52:52.923Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-02-24T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:52:52.923Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/arm-sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseCreatePointInTimeRestore.json diff --git a/arm-sql/2014-04-01/examples/DatabaseDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseDelete.json diff --git a/arm-sql/2014-04-01/examples/DatabaseExportSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseExportSasKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseExportSasKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseExportSasKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseExportStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseExportStorageKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseExportStorageKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseExportStorageKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseGet.json diff --git a/arm-sql/2014-04-01/examples/DatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseList.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseList.json diff --git a/arm-sql/2014-04-01/examples/DatabaseListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseListWithFilter.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseListWithFilter.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseListWithFilter.json diff --git a/arm-sql/2014-04-01/examples/DatabaseMetricsDefinitionsList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseMetricsDefinitionsList.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseMetricsDefinitionsList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseMetricsDefinitionsList.json diff --git a/arm-sql/2014-04-01/examples/DatabaseMetricsListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseMetricsListWithFilter.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseMetricsListWithFilter.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseMetricsListWithFilter.json diff --git a/arm-sql/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseSecurityAlertCreateMax.json diff --git a/arm-sql/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseSecurityAlertCreateMin.json diff --git a/arm-sql/2014-04-01/examples/DatabaseSecurityAlertGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseSecurityAlertGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseSecurityAlertGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseSecurityAlertGet.json diff --git a/arm-sql/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json diff --git a/arm-sql/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseTransparentDataEncryptionGet.json diff --git a/arm-sql/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseTransparentDataEncryptionList.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateElasticPool.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateElasticPool.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateElasticPool.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateElasticPool.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMaxSasKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMaxStorageKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMinSasKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateImportMinStorageKey.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateMaxPut.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateMaxPut.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMax.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateMaxPatch.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMaxPatch.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateMaxPatch.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMaxPatch.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMaxPut.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMaxPut.json new file mode 100644 index 000000000000..4e3068a48a8e --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMaxPut.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-4799", + "serverName": "sqlcrudtest-5961", + "databaseName": "testdb", + "api-version": "2014-04-01", + "parameters": { + "location": "Japan East", + "properties": { + "edition": "Standard", + "status": "Online", + "createMode": "Default", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:52:52.923Z", + "containmentState": 2, + "readScale": "Disabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-02-24T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:52:52.923Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Sql/servers/sqlcrudtest-5961/databases/testdb", + "name": "testdb", + "type": "Microsoft.Sql/servers/databases", + "location": "Japan East", + "kind": "v12.0,user", + "properties": { + "edition": "Standard", + "status": "Online", + "serviceLevelObjective": "S0", + "collation": "SQL_Latin1_General_CP1_CI_AS", + "creationDate": "2017-02-24T22:39:46.547Z", + "maxSizeBytes": "268435456000", + "currentServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveId": "f1173c43-91bd-4aaa-973c-54e79e15235b", + "requestedServiceObjectiveName": "S0", + "sampleName": null, + "defaultSecondaryLocation": "Japan West", + "earliestRestoreDate": "2017-02-10T01:52:52.923Z", + "elasticPoolName": null, + "containmentState": 2, + "readScale": "Disabled", + "failoverGroupId": null + } + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/arm-sql/2014-04-01/examples/DatabaseUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUpdateMin.json diff --git a/arm-sql/2014-04-01/examples/DatabaseUsageMetricsList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUsageMetricsList.json similarity index 100% rename from arm-sql/2014-04-01/examples/DatabaseUsageMetricsList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/DatabaseUsageMetricsList.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolActivityList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolActivityList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolActivityList.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateMax.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateMin.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json new file mode 100644 index 000000000000..e921e47be0f4 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMax.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-2369", + "serverName": "sqlcrudtest-8069", + "elasticPoolName": "sqlcrudtest-8102", + "api-version": "2014-04-01", + "parameters": { + "location": "Japan East", + "properties": { + "creationDate": "2017-02-10T01:25:25.033Z", + "edition": "Basic", + "state": "Ready", + "dtu": 50, + "databaseDtuMin": 0, + "databaseDtuMax": 5, + "storageMB": 5000 + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102", + "name": "sqlcrudtest-8102", + "type": "Microsoft.Sql/servers/elasticPools", + "location": "Japan East", + "kind": null, + "properties": { + "creationDate": "2017-02-10T01:25:25.033Z", + "edition": "Basic", + "state": "Ready", + "dtu": 50, + "databaseDtuMin": 0, + "databaseDtuMax": 5, + "storageMB": 5000 + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102", + "name": "sqlcrudtest-8102", + "type": "Microsoft.Sql/servers/elasticPools", + "location": "Japan East", + "kind": null, + "properties": { + "creationDate": "2017-02-10T01:25:25.033Z", + "edition": "Basic", + "state": "Ready", + "dtu": 50, + "databaseDtuMin": 0, + "databaseDtuMax": 5, + "storageMB": 5000 + } + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json new file mode 100644 index 000000000000..7cccc57336aa --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolCreateOrUpdateMin.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-2369", + "serverName": "sqlcrudtest-8069", + "elasticPoolName": "sqlcrudtest-8102", + "api-version": "2014-04-01", + "parameters": { + "location": "Japan East" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102", + "name": "sqlcrudtest-8102", + "type": "Microsoft.Sql/servers/elasticPools", + "location": "Japan East", + "kind": null, + "properties": { + "creationDate": "2017-02-10T01:25:25.033Z", + "edition": "Standard", + "state": "Ready", + "dtu": 100, + "databaseDtuMin": 0, + "databaseDtuMax": 100, + "storageMB": 102400 + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-2369/providers/Microsoft.Sql/servers/sqlcrudtest-8069/elasticPools/sqlcrudtest-8102", + "name": "sqlcrudtest-8102", + "type": "Microsoft.Sql/servers/elasticPools", + "location": "Japan East", + "kind": null, + "properties": { + "creationDate": "2017-02-10T01:25:25.033Z", + "edition": "Standard", + "state": "Ready", + "dtu": 100, + "databaseDtuMin": 0, + "databaseDtuMax": 100, + "storageMB": 102400 + } + } + }, + "202": {} + } +} \ No newline at end of file diff --git a/arm-sql/2014-04-01/examples/ElasticPoolDatabaseActivityList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolDatabaseActivityList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolDatabaseActivityList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolDatabaseActivityList.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolDelete.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolGet.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolList.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolMetricsDefinitionsList.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolMetricsListWithFilter.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolUpdateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolUpdateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolUpdateMax.json diff --git a/arm-sql/2014-04-01/examples/ElasticPoolUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolUpdateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/ElasticPoolUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ElasticPoolUpdateMin.json diff --git a/arm-sql/2014-04-01/examples/FirewallRuleCreate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleCreate.json similarity index 100% rename from arm-sql/2014-04-01/examples/FirewallRuleCreate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleCreate.json diff --git a/arm-sql/2014-04-01/examples/FirewallRuleDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/FirewallRuleDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleDelete.json diff --git a/arm-sql/2014-04-01/examples/FirewallRuleGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/FirewallRuleGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleGet.json diff --git a/arm-sql/2014-04-01/examples/FirewallRuleList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleList.json similarity index 100% rename from arm-sql/2014-04-01/examples/FirewallRuleList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleList.json diff --git a/arm-sql/2014-04-01/examples/FirewallRuleUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/FirewallRuleUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/FirewallRuleUpdate.json diff --git a/arm-sql/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/GeoBackupPoliciesCreateOrUpdate.json diff --git a/arm-sql/2014-04-01/examples/GeoBackupPoliciesGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/GeoBackupPoliciesGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/GeoBackupPoliciesGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/GeoBackupPoliciesGet.json diff --git a/arm-sql/2014-04-01/examples/GeoBackupPoliciesList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/GeoBackupPoliciesList.json similarity index 100% rename from arm-sql/2014-04-01/examples/GeoBackupPoliciesList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/GeoBackupPoliciesList.json diff --git a/arm-sql/2014-04-01/examples/OperationList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/OperationList.json similarity index 100% rename from arm-sql/2014-04-01/examples/OperationList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/OperationList.json diff --git a/arm-sql/2014-04-01/examples/RecoverableDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RecoverableDatabaseGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/RecoverableDatabaseGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RecoverableDatabaseGet.json diff --git a/arm-sql/2014-04-01/examples/RecoverableDatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RecoverableDatabaseList.json similarity index 100% rename from arm-sql/2014-04-01/examples/RecoverableDatabaseList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RecoverableDatabaseList.json diff --git a/arm-sql/2014-04-01/examples/ReplicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/ReplicationLinkDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkDelete.json diff --git a/arm-sql/2014-04-01/examples/ReplicationLinkFailover.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkFailover.json similarity index 100% rename from arm-sql/2014-04-01/examples/ReplicationLinkFailover.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkFailover.json diff --git a/arm-sql/2014-04-01/examples/ReplicationLinkGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ReplicationLinkGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkGet.json diff --git a/arm-sql/2014-04-01/examples/ReplicationLinkList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ReplicationLinkList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ReplicationLinkList.json diff --git a/arm-sql/2014-04-01/examples/RestorableDroppedDatabaseGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RestorableDroppedDatabaseGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/RestorableDroppedDatabaseGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RestorableDroppedDatabaseGet.json diff --git a/arm-sql/2014-04-01/examples/RestorableDroppedDatabaseList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RestorableDroppedDatabaseList.json similarity index 100% rename from arm-sql/2014-04-01/examples/RestorableDroppedDatabaseList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/RestorableDroppedDatabaseList.json diff --git a/arm-sql/2014-04-01/examples/ServerAdminCreateUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminCreateUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerAdminCreateUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminCreateUpdate.json diff --git a/arm-sql/2014-04-01/examples/ServerAdminDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerAdminDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminDelete.json diff --git a/arm-sql/2014-04-01/examples/ServerAdminGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerAdminGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminGet.json diff --git a/arm-sql/2014-04-01/examples/ServerAdminList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerAdminList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerAdminList.json diff --git a/arm-sql/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkCreateOrUpdate.json diff --git a/arm-sql/2014-04-01/examples/ServerCommunicationLinkDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerCommunicationLinkDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkDelete.json diff --git a/arm-sql/2014-04-01/examples/ServerCommunicationLinkGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerCommunicationLinkGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkGet.json diff --git a/arm-sql/2014-04-01/examples/ServerCommunicationLinkList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerCommunicationLinkList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCommunicationLinkList.json diff --git a/arm-sql/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerConnectionPolicyCreateOrUpdate.json diff --git a/arm-sql/2014-04-01/examples/ServerConnectionPolicyGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerConnectionPolicyGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerConnectionPolicyGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerConnectionPolicyGet.json diff --git a/arm-sql/2014-04-01/examples/ServerCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerCreateOrUpdateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateMax.json diff --git a/arm-sql/2014-04-01/examples/ServerCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerCreateOrUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateMin.json diff --git a/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateOrUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateOrUpdateMax.json new file mode 100644 index 000000000000..59d04db72226 --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateOrUpdateMax.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "api-version": "2014-04-01", + "parameters": { + "tags": { + "tagKey1": "TagValue1" + }, + "location": "Japan East", + "properties": { + "fullyQualifiedDomainName": "sqlcrudtest-4645.database.windows.net", + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "version": "12.0", + "state": "Ready" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/servers", + "location": "Japan East", + "kind": "v12.0", + "properties": { + "fullyQualifiedDomainName": "sqlcrudtest-4645.database.windows.net", + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "externalAdministratorLogin": null, + "externalAdministratorSid": null, + "version": "12.0", + "state": "Ready" + } + } + }, + "201": { + "body": { + "tags": { + "tagKey1": "TagValue1" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/servers", + "location": "Japan East", + "kind": "v12.0", + "properties": { + "fullyQualifiedDomainName": "sqlcrudtest-4645.database.windows.net", + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "externalAdministratorLogin": null, + "externalAdministratorSid": null, + "version": "12.0", + "state": "Ready" + } + } + } + } +} \ No newline at end of file diff --git a/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateOrUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateOrUpdateMin.json new file mode 100644 index 000000000000..791e4d3cfd6e --- /dev/null +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerCreateOrUpdateMin.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "sqlcrudtest-7398", + "serverName": "sqlcrudtest-4645", + "api-version": "2014-04-01", + "parameters": { + "properties": { + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!" + }, + "location": "Japan East" + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/servers", + "location": "Japan East", + "kind": "v12.0", + "properties": { + "fullyQualifiedDomainName": "sqlcrudtest-4645.database.windows.net", + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "externalAdministratorLogin": null, + "externalAdministratorSid": null, + "version": "12.0", + "state": "Ready" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Sql/servers/sqlcrudtest-4645", + "name": "sqlcrudtest-4645", + "type": "Microsoft.Sql/servers", + "location": "Japan East", + "kind": "v12.0", + "properties": { + "fullyQualifiedDomainName": "sqlcrudtest-4645.database.windows.net", + "administratorLogin": "dummylogin", + "administratorLoginPassword": "Un53cuRE!", + "externalAdministratorLogin": null, + "externalAdministratorSid": null, + "version": "12.0", + "state": "Ready" + } + } + } + } +} \ No newline at end of file diff --git a/arm-sql/2014-04-01/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerDelete.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerDelete.json diff --git a/arm-sql/2014-04-01/examples/ServerGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerGet.json diff --git a/arm-sql/2014-04-01/examples/ServerList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerList.json diff --git a/arm-sql/2014-04-01/examples/ServerListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerListByResourceGroup.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerListByResourceGroup.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerListByResourceGroup.json diff --git a/arm-sql/2014-04-01/examples/ServerUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerUpdateMax.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerUpdateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerUpdateMax.json diff --git a/arm-sql/2014-04-01/examples/ServerUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerUpdateMin.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerUpdateMin.json diff --git a/arm-sql/2014-04-01/examples/ServerUsageMetricsList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerUsageMetricsList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServerUsageMetricsList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServerUsageMetricsList.json diff --git a/arm-sql/2014-04-01/examples/ServiceObjectiveGet.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServiceObjectiveGet.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServiceObjectiveGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServiceObjectiveGet.json diff --git a/arm-sql/2014-04-01/examples/ServiceObjectiveList.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServiceObjectiveList.json similarity index 100% rename from arm-sql/2014-04-01/examples/ServiceObjectiveList.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/examples/ServiceObjectiveList.json diff --git a/arm-sql/2014-04-01/swagger/firewallRules.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/firewallRules.json similarity index 95% rename from arm-sql/2014-04-01/swagger/firewallRules.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/firewallRules.json index 2256f42c1097..e99be07c9698 100644 --- a/arm-sql/2014-04-01/swagger/firewallRules.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/firewallRules.json @@ -24,8 +24,8 @@ "operationId": "FirewallRules_CreateOrUpdate", "description": "Creates or updates a firewall rule.", "x-ms-examples": { - "Create a firewall rule max/min": { "$ref": "../examples/FirewallRuleCreate.json" }, - "Update a firewall rule max/min": { "$ref": "../examples/FirewallRuleUpdate.json" } + "Create a firewall rule max/min": { "$ref": "./examples/FirewallRuleCreate.json" }, + "Update a firewall rule max/min": { "$ref": "./examples/FirewallRuleUpdate.json" } }, "parameters": [ { @@ -79,7 +79,7 @@ "operationId": "FirewallRules_Delete", "description": "Deletes a firewall rule.", "x-ms-examples": { - "Delete a firewall rule": { "$ref": "../examples/FirewallRuleDelete.json" } + "Delete a firewall rule": { "$ref": "./examples/FirewallRuleDelete.json" } }, "parameters": [ { @@ -118,7 +118,7 @@ "operationId": "FirewallRules_Get", "description": "Gets a firewall rule.", "x-ms-examples": { - "Get Firewall Rule": { "$ref": "../examples/FirewallRuleGet.json" } + "Get Firewall Rule": { "$ref": "./examples/FirewallRuleGet.json" } }, "parameters": [ { @@ -159,7 +159,7 @@ "operationId": "FirewallRules_ListByServer", "description": "Returns a list of firewall rules.", "x-ms-examples": { - "List Firewall Rules": { "$ref": "../examples/FirewallRuleList.json" } + "List Firewall Rules": { "$ref": "./examples/FirewallRuleList.json" } }, "parameters": [ { @@ -305,4 +305,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-sql/2014-04-01/swagger/geoBackupPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/geoBackupPolicies.json similarity index 96% rename from arm-sql/2014-04-01/swagger/geoBackupPolicies.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/geoBackupPolicies.json index 0de1b52042d7..6e9e81e412c0 100644 --- a/arm-sql/2014-04-01/swagger/geoBackupPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/geoBackupPolicies.json @@ -24,7 +24,7 @@ "operationId": "Databases_CreateOrUpdateGeoBackupPolicy", "description": "Updates a database geo backup policy.", "x-ms-examples": { - "Update geo backup policy": { "$ref": "../examples/GeoBackupPoliciesCreateOrUpdate.json" } + "Update geo backup policy": { "$ref": "./examples/GeoBackupPoliciesCreateOrUpdate.json" } }, "parameters": [ { @@ -81,7 +81,7 @@ "operationId": "Databases_GetGeoBackupPolicy", "description": "Gets a geo backup policy.", "x-ms-examples": { - "Get geo backup policy": { "$ref": "../examples/GeoBackupPoliciesGet.json" } + "Get geo backup policy": { "$ref": "./examples/GeoBackupPoliciesGet.json" } }, "parameters": [ { @@ -125,7 +125,7 @@ "operationId": "Databases_ListGeoBackupPolicies", "description": "Returns a list of geo backup policies.", "x-ms-examples": { - "List geo backup policies": { "$ref": "../examples/GeoBackupPoliciesList.json" } + "List geo backup policies": { "$ref": "./examples/GeoBackupPoliciesList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/importExport.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/importExport.json similarity index 96% rename from arm-sql/2014-04-01/swagger/importExport.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/importExport.json index abf52ef30588..e63d6e353fdb 100644 --- a/arm-sql/2014-04-01/swagger/importExport.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/importExport.json @@ -58,10 +58,10 @@ } }, "x-ms-examples": { - "Import bacpac into new database Max with storage key": { "$ref": "../examples/DatabaseCreateImportMaxStorageKey.json" }, - "Import bacpac into new database Min with storage key": { "$ref": "../examples/DatabaseCreateImportMinStorageKey.json" }, - "Import bacpac into new database Max with SAS key": { "$ref": "../examples/DatabaseCreateImportMaxSasKey.json" }, - "Import bacpac into new database Min with SAS key": { "$ref": "../examples/DatabaseCreateImportMinSasKey.json" } + "Import bacpac into new database Max with storage key": { "$ref": "./examples/DatabaseCreateImportMaxStorageKey.json" }, + "Import bacpac into new database Min with storage key": { "$ref": "./examples/DatabaseCreateImportMinStorageKey.json" }, + "Import bacpac into new database Max with SAS key": { "$ref": "./examples/DatabaseCreateImportMaxSasKey.json" }, + "Import bacpac into new database Min with SAS key": { "$ref": "./examples/DatabaseCreateImportMinSasKey.json" } }, "x-ms-long-running-operation": true } @@ -129,10 +129,10 @@ } }, "x-ms-examples": { - "Import bacpac into an existing database Max with storage key": { "$ref": "../examples/DatabaseUpdateImportMaxStorageKey.json" }, - "Import bacpac into an existing database Min with storage key": { "$ref": "../examples/DatabaseUpdateImportMinStorageKey.json" }, - "Import bacpac into an existing database Max with SAS key": { "$ref": "../examples/DatabaseUpdateImportMaxSasKey.json" }, - "Import bacpac into an existing database Min with SAS key": { "$ref": "../examples/DatabaseUpdateImportMinSasKey.json" } + "Import bacpac into an existing database Max with storage key": { "$ref": "./examples/DatabaseUpdateImportMaxStorageKey.json" }, + "Import bacpac into an existing database Min with storage key": { "$ref": "./examples/DatabaseUpdateImportMinStorageKey.json" }, + "Import bacpac into an existing database Max with SAS key": { "$ref": "./examples/DatabaseUpdateImportMaxSasKey.json" }, + "Import bacpac into an existing database Min with SAS key": { "$ref": "./examples/DatabaseUpdateImportMinSasKey.json" } }, "x-ms-long-running-operation": true } @@ -186,8 +186,8 @@ } }, "x-ms-examples": { - "Export a database into a new bacpac file with storage key": { "$ref": "../examples/DatabaseExportStorageKey.json" }, - "Export a database into a new bacpac file with SAS key": { "$ref": "../examples/DatabaseExportSasKey.json" } + "Export a database into a new bacpac file with storage key": { "$ref": "./examples/DatabaseExportStorageKey.json" }, + "Export a database into a new bacpac file with SAS key": { "$ref": "./examples/DatabaseExportSasKey.json" } }, "x-ms-long-running-operation": true } @@ -504,4 +504,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-sql/2014-04-01/swagger/metrics.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/metrics.json similarity index 96% rename from arm-sql/2014-04-01/swagger/metrics.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/metrics.json index d8e0e7c64b0b..b7710bf76c48 100644 --- a/arm-sql/2014-04-01/swagger/metrics.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/metrics.json @@ -24,7 +24,7 @@ "operationId": "Databases_ListMetrics", "description": "Returns database metrics.", "x-ms-examples": { - "List database usage metrics": { "$ref": "../examples/DatabaseMetricsListWithFilter.json" } + "List database usage metrics": { "$ref": "./examples/DatabaseMetricsListWithFilter.json" } }, "parameters": [ { @@ -75,7 +75,7 @@ "operationId": "Databases_ListMetricDefinitions", "description": "Returns database metric definitions.", "x-ms-examples": { - "List database usage metrics": { "$ref": "../examples/DatabaseMetricsDefinitionsList.json" } + "List database usage metrics": { "$ref": "./examples/DatabaseMetricsDefinitionsList.json" } }, "parameters": [ { @@ -119,7 +119,7 @@ "operationId": "ElasticPools_ListMetrics", "description": "Returns elastic pool metrics.", "x-ms-examples": { - "List database usage metrics": { "$ref": "../examples/ElasticPoolMetricsListWithFilter.json" } + "List database usage metrics": { "$ref": "./examples/ElasticPoolMetricsListWithFilter.json" } }, "parameters": [ { @@ -170,7 +170,7 @@ "operationId": "ElasticPools_ListMetricDefinitions", "description": "Returns elastic pool metric definitions.", "x-ms-examples": { - "List database usage metrics": { "$ref": "../examples/ElasticPoolMetricsDefinitionsList.json" } + "List database usage metrics": { "$ref": "./examples/ElasticPoolMetricsDefinitionsList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/operations.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/operations.json similarity index 98% rename from arm-sql/2014-04-01/swagger/operations.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/operations.json index cfd688faca88..18f25646152c 100644 --- a/arm-sql/2014-04-01/swagger/operations.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/operations.json @@ -24,7 +24,7 @@ "description": "Lists all of the available SQL Rest API operations.", "operationId": "Operations_List", "x-ms-examples": { - "Get a list of operations for a resource provider": { "$ref": "../examples/OperationList.json" } + "Get a list of operations for a resource provider": { "$ref": "./examples/OperationList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/replicationLinks.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/replicationLinks.json similarity index 97% rename from arm-sql/2014-04-01/swagger/replicationLinks.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/replicationLinks.json index 767f1ee857f8..a9fed96c49d9 100644 --- a/arm-sql/2014-04-01/swagger/replicationLinks.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/replicationLinks.json @@ -24,7 +24,7 @@ "operationId": "Databases_DeleteReplicationLink", "description": "Deletes a database replication link. Cannot be done during failover.", "x-ms-examples": { - "Delete a replication link": { "$ref": "../examples/ReplicationLinkDelete.json" } + "Delete a replication link": { "$ref": "./examples/ReplicationLinkDelete.json" } }, "parameters": [ { @@ -70,7 +70,7 @@ "operationId": "Databases_GetReplicationLink", "description": "Gets a database replication link.", "x-ms-examples": { - "Get a replication link": { "$ref": "../examples/ReplicationLinkGet.json" } + "Get a replication link": { "$ref": "./examples/ReplicationLinkGet.json" } }, "parameters": [ { @@ -118,7 +118,7 @@ "operationId": "Databases_FailoverReplicationLink", "description": "Sets which replica database is primary by failing over from the current primary replica database.", "x-ms-examples": { - "Failover a replication link": { "$ref": "../examples/ReplicationLinkFailover.json" } + "Failover a replication link": { "$ref": "./examples/ReplicationLinkFailover.json" } }, "parameters": [ { @@ -213,7 +213,7 @@ "operationId": "Databases_ListReplicationLinks", "description": "Lists a database's replication links.", "x-ms-examples": { - "List Replication links": { "$ref": "../examples/ReplicationLinkList.json" } + "List Replication links": { "$ref": "./examples/ReplicationLinkList.json" } }, "parameters": [ { @@ -434,4 +434,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-sql/2014-04-01/swagger/serverAzureADAdministrators.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverAzureADAdministrators.json similarity index 92% rename from arm-sql/2014-04-01/swagger/serverAzureADAdministrators.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverAzureADAdministrators.json index b0211ace9762..003ae4bc709e 100644 --- a/arm-sql/2014-04-01/swagger/serverAzureADAdministrators.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverAzureADAdministrators.json @@ -23,9 +23,9 @@ ], "operationId":"ServerAzureADAdministrators_CreateOrUpdate", "description":"Creates a new Server Active Directory Administrator or updates an existing server Active Directory Administrator.", - "x-ms-examples":{ - "Create/Update a server administrator":{ - "$ref":"../examples/ServerAdminCreateUpdate.json" + "x-ms-examples":{ + "Create/Update a server administrator":{ + "$ref":"./examples/ServerAdminCreateUpdate.json" } }, "parameters":[ @@ -82,9 +82,9 @@ ], "operationId":"ServerAzureADAdministrators_Delete", "description":"Deletes an existing server Active Directory Administrator.", - "x-ms-examples":{ - "Delete a server administrator":{ - "$ref":"../examples/ServerAdminDelete.json" + "x-ms-examples":{ + "Delete a server administrator":{ + "$ref":"./examples/ServerAdminDelete.json" } }, "parameters":[ @@ -132,9 +132,9 @@ ], "operationId":"ServerAzureADAdministrators_Get", "description":"Returns an server Administrator.", - "x-ms-examples":{ - "Get the Active Directory Administrator":{ - "$ref":"../examples/ServerAdminGet.json" + "x-ms-examples":{ + "Get the Active Directory Administrator":{ + "$ref":"./examples/ServerAdminGet.json" } }, "parameters":[ @@ -171,9 +171,15 @@ ], "operationId":"ServerAzureADAdministrators_List", "description":"Returns a list of server Administrators.", +<<<<<<< HEAD:specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverAzureADAdministrators.json + "x-ms-examples":{ + "get a list of server administrators":{ + "$ref":"./examples/ServerAdminList.json" +======= "x-ms-examples":{ "get a list of server administrators":{ - "$ref":"../examples/ServerAdminList.json" + "$ref":"./examples/ServerAdminList.json" +>>>>>>> azure/master:arm-sql/2014-04-01/swagger/serverAzureADAdministrators.json } }, "parameters":[ diff --git a/arm-sql/2014-04-01/swagger/serverCommunicationLinks.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverCommunicationLinks.json similarity index 95% rename from arm-sql/2014-04-01/swagger/serverCommunicationLinks.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverCommunicationLinks.json index 3e5b1f77083e..d211debd067b 100644 --- a/arm-sql/2014-04-01/swagger/serverCommunicationLinks.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serverCommunicationLinks.json @@ -24,7 +24,7 @@ "operationId": "ServerCommunicationLinks_Delete", "description": "Deletes a server communication link.", "x-ms-examples": { - "Delete a server communication link": { "$ref": "../examples/ServerCommunicationLinkDelete.json" } + "Delete a server communication link": { "$ref": "./examples/ServerCommunicationLinkDelete.json" } }, "parameters": [ { @@ -60,7 +60,7 @@ "operationId": "ServerCommunicationLinks_Get", "description": "Returns a server communication link.", "x-ms-examples": { - "Get a server communication link": { "$ref": "../examples/ServerCommunicationLinkGet.json" } + "Get a server communication link": { "$ref": "./examples/ServerCommunicationLinkGet.json" } }, "parameters": [ { @@ -99,7 +99,7 @@ "operationId": "ServerCommunicationLinks_CreateOrUpdate", "description": "Creates a server communication link.", "x-ms-examples": { - "Create a server communication link": { "$ref": "../examples/ServerCommunicationLinkCreateOrUpdate.json" } + "Create a server communication link": { "$ref": "./examples/ServerCommunicationLinkCreateOrUpdate.json" } }, "parameters": [ { @@ -153,7 +153,7 @@ "operationId": "ServerCommunicationLinks_ListByServer", "description": "Gets a list of server communication links.", "x-ms-examples": { - "List server communication links": { "$ref": "../examples/ServerCommunicationLinkList.json" } + "List server communication links": { "$ref": "./examples/ServerCommunicationLinkList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/servers.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/servers.json similarity index 93% rename from arm-sql/2014-04-01/swagger/servers.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/servers.json index 37d9c73b41c5..b97c24fcff37 100644 --- a/arm-sql/2014-04-01/swagger/servers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/servers.json @@ -24,7 +24,7 @@ "operationId": "Servers_List", "description": "Returns a list of servers.", "x-ms-examples": { - "List servers": { "$ref": "../examples/ServerList.json" } + "List servers": { "$ref": "./examples/ServerList.json" } }, "parameters": [ { @@ -55,8 +55,13 @@ "operationId": "Servers_CreateOrUpdate", "description": "Creates or updates a new server.", "x-ms-examples": { - "Create server min": { "$ref": "../examples/ServerCreateOrUpdateMin.json" }, - "Create server max": { "$ref": "../examples/ServerCreateOrUpdateMax.json" } +<<<<<<< HEAD:specification/sql/resource-manager/Microsoft.Sql/2014-04-01/servers.json + "Create server min": { "$ref": "./examples/ServerCreateMin.json" }, + "Create server max": { "$ref": "./examples/ServerCreateMax.json" } +======= + "Create server min": { "$ref": "./examples/ServerCreateOrUpdateMin.json" }, + "Create server max": { "$ref": "./examples/ServerCreateOrUpdateMax.json" } +>>>>>>> azure/master:arm-sql/2014-04-01/swagger/servers.json }, "parameters": [ { @@ -103,8 +108,8 @@ "operationId": "Servers_Update", "description": "Updates an existing server.", "x-ms-examples": { - "Create server min": { "$ref": "../examples/ServerUpdateMin.json" }, - "Create server max": { "$ref": "../examples/ServerUpdateMax.json" } + "Create server min": { "$ref": "./examples/ServerUpdateMin.json" }, + "Create server max": { "$ref": "./examples/ServerUpdateMax.json" } }, "parameters": [ { @@ -145,7 +150,7 @@ "operationId": "Servers_Delete", "description": "Deletes a SQL server.", "x-ms-examples": { - "Delete SQL Server": { "$ref": "../examples/ServerDelete.json" } + "Delete SQL Server": { "$ref": "./examples/ServerDelete.json" } }, "parameters": [ { @@ -177,7 +182,7 @@ "operationId": "Servers_Get", "description": "Gets a server.", "x-ms-examples": { - "Get Server": { "$ref": "../examples/ServerGet.json" } + "Get Server": { "$ref": "./examples/ServerGet.json" } }, "parameters": [ { @@ -211,7 +216,7 @@ "operationId": "Servers_ListByResourceGroup", "description": "Returns a list of servers in a resource group.", "x-ms-examples": { - "List servers by resource group": { "$ref": "../examples/ServerListByResourceGroup.json" } + "List servers by resource group": { "$ref": "./examples/ServerListByResourceGroup.json" } }, "parameters": [ { @@ -458,3 +463,4 @@ } } } + diff --git a/arm-sql/2014-04-01/swagger/serviceObjectives.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serviceObjectives.json similarity index 97% rename from arm-sql/2014-04-01/swagger/serviceObjectives.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serviceObjectives.json index 85d2eb4eacc9..f5ec4de412c8 100644 --- a/arm-sql/2014-04-01/swagger/serviceObjectives.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/serviceObjectives.json @@ -24,7 +24,7 @@ "operationId": "Servers_GetServiceObjective", "description": "Gets a database service objective.", "x-ms-examples":{ - "Get a service objective": { "$ref": "../examples/ServiceObjectiveGet.json" } + "Get a service objective": { "$ref": "./examples/ServiceObjectiveGet.json" } }, "parameters": [ { @@ -65,7 +65,7 @@ "operationId": "Servers_ListServiceObjectives", "description": "Returns database service objectives.", "x-ms-examples":{ - "List service objectives": { "$ref": "../examples/ServiceObjectiveList.json" } + "List service objectives": { "$ref": "./examples/ServiceObjectiveList.json" } }, "parameters": [ { diff --git a/arm-sql/2014-04-01/swagger/sql.core.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/sql.core.json similarity index 94% rename from arm-sql/2014-04-01/swagger/sql.core.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/sql.core.json index bb40ee07f865..6d181c94cfb4 100644 --- a/arm-sql/2014-04-01/swagger/sql.core.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/sql.core.json @@ -24,9 +24,9 @@ "operationId": "Servers_CheckNameAvailability", "description": "Determines whether a resource can be created with the specified name.", "x-ms-examples": { - "Check for a server name that is available": { "$ref": "../examples/CheckNameAvailabilityServerAvailable.json" }, - "Check for a server name that already exists": { "$ref": "../examples/CheckNameAvailabilityServerAlreadyExists.json" }, - "Check for a server name that is invalid": { "$ref": "../examples/CheckNameAvailabilityServerInvalid.json" } + "Check for a server name that is available": { "$ref": "./examples/CheckNameAvailabilityServerAvailable.json" }, + "Check for a server name that already exists": { "$ref": "./examples/CheckNameAvailabilityServerAlreadyExists.json" }, + "Check for a server name that is invalid": { "$ref": "./examples/CheckNameAvailabilityServerInvalid.json" } }, "parameters": [ { @@ -141,18 +141,34 @@ "operationId": "Databases_CreateOrUpdate", "description": "Creates a new database or updates an existing database.", "x-ms-examples": { - "Create a database min": { "$ref": "../examples/DatabaseCreateOrUpdateMin.json" }, - "Create a database max": { "$ref": "../examples/DatabaseCreateMax.json" }, - "Create a database as a copy": { "$ref": "../examples/DatabaseCreateCopy.json" }, - "Create a database as an online secondary": { "$ref": "../examples/DatabaseCreateOnlineSecondary.json" }, - "Create a database as a non-readable secondary": { "$ref": "../examples/DatabaseCreateNonReadableSecondary.json" }, - "Create a database as a point in time restore": { "$ref": "../examples/DatabaseCreatePointInTimeRestore.json" }, - "Create a database as a dropped database restore to deletion time": { "$ref": "../examples/DatabaseCreateDroppedDatabaseRestore.json" }, - "Create a database as a dropped database restore to a specific point in time": { "$ref": "../examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json" }, - "Create a database as a geo restore": { "$ref": "../examples/DatabaseCreateGeoRestore.json" }, - "Create a database from a long term retention backup": { "$ref": "../examples/DatabaseCreateLongTermRetentionRestore.json" }, - "Update a database's elastic pool'": { "$ref": "../examples/DatabaseUpdateElasticPool.json" }, - "Update a database max": { "$ref": "../examples/DatabaseUpdateMaxPut.json" } +<<<<<<< HEAD:specification/sql/resource-manager/Microsoft.Sql/2014-04-01/sql.core.json + "Create a database min": { "$ref": "./examples/DatabaseCreateMin.json" }, + "Create a database max": { "$ref": "./examples/DatabaseCreateMax.json" }, + "Create a database as a copy": { "$ref": "./examples/DatabaseCreateCopy.json" }, + "Create a database as an online secondary": { "$ref": "./examples/DatabaseCreateOnlineSecondary.json" }, + "Create a database as a non-readable secondary": { "$ref": "./examples/DatabaseCreateNonReadableSecondary.json" }, + "Create a database as a point in time restore": { "$ref": "./examples/DatabaseCreatePointInTimeRestore.json" }, + "Create a database as a dropped database restore to deletion time": { "$ref": "./examples/DatabaseCreateDroppedDatabaseRestore.json" }, + "Create a database as a dropped database restore to a specific point in time": { "$ref": "./examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json" }, + "Create a database as a geo restore": { "$ref": "./examples/DatabaseCreateGeoRestore.json" }, + "Create a database from a long term retention backup": { "$ref": "./examples/DatabaseCreateLongTermRetentionRestore.json" }, + "Update a database's elastic pool'": { "$ref": "./examples/DatabaseUpdateElasticPool.json" }, + "Update a database max": { "$ref": "./examples/DatabaseUpdateMax.json" }, + "Update a database min": { "$ref": "./examples/DatabaseUpdateMin.json" } +======= + "Create a database min": { "$ref": "./examples/DatabaseCreateOrUpdateMin.json" }, + "Create a database max": { "$ref": "./examples/DatabaseCreateMax.json" }, + "Create a database as a copy": { "$ref": "./examples/DatabaseCreateCopy.json" }, + "Create a database as an online secondary": { "$ref": "./examples/DatabaseCreateOnlineSecondary.json" }, + "Create a database as a non-readable secondary": { "$ref": "./examples/DatabaseCreateNonReadableSecondary.json" }, + "Create a database as a point in time restore": { "$ref": "./examples/DatabaseCreatePointInTimeRestore.json" }, + "Create a database as a dropped database restore to deletion time": { "$ref": "./examples/DatabaseCreateDroppedDatabaseRestore.json" }, + "Create a database as a dropped database restore to a specific point in time": { "$ref": "./examples/DatabaseCreateDroppedDatabaseRestoreToPointInTime.json" }, + "Create a database as a geo restore": { "$ref": "./examples/DatabaseCreateGeoRestore.json" }, + "Create a database from a long term retention backup": { "$ref": "./examples/DatabaseCreateLongTermRetentionRestore.json" }, + "Update a database's elastic pool'": { "$ref": "./examples/DatabaseUpdateElasticPool.json" }, + "Update a database max": { "$ref": "./examples/DatabaseUpdateMaxPut.json" } +>>>>>>> azure/master:arm-sql/2014-04-01/swagger/sql.core.json }, "parameters": [ { @@ -210,8 +226,8 @@ "operationId": "Databases_Update", "description": "Updates an existing database.", "x-ms-examples": { - "Update a database max": { "$ref": "../examples/DatabaseUpdateMaxPatch.json" }, - "Update a database min": { "$ref": "../examples/DatabaseUpdateMin.json" } + "Update a database max": { "$ref": "./examples/DatabaseUpdateMaxPatch.json" }, + "Update a database min": { "$ref": "./examples/DatabaseUpdateMin.json" } }, "parameters": [ { @@ -263,7 +279,7 @@ "operationId": "Databases_Delete", "description": "Deletes a database.", "x-ms-examples": { - "Delete a database": { "$ref": "../examples/DatabaseDelete.json" } + "Delete a database": { "$ref": "./examples/DatabaseDelete.json" } }, "parameters": [ { @@ -302,7 +318,7 @@ "operationId": "Databases_Get", "description": "Gets a database.", "x-ms-examples": { - "Get a database": { "$ref": "../examples/DatabaseGet.json" } + "Get a database": { "$ref": "./examples/DatabaseGet.json" } }, "parameters": [ { @@ -346,8 +362,8 @@ "operationId": "Databases_ListByServer", "description": "Returns a list of databases in a server.", "x-ms-examples": { - "List databases by server": { "$ref": "../examples/DatabaseList.json" }, - "List databases by server with filter": { "$ref": "../examples/DatabaseListWithFilter.json" } + "List databases by server": { "$ref": "./examples/DatabaseList.json" }, + "List databases by server with filter": { "$ref": "./examples/DatabaseListWithFilter.json" } }, "parameters": [ { @@ -394,8 +410,15 @@ "operationId": "ElasticPools_CreateOrUpdate", "description": "Creates a new elastic pool or updates an existing elastic pool.", "x-ms-examples":{ - "Create elastic pool max": { "$ref": "../examples/ElasticPoolCreateOrUpdateMax.json" }, - "Create elastic pool min": { "$ref": "../examples/ElasticPoolCreateOrUpdateMin.json" } +<<<<<<< HEAD:specification/sql/resource-manager/Microsoft.Sql/2014-04-01/sql.core.json + "Create elastic pool max": { "$ref": "./examples/ElasticPoolCreateMax.json" }, + "Create elastic pool min": { "$ref": "./examples/ElasticPoolCreateMin.json" }, + "Update elastic pool max": { "$ref": "./examples/ElasticPoolUpdateMax.json" }, + "Update elastic pool min": { "$ref": "./examples/ElasticPoolUpdateMin.json" } +======= + "Create elastic pool max": { "$ref": "./examples/ElasticPoolCreateOrUpdateMax.json" }, + "Create elastic pool min": { "$ref": "./examples/ElasticPoolCreateOrUpdateMin.json" } +>>>>>>> azure/master:arm-sql/2014-04-01/swagger/sql.core.json }, "parameters": [ { @@ -453,8 +476,8 @@ "operationId": "ElasticPools_Update", "description": "Updates an existing elastic pool.", "x-ms-examples":{ - "Update elastic pool max": { "$ref": "../examples/ElasticPoolUpdateMax.json" }, - "Update elastic pool min": { "$ref": "../examples/ElasticPoolUpdateMin.json" } + "Update elastic pool max": { "$ref": "./examples/ElasticPoolUpdateMax.json" }, + "Update elastic pool min": { "$ref": "./examples/ElasticPoolUpdateMin.json" } }, "parameters": [ { @@ -506,7 +529,7 @@ "operationId": "ElasticPools_Delete", "description": "Deletes the elastic pool.", "x-ms-examples":{ - "Delete elastic pool": { "$ref": "../examples/ElasticPoolDelete.json" } + "Delete elastic pool": { "$ref": "./examples/ElasticPoolDelete.json" } }, "parameters": [ { @@ -545,7 +568,7 @@ "operationId": "ElasticPools_Get", "description": "Gets an elastic pool.", "x-ms-examples":{ - "Get elastic pool": { "$ref": "../examples/ElasticPoolGet.json" } + "Get elastic pool": { "$ref": "./examples/ElasticPoolGet.json" } }, "parameters": [ { @@ -586,7 +609,7 @@ "operationId": "ElasticPools_ListByServer", "description": "Returns a list of elastic pools in a server.", "x-ms-examples":{ - "List elastic pools": { "$ref": "../examples/ElasticPoolList.json" } + "List elastic pools": { "$ref": "./examples/ElasticPoolList.json" } }, "parameters": [ { @@ -623,7 +646,7 @@ "operationId": "ElasticPools_ListActivity", "description": "Returns elastic pool activities.", "x-ms-examples":{ - "List Elastic pool activity": { "$ref": "../examples/ElasticPoolActivityList.json" } + "List Elastic pool activity": { "$ref": "./examples/ElasticPoolActivityList.json" } }, "parameters": [ { @@ -667,7 +690,7 @@ "operationId": "ElasticPools_ListDatabaseActivity", "description": "Returns activity on databases inside of an elastic pool.", "x-ms-examples":{ - "List elastic pool database activity": { "$ref": "../examples/ElasticPoolDatabaseActivityList.json" } + "List elastic pool database activity": { "$ref": "./examples/ElasticPoolDatabaseActivityList.json" } }, "parameters": [ { @@ -2654,3 +2677,4 @@ } } } + diff --git a/arm-sql/2014-04-01/swagger/usages.json b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/usages.json similarity index 97% rename from arm-sql/2014-04-01/swagger/usages.json rename to specification/sql/resource-manager/Microsoft.Sql/2014-04-01/usages.json index eeca65fe62a9..7c9b34600df7 100644 --- a/arm-sql/2014-04-01/swagger/usages.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2014-04-01/usages.json @@ -24,7 +24,7 @@ "operationId": "Servers_ListUsages", "description": "Returns server usages.", "x-ms-examples":{ - "List servers usages": { "$ref": "../examples/ServerUsageMetricsList.json" } + "List servers usages": { "$ref": "./examples/ServerUsageMetricsList.json" } }, "parameters": [ { @@ -61,7 +61,7 @@ "operationId": "Databases_ListUsages", "description": "Returns database usages.", "x-ms-examples": { - "List database usage metrics": { "$ref": "../examples/DatabaseUsageMetricsList.json" } + "List database usage metrics": { "$ref": "./examples/DatabaseUsageMetricsList.json" } }, "parameters": [ { diff --git a/arm-sql/2015-05-01-preview/swagger/advisors.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/advisors.json similarity index 98% rename from arm-sql/2015-05-01-preview/swagger/advisors.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/advisors.json index f5e9ee37a81a..36ba0022abd2 100644 --- a/arm-sql/2015-05-01-preview/swagger/advisors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/advisors.json @@ -56,10 +56,10 @@ }, "x-ms-examples": { "List of database advisors": { - "$ref": "../examples/DatabaseAdvisorList.json" + "$ref": "./examples/DatabaseAdvisorList.json" }, "List of database recommended actions for all advisors": { - "$ref": "../examples/DatabaseRecommendedActionListExpand.json" + "$ref": "./examples/DatabaseRecommendedActionListExpand.json" } } } @@ -108,7 +108,7 @@ }, "x-ms-examples": { "Get database advisor": { - "$ref": "../examples/DatabaseAdvisorGet.json" + "$ref": "./examples/DatabaseAdvisorGet.json" } } }, @@ -164,7 +164,7 @@ }, "x-ms-examples": { "Update database advisor": { - "$ref": "../examples/DatabaseAdvisorUpdate.json" + "$ref": "./examples/DatabaseAdvisorUpdate.json" } } } @@ -216,7 +216,7 @@ }, "x-ms-examples": { "List of database recommended actions": { - "$ref": "../examples/DatabaseRecommendedActionList.json" + "$ref": "./examples/DatabaseRecommendedActionList.json" } } } @@ -272,7 +272,7 @@ }, "x-ms-examples": { "Get database recommended action": { - "$ref": "../examples/DatabaseRecommendedActionGet.json" + "$ref": "./examples/DatabaseRecommendedActionGet.json" } } }, @@ -335,7 +335,7 @@ }, "x-ms-examples": { "Update database recommended action": { - "$ref": "../examples/DatabaseRecommendedActionUpdate.json" + "$ref": "./examples/DatabaseRecommendedActionUpdate.json" } } } @@ -377,10 +377,10 @@ }, "x-ms-examples": { "List of server advisors": { - "$ref": "../examples/ServerAdvisorList.json" + "$ref": "./examples/ServerAdvisorList.json" }, "List of server recommended actions for all advisors": { - "$ref": "../examples/ServerRecommendedActionListExpand.json" + "$ref": "./examples/ServerRecommendedActionListExpand.json" } } } @@ -426,7 +426,7 @@ }, "x-ms-examples": { "Get server advisor": { - "$ref": "../examples/ServerAdvisorGet.json" + "$ref": "./examples/ServerAdvisorGet.json" } } }, @@ -479,7 +479,7 @@ }, "x-ms-examples": { "Update server advisor": { - "$ref": "../examples/ServerAdvisorUpdate.json" + "$ref": "./examples/ServerAdvisorUpdate.json" } } } diff --git a/arm-sql/2015-05-01-preview/swagger/blobAuditingPolicies.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/blobAuditingPolicies.json similarity index 98% rename from arm-sql/2015-05-01-preview/swagger/blobAuditingPolicies.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/blobAuditingPolicies.json index af684e5ded93..589a438e9f2e 100644 --- a/arm-sql/2015-05-01-preview/swagger/blobAuditingPolicies.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/blobAuditingPolicies.json @@ -71,7 +71,7 @@ }, "x-ms-examples": { "Get a database's blob auditing policy": { - "$ref": "../examples/DatabaseBlobAuditingGet.json" + "$ref": "./examples/DatabaseBlobAuditingGet.json" } } }, @@ -144,10 +144,10 @@ }, "x-ms-examples": { "Create or update a database's blob auditing policy with minimal parameters": { - "$ref": "../examples/DatabaseBlobAuditingCreateMin.json" + "$ref": "./examples/DatabaseBlobAuditingCreateMin.json" }, "Create or update a database's blob auditing policy with all parameters": { - "$ref": "../examples/DatabaseBlobAuditingCreateMax.json" + "$ref": "./examples/DatabaseBlobAuditingCreateMax.json" } } } @@ -315,4 +315,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-sql/2015-05-01-preview/swagger/encryptionProtectors.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/encryptionProtectors.json similarity index 97% rename from arm-sql/2015-05-01-preview/swagger/encryptionProtectors.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/encryptionProtectors.json index 2285293bd2d6..f2092b07f15b 100644 --- a/arm-sql/2015-05-01-preview/swagger/encryptionProtectors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/encryptionProtectors.json @@ -53,7 +53,7 @@ }, "x-ms-examples": { "List encryption protectors by server": { - "$ref": "../examples/EncryptionProtectorList.json" + "$ref": "./examples/EncryptionProtectorList.json" } } } @@ -106,7 +106,7 @@ }, "x-ms-examples": { "Get the encryption protector": { - "$ref": "../examples/EncryptionProtectorGet.json" + "$ref": "./examples/EncryptionProtectorGet.json" } } }, @@ -170,10 +170,10 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update the encryption protector to service managed": { - "$ref": "../examples/EncryptionProtectorCreateOrUpdateServiceManaged.json" + "$ref": "./examples/EncryptionProtectorCreateOrUpdateServiceManaged.json" }, "Update the encryption protector to key vault": { - "$ref": "../examples/EncryptionProtectorCreateOrUpdateKeyVault.json" + "$ref": "./examples/EncryptionProtectorCreateOrUpdateKeyVault.json" } } } diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseAdvisorGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseAdvisorGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseAdvisorGet.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseAdvisorList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseAdvisorList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseAdvisorList.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseAdvisorUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMax.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseBlobAuditingCreateMin.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseBlobAuditingGet.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionGet.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionList.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionListExpand.json diff --git a/arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/DatabaseRecommendedActionUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateKeyVault.json diff --git a/arm-sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorCreateOrUpdateServiceManaged.json diff --git a/arm-sql/2015-05-01-preview/examples/EncryptionProtectorGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/EncryptionProtectorGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorGet.json diff --git a/arm-sql/2015-05-01-preview/examples/EncryptionProtectorList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/EncryptionProtectorList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/EncryptionProtectorList.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupCreateOrUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupFailover.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupFailover.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupFailover.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupFailover.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupForceFailoverAllowDataLoss.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupGet.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupList.json diff --git a/arm-sql/2015-05-01-preview/examples/FailoverGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/FailoverGroupUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/FailoverGroupUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerAdvisorGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerAdvisorGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerAdvisorGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerAdvisorGet.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerAdvisorList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerAdvisorList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerAdvisorList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerAdvisorList.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerAdvisorUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerAdvisorUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerAdvisorUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerAdvisorUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerCreateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerCreateMax.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerCreateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerCreateMax.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerCreateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerCreateMin.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerCreateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerCreateMin.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerGet.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyCreateOrUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerKeyDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerKeyDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerKeyGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerKeyGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyGet.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerKeyList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerKeyList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerKeyList.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerList.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerListByResourceGroup.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerListByResourceGroup.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerListByResourceGroup.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerListByResourceGroup.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerRecommendedActionListExpand.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerUpdateMax.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerUpdateMax.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerUpdateMax.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerUpdateMax.json diff --git a/arm-sql/2015-05-01-preview/examples/ServerUpdateMin.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerUpdateMin.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/ServerUpdateMin.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/ServerUpdateMin.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentCreate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentCreate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentCreate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentCreate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentCreateOrUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentGenerateKey.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentGenerateKey.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentGenerateKey.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentGenerateKey.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentGet.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentGetLinkedDatabases.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentListByServer.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentListByServer.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentListByServer.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentListByServer.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncAgentUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncAgentUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncAgentUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupCancelSync.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupCancelSync.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupCancelSync.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupCancelSync.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupCreate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupCreate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupCreate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupCreate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupCreateOrUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGet.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupGetHubSchema.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGetHubSchema.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupGetHubSchema.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGetHubSchema.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupGetLog.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGetLog.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupGetLog.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGetLog.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupGetSyncDatabaseId.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupListByDatabase.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupListByDatabase.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupListByDatabase.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupListByDatabase.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupPatch.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupPatch.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupPatch.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupPatch.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupRefreshHubSchema.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupTriggerSync.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupTriggerSync.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupTriggerSync.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupTriggerSync.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncGroupUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncGroupUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncGroupUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberCreate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberCreate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberCreate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberCreate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberCreateOrUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberGet.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberGetSchema.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberGetSchema.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberGetSchema.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberGetSchema.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberListBySyncGroup.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberPatch.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberPatch.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberPatch.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberPatch.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberRefreshSchema.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberRefreshSchema.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberRefreshSchema.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberRefreshSchema.json diff --git a/arm-sql/2015-05-01-preview/examples/SyncMemberUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/SyncMemberUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/SyncMemberUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesCreateOrUpdate.json diff --git a/arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesDelete.json diff --git a/arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesGet.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesGet.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesGet.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesGet.json diff --git a/arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesList.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesList.json similarity index 100% rename from arm-sql/2015-05-01-preview/examples/VirtualNetworkRulesList.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/examples/VirtualNetworkRulesList.json diff --git a/arm-sql/2015-05-01-preview/swagger/failoverGroups.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/failoverGroups.json similarity index 99% rename from arm-sql/2015-05-01-preview/swagger/failoverGroups.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/failoverGroups.json index edd17f21614e..5fb0012f4eaa 100644 --- a/arm-sql/2015-05-01-preview/swagger/failoverGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/failoverGroups.json @@ -61,7 +61,7 @@ }, "x-ms-examples": { "Get failover group": { - "$ref": "../examples/FailoverGroupGet.json" + "$ref": "./examples/FailoverGroupGet.json" } } }, @@ -128,7 +128,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create failover group": { - "$ref": "../examples/FailoverGroupCreateOrUpdate.json" + "$ref": "./examples/FailoverGroupCreateOrUpdate.json" } } }, @@ -180,7 +180,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete failover group": { - "$ref": "../examples/FailoverGroupDelete.json" + "$ref": "./examples/FailoverGroupDelete.json" } } }, @@ -241,7 +241,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update failover group": { - "$ref": "../examples/FailoverGroupUpdate.json" + "$ref": "./examples/FailoverGroupUpdate.json" } } } @@ -287,7 +287,7 @@ }, "x-ms-examples": { "List failover group": { - "$ref": "../examples/FailoverGroupList.json" + "$ref": "./examples/FailoverGroupList.json" } } } @@ -341,7 +341,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Planned failover of a failover group": { - "$ref": "../examples/FailoverGroupFailover.json" + "$ref": "./examples/FailoverGroupFailover.json" } } } @@ -395,7 +395,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Forced failover of a failover group allowing data loss": { - "$ref": "../examples/FailoverGroupForceFailoverAllowDataLoss.json" + "$ref": "./examples/FailoverGroupForceFailoverAllowDataLoss.json" } } } @@ -654,4 +654,4 @@ } } } -} \ No newline at end of file +} diff --git a/arm-sql/2015-05-01-preview/swagger/serverKeys.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/serverKeys.json similarity index 98% rename from arm-sql/2015-05-01-preview/swagger/serverKeys.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/serverKeys.json index a3c18ab4bcdd..a19ca02b0087 100644 --- a/arm-sql/2015-05-01-preview/swagger/serverKeys.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/serverKeys.json @@ -53,7 +53,7 @@ }, "x-ms-examples": { "List the server keys by server": { - "$ref": "../examples/ServerKeyList.json" + "$ref": "./examples/ServerKeyList.json" } } } @@ -99,7 +99,7 @@ }, "x-ms-examples": { "Get the server key": { - "$ref": "../examples/ServerKeyGet.json" + "$ref": "./examples/ServerKeyGet.json" } } }, @@ -162,7 +162,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Creates or updates a server key": { - "$ref": "../examples/ServerKeyCreateOrUpdate.json" + "$ref": "./examples/ServerKeyCreateOrUpdate.json" } } }, @@ -210,7 +210,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete the server key": { - "$ref": "../examples/ServerKeyDelete.json" + "$ref": "./examples/ServerKeyDelete.json" } } } diff --git a/arm-sql/2015-05-01-preview/swagger/servers.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/servers.json similarity index 97% rename from arm-sql/2015-05-01-preview/swagger/servers.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/servers.json index 9857a5e3289b..1d43994b5d5d 100644 --- a/arm-sql/2015-05-01-preview/swagger/servers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/servers.json @@ -47,7 +47,7 @@ }, "x-ms-examples": { "List servers": { - "$ref": "../examples/ServerList.json" + "$ref": "./examples/ServerList.json" } } } @@ -86,7 +86,7 @@ }, "x-ms-examples": { "List servers by resource group": { - "$ref": "../examples/ServerListByResourceGroup.json" + "$ref": "./examples/ServerListByResourceGroup.json" } } } @@ -125,7 +125,7 @@ }, "x-ms-examples": { "Get server": { - "$ref": "../examples/ServerGet.json" + "$ref": "./examples/ServerGet.json" } } }, @@ -181,10 +181,10 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create server with minimal properties": { - "$ref": "../examples/ServerCreateMin.json" + "$ref": "./examples/ServerCreateMin.json" }, "Create server with all properties": { - "$ref": "../examples/ServerCreateMax.json" + "$ref": "./examples/ServerCreateMax.json" } } }, @@ -225,7 +225,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete server": { - "$ref": "../examples/ServerDelete.json" + "$ref": "./examples/ServerDelete.json" } } }, @@ -275,10 +275,10 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update a server with all properties": { - "$ref": "../examples/ServerUpdateMax.json" + "$ref": "./examples/ServerUpdateMax.json" }, "Update a server with minimal properties": { - "$ref": "../examples/ServerUpdateMin.json" + "$ref": "./examples/ServerUpdateMin.json" } } } diff --git a/arm-sql/2015-05-01-preview/swagger/syncAgents.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncAgents.json similarity index 98% rename from arm-sql/2015-05-01-preview/swagger/syncAgents.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncAgents.json index 3fb3134d7d32..5da0e3ce7f0d 100644 --- a/arm-sql/2015-05-01-preview/swagger/syncAgents.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncAgents.json @@ -61,7 +61,7 @@ }, "x-ms-examples": { "Get a sync agent": { - "$ref": "../examples/SyncAgentGet.json" + "$ref": "./examples/SyncAgentGet.json" } } }, @@ -128,10 +128,10 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update a sync agent": { - "$ref": "../examples/SyncAgentUpdate.json" + "$ref": "./examples/SyncAgentUpdate.json" }, "Create a new sync agent": { - "$ref": "../examples/SyncAgentCreate.json" + "$ref": "./examples/SyncAgentCreate.json" } } }, @@ -183,7 +183,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete a sync agent": { - "$ref": "../examples/SyncAgentDelete.json" + "$ref": "./examples/SyncAgentDelete.json" } } } @@ -229,7 +229,7 @@ }, "x-ms-examples": { "Get sync agents under a server": { - "$ref": "../examples/SyncAgentListByServer.json" + "$ref": "./examples/SyncAgentListByServer.json" } } } @@ -279,7 +279,7 @@ }, "x-ms-examples": { "Generate a sync agent key": { - "$ref": "../examples/SyncAgentGenerateKey.json" + "$ref": "./examples/SyncAgentGenerateKey.json" } } } @@ -332,7 +332,7 @@ }, "x-ms-examples": { "Get sync agent linked databases": { - "$ref": "../examples/SyncAgentGetLinkedDatabases.json" + "$ref": "./examples/SyncAgentGetLinkedDatabases.json" } } } diff --git a/arm-sql/2015-05-01-preview/swagger/syncGroups.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncGroups.json similarity index 98% rename from arm-sql/2015-05-01-preview/swagger/syncGroups.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncGroups.json index ddf360bb8e5a..0167df498d45 100644 --- a/arm-sql/2015-05-01-preview/swagger/syncGroups.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncGroups.json @@ -54,7 +54,7 @@ }, "x-ms-examples": { "Get a sync database ID": { - "$ref": "../examples/SyncGroupGetSyncDatabaseId.json" + "$ref": "./examples/SyncGroupGetSyncDatabaseId.json" } } } @@ -108,7 +108,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Refresh a hub database schema.": { - "$ref": "../examples/SyncGroupRefreshHubSchema.json" + "$ref": "./examples/SyncGroupRefreshHubSchema.json" } } } @@ -164,7 +164,7 @@ }, "x-ms-examples": { "Get a hub database schema.": { - "$ref": "../examples/SyncGroupGetHubSchema.json" + "$ref": "./examples/SyncGroupGetHubSchema.json" } } } @@ -254,7 +254,7 @@ }, "x-ms-examples": { "Get sync group logs": { - "$ref": "../examples/SyncGroupGetLog.json" + "$ref": "./examples/SyncGroupGetLog.json" } } } @@ -304,7 +304,7 @@ }, "x-ms-examples": { "Cancel a sync group synchronization": { - "$ref": "../examples/SyncGroupCancelSync.json" + "$ref": "./examples/SyncGroupCancelSync.json" } } } @@ -354,7 +354,7 @@ }, "x-ms-examples": { "Trigger a sync group synchronization.": { - "$ref": "../examples/SyncGroupTriggerSync.json" + "$ref": "./examples/SyncGroupTriggerSync.json" } } } @@ -407,7 +407,7 @@ }, "x-ms-examples": { "Get a sync group": { - "$ref": "../examples/SyncGroupGet.json" + "$ref": "./examples/SyncGroupGet.json" } } }, @@ -477,10 +477,10 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create a sync group": { - "$ref": "../examples/SyncGroupCreate.json" + "$ref": "./examples/SyncGroupCreate.json" }, "Update a sync group": { - "$ref": "../examples/SyncGroupUpdate.json" + "$ref": "./examples/SyncGroupUpdate.json" } } }, @@ -535,7 +535,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete a sync group": { - "$ref": "../examples/SyncGroupDelete.json" + "$ref": "./examples/SyncGroupDelete.json" } } }, @@ -599,7 +599,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update a sync group": { - "$ref": "../examples/SyncGroupPatch.json" + "$ref": "./examples/SyncGroupPatch.json" } } } @@ -648,7 +648,7 @@ }, "x-ms-examples": { "List sync groups under a given database": { - "$ref": "../examples/SyncGroupListByDatabase.json" + "$ref": "./examples/SyncGroupListByDatabase.json" } } } diff --git a/arm-sql/2015-05-01-preview/swagger/syncMembers.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncMembers.json similarity index 98% rename from arm-sql/2015-05-01-preview/swagger/syncMembers.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncMembers.json index dac2008a665d..fa01a242cfdd 100644 --- a/arm-sql/2015-05-01-preview/swagger/syncMembers.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/syncMembers.json @@ -71,7 +71,7 @@ }, "x-ms-examples": { "Get a sync member": { - "$ref": "../examples/SyncMemberGet.json" + "$ref": "./examples/SyncMemberGet.json" } } }, @@ -148,10 +148,10 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create a new sync member": { - "$ref": "../examples/SyncMemberCreate.json" + "$ref": "./examples/SyncMemberCreate.json" }, "Update a sync member": { - "$ref": "../examples/SyncMemberUpdate.json" + "$ref": "./examples/SyncMemberUpdate.json" } } }, @@ -213,7 +213,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete a sync member": { - "$ref": "../examples/SyncMemberDelete.json" + "$ref": "./examples/SyncMemberDelete.json" } } }, @@ -284,7 +284,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Update an existing sync member": { - "$ref": "../examples/SyncMemberPatch.json" + "$ref": "./examples/SyncMemberPatch.json" } } } @@ -340,7 +340,7 @@ }, "x-ms-examples": { "List sync members under a sync group": { - "$ref": "../examples/SyncMemberListBySyncGroup.json" + "$ref": "./examples/SyncMemberListBySyncGroup.json" } } } @@ -403,7 +403,7 @@ }, "x-ms-examples": { "Get a sync member schema": { - "$ref": "../examples/SyncMemberGetSchema.json" + "$ref": "./examples/SyncMemberGetSchema.json" } } } @@ -464,7 +464,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Refresh a sync member database schema": { - "$ref": "../examples/SyncMemberRefreshSchema.json" + "$ref": "./examples/SyncMemberRefreshSchema.json" } } } diff --git a/arm-sql/2015-05-01-preview/swagger/virtualNetworkRules.json b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/virtualNetworkRules.json similarity index 97% rename from arm-sql/2015-05-01-preview/swagger/virtualNetworkRules.json rename to specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/virtualNetworkRules.json index 766a2ad3668d..ecf7a5372b3b 100644 --- a/arm-sql/2015-05-01-preview/swagger/virtualNetworkRules.json +++ b/specification/sql/resource-manager/Microsoft.Sql/2015-05-01-preview/virtualNetworkRules.json @@ -57,7 +57,7 @@ }, "x-ms-examples": { "Gets a virtual network rule": { - "$ref": "../examples/VirtualNetworkRulesGet.json" + "$ref": "./examples/VirtualNetworkRulesGet.json" } } }, @@ -120,7 +120,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Create or update a virtual network rule": { - "$ref": "../examples/VirtualNetworkRulesCreateOrUpdate.json" + "$ref": "./examples/VirtualNetworkRulesCreateOrUpdate.json" } } }, @@ -168,7 +168,7 @@ "x-ms-long-running-operation": true, "x-ms-examples": { "Delete a virtual network rule": { - "$ref": "../examples/VirtualNetworkRulesDelete.json" + "$ref": "./examples/VirtualNetworkRulesDelete.json" } } } @@ -210,7 +210,7 @@ }, "x-ms-examples": { "List virtual network rules": { - "$ref": "../examples/VirtualNetworkRulesList.json" + "$ref": "./examples/VirtualNetworkRulesList.json" } } } @@ -348,4 +348,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md new file mode 100644 index 000000000000..1203dcea747c --- /dev/null +++ b/specification/sql/resource-manager/readme.md @@ -0,0 +1,104 @@ +# Sql + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Sql. + + + +--- +## Getting Started +To build the SDK for Sql, 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 Sql API. + +``` yaml +title: SqlManagementClient +description: The Azure SQL Database management API provides a RESTful set of web services that interact with Azure SQL Database services to manage your databases. The API enables you to create, retrieve, update, and delete databases. +openapi-type: arm +tag: package-2015-05-preview +``` + + +### Tag: package-2015-05-preview + +These settings apply only when `--tag=package-2015-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-05-preview' +input-file: +- Microsoft.Sql/2014-04-01/backupLongTermRetentionPolicies.json +- Microsoft.Sql/2014-04-01/backupLongTermRetentionVaults.json +- Microsoft.Sql/2014-04-01/backups.json +- Microsoft.Sql/2014-04-01/capabilities.json +- Microsoft.Sql/2014-04-01/connectionPolicies.json +- Microsoft.Sql/2014-04-01/databaseSecurityAlertPolicies.json +- Microsoft.Sql/2014-04-01/dataMasking.json +- Microsoft.Sql/2014-04-01/firewallRules.json +- Microsoft.Sql/2014-04-01/geoBackupPolicies.json +- Microsoft.Sql/2014-04-01/importExport.json +- Microsoft.Sql/2014-04-01/metrics.json +- Microsoft.Sql/2014-04-01/operations.json +- Microsoft.Sql/2014-04-01/replicationLinks.json +- Microsoft.Sql/2014-04-01/serverAzureADAdministrators.json +- Microsoft.Sql/2014-04-01/serverCommunicationLinks.json +- Microsoft.Sql/2014-04-01/serviceObjectives.json +- Microsoft.Sql/2014-04-01/sql.core.json +- Microsoft.Sql/2014-04-01/usages.json +- Microsoft.Sql/2015-05-01-preview/blobAuditingPolicies.json +- Microsoft.Sql/2015-05-01-preview/encryptionProtectors.json +- Microsoft.Sql/2015-05-01-preview/failoverGroups.json +- Microsoft.Sql/2015-05-01-preview/serverKeys.json +- Microsoft.Sql/2015-05-01-preview/servers.json +- Microsoft.Sql/2015-05-01-preview/virtualNetworkRules.json +``` + +### Tag: package-2014-04 + +These settings apply only when `--tag=package-2014-04` is specified on the command line. + +``` yaml $(tag) == 'package-2014-04' +input-file: +- Microsoft.Sql/2014-04-01/firewallRules.json +- Microsoft.Sql/2014-04-01/importExport.json +- Microsoft.Sql/2014-04-01/replicationLinks.json +- Microsoft.Sql/2014-04-01/sql.core.json +- Microsoft.Sql/2014-04-01/databaseSecurityAlertPolicies.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.sql +``` diff --git a/arm-storage/2015-05-01-preview/swagger/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2015-05-01-preview/storage.json similarity index 100% rename from arm-storage/2015-05-01-preview/swagger/storage.json rename to specification/storage/resource-manager/Microsoft.Storage/2015-05-01-preview/storage.json diff --git a/arm-storage/2015-06-15/swagger/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2015-06-15/storage.json similarity index 100% rename from arm-storage/2015-06-15/swagger/storage.json rename to specification/storage/resource-manager/Microsoft.Storage/2015-06-15/storage.json diff --git a/arm-storage/2016-01-01/swagger/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2016-01-01/storage.json similarity index 100% rename from arm-storage/2016-01-01/swagger/storage.json rename to specification/storage/resource-manager/Microsoft.Storage/2016-01-01/storage.json diff --git a/arm-storage/2016-05-01/swagger/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2016-05-01/storage.json similarity index 100% rename from arm-storage/2016-05-01/swagger/storage.json rename to specification/storage/resource-manager/Microsoft.Storage/2016-05-01/storage.json diff --git a/arm-storage/2016-12-01/swagger/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2016-12-01/storage.json similarity index 100% rename from arm-storage/2016-12-01/swagger/storage.json rename to specification/storage/resource-manager/Microsoft.Storage/2016-12-01/storage.json diff --git a/arm-storage/2017-06-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/OperationsList.json similarity index 100% rename from arm-storage/2017-06-01/examples/OperationsList.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/OperationsList.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountCheckNameAvailability.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountCheckNameAvailability.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountCheckNameAvailability.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountCreate.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountCreate.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountCreate.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountDelete.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountDelete.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountDelete.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountGetProperties.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountGetProperties.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountGetProperties.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountList.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountList.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountList.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListAccountSAS.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountListAccountSAS.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListAccountSAS.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListByResourceGroup.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountListByResourceGroup.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListByResourceGroup.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListKeys.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountListKeys.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListKeys.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListServiceSAS.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountListServiceSAS.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountListServiceSAS.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountRegenerateKey.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountRegenerateKey.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountRegenerateKey.json diff --git a/arm-storage/2017-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountUpdate.json similarity index 100% rename from arm-storage/2017-06-01/examples/StorageAccountUpdate.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/StorageAccountUpdate.json diff --git a/arm-storage/2017-06-01/examples/UsageList.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/UsageList.json similarity index 100% rename from arm-storage/2017-06-01/examples/UsageList.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/UsageList.json diff --git a/arm-storage/2017-06-01/swagger/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json similarity index 98% rename from arm-storage/2017-06-01/swagger/storage.json rename to specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json index adebdd1f189b..b06b80c71ca5 100644 --- a/arm-storage/2017-06-01/swagger/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json @@ -28,7 +28,7 @@ "description": "Lists all of the available Storage Rest API operations.", "operationId": "Operations_List", "x-ms-examples": { - "OperationsList": { "$ref": "../examples/OperationsList.json" } + "OperationsList": { "$ref": "./examples/OperationsList.json" } }, "parameters": [ { @@ -56,7 +56,7 @@ "operationId": "StorageAccounts_CheckNameAvailability", "description": "Checks that the storage account name is valid and is not already in use.", "x-ms-examples": { - "StorageAccountCheckNameAvailability": { "$ref": "../examples/StorageAccountCheckNameAvailability.json" } + "StorageAccountCheckNameAvailability": { "$ref": "./examples/StorageAccountCheckNameAvailability.json" } }, "parameters": [ { @@ -93,7 +93,7 @@ "operationId": "StorageAccounts_Create", "description": "Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", "x-ms-examples": { - "StorageAccountCreate": { "$ref": "../examples/StorageAccountCreate.json" } + "StorageAccountCreate": { "$ref": "./examples/StorageAccountCreate.json" } }, "parameters": [ { @@ -144,7 +144,7 @@ "operationId": "StorageAccounts_Delete", "description": "Deletes a storage account in Microsoft Azure.", "x-ms-examples": { - "StorageAccountDelete": { "$ref": "../examples/StorageAccountDelete.json" } + "StorageAccountDelete": { "$ref": "./examples/StorageAccountDelete.json" } }, "parameters": [ { @@ -182,7 +182,7 @@ "operationId": "StorageAccounts_GetProperties", "description": "Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.", "x-ms-examples": { - "StorageAccountGetProperties": { "$ref": "../examples/StorageAccountGetProperties.json" } + "StorageAccountGetProperties": { "$ref": "./examples/StorageAccountGetProperties.json" } }, "parameters": [ { @@ -220,7 +220,7 @@ "operationId": "StorageAccounts_Update", "description": "The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.", "x-ms-examples": { - "StorageAccountUpdate": { "$ref": "../examples/StorageAccountUpdate.json" } + "StorageAccountUpdate": { "$ref": "./examples/StorageAccountUpdate.json" } }, "parameters": [ { @@ -269,7 +269,7 @@ "operationId": "StorageAccounts_List", "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", "x-ms-examples": { - "StorageAccountList": { "$ref": "../examples/StorageAccountList.json" } + "StorageAccountList": { "$ref": "./examples/StorageAccountList.json" } }, "parameters": [ { @@ -300,7 +300,7 @@ "operationId": "StorageAccounts_ListByResourceGroup", "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.", "x-ms-examples": { - "StorageAccountListByResourceGroup": { "$ref": "../examples/StorageAccountListByResourceGroup.json" } + "StorageAccountListByResourceGroup": { "$ref": "./examples/StorageAccountListByResourceGroup.json" } }, "parameters": [ { @@ -334,7 +334,7 @@ "operationId": "StorageAccounts_ListKeys", "description": "Lists the access keys for the specified storage account.", "x-ms-examples": { - "StorageAccountListKeys": { "$ref": "../examples/StorageAccountListKeys.json" } + "StorageAccountListKeys": { "$ref": "./examples/StorageAccountListKeys.json" } }, "parameters": [ { @@ -374,7 +374,7 @@ "operationId": "StorageAccounts_RegenerateKey", "description": "Regenerates one of the access keys for the specified storage account.", "x-ms-examples": { - "StorageAccountRegenerateKey": { "$ref": "../examples/StorageAccountRegenerateKey.json" } + "StorageAccountRegenerateKey": { "$ref": "./examples/StorageAccountRegenerateKey.json" } }, "parameters": [ { @@ -423,7 +423,7 @@ "operationId": "Usage_List", "description": "Gets the current usage count and the limit for the resources under the subscription.", "x-ms-examples": { - "UsageList": { "$ref": "../examples/UsageList.json" } + "UsageList": { "$ref": "./examples/UsageList.json" } }, "parameters": [ { @@ -454,7 +454,7 @@ "operationId": "StorageAccounts_ListAccountSAS", "description": "List SAS credentials of a storage account.", "x-ms-examples": { - "StorageAccountListAccountSAS": { "$ref": "../examples/StorageAccountListAccountSAS.json" } + "StorageAccountListAccountSAS": { "$ref": "./examples/StorageAccountListAccountSAS.json" } }, "parameters": [ { @@ -503,7 +503,7 @@ "operationId": "StorageAccounts_ListServiceSAS", "description": "List service SAS credentials of a specific resource.", "x-ms-examples": { - "StorageAccountListServiceSAS": { "$ref": "../examples/StorageAccountListServiceSAS.json" } + "StorageAccountListServiceSAS": { "$ref": "./examples/StorageAccountListServiceSAS.json" } }, "parameters": [ { diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md new file mode 100644 index 000000000000..1e7539ed404d --- /dev/null +++ b/specification/storage/resource-manager/readme.md @@ -0,0 +1,99 @@ +# Storage + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Storage. + + + +--- +## Getting Started +To build the SDK for Storage, 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 Storage API. + +``` yaml +openapi-type: arm +tag: package-2017-06 +``` + + +### Tag: package-2017-06 + +These settings apply only when `--tag=package-2017-06` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06' +input-file: +- Microsoft.Storage/2017-06-01/storage.json +``` + + +### Tag: package-2016-12 + +These settings apply only when `--tag=package-2016-12` is specified on the command line. + +``` yaml $(tag) == 'package-2016-12' +input-file: +- Microsoft.Storage/2016-12-01/storage.json +``` + +### Tag: package-2016-05 + +These settings apply only when `--tag=package-2016-05` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05' +input-file: +- Microsoft.Storage/2016-05-01/storage.json +``` + +### Tag: package-2016-01 + +These settings apply only when `--tag=package-2016-01` is specified on the command line. + +``` yaml $(tag) == 'package-2016-01' +input-file: +- Microsoft.Storage/2016-01-01/storage.json +``` + +### Tag: package-2015-06 + +These settings apply only when `--tag=package-2015-06` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06' +input-file: +- Microsoft.Storage/2015-06-15/storage.json +``` + +### Tag: package-2015-05-preview + +These settings apply only when `--tag=package-2015-05-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-05-preview' +input-file: +- Microsoft.Storage/2015-05-01-preview/storage.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-storageimportexport/2016-11-01/swagger/storageimportexport.json b/specification/storageimportexport/resource-manager/Microsoft.ImportExport/2016-11-01/storageimportexport.json similarity index 100% rename from arm-storageimportexport/2016-11-01/swagger/storageimportexport.json rename to specification/storageimportexport/resource-manager/Microsoft.ImportExport/2016-11-01/storageimportexport.json diff --git a/specification/storageimportexport/resource-manager/readme.md b/specification/storageimportexport/resource-manager/readme.md new file mode 100644 index 000000000000..78a8c885983c --- /dev/null +++ b/specification/storageimportexport/resource-manager/readme.md @@ -0,0 +1,53 @@ +# StorageImportExport + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for StorageImportExport. + + + +--- +## Getting Started +To build the SDK for StorageImportExport, 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 StorageImportExport API. + +``` yaml +openapi-type: arm +tag: package-2016-11 +``` + + +### Tag: package-2016-11 + +These settings apply only when `--tag=package-2016-11` is specified on the command line. + +``` yaml $(tag) == 'package-2016-11' +input-file: +- Microsoft.ImportExport/2016-11-01/storageimportexport.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-storsimple8000series/2017-06-01/swagger/storsimple.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/2017-06-01/storsimple.json similarity index 100% rename from arm-storsimple8000series/2017-06-01/swagger/storsimple.json rename to specification/storsimple8000series/resource-manager/Microsoft.StorSimple/2017-06-01/storsimple.json diff --git a/specification/storsimple8000series/resource-manager/readme.md b/specification/storsimple8000series/resource-manager/readme.md new file mode 100644 index 000000000000..c488f6497358 --- /dev/null +++ b/specification/storsimple8000series/resource-manager/readme.md @@ -0,0 +1,53 @@ +# StorSimple + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for StorSimple. + + + +--- +## Getting Started +To build the SDK for StorSimple, 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 StorSimple API. + +``` yaml +openapi-type: arm +tag: package-2017-06 +``` + + +### Tag: package-2017-06 + +These settings apply only when `--tag=package-2017-06` is specified on the command line. + +``` yaml $(tag) == 'package-2017-06' +input-file: +- Microsoft.StorSimple/2017-06-01/storsimple.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Create_AzureML.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Create_AzureML.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Create_AzureML.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Create_AzureML.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Create_JavaScript.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Create_JavaScript.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Create_JavaScript.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Create_JavaScript.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Delete.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Delete.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Delete.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Delete.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Get_AzureML.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Get_AzureML.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Get_AzureML.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Get_AzureML.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Get_JavaScript.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Get_JavaScript.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Get_JavaScript.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Get_JavaScript.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_ListByStreamingJob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_ListByStreamingJob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_ListByStreamingJob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_ListByStreamingJob.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_RetrieveDefaultDefinition_AzureML.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Test_AzureML.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Test_AzureML.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Test_AzureML.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Test_AzureML.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Test_JavaScript.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Test_JavaScript.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Test_JavaScript.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Test_JavaScript.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Update_AzureML.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Update_AzureML.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Update_AzureML.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Update_AzureML.json diff --git a/arm-streamanalytics/2016-03-01/examples/Function_Update_JavaScript.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Update_JavaScript.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Function_Update_JavaScript.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Function_Update_JavaScript.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Create_Reference_Blob_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Reference_Blob_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Create_Reference_Blob_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Reference_Blob_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Create_Stream_Blob_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Stream_Blob_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Create_Stream_Blob_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Stream_Blob_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Create_Stream_EventHub_JSON.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Stream_EventHub_JSON.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Create_Stream_EventHub_JSON.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Stream_EventHub_JSON.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Create_Stream_IoTHub_Avro.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Stream_IoTHub_Avro.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Create_Stream_IoTHub_Avro.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Create_Stream_IoTHub_Avro.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Delete.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Delete.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Delete.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Delete.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Get_Reference_Blob_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Reference_Blob_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Get_Reference_Blob_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Reference_Blob_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Get_Stream_Blob_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Stream_Blob_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Get_Stream_Blob_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Stream_Blob_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Get_Stream_EventHub_JSON.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Stream_EventHub_JSON.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Get_Stream_EventHub_JSON.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Stream_EventHub_JSON.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Get_Stream_IoTHub_Avro.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Stream_IoTHub_Avro.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Get_Stream_IoTHub_Avro.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Get_Stream_IoTHub_Avro.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_ListByStreamingJob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_ListByStreamingJob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_ListByStreamingJob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_ListByStreamingJob.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_ListByStreamingJob_Diagnostics.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_ListByStreamingJob_Diagnostics.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_ListByStreamingJob_Diagnostics.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_ListByStreamingJob_Diagnostics.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Test.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Test.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Test.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Test.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Update_Reference_Blob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Reference_Blob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Update_Reference_Blob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Reference_Blob.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Update_Stream_Blob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Stream_Blob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Update_Stream_Blob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Stream_Blob.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Update_Stream_EventHub.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Stream_EventHub.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Update_Stream_EventHub.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Stream_EventHub.json diff --git a/arm-streamanalytics/2016-03-01/examples/Input_Update_Stream_IoTHub.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Stream_IoTHub.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Input_Update_Stream_IoTHub.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Input_Update_Stream_IoTHub.json diff --git a/arm-streamanalytics/2016-03-01/examples/Operation_List.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Operation_List.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Operation_List.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Operation_List.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_AzureSQL.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureSQL.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_AzureSQL.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureSQL.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_AzureTable.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureTable.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_AzureTable.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_AzureTable.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_Blob_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_Blob_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_Blob_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_Blob_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_DocumentDB.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_DocumentDB.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_DocumentDB.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_DocumentDB.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_EventHub_JSON.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_EventHub_JSON.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_EventHub_JSON.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_EventHub_JSON.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_ServiceBusQueue_Avro.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_ServiceBusQueue_Avro.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_ServiceBusQueue_Avro.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_ServiceBusQueue_Avro.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Create_ServiceBusTopic_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_ServiceBusTopic_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Create_ServiceBusTopic_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Create_ServiceBusTopic_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Delete.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Delete.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Delete.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Delete.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_AzureSQL.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureSQL.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_AzureSQL.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureSQL.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_AzureTable.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureTable.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_AzureTable.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_AzureTable.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_Blob_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_Blob_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_Blob_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_Blob_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_DocumentDB.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_DocumentDB.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_DocumentDB.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_DocumentDB.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_EventHub_JSON.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_EventHub_JSON.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_EventHub_JSON.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_EventHub_JSON.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_ServiceBusQueue_Avro.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_ServiceBusQueue_Avro.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_ServiceBusQueue_Avro.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_ServiceBusQueue_Avro.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Get_ServiceBusTopic_CSV.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_ServiceBusTopic_CSV.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Get_ServiceBusTopic_CSV.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Get_ServiceBusTopic_CSV.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_ListByStreamingJob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_ListByStreamingJob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_ListByStreamingJob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_ListByStreamingJob.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Test.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Test.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Test.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Test.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_AzureSQL.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureSQL.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_AzureSQL.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureSQL.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_AzureTable.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureTable.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_AzureTable.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_AzureTable.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_Blob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_Blob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_Blob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_Blob.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_DocumentDB.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_DocumentDB.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_DocumentDB.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_DocumentDB.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_EventHub.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_EventHub.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_EventHub.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_EventHub.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_ServiceBusQueue.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_ServiceBusQueue.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_ServiceBusQueue.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_ServiceBusQueue.json diff --git a/arm-streamanalytics/2016-03-01/examples/Output_Update_ServiceBusTopic.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_ServiceBusTopic.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Output_Update_ServiceBusTopic.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Output_Update_ServiceBusTopic.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Create_CompleteJob.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Create_CompleteJob.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Create_CompleteJob.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Create_CompleteJob.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Create_JobShell.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Create_JobShell.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Create_JobShell.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Create_JobShell.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Delete.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Delete.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Delete.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Delete.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Get_Expand.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Get_Expand.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Get_Expand.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Get_Expand.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Get_NoExpand.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Get_NoExpand.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Get_NoExpand.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Get_NoExpand.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_Expand.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_ByResourceGroup_NoExpand.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_List_BySubscription_Expand.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_BySubscription_Expand.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_List_BySubscription_Expand.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_BySubscription_Expand.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_List_BySubscription_NoExpand.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Start_CustomTime.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Start_CustomTime.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Start_CustomTime.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Start_CustomTime.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Start_JobStartTime.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Start_JobStartTime.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Start_JobStartTime.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Start_JobStartTime.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Start_LastOutputEventTime.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Start_LastOutputEventTime.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Start_LastOutputEventTime.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Start_LastOutputEventTime.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Stop.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Stop.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Stop.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Stop.json diff --git a/arm-streamanalytics/2016-03-01/examples/StreamingJob_Update.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Update.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/StreamingJob_Update.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/StreamingJob_Update.json diff --git a/arm-streamanalytics/2016-03-01/examples/Subscription_ListQuotas.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Subscription_ListQuotas.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Subscription_ListQuotas.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Subscription_ListQuotas.json diff --git a/arm-streamanalytics/2016-03-01/examples/Transformation_Create.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Transformation_Create.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Transformation_Create.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Transformation_Create.json diff --git a/arm-streamanalytics/2016-03-01/examples/Transformation_Get.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Transformation_Get.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Transformation_Get.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Transformation_Get.json diff --git a/arm-streamanalytics/2016-03-01/examples/Transformation_Update.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Transformation_Update.json similarity index 100% rename from arm-streamanalytics/2016-03-01/examples/Transformation_Update.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/examples/Transformation_Update.json diff --git a/arm-streamanalytics/2016-03-01/swagger/functions.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/functions.json similarity index 96% rename from arm-streamanalytics/2016-03-01/swagger/functions.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/functions.json index 30f8962e6a75..8f86a9f9dc56 100644 --- a/arm-streamanalytics/2016-03-01/swagger/functions.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/functions.json @@ -41,8 +41,8 @@ "operationId": "Functions_CreateOrReplace", "description": "Creates a function or replaces an already existing function under an existing streaming job.", "x-ms-examples": { - "Create an Azure ML function": { "$ref": "../examples/Function_Create_AzureML.json" }, - "Create a JavaScript function": { "$ref": "../examples/Function_Create_JavaScript.json" } + "Create an Azure ML function": { "$ref": "./examples/Function_Create_AzureML.json" }, + "Create a JavaScript function": { "$ref": "./examples/Function_Create_JavaScript.json" } }, "parameters": [ { @@ -120,8 +120,8 @@ "operationId": "Functions_Update", "description": "Updates an existing function under an existing streaming job. This can be used to partially update (ie. update one or two properties) a function without affecting the rest the job or function definition.", "x-ms-examples": { - "Update an Azure ML function": { "$ref": "../examples/Function_Update_AzureML.json" }, - "Update a JavaScript function": { "$ref": "../examples/Function_Update_JavaScript.json" } + "Update an Azure ML function": { "$ref": "./examples/Function_Update_AzureML.json" }, + "Update a JavaScript function": { "$ref": "./examples/Function_Update_JavaScript.json" } }, "parameters": [ { @@ -179,7 +179,7 @@ "operationId": "Functions_Delete", "description": "Deletes a function from the streaming job.", "x-ms-examples": { - "Delete a function": { "$ref": "../examples/Function_Delete.json" } + "Delete a function": { "$ref": "./examples/Function_Delete.json" } }, "parameters": [ { @@ -214,8 +214,8 @@ "operationId": "Functions_Get", "description": "Gets details about the specified function.", "x-ms-examples": { - "Get an Azure ML function": { "$ref": "../examples/Function_Get_AzureML.json" }, - "Get a JavaScript function": { "$ref": "../examples/Function_Get_JavaScript.json" } + "Get an Azure ML function": { "$ref": "./examples/Function_Get_AzureML.json" }, + "Get a JavaScript function": { "$ref": "./examples/Function_Get_JavaScript.json" } }, "parameters": [ { @@ -258,7 +258,7 @@ "operationId": "Functions_ListByStreamingJob", "description": "Lists all of the functions under the specified streaming job.", "x-ms-examples": { - "List all functions in a streaming job": { "$ref": "../examples/Function_ListByStreamingJob.json" } + "List all functions in a streaming job": { "$ref": "./examples/Function_ListByStreamingJob.json" } }, "parameters": [ { @@ -302,8 +302,8 @@ "operationId": "Functions_Test", "description": "Tests if the information provided for a function is valid. This can range from testing the connection to the underlying web service behind the function or making sure the function code provided is syntactically correct.", "x-ms-examples": { - "Test the connection for an Azure ML function": { "$ref": "../examples/Function_Test_AzureML.json" }, - "Test the connection for a JavaScript function": { "$ref": "../examples/Function_Test_JavaScript.json" } + "Test the connection for an Azure ML function": { "$ref": "./examples/Function_Test_AzureML.json" }, + "Test the connection for a JavaScript function": { "$ref": "./examples/Function_Test_JavaScript.json" } }, "parameters": [ { @@ -353,7 +353,7 @@ "operationId": "Functions_RetrieveDefaultDefinition", "description": "Retrieves the default definition of a function based on the parameters specified.", "x-ms-examples": { - "Retrieve the default definition for an Azure ML function": { "$ref": "../examples/Function_RetrieveDefaultDefinition_AzureML.json" } + "Retrieve the default definition for an Azure ML function": { "$ref": "./examples/Function_RetrieveDefaultDefinition_AzureML.json" } }, "parameters": [ { diff --git a/arm-streamanalytics/2016-03-01/swagger/inputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/inputs.json similarity index 96% rename from arm-streamanalytics/2016-03-01/swagger/inputs.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/inputs.json index 806407fabae9..593f163672d6 100644 --- a/arm-streamanalytics/2016-03-01/swagger/inputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/inputs.json @@ -41,10 +41,10 @@ "operationId": "Inputs_CreateOrReplace", "description": "Creates an input or replaces an already existing input under an existing streaming job.", "x-ms-examples": { - "Create a reference blob input wtih CSV serialization": { "$ref": "../examples/Input_Create_Reference_Blob_CSV.json" }, - "Create a stream blob input with CSV serialization": { "$ref": "../examples/Input_Create_Stream_Blob_CSV.json" }, - "Create a stream Event Hub input with JSON serialization": { "$ref": "../examples/Input_Create_Stream_EventHub_JSON.json" }, - "Create a stream IoT Hub input with Avro serialization": { "$ref": "../examples/Input_Create_Stream_IoTHub_Avro.json" } + "Create a reference blob input wtih CSV serialization": { "$ref": "./examples/Input_Create_Reference_Blob_CSV.json" }, + "Create a stream blob input with CSV serialization": { "$ref": "./examples/Input_Create_Stream_Blob_CSV.json" }, + "Create a stream Event Hub input with JSON serialization": { "$ref": "./examples/Input_Create_Stream_EventHub_JSON.json" }, + "Create a stream IoT Hub input with Avro serialization": { "$ref": "./examples/Input_Create_Stream_IoTHub_Avro.json" } }, "parameters": [ { @@ -122,10 +122,10 @@ "operationId": "Inputs_Update", "description": "Updates an existing input under an existing streaming job. This can be used to partially update (ie. update one or two properties) an input without affecting the rest the job or input definition.", "x-ms-examples": { - "Update a reference blob input": { "$ref": "../examples/Input_Update_Reference_Blob.json" }, - "Update a stream blob input": { "$ref": "../examples/Input_Update_Stream_Blob.json" }, - "Update a stream Event Hub input": { "$ref": "../examples/Input_Update_Stream_EventHub.json" }, - "Update a stream IoT Hub input": { "$ref": "../examples/Input_Update_Stream_IoTHub.json" } + "Update a reference blob input": { "$ref": "./examples/Input_Update_Reference_Blob.json" }, + "Update a stream blob input": { "$ref": "./examples/Input_Update_Stream_Blob.json" }, + "Update a stream Event Hub input": { "$ref": "./examples/Input_Update_Stream_EventHub.json" }, + "Update a stream IoT Hub input": { "$ref": "./examples/Input_Update_Stream_IoTHub.json" } }, "parameters": [ { @@ -183,7 +183,7 @@ "operationId": "Inputs_Delete", "description": "Deletes an input from the streaming job.", "x-ms-examples": { - "Delete an input": { "$ref": "../examples/Input_Delete.json" } + "Delete an input": { "$ref": "./examples/Input_Delete.json" } }, "parameters": [ { @@ -218,10 +218,10 @@ "operationId": "Inputs_Get", "description": "Gets details about the specified input.", "x-ms-examples": { - "Get a reference blob input wtih CSV serialization": { "$ref": "../examples/Input_Get_Reference_Blob_CSV.json" }, - "Get a stream blob input with CSV serialization": { "$ref": "../examples/Input_Get_Stream_Blob_CSV.json" }, - "Get a stream Event Hub input with JSON serialization": { "$ref": "../examples/Input_Get_Stream_EventHub_JSON.json" }, - "Get a stream IoT Hub input with Avro serialization": { "$ref": "../examples/Input_Get_Stream_IoTHub_Avro.json" } + "Get a reference blob input wtih CSV serialization": { "$ref": "./examples/Input_Get_Reference_Blob_CSV.json" }, + "Get a stream blob input with CSV serialization": { "$ref": "./examples/Input_Get_Stream_Blob_CSV.json" }, + "Get a stream Event Hub input with JSON serialization": { "$ref": "./examples/Input_Get_Stream_EventHub_JSON.json" }, + "Get a stream IoT Hub input with Avro serialization": { "$ref": "./examples/Input_Get_Stream_IoTHub_Avro.json" } }, "parameters": [ { @@ -264,8 +264,8 @@ "operationId": "Inputs_ListByStreamingJob", "description": "Lists all of the inputs under the specified streaming job.", "x-ms-examples": { - "List all inputs in a streaming job": { "$ref": "../examples/Input_ListByStreamingJob.json" }, - "List all inputs in a streaming job and include diagnostic information using the $select OData query parameter": { "$ref": "../examples/Input_ListByStreamingJob_Diagnostics.json" } + "List all inputs in a streaming job": { "$ref": "./examples/Input_ListByStreamingJob.json" }, + "List all inputs in a streaming job and include diagnostic information using the $select OData query parameter": { "$ref": "./examples/Input_ListByStreamingJob_Diagnostics.json" } }, "parameters": [ { @@ -309,7 +309,7 @@ "operationId": "Inputs_Test", "description": "Tests whether an input’s datasource is reachable and usable by the Azure Stream Analytics service.", "x-ms-examples": { - "Test the connection for an input": { "$ref": "../examples/Input_Test.json" } + "Test the connection for an input": { "$ref": "./examples/Input_Test.json" } }, "parameters": [ { diff --git a/arm-streamanalytics/2016-03-01/swagger/outputs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json similarity index 93% rename from arm-streamanalytics/2016-03-01/swagger/outputs.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json index 2e9fa89400f9..539616074367 100644 --- a/arm-streamanalytics/2016-03-01/swagger/outputs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/outputs.json @@ -41,13 +41,13 @@ "operationId": "Outputs_CreateOrReplace", "description": "Creates an output or replaces an already existing output under an existing streaming job.", "x-ms-examples": { - "Create an Azure SQL database output": { "$ref": "../examples/Output_Create_AzureSQL.json" }, - "Create an Azure Table output": { "$ref": "../examples/Output_Create_AzureTable.json" }, - "Create a blob output with CSV serialization": { "$ref": "../examples/Output_Create_Blob_CSV.json" }, - "Create a DocumentDB output": { "$ref": "../examples/Output_Create_DocumentDB.json" }, - "Create an Event Hub output with JSON serialization": { "$ref": "../examples/Output_Create_EventHub_JSON.json" }, - "Create a Service Bus Queue output with Avro serialization": { "$ref": "../examples/Output_Create_ServiceBusQueue_Avro.json" }, - "Create a Service Bus Topic output with CSV serialization": { "$ref": "../examples/Output_Create_ServiceBusTopic_CSV.json" } + "Create an Azure SQL database output": { "$ref": "./examples/Output_Create_AzureSQL.json" }, + "Create an Azure Table output": { "$ref": "./examples/Output_Create_AzureTable.json" }, + "Create a blob output with CSV serialization": { "$ref": "./examples/Output_Create_Blob_CSV.json" }, + "Create a DocumentDB output": { "$ref": "./examples/Output_Create_DocumentDB.json" }, + "Create an Event Hub output with JSON serialization": { "$ref": "./examples/Output_Create_EventHub_JSON.json" }, + "Create a Service Bus Queue output with Avro serialization": { "$ref": "./examples/Output_Create_ServiceBusQueue_Avro.json" }, + "Create a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Create_ServiceBusTopic_CSV.json" } }, "parameters": [ { @@ -125,13 +125,13 @@ "operationId": "Outputs_Update", "description": "Updates an existing output under an existing streaming job. This can be used to partially update (ie. update one or two properties) an output without affecting the rest the job or output definition.", "x-ms-examples": { - "Update an Azure SQL database output": { "$ref": "../examples/Output_Update_AzureSQL.json" }, - "Update an Azure Table output": { "$ref": "../examples/Output_Update_AzureTable.json" }, - "Update a blob output with CSV serialization": { "$ref": "../examples/Output_Update_Blob.json" }, - "Update a DocumentDB output": { "$ref": "../examples/Output_Update_DocumentDB.json" }, - "Update an Event Hub output with JSON serialization": { "$ref": "../examples/Output_Update_EventHub.json" }, - "Update a Service Bus Queue output with Avro serialization": { "$ref": "../examples/Output_Update_ServiceBusQueue.json" }, - "Update a Service Bus Topic output with CSV serialization": { "$ref": "../examples/Output_Update_ServiceBusTopic.json" } + "Update an Azure SQL database output": { "$ref": "./examples/Output_Update_AzureSQL.json" }, + "Update an Azure Table output": { "$ref": "./examples/Output_Update_AzureTable.json" }, + "Update a blob output with CSV serialization": { "$ref": "./examples/Output_Update_Blob.json" }, + "Update a DocumentDB output": { "$ref": "./examples/Output_Update_DocumentDB.json" }, + "Update an Event Hub output with JSON serialization": { "$ref": "./examples/Output_Update_EventHub.json" }, + "Update a Service Bus Queue output with Avro serialization": { "$ref": "./examples/Output_Update_ServiceBusQueue.json" }, + "Update a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Update_ServiceBusTopic.json" } }, "parameters": [ { @@ -189,7 +189,7 @@ "operationId": "Outputs_Delete", "description": "Deletes an output from the streaming job.", "x-ms-examples": { - "Delete an output": { "$ref": "../examples/Output_Delete.json" } + "Delete an output": { "$ref": "./examples/Output_Delete.json" } }, "parameters": [ { @@ -224,13 +224,13 @@ "operationId": "Outputs_Get", "description": "Gets details about the specified output.", "x-ms-examples": { - "Get an Azure SQL database output": { "$ref": "../examples/Output_Get_AzureSQL.json" }, - "Get an Azure Table output": { "$ref": "../examples/Output_Get_AzureTable.json" }, - "Get a blob output with CSV serialization": { "$ref": "../examples/Output_Get_Blob_CSV.json" }, - "Get a DocumentDB output": { "$ref": "../examples/Output_Get_DocumentDB.json" }, - "Get an Event Hub output with JSON serialization": { "$ref": "../examples/Output_Get_EventHub_JSON.json" }, - "Get a Service Bus Queue output with Avro serialization": { "$ref": "../examples/Output_Get_ServiceBusQueue_Avro.json" }, - "Get a Service Bus Topic output with CSV serialization": { "$ref": "../examples/Output_Get_ServiceBusTopic_CSV.json" } + "Get an Azure SQL database output": { "$ref": "./examples/Output_Get_AzureSQL.json" }, + "Get an Azure Table output": { "$ref": "./examples/Output_Get_AzureTable.json" }, + "Get a blob output with CSV serialization": { "$ref": "./examples/Output_Get_Blob_CSV.json" }, + "Get a DocumentDB output": { "$ref": "./examples/Output_Get_DocumentDB.json" }, + "Get an Event Hub output with JSON serialization": { "$ref": "./examples/Output_Get_EventHub_JSON.json" }, + "Get a Service Bus Queue output with Avro serialization": { "$ref": "./examples/Output_Get_ServiceBusQueue_Avro.json" }, + "Get a Service Bus Topic output with CSV serialization": { "$ref": "./examples/Output_Get_ServiceBusTopic_CSV.json" } }, "parameters": [ { @@ -273,7 +273,7 @@ "operationId": "Outputs_ListByStreamingJob", "description": "Lists all of the outputs under the specified streaming job.", "x-ms-examples": { - "List all outputs in a streaming job": { "$ref": "../examples/Output_ListByStreamingJob.json" } + "List all outputs in a streaming job": { "$ref": "./examples/Output_ListByStreamingJob.json" } }, "parameters": [ { @@ -317,7 +317,7 @@ "operationId": "Outputs_Test", "description": "Tests whether an output’s datasource is reachable and usable by the Azure Stream Analytics service.", "x-ms-examples": { - "Test the connection for an output": { "$ref": "../examples/Output_Test.json" } + "Test the connection for an output": { "$ref": "./examples/Output_Test.json" } }, "parameters": [ { diff --git a/arm-streamanalytics/2016-03-01/swagger/streamingjobs.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/streamingjobs.json similarity index 95% rename from arm-streamanalytics/2016-03-01/swagger/streamingjobs.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/streamingjobs.json index 27ff28343ff3..73896eb6ba64 100644 --- a/arm-streamanalytics/2016-03-01/swagger/streamingjobs.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/streamingjobs.json @@ -41,7 +41,7 @@ "operationId": "Operations_List", "description": "Lists all of the available Stream Analytics related operations.", "x-ms-examples": { - "List available operations for the Stream Analytics resource provider": { "$ref": "../examples/Operation_List.json" } + "List available operations for the Stream Analytics resource provider": { "$ref": "./examples/Operation_List.json" } }, "parameters": [ { @@ -69,8 +69,8 @@ "operationId": "StreamingJobs_CreateOrReplace", "description": "Creates a streaming job or replaces an already existing streaming job.", "x-ms-examples": { - "Create a streaming job shell (a streaming job with no inputs, outputs, transformation, or functions)": { "$ref": "../examples/StreamingJob_Create_JobShell.json" }, - "Create a complete streaming job (a streaming job with a transformation, at least 1 input and at least 1 output)": { "$ref": "../examples/StreamingJob_Create_CompleteJob.json" } + "Create a streaming job shell (a streaming job with no inputs, outputs, transformation, or functions)": { "$ref": "./examples/StreamingJob_Create_JobShell.json" }, + "Create a complete streaming job (a streaming job with a transformation, at least 1 input and at least 1 output)": { "$ref": "./examples/StreamingJob_Create_CompleteJob.json" } }, "parameters": [ { @@ -146,7 +146,7 @@ "operationId": "StreamingJobs_Update", "description": "Updates an existing streaming job. This can be used to partially update (ie. update one or two properties) a streaming job without affecting the rest the job definition.", "x-ms-examples": { - "Update a streaming job": { "$ref": "../examples/StreamingJob_Update.json" } + "Update a streaming job": { "$ref": "./examples/StreamingJob_Update.json" } }, "parameters": [ { @@ -201,7 +201,7 @@ "operationId": "StreamingJobs_Delete", "description": "Deletes a streaming job.", "x-ms-examples": { - "Delete a streaming job": { "$ref": "../examples/StreamingJob_Delete.json" } + "Delete a streaming job": { "$ref": "./examples/StreamingJob_Delete.json" } }, "parameters": [ { @@ -237,8 +237,8 @@ "operationId": "StreamingJobs_Get", "description": "Gets details about the specified streaming job.", "x-ms-examples": { - "Get a streaming job and do not use the $expand OData query parameter": { "$ref": "../examples/StreamingJob_Get_NoExpand.json" }, - "Get a streaming job and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions": { "$ref": "../examples/StreamingJob_Get_Expand.json" } + "Get a streaming job and do not use the $expand OData query parameter": { "$ref": "./examples/StreamingJob_Get_NoExpand.json" }, + "Get a streaming job and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions": { "$ref": "./examples/StreamingJob_Get_Expand.json" } }, "parameters": [ { @@ -285,8 +285,8 @@ "operationId": "StreamingJobs_ListByResourceGroup", "description": "Lists all of the streaming jobs in the specified resource group.", "x-ms-examples": { - "List all streaming jobs in a resource group and do not use the $expand OData query parameter": { "$ref": "../examples/StreamingJob_List_ByResourceGroup_NoExpand.json" }, - "List all streaming jobs in a resource group and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions": { "$ref": "../examples/StreamingJob_List_ByResourceGroup_Expand.json" } + "List all streaming jobs in a resource group and do not use the $expand OData query parameter": { "$ref": "./examples/StreamingJob_List_ByResourceGroup_NoExpand.json" }, + "List all streaming jobs in a resource group and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions": { "$ref": "./examples/StreamingJob_List_ByResourceGroup_Expand.json" } }, "parameters": [ { @@ -327,8 +327,8 @@ "operationId": "StreamingJobs_List", "description": "Lists all of the streaming jobs in the given subscription.", "x-ms-examples": { - "List all streaming jobs in a subscription and do not use the $expand OData query parameter": { "$ref": "../examples/StreamingJob_List_BySubscription_NoExpand.json" }, - "List all streaming jobs in a subscription and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions": { "$ref": "../examples/StreamingJob_List_BySubscription_Expand.json" } + "List all streaming jobs in a subscription and do not use the $expand OData query parameter": { "$ref": "./examples/StreamingJob_List_BySubscription_NoExpand.json" }, + "List all streaming jobs in a subscription and use the $expand OData query parameter to expand inputs, outputs, transformation, and functions": { "$ref": "./examples/StreamingJob_List_BySubscription_Expand.json" } }, "parameters": [ { @@ -366,9 +366,9 @@ "operationId": "StreamingJobs_Start", "description": "Starts a streaming job. Once a job is started it will start processing input events and produce output.", "x-ms-examples": { - "Start a streaming job with CustomTime output start mode": { "$ref": "../examples/StreamingJob_Start_CustomTime.json" }, - "Start a streaming job with JobStartTime output start mode": { "$ref": "../examples/StreamingJob_Start_JobStartTime.json" }, - "Start a streaming job with LastOutputEventTime output start mode": { "$ref": "../examples/StreamingJob_Start_LastOutputEventTime.json" } + "Start a streaming job with CustomTime output start mode": { "$ref": "./examples/StreamingJob_Start_CustomTime.json" }, + "Start a streaming job with JobStartTime output start mode": { "$ref": "./examples/StreamingJob_Start_JobStartTime.json" }, + "Start a streaming job with LastOutputEventTime output start mode": { "$ref": "./examples/StreamingJob_Start_LastOutputEventTime.json" } }, "parameters": [ { @@ -412,7 +412,7 @@ "operationId": "StreamingJobs_Stop", "description": "Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output.", "x-ms-examples": { - "Stop a streaming job": { "$ref": "../examples/StreamingJob_Stop.json" } + "Stop a streaming job": { "$ref": "./examples/StreamingJob_Stop.json" } }, "parameters": [ { diff --git a/arm-streamanalytics/2016-03-01/swagger/subscriptions.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/subscriptions.json similarity index 98% rename from arm-streamanalytics/2016-03-01/swagger/subscriptions.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/subscriptions.json index ac1f669264ba..2d4db5a2325e 100644 --- a/arm-streamanalytics/2016-03-01/swagger/subscriptions.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/subscriptions.json @@ -41,7 +41,7 @@ "operationId": "Subscriptions_ListQuotas", "description": "Retrieves the subscription's current quota information in a particular region.", "x-ms-examples": { - "List subscription quota information in West US": { "$ref": "../examples/Subscription_ListQuotas.json" } + "List subscription quota information in West US": { "$ref": "./examples/Subscription_ListQuotas.json" } }, "parameters": [ { diff --git a/arm-streamanalytics/2016-03-01/swagger/transformations.json b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/transformations.json similarity index 97% rename from arm-streamanalytics/2016-03-01/swagger/transformations.json rename to specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/transformations.json index 3aff35f3c7f5..fc9a796a560b 100644 --- a/arm-streamanalytics/2016-03-01/swagger/transformations.json +++ b/specification/streamanalytics/resource-manager/Microsoft.StreamAnalytics/2016-03-01/transformations.json @@ -41,7 +41,7 @@ "operationId": "Transformations_CreateOrReplace", "description": "Creates a transformation or replaces an already existing transformation under an existing streaming job.", "x-ms-examples": { - "Create a transformation": { "$ref": "../examples/Transformation_Create.json" } + "Create a transformation": { "$ref": "./examples/Transformation_Create.json" } }, "parameters": [ { @@ -119,7 +119,7 @@ "operationId": "Transformations_Update", "description": "Updates an existing transformation under an existing streaming job. This can be used to partially update (ie. update one or two properties) a transformation without affecting the rest the job or transformation definition.", "x-ms-examples": { - "Update a transformation": { "$ref": "../examples/Transformation_Update.json" } + "Update a transformation": { "$ref": "./examples/Transformation_Update.json" } }, "parameters": [ { @@ -177,7 +177,7 @@ "operationId": "Transformations_Get", "description": "Gets details about the specified transformation.", "x-ms-examples": { - "Get a transformation": { "$ref": "../examples/Transformation_Get.json" } + "Get a transformation": { "$ref": "./examples/Transformation_Get.json" } }, "parameters": [ { diff --git a/specification/streamanalytics/resource-manager/readme.md b/specification/streamanalytics/resource-manager/readme.md new file mode 100644 index 000000000000..41e3d2176f9d --- /dev/null +++ b/specification/streamanalytics/resource-manager/readme.md @@ -0,0 +1,60 @@ +# StreamAnalytics + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for StreamAnalytics. + + + +--- +## Getting Started +To build the SDK for StreamAnalytics, 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 StreamAnalytics API. + +``` yaml +title: Stream Analytics Management Client +description: Stream Analytics Client +openapi-type: arm +tag: package-2016-03 +``` + + +### Tag: package-2016-03 + +These settings apply only when `--tag=package-2016-03` is specified on the command line. + +``` yaml $(tag) == 'package-2016-03' +input-file: +- Microsoft.StreamAnalytics/2016-03-01/streamingjobs.json +- Microsoft.StreamAnalytics/2016-03-01/inputs.json +- Microsoft.StreamAnalytics/2016-03-01/outputs.json +- Microsoft.StreamAnalytics/2016-03-01/transformations.json +- Microsoft.StreamAnalytics/2016-03-01/functions.json +- Microsoft.StreamAnalytics/2016-03-01/subscriptions.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesCreate.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesCreate.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesCreate.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesDelete.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesDelete.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesDelete.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesDelete.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesGet.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesGet.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesGet.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesListByEnvironment.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/AccessPoliciesPatchRoles.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsCreate.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsCreate.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsCreate.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsDelete.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsDelete.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsDelete.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsDelete.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsGet.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsGet.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsGet.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsListByResourceGroup.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsListBySubscription.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsListBySubscription.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsListBySubscription.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsListBySubscription.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsPatchSkuCapacity.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsPatchSkuCapacity.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EnvironmentsPatchSkuCapacity.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EnvironmentsPatchSkuCapacity.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesCreateEventHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesCreateEventHub.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesCreateEventHub.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesCreateEventHub.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesCreateIoTHub.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesCreateIoTHub.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesCreateIoTHub.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesCreateIoTHub.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesDelete.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesDelete.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesDelete.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesDelete.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesGet.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesGet.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesGet.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesListByEnvironment.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesListByEnvironment.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesListByEnvironment.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesPatchTimestampPropertyName.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesPatchTimestampPropertyName.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/EventSourcesPatchTimestampPropertyName.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/EventSourcesPatchTimestampPropertyName.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsCreate.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsCreate.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsCreate.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsCreate.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsDelete.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsDelete.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsDelete.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsDelete.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsGet.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsGet.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsGet.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsGet.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsListByEnvironment.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json similarity index 100% rename from arm-timeseriesinsights/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/examples/ReferenceDataSetsPatchTags.json diff --git a/arm-timeseriesinsights/2017-02-28-preview/Swagger/timeseriesinsights.json b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/timeseriesinsights.json similarity index 97% rename from arm-timeseriesinsights/2017-02-28-preview/Swagger/timeseriesinsights.json rename to specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/timeseriesinsights.json index 739b847601ee..02e329724a3b 100644 --- a/arm-timeseriesinsights/2017-02-28-preview/Swagger/timeseriesinsights.json +++ b/specification/timeseriesinsights/resource-manager/Microsoft.TimeSeriesInsights/2017-02-28-preview/timeseriesinsights.json @@ -41,7 +41,7 @@ ], "operationId": "Environments_CreateOrUpdate", "x-ms-examples": { - "EnvironmentsCreate": { "$ref": "../examples/EnvironmentsCreate.json" } + "EnvironmentsCreate": { "$ref": "./examples/EnvironmentsCreate.json" } }, "x-ms-long-running-operation": true, "description": "Create or update an environment in the specified subscription and resource group.", @@ -105,7 +105,7 @@ ], "operationId": "Environments_Get", "x-ms-examples": { - "EnvironmentsGet": { "$ref": "../examples/EnvironmentsGet.json" } + "EnvironmentsGet": { "$ref": "./examples/EnvironmentsGet.json" } }, "description": "Gets the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -143,7 +143,7 @@ ], "operationId": "Environments_Update", "x-ms-examples": { - "EnvironmentsUpdate": { "$ref": "../examples/EnvironmentsPatchSkuCapacity.json" } + "EnvironmentsUpdate": { "$ref": "./examples/EnvironmentsPatchSkuCapacity.json" } }, "x-ms-long-running-operation": true, "description": "Updates the environment with the specified name in the specified subscription and resource group.", @@ -191,7 +191,7 @@ ], "operationId": "Environments_Delete", "x-ms-examples": { - "EnvironmentsDelete": { "$ref": "../examples/EnvironmentsDelete.json" } + "EnvironmentsDelete": { "$ref": "./examples/EnvironmentsDelete.json" } }, "description": "Deletes the environment with the specified name in the specified subscription and resource group.", "parameters": [ @@ -231,7 +231,7 @@ ], "operationId": "Environments_ListByResourceGroup", "x-ms-examples": { - "EnvironmentsByResourceGroup": { "$ref": "../examples/EnvironmentsListByResourceGroup.json" } + "EnvironmentsByResourceGroup": { "$ref": "./examples/EnvironmentsListByResourceGroup.json" } }, "description": "Lists all the available environments associated with the subscription and within the specified resource group.", "parameters": [ @@ -268,7 +268,7 @@ ], "operationId": "Environments_ListBySubscription", "x-ms-examples": { - "EnvironmentsBySubscription": { "$ref": "../examples/EnvironmentsListBySubscription.json" } + "EnvironmentsBySubscription": { "$ref": "./examples/EnvironmentsListBySubscription.json" } }, "description": "Lists all the available environments within a subscription, irrespective of the resource groups.", "parameters": [ @@ -524,7 +524,7 @@ ], "operationId": "ReferenceDataSets_CreateOrUpdate", "x-ms-examples": { - "ReferenceDataSetsCreate": { "$ref": "../examples/ReferenceDataSetsCreate.json" } + "ReferenceDataSetsCreate": { "$ref": "./examples/ReferenceDataSetsCreate.json" } }, "description": "Create or update a reference data set in the specified environment.", "parameters": [ @@ -587,7 +587,7 @@ ], "operationId": "ReferenceDataSets_Get", "x-ms-examples": { - "ReferenceDataSetsGet": { "$ref": "../examples/ReferenceDataSetsGet.json" } + "ReferenceDataSetsGet": { "$ref": "./examples/ReferenceDataSetsGet.json" } }, "description": "Gets the reference data set with the specified name in the specified environment.", "parameters": [ @@ -628,7 +628,7 @@ ], "operationId": "ReferenceDataSets_Update", "x-ms-examples": { - "ReferenceDataSetsUpdate": { "$ref": "../examples/ReferenceDataSetsPatchTags.json" } + "ReferenceDataSetsUpdate": { "$ref": "./examples/ReferenceDataSetsPatchTags.json" } }, "description": "Updates the reference data set with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -678,7 +678,7 @@ ], "operationId": "ReferenceDataSets_Delete", "x-ms-examples": { - "ReferenceDataSetsDelete": { "$ref": "../examples/ReferenceDataSetsDelete.json" } + "ReferenceDataSetsDelete": { "$ref": "./examples/ReferenceDataSetsDelete.json" } }, "description": "Deletes the reference data set with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -721,7 +721,7 @@ ], "operationId": "ReferenceDataSets_ListByEnvironment", "x-ms-examples": { - "ReferenceDataSetsListByEnvironment": { "$ref": "../examples/ReferenceDataSetsListByEnvironment.json" } + "ReferenceDataSetsListByEnvironment": { "$ref": "./examples/ReferenceDataSetsListByEnvironment.json" } }, "description": "Lists all the available reference data sets associated with the subscription and within the specified resource group and environment.", "parameters": [ @@ -761,7 +761,7 @@ ], "operationId": "AccessPolicies_CreateOrUpdate", "x-ms-examples": { - "AccessPoliciesCreate": { "$ref": "../examples/AccessPoliciesCreate.json" } + "AccessPoliciesCreate": { "$ref": "./examples/AccessPoliciesCreate.json" } }, "description": "Create or update an access policy in the specified environment.", "parameters": [ @@ -824,7 +824,7 @@ ], "operationId": "AccessPolicies_Get", "x-ms-examples": { - "AccessPoliciesGet": { "$ref": "../examples/AccessPoliciesGet.json" } + "AccessPoliciesGet": { "$ref": "./examples/AccessPoliciesGet.json" } }, "description": "Gets the access policy with the specified name in the specified environment.", "parameters": [ @@ -865,7 +865,7 @@ ], "operationId": "AccessPolicies_Update", "x-ms-examples": { - "AccessPoliciesUpdate": { "$ref": "../examples/AccessPoliciesPatchRoles.json" } + "AccessPoliciesUpdate": { "$ref": "./examples/AccessPoliciesPatchRoles.json" } }, "description": "Updates the access policy with the specified name in the specified subscription, resource group, and environment.", "parameters": [ @@ -915,7 +915,7 @@ ], "operationId": "AccessPolicies_Delete", "x-ms-examples": { - "AccessPoliciesDelete": { "$ref": "../examples/AccessPoliciesDelete.json" } + "AccessPoliciesDelete": { "$ref": "./examples/AccessPoliciesDelete.json" } }, "description": "Deletes the access policy with the specified name in the specified subscription, resource group, and environment", "parameters": [ @@ -958,7 +958,7 @@ ], "operationId": "AccessPolicies_ListByEnvironment", "x-ms-examples": { - "AccessPoliciesByEnvironment": { "$ref": "../examples/AccessPoliciesListByEnvironment.json" } + "AccessPoliciesByEnvironment": { "$ref": "./examples/AccessPoliciesListByEnvironment.json" } }, "description": "Lists all the available access policies associated with the environment.", "parameters": [ @@ -1908,4 +1908,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/specification/timeseriesinsights/resource-manager/readme.md b/specification/timeseriesinsights/resource-manager/readme.md new file mode 100644 index 000000000000..e08d3d688fb1 --- /dev/null +++ b/specification/timeseriesinsights/resource-manager/readme.md @@ -0,0 +1,53 @@ +# TimeSeriesInsights + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for TimeSeriesInsights. + + + +--- +## Getting Started +To build the SDK for TimeSeriesInsights, 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 TimeSeriesInsights API. + +``` yaml +openapi-type: arm +tag: package-2017-02-preview +``` + + +### Tag: package-2017-02-preview + +These settings apply only when `--tag=package-2017-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-02-preview' +input-file: +- Microsoft.TimeSeriesInsights/2017-02-28-preview/timeseriesinsights.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-trafficmanager/2015-11-01/swagger/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2015-11-01/trafficmanager.json similarity index 100% rename from arm-trafficmanager/2015-11-01/swagger/trafficmanager.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2015-11-01/trafficmanager.json diff --git a/arm-trafficmanager/2017-03-01/swagger/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-03-01/trafficmanager.json similarity index 100% rename from arm-trafficmanager/2017-03-01/swagger/trafficmanager.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-03-01/trafficmanager.json diff --git a/arm-trafficmanager/2017-05-01/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-DELETE-External.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Endpoint-DELETE-External.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-DELETE-External.json diff --git a/arm-trafficmanager/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-GET-External-WithGeoMapping.json diff --git a/arm-trafficmanager/2017-05-01/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-GET-External-WithLocation.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Endpoint-GET-External-WithLocation.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-GET-External-WithLocation.json diff --git a/arm-trafficmanager/2017-05-01/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-PATCH-External-Target.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Endpoint-PATCH-External-Target.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-PATCH-External-Target.json diff --git a/arm-trafficmanager/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-PUT-External-WithGeoMapping.json diff --git a/arm-trafficmanager/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Endpoint-PUT-External-WithLocation.json diff --git a/arm-trafficmanager/2017-05-01/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/GeographicHierarchy-GET-default.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/GeographicHierarchy-GET-default.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/GeographicHierarchy-GET-default.json diff --git a/arm-trafficmanager/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json diff --git a/arm-trafficmanager/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-DELETE.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-DELETE.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-DELETE.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-GET-ByResourceGroup.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-GET-ByResourceGroup.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-GET-ByResourceGroup.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-GET-BySubscription.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-GET-BySubscription.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-GET-BySubscription.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-GET-WithEndpoints.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-GET-WithEndpoints.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-GET-WithEndpoints.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-PATCH-MonitorConfig.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-PATCH-MonitorConfig.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-PATCH-MonitorConfig.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-PUT-NoEndpoints.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-PUT-NoEndpoints.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-PUT-NoEndpoints.json diff --git a/arm-trafficmanager/2017-05-01/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-PUT-WithEndpoints.json similarity index 100% rename from arm-trafficmanager/2017-05-01/examples/Profile-PUT-WithEndpoints.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/examples/Profile-PUT-WithEndpoints.json diff --git a/arm-trafficmanager/2017-05-01/swagger/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/trafficmanager.json similarity index 96% rename from arm-trafficmanager/2017-05-01/swagger/trafficmanager.json rename to specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/trafficmanager.json index 518702c299c2..0cb985895c09 100644 --- a/arm-trafficmanager/2017-05-01/swagger/trafficmanager.json +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-05-01/trafficmanager.json @@ -83,7 +83,7 @@ }, "x-ms-examples": { "Endpoint-PATCH-External-Target": { - "$ref": "../examples/Endpoint-PATCH-External-Target.json" + "$ref": "./examples/Endpoint-PATCH-External-Target.json" } } }, @@ -145,10 +145,10 @@ }, "x-ms-examples": { "Endpoint-GET-External-WithGeoMapping": { - "$ref": "../examples/Endpoint-GET-External-WithGeoMapping.json" + "$ref": "./examples/Endpoint-GET-External-WithGeoMapping.json" }, "Endpoint-GET-External-WithLocation": { - "$ref": "../examples/Endpoint-GET-External-WithLocation.json" + "$ref": "./examples/Endpoint-GET-External-WithLocation.json" } } }, @@ -225,10 +225,10 @@ }, "x-ms-examples": { "Endpoint-PUT-External-WithGeoMapping": { - "$ref": "../examples/Endpoint-PUT-External-WithGeoMapping.json" + "$ref": "./examples/Endpoint-PUT-External-WithGeoMapping.json" }, "Endpoint-PUT-External-WithLocation": { - "$ref": "../examples/Endpoint-PUT-External-WithLocation.json" + "$ref": "./examples/Endpoint-PUT-External-WithLocation.json" } } }, @@ -293,7 +293,7 @@ }, "x-ms-examples": { "Endpoint-DELETE-External": { - "$ref": "../examples/Endpoint-DELETE-External.json" + "$ref": "./examples/Endpoint-DELETE-External.json" } } } @@ -335,10 +335,10 @@ }, "x-ms-examples": { "NameAvailabilityTest_NameAvailablePOST21": { - "$ref": "../examples/NameAvailabilityTest_NameAvailable-POST-example-21.json" + "$ref": "./examples/NameAvailabilityTest_NameAvailable-POST-example-21.json" }, "NameAvailabilityTest_NameNotAvailablePOST23": { - "$ref": "../examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json" + "$ref": "./examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json" } } } @@ -384,7 +384,7 @@ }, "x-ms-examples": { "ListProfilesByResourceGroup": { - "$ref": "../examples/Profile-GET-ByResourceGroup.json" + "$ref": "./examples/Profile-GET-ByResourceGroup.json" } } } @@ -423,7 +423,7 @@ }, "x-ms-examples": { "ListBySubscription": { - "$ref": "../examples/Profile-GET-BySubscription.json" + "$ref": "./examples/Profile-GET-BySubscription.json" } } } @@ -473,7 +473,7 @@ }, "x-ms-examples": { "Profile-GET-WithEndpoints": { - "$ref": "../examples/Profile-GET-WithEndpoints.json" + "$ref": "./examples/Profile-GET-WithEndpoints.json" } } }, @@ -536,10 +536,10 @@ }, "x-ms-examples": { "Profile-PUT-NoEndpoints": { - "$ref": "../examples/Profile-PUT-NoEndpoints.json" + "$ref": "./examples/Profile-PUT-NoEndpoints.json" }, "Profile-PUT-WithEndpoints": { - "$ref": "../examples/Profile-PUT-WithEndpoints.json" + "$ref": "./examples/Profile-PUT-WithEndpoints.json" } } }, @@ -590,7 +590,7 @@ }, "x-ms-examples": { "Profile-DELETE": { - "$ref": "../examples/Profile-DELETE.json" + "$ref": "./examples/Profile-DELETE.json" } } }, @@ -647,7 +647,7 @@ }, "x-ms-examples": { "Profile-PATCH-MonitorConfig": { - "$ref": "../examples/Profile-PATCH-MonitorConfig.json" + "$ref": "./examples/Profile-PATCH-MonitorConfig.json" } } } @@ -680,7 +680,7 @@ }, "x-ms-examples": { "GeographicHierarchy-GET-default": { - "$ref": "../examples/GeographicHierarchy-GET-default.json" + "$ref": "./examples/GeographicHierarchy-GET-default.json" } } } diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md new file mode 100644 index 000000000000..351534cb2b01 --- /dev/null +++ b/specification/trafficmanager/resource-manager/readme.md @@ -0,0 +1,72 @@ +# TrafficManager + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for TrafficManager. + + + +--- +## Getting Started +To build the SDK for TrafficManager, 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 TrafficManager API. + +``` yaml +openapi-type: arm +tag: package-2017-05 +``` + + +### Tag: package-2017-05 + +These settings apply only when `--tag=package-2017-05` is specified on the command line. + +``` yaml $(tag) == 'package-2017-05' +input-file: +- Microsoft.Network/2017-05-01/trafficmanager.json +``` + + +### Tag: package-2017-03 + +These settings apply only when `--tag=package-2017-03` is specified on the command line. + +``` yaml $(tag) == 'package-2017-03' +input-file: +- Microsoft.Network/2017-03-01/trafficmanager.json +``` + +### Tag: package-2015-11 + +These settings apply only when `--tag=package-2015-11` is specified on the command line. + +``` yaml $(tag) == 'package-2015-11' +input-file: +- Microsoft.Network/2015-11-01/trafficmanager.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + diff --git a/arm-web/2015-08-01/swagger/AppServiceCertificateOrders.json b/specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json similarity index 100% rename from arm-web/2015-08-01/swagger/AppServiceCertificateOrders.json rename to specification/web/resource-manager/Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json diff --git a/arm-web/2015-04-01/swagger/Domains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json similarity index 100% rename from arm-web/2015-04-01/swagger/Domains.json rename to specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/Domains.json diff --git a/arm-web/2015-04-01/swagger/TopLevelDomains.json b/specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json similarity index 100% rename from arm-web/2015-04-01/swagger/TopLevelDomains.json rename to specification/web/resource-manager/Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json diff --git a/arm-web/2015-08-01-preview/swagger/logicAppsManagementClient.json b/specification/web/resource-manager/Microsoft.Web/2015-08-01-preview/logicAppsManagementClient.json similarity index 100% rename from arm-web/2015-08-01-preview/swagger/logicAppsManagementClient.json rename to specification/web/resource-manager/Microsoft.Web/2015-08-01-preview/logicAppsManagementClient.json diff --git a/arm-web/2015-08-01/swagger/service.json b/specification/web/resource-manager/Microsoft.Web/2015-08-01/service.json similarity index 100% rename from arm-web/2015-08-01/swagger/service.json rename to specification/web/resource-manager/Microsoft.Web/2015-08-01/service.json diff --git a/arm-web/2016-03-01/swagger/Certificates.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json similarity index 100% rename from arm-web/2016-03-01/swagger/Certificates.json rename to specification/web/resource-manager/Microsoft.Web/2016-03-01/Certificates.json diff --git a/arm-web/2016-03-01/swagger/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json similarity index 100% rename from arm-web/2016-03-01/swagger/DeletedWebApps.json rename to specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json diff --git a/arm-web/2016-03-01/swagger/Provider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json similarity index 100% rename from arm-web/2016-03-01/swagger/Provider.json rename to specification/web/resource-manager/Microsoft.Web/2016-03-01/Provider.json diff --git a/arm-web/2016-03-01/swagger/Recommendations.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json similarity index 100% rename from arm-web/2016-03-01/swagger/Recommendations.json rename to specification/web/resource-manager/Microsoft.Web/2016-03-01/Recommendations.json diff --git a/arm-web/2016-03-01/swagger/ResourceProvider.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json similarity index 100% rename from arm-web/2016-03-01/swagger/ResourceProvider.json rename to specification/web/resource-manager/Microsoft.Web/2016-03-01/ResourceProvider.json diff --git a/arm-web/2016-08-01/swagger/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json similarity index 100% rename from arm-web/2016-08-01/swagger/WebApps.json rename to specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json diff --git a/arm-web/2016-09-01/swagger/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json similarity index 100% rename from arm-web/2016-09-01/swagger/AppServiceEnvironments.json rename to specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json diff --git a/arm-web/2016-09-01/swagger/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json similarity index 100% rename from arm-web/2016-09-01/swagger/AppServicePlans.json rename to specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md new file mode 100644 index 000000000000..841522e1413b --- /dev/null +++ b/specification/web/resource-manager/readme.md @@ -0,0 +1,94 @@ +# Web + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Web. + + +The App service RP comprises of services where each service has its own tag. +Hence, each sub-service has its own swagger spec. + +All of them are tied together using this configuration and are packaged together into one compute client library. +This makes it easier for customers to download one (nuget/npm/pip/maven/gem) compute client library package rather than installing individual packages for each sub service. + + +--- +## Getting Started +To build the SDK for Web, 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 Web API. + +``` yaml +title: WebSiteManagementClient +description: WebSite Management Client +openapi-type: arm +tag: package-2016-09 +``` + + +### Tag: package-2016-09 + +These settings apply only when `--tag=package-2016-09` is specified on the command line. + +``` yaml $(tag) == 'package-2016-09' +input-file: +- Microsoft.CertificateRegistration/2015-08-01/AppServiceCertificateOrders.json +- Microsoft.DomainRegistration/2015-04-01/Domains.json +- Microsoft.DomainRegistration/2015-04-01/TopLevelDomains.json +- Microsoft.Web/2016-03-01/Certificates.json +- Microsoft.Web/2016-03-01/DeletedWebApps.json +- Microsoft.Web/2016-03-01/Provider.json +- Microsoft.Web/2016-03-01/Recommendations.json +- Microsoft.Web/2016-03-01/ResourceProvider.json +- Microsoft.Web/2016-08-01/WebApps.json +- Microsoft.Web/2016-09-01/AppServiceEnvironments.json +- Microsoft.Web/2016-09-01/AppServicePlans.json +``` + +### Tag: package-2015-08-preview + +These settings apply only when `--tag=package-2015-08-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-08-preview' +input-file: +- Microsoft.Web/2015-08-01/service.json +- Microsoft.Web/2015-08-01-preview/logicAppsManagementClient.json +``` + + +--- +## Language-specific settings: CSharp + +These settings apply only when `--csharp` is specified on the command line. + +``` yaml $(csharp) +csharp: + # override the default output folder + output-folder: $(output-folder)/csharp +``` + + +## Language-specific settings: Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.web +``` diff --git a/test/linter.js b/test/linter.js index 48482b2ccf0e..6d7ea1a343a9 100644 --- a/test/linter.js +++ b/test/linter.js @@ -11,7 +11,7 @@ describe('AutoRest Linter validation:', function () { // Useful when debugging a test for a particular swagger. // Just update the regex. That will return an array of filtered items. // swaggersToProcess = swaggersToProcess.filter(function(item) { - // return (item.match(/.arm-containerregistry.*2017-03-01.*/ig) !== null); + // return (item.match(/.Microsoft.ContainerRegistry.*2017-03-01.*/ig) !== null); // }); _(swaggersToProcess).each(function (swagger) { it(swagger + ' should honor linter validation rules.', function (done) { diff --git a/test/model.js b/test/model.js index 6dc48aa649f5..de22e7a26f33 100644 --- a/test/model.js +++ b/test/model.js @@ -12,7 +12,7 @@ describe('Azure swagger model validation using x-ms-examples and examples in spe // Useful when debugging a test for a particular swagger. // Just update the regex. That will return an array of filtered items. // swaggersToProcess = swaggersToProcess.filter(function(item) { - // return (item.match(/.*arm-logic.*2016-06-01.*/ig) !== null); + // return (item.match(/.*Microsoft.Logic.*2016-06-01.*/ig) !== null); // }); _(swaggersToProcess).each(function (swagger) { it(swagger + ' should have valid examples.', function (done) { diff --git a/test/semantic.js b/test/semantic.js index 0ebe500bde4a..2015ddb94a20 100644 --- a/test/semantic.js +++ b/test/semantic.js @@ -12,7 +12,7 @@ describe('Azure swagger semantic validation:', function () { // Useful when debugging a test for a particular swagger. // Just update the regex. That will return an array of filtered items. // swaggersToProcess = swaggersToProcess.filter(function(item) { - // return (item.match(/.*arm-logic.*2016-06-01.*/ig) !== null); + // return (item.match(/.*Microsoft.Logic.*2016-06-01.*/ig) !== null); // }); _(swaggersToProcess).each(function (swagger) { diff --git a/test/syntax.js b/test/syntax.js index dae6e80bcdc1..c0e2f4238bf5 100644 --- a/test/syntax.js +++ b/test/syntax.js @@ -17,13 +17,10 @@ var context; // Useful when debugging a test for a particular swagger. // Just update the regex. That will return an array of filtered items. // utils.swaggers = utils.swaggers.filter(function(item) { -// return (item.match(/.*arm-logic.*2016-06-01.*/ig) !== null); -// }); -// utils.compositeSwaggers = utils.compositeSwaggers.filter(function(item) { -// return (item.match(/.*arm-logic.*2016-06-01.*/ig) !== null); +// return (item.match(/.*Microsoft.Logic.*2016-06-01.*/ig) !== null); // }); // utils.examples = utils.examples.filter(function(item) { -// return (item.match(/.*arm-logic.*2016-06-01.*/ig) !== null); +// return (item.match(/.*Microsoft.Logic.*2016-06-01.*/ig) !== null); // }); @@ -57,63 +54,6 @@ describe('Azure swagger schema validation:', function () { }); }).value(); - describe('Azure composite swagger schema validation:', function () { - _(utils.compositeSwaggers).each(function (compositeSwagger) { - it('composite: ' + compositeSwagger + ' should be a valid Composite Swagger document.', function (done) { - utils.parseJsonFromFile(compositeSwagger, function (err, parsedData) { - if (err) { done(err); } - var valid = context.validator.validate(parsedData, context.compositeSchema); - if (!valid) { - var error = context.validator.getLastErrors(); - throw new Error("Schema validation for Composite Swagger failed: " + util.inspect(error, { depth: null })); - } - assert(valid === true); - var compositeSwaggerDir = path.dirname(compositeSwagger); - var messages = []; - if (parsedData.documents && parsedData.documents.length > 0) { - async.eachSeries(parsedData.documents, function (docUrl, loopCallback) { - //construct the absolue path if the item in the documents array is a relative path - if (!path.isAbsolute(docUrl) && !docUrl.startsWith('http')) { - docUrl = path.join(compositeSwaggerDir, docUrl); - } - //make a request if it is a url - if (docUrl.startsWith('http')) { - request({ url: docUrl, json: true }, function (error, response, responseBody) { - if (error) { - messages.push('An error occurred while accessing the swagger doc ' + - docUrl + ' from the documents list. The error is ' + util.inspect(error, { depth: null })); - } - if (response.statusCode !== 200) { - messages.push('\'' + response.statusCode + '\': \'File Not Found\'- error occurred while accessing the swagger doc ' + - docUrl + ' from the documents list.'); - } - loopCallback(); - }); - } else { - //check whether the file exists - if (!fs.existsSync(docUrl)) { - messages.push('\'File Not Found\': error occurred while accessing the swagger doc ' + - docUrl + ' from the documents list on the host filesystem.'); - } - loopCallback(); - } - }, function (err) { - if (err) { - throw err; - } - if (messages.length > 0) { - throw new Error(JSON.stringify(messages)); - } - done(); - }); - } else { - done(); - } - }); - }); - }).value(); - }); - describe('Azure x-ms-example schema validation:', function () { _(utils.examples).each(function (example) { it('x-ms-examples: ' + example + ' should be a valid x-ms-example.', function (done) { diff --git a/test/util/utils.js b/test/util/utils.js index d711c147b7c7..dc5f5a58fe3a 100644 --- a/test/util/utils.js +++ b/test/util/utils.js @@ -25,11 +25,9 @@ exports.compositeSchemaUrl = "https://raw.githubusercontent.com/Azure/autorest/m exports.isWindows = (process.platform.lastIndexOf('win') === 0); exports.prOnly = undefined !== process.env['PR_ONLY'] ? process.env['PR_ONLY'] : 'false'; -exports.globPath = path.join(__dirname, '../', '../', '/**/swagger/*.json'); -exports.swaggers = _(glob.sync(exports.globPath)); -exports.compositeGlobPath = path.join(__dirname, '../', '../', '/**/composite*.json'); -exports.compositeSwaggers = _(glob.sync(exports.compositeGlobPath)); -exports.exampleGlobPath = path.join(__dirname, '../', '../', '/**/examples/*.json'); +exports.globPath = path.join(__dirname, '../', '../', '/specification/**/*.json'); +exports.swaggers = _(glob.sync(exports.globPath, { ignore: ['**/examples/**/*.json', '**/quickstart-templates/*.json', '**/schema/*.json'] })); +exports.exampleGlobPath = path.join(__dirname, '../', '../', '/**/examples/**/*.json'); exports.examples = _(glob.sync(exports.exampleGlobPath)); // Remove byte order marker. This catches EF BB BF (the UTF-8 BOM) @@ -161,7 +159,16 @@ exports.getFilesChangedInPR = function getFilesChangedInPR() { console.log('>>>>> Files changed in this PR are as follows:') console.log(filesChanged); swaggerFilesInPR = filesChanged.split('\n').filter(function (item) { - return (item.match(/.*\/swagger\/*/ig) !== null); + if (item.match(/.*json$/ig) == null) { + return false; + } + if (item.match(/.*\/examples\/*/ig) !== null) { + return false; + } + if (item.match(/.*\/quickstart-templates\/*/ig) !== null) { + return false; + } + return true; }); console.log(`>>>> Number of swaggers found in this PR: ${swaggerFilesInPR.length}`); @@ -218,4 +225,4 @@ exports.initializeValidator = function initializeValidator(callback) { }); }); }); -}; \ No newline at end of file +};