diff --git a/CODEOWNERS b/CODEOWNERS index 53c2514c8363..752f00fb91f6 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -56,7 +56,7 @@ /specification/recoveryservicessiterecovery/ @avneeshrai /specification/redis/ @siddharthchatrolams @timlovellsmith /specification/relay/ @sethmanheim @v-ajnava -/specification/resources/ @rajshah11 @stankovski @vivsriaus +/specification/resources/ @Tiano2017 @rajshah11 @vivsriaus /specification/scheduler/ @pinwang81 /specification/search/ @brjohnstmsft /specification/serialconsole/ @amitchat @craigw @asinn826 diff --git a/custom-words.txt b/custom-words.txt index fc672aa52c4e..9d8c37eb3a84 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -104,6 +104,7 @@ asyncoperation australiaeast australiasoutheast authenticatable +Authenticode authorizationrules authsettings authsid @@ -455,6 +456,7 @@ eventtime eventtypes EWDG exceptiontype +exfiltrate Exfiltration explicitlist exportconfiguration @@ -571,6 +573,7 @@ HHMMSS hierarchicalentities hierarchyid hivevar +HKEY homepagetest Horovod hostnames @@ -610,6 +613,7 @@ inkrecognizer inlinecount innererror Inprogress +integrationaccount Intelli intervaled intset @@ -647,6 +651,7 @@ ITSM janedoe japaneast japanwest +Jedobot Jira jobcompletion jobid @@ -858,6 +863,7 @@ Ngfw NICs nillable nist +NLSTEXT noaccess noaction noartifactsource @@ -1125,6 +1131,7 @@ rhel Rolledback rollouts rolloverdetails +rosettanetprocessconfigurations rootfs rotatediskencryptionkey routable diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md index e2c979a5e36d..36afefc4f941 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md @@ -72,6 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go ``` @@ -86,6 +87,6 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.EnterpriseKnowledgeGraphService - output-folder: $(csharp-sdks-folder)/EnterpriseKnowledgeGraphService/Microsoft.Azure.Management.EnterpriseKnowledgeGraphService/Generated + output-folder: $(csharp-sdks-folder)/enterpriseknowledgegraphservice/Microsoft.Azure.Management.EnterpriseKnowledgeGraphService/src/Generated clear-output-folder: true ``` diff --git a/specification/addons/resource-manager/readme.md b/specification/addons/resource-manager/readme.md index 0cd20a268d8e..8ced36f69b06 100644 --- a/specification/addons/resource-manager/readme.md +++ b/specification/addons/resource-manager/readme.md @@ -62,7 +62,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Addons - output-folder: $(csharp-sdks-folder)/Addons/Management.Addons/Generated + output-folder: $(csharp-sdks-folder)/addons/Microsoft.Azure.Management.Addons/src/Generated clear-output-folder: true ``` diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index ea43cd0fe8f1..0e823eaad8d8 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index 412218bd7117..0a2afe978f36 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -112,6 +112,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go @@ -127,7 +128,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.AlertsManagement - output-folder: $(csharp-sdks-folder)/AlertsManagement/Management.AlertsManagement/Generated + output-folder: $(csharp-sdks-folder)/alertsmanagement/Microsoft.Azure.Management.AlertsManagement/src/Generated clear-output-folder: true ``` @@ -166,4 +167,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 0b702cbe9a97..e1949f969196 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -77,6 +77,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json index 0f543b0ff4f4..921c722c09d6 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/apimapis.json @@ -253,6 +253,9 @@ }, "ApiManagementCreateApiWithOpenIdConnect": { "$ref": "./examples/ApiManagementCreateApiWithOpenIdConnect.json" + }, + "ApiManagementCreateApiUsingImportOverrideServiceUrl": { + "$ref": "./examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json" } }, "parameters": [ diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json index 246f91a4172b..e1215791cdac 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiOperation.json @@ -7,7 +7,6 @@ "apiId": "PetStoreTemplate2", "operationId": "newoperations", "parameters": { - "name": "newoperation", "properties": { "displayName": "createUser2", "method": "POST", diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json new file mode 100644 index 000000000000..2f4c8b34db4d --- /dev/null +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/stable/2019-01-01/examples/ApiManagementCreateApiUsingImportOverrideServiceUrl.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "serviceName": "apimService1", + "resourceGroupName": "rg1", + "api-version": "2019-01-01", + "subscriptionId": "subid", + "apiId": "apidocs", + "parameters": { + "properties": { + "format": "swagger-link", + "value": "http://apimpimportviaurl.azurewebsites.net/api/apidocs/", + "path": "petstoreapi123", + "serviceUrl": "http://petstore.swagger.wordnik.com/api" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs", + "type": "Microsoft.ApiManagement/service/apis", + "name": "apidocs", + "properties": { + "displayName": "Swagger Sample App", + "apiRevision": "1", + "description": "This is a sample server Petstore server. You can find out more about Swagger \n at http://swagger.wordnik.com or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "petstoreapi123", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "isCurrent": true + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs?api-version=2019-01-01&asyncId=5c730e343244df1b9cb56e85&asyncCode=201" + } + }, + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/apis/apidocs", + "type": "Microsoft.ApiManagement/service/apis", + "name": "apidocs", + "properties": { + "displayName": "Swagger Sample App", + "apiRevision": "1", + "description": "This is a sample server Petstore server. You can find out more about Swagger \n at http://swagger.wordnik.com or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters", + "serviceUrl": "http://petstore.swagger.wordnik.com/api", + "path": "petstoreapi123", + "protocols": [ + "https" + ], + "subscriptionKeyParameterNames": { + "header": "Ocp-Apim-Subscription-Key", + "query": "subscription-key" + }, + "isCurrent": true + } + } + } + } +} \ No newline at end of file diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md index f40d3398aa17..0047f96047f6 100644 --- a/specification/apimanagement/resource-manager/readme.md +++ b/specification/apimanagement/resource-manager/readme.md @@ -250,6 +250,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -285,4 +286,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/appconfiguration/resource-manager/readme.csharp.md b/specification/appconfiguration/resource-manager/readme.csharp.md index 36356e9f631e..f20f51ff5c4b 100644 --- a/specification/appconfiguration/resource-manager/readme.csharp.md +++ b/specification/appconfiguration/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.AppConfiguration payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/AppConfiguration/Management.AppConfiguration/Generated + output-folder: $(csharp-sdks-folder)/appconfiguration/Microsoft.Azure.Management.AppConfiguration/src/Generated clear-output-folder: true ``` diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 793014b9accb..dcda46429f03 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -296,6 +296,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -363,4 +364,4 @@ These settings apply only when `--tag=schema-2018-06-17-preview` is specified on ``` yaml $(tag) == 'schema-2018-06-17-preview' input-file: - Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json -``` \ No newline at end of file +``` diff --git a/specification/authorization/resource-manager/readme.csharp.md b/specification/authorization/resource-manager/readme.csharp.md index 9106c01e9b5b..0a92e47c547e 100644 --- a/specification/authorization/resource-manager/readme.csharp.md +++ b/specification/authorization/resource-manager/readme.csharp.md @@ -54,7 +54,7 @@ input-file: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Authorization -output-folder: $(csharp-sdks-folder)/Authorization/Management.Authorization/Generated +output-folder: $(csharp-sdks-folder)/authorization/Microsoft.Azure.Management.Authorization/src/Generated ``` ## Batch settings diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 63d1b36a237a..31e2238412be 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -177,6 +177,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-authorization --default-api-version=2018-09-01-preview diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json index 82e3d16a6598..c8d85100fe6f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurations.json @@ -8,137 +8,139 @@ }, "responses": { "200": { - "value": [ - { - "name": "testpatch-01", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", - "excludedKbNumbers": null - }, - "linux": null, - "targets": { - "azureQueries": [ - { - "scope": [ - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" - ], - "tagSettings": { - "tags": { - "tag1": [ - "tag1Value1", - "tag1Value2" - ], - "tag2": [ - "tag2Value1", - "tag2Value2" - ] + "body": { + "value": [ + { + "name": "testpatch-01", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "excludedKbNumbers": null + }, + "linux": null, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" }, - "filterOperator": "All" - }, - "locations": null - } - ] + "locations": null + } + ] + }, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": null }, - "duration": "PT2H", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Week", - "startTime": "2017-10-19T12:22:00-07:00", - "creationTime": "2017-10-19T18:54:50.5233333+00:00", - "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", - "provisioningState": "Succeeded", - "nextRun": "2017-10-23T12:22:00-07:00" - } - }, - { - "name": "testpatch-02", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, FeaturePack", - "excludedKbNumbers": null - }, - "linux": null, - "targets": { - "azureQueries": [ - { - "scope": [ - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", - "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" - ], - "tagSettings": { - "tags": { - "tag1": [ - "tag1Value1", - "tag1Value2" - ], - "tag2": [ - "tag2Value1", - "tag2Value2" - ] + "frequency": "Week", + "startTime": "2017-10-19T12:22:00-07:00", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", + "provisioningState": "Succeeded", + "nextRun": "2017-10-23T12:22:00-07:00" + } + }, + { + "name": "testpatch-02", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, FeaturePack", + "excludedKbNumbers": null + }, + "linux": null, + "targets": { + "azureQueries": [ + { + "scope": [ + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/a-stasku-rg0", + "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d" + ], + "tagSettings": { + "tags": { + "tag1": [ + "tag1Value1", + "tag1Value2" + ], + "tag2": [ + "tag2Value1", + "tag2Value2" + ] + }, + "filterOperator": "All" }, - "filterOperator": "All" - }, - "locations": [ - "Japan East", - "UK South" - ] - } - ] + "locations": [ + "Japan East", + "UK South" + ] + } + ] + }, + "duration": "PT2H30M", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" + ], + "nonAzureComputerNames": null }, - "duration": "PT2H30M", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-04", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Hour", - "startTime": "2018-05-05T12:26:00-07:00", - "creationTime": "2017-08-11T21:52:02.7733333+00:00", - "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", - "provisioningState": "Succeeded", - "nextRun": "2018-05-05T12:26:00-07:00" + "frequency": "Hour", + "startTime": "2018-05-05T12:26:00-07:00", + "creationTime": "2017-08-11T21:52:02.7733333+00:00", + "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", + "provisioningState": "Succeeded", + "nextRun": "2018-05-05T12:26:00-07:00" + } } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json index b530088216c7..64c2e4fe21df 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/softwareUpdateConfiguration/listSoftwareUpdateConfigurationsByVm.json @@ -9,86 +9,88 @@ }, "responses": { "200": { - "value": [ - { - "name": "testpatch-01", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", - "excludedKbNumbers": null + "body": { + "value": [ + { + "name": "testpatch-01", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-01", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, Security, UpdateRollup, FeaturePack, ServicePack, Definition, Tools, Updates", + "excludedKbNumbers": null + }, + "linux": null, + "duration": "PT2H", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" + ], + "nonAzureComputerNames": null }, - "linux": null, - "duration": "PT2H", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-02", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-03" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Week", - "startTime": "2017-10-19T12:22:00-07:00", - "creationTime": "2017-10-19T18:54:50.5233333+00:00", - "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", - "provisioningState": "Succeeded", - "nextRun": "2017-10-23T12:22:00-07:00" - } - }, - { - "name": "testpatch-02", - "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", - "properties": { - "updateConfiguration": { - "operatingSystem": "Windows", - "windows": { - "includedUpdateClassifications": "Critical, FeaturePack", - "excludedKbNumbers": null + "frequency": "Week", + "startTime": "2017-10-19T12:22:00-07:00", + "creationTime": "2017-10-19T18:54:50.5233333+00:00", + "lastModifiedTime": "2017-10-19T18:54:50.68+00:00", + "provisioningState": "Succeeded", + "nextRun": "2017-10-23T12:22:00-07:00" + } + }, + { + "name": "testpatch-02", + "id": "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/Mo-Resources-WCUS/providers/Microsoft.Automation/automationAccounts/Mo-AAA-WCUS/softwareUpdateConfigurations/testpatch-02", + "properties": { + "updateConfiguration": { + "operatingSystem": "Windows", + "windows": { + "includedUpdateClassifications": "Critical, FeaturePack", + "excludedKbNumbers": null + }, + "linux": null, + "duration": "PT2H30M", + "azureVirtualMachines": [ + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", + "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" + ], + "nonAzureComputerNames": null }, - "linux": null, - "duration": "PT2H30M", - "azureVirtualMachines": [ - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-01", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-05", - "/subscriptions/1a7d4044-286c-4acb-969a-96639265bf2e/resourceGroups/myresources/providers/Microsoft.Compute/virtualMachines/vm-06" - ], - "nonAzureComputerNames": null - }, - "tasks": { - "preTask": { - "source": "HelloWorld", - "parameters": { - "COMPUTERNAME": "Computer1" + "tasks": { + "preTask": { + "source": "HelloWorld", + "parameters": { + "COMPUTERNAME": "Computer1" + } + }, + "postTask": { + "source": "GetCache", + "parameters": null } }, - "postTask": { - "source": "GetCache", - "parameters": null - } - }, - "frequency": "Hour", - "startTime": "2018-05-05T12:26:00-07:00", - "creationTime": "2017-08-11T21:52:02.7733333+00:00", - "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", - "provisioningState": "Succeeded", - "nextRun": "2018-05-05T12:26:00-07:00" + "frequency": "Hour", + "startTime": "2018-05-05T12:26:00-07:00", + "creationTime": "2017-08-11T21:52:02.7733333+00:00", + "lastModifiedTime": "2017-08-11T21:52:22.88+00:00", + "provisioningState": "Succeeded", + "nextRun": "2018-05-05T12:26:00-07:00" + } } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json index b0205a86f424..033059e52b9f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getAllSourceControls.json @@ -7,83 +7,85 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1", - "name": "sampleSourceControl1", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl1", + "name": "sampleSourceControl1", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-1", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2", + "name": "sampleSourceControl2", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3", + "name": "sampleSourceControl3", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4", + "name": "sampleSourceControl4", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5", + "name": "sampleSourceControl5", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5", + "branch": "master", + "folderPath": "/sampleFolder/sampleFolder2", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl2", - "name": "sampleSourceControl2", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-2", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl3", - "name": "sampleSourceControl3", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-3", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl4", - "name": "sampleSourceControl4", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-4", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl5", - "name": "sampleSourceControl5", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell-5", - "branch": "master", - "path": "/sampleFolder/sampleFolder2", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" - } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json index 74b0cd612a54..1f0f9be130d3 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControl/getSourceControl.json @@ -8,18 +8,20 @@ }, "responses": { "200": { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", - "name": "sampleSourceControl", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "repoUrl": "https://github.com/SampleUserRepro/PowerShell", - "branch": "master", - "path": "/folderOne/folderTwo", - "autoSync": true, - "publishRunbook": true, - "sourceType": "GitHub", - "description": "my description" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/sourcecontrols/sampleSourceControl", + "name": "sampleSourceControl", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "repoUrl": "https://github.com/SampleUserRepro/PowerShell", + "branch": "master", + "folderPath": "/folderOne/folderTwo", + "autoSync": true, + "publishRunbook": true, + "sourceType": "GitHub", + "description": "my description" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json index 073ee0cee2fa..ff8dbfbce4c3 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/getVariable.json @@ -8,14 +8,16 @@ }, "responses": { "200": { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", - "name": "sampleVariable", - "properties": { - "creationTime": "2017-03-28T22:59:00.937+00:00", - "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", - "isEncrypted": false, - "value": "\"ComputerName.domain.com\"", - "description": "my description" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T22:59:00.937+00:00", + "lastModifiedTime": "2017-03-28T22:59:00.937+00:00", + "isEncrypted": false, + "value": "\"ComputerName.domain.com\"", + "description": "my description" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json index 8e82d07ddd23..66a9a1c9a55d 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_First100.json @@ -7,1109 +7,1111 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", - "name": "sampleVariable", - "properties": { - "creationTime": "2017-03-28T23:00:53.363+00:00", - "lastModifiedTime": "2017-03-28T23:00:57.987+00:00", - "isEncrypted": false, - "value": "\"ComputerName3.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0", - "name": "sampleVariable0", - "properties": { - "creationTime": "2017-03-28T23:00:58.847+00:00", - "lastModifiedTime": "2017-03-28T23:00:58.847+00:00", - "isEncrypted": false, - "value": "\"server0.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1", - "name": "sampleVariable1", - "properties": { - "creationTime": "2017-03-28T23:00:59.69+00:00", - "lastModifiedTime": "2017-03-28T23:00:59.69+00:00", - "isEncrypted": false, - "value": "\"server1.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10", - "name": "sampleVariable10", - "properties": { - "creationTime": "2017-03-28T23:01:08.393+00:00", - "lastModifiedTime": "2017-03-28T23:01:08.393+00:00", - "isEncrypted": false, - "value": "\"server10.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100", - "name": "sampleVariable100", - "properties": { - "creationTime": "2017-03-28T23:02:27.38+00:00", - "lastModifiedTime": "2017-03-28T23:02:27.38+00:00", - "isEncrypted": false, - "value": "\"server100.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101", - "name": "sampleVariable101", - "properties": { - "creationTime": "2017-03-28T23:02:28.223+00:00", - "lastModifiedTime": "2017-03-28T23:02:28.223+00:00", - "isEncrypted": false, - "value": "\"server101.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102", - "name": "sampleVariable102", - "properties": { - "creationTime": "2017-03-28T23:02:28.99+00:00", - "lastModifiedTime": "2017-03-28T23:02:28.99+00:00", - "isEncrypted": false, - "value": "\"server102.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103", - "name": "sampleVariable103", - "properties": { - "creationTime": "2017-03-28T23:02:29.77+00:00", - "lastModifiedTime": "2017-03-28T23:02:29.77+00:00", - "isEncrypted": false, - "value": "\"server103.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104", - "name": "sampleVariable104", - "properties": { - "creationTime": "2017-03-28T23:02:30.647+00:00", - "lastModifiedTime": "2017-03-28T23:02:30.647+00:00", - "isEncrypted": false, - "value": "\"server104.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105", - "name": "sampleVariable105", - "properties": { - "creationTime": "2017-03-28T23:02:31.49+00:00", - "lastModifiedTime": "2017-03-28T23:02:31.49+00:00", - "isEncrypted": false, - "value": "\"server105.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106", - "name": "sampleVariable106", - "properties": { - "creationTime": "2017-03-28T23:02:32.303+00:00", - "lastModifiedTime": "2017-03-28T23:02:32.303+00:00", - "isEncrypted": false, - "value": "\"server106.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107", - "name": "sampleVariable107", - "properties": { - "creationTime": "2017-03-28T23:02:34.583+00:00", - "lastModifiedTime": "2017-03-28T23:02:34.583+00:00", - "isEncrypted": false, - "value": "\"server107.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108", - "name": "sampleVariable108", - "properties": { - "creationTime": "2017-03-28T23:02:35.367+00:00", - "lastModifiedTime": "2017-03-28T23:02:35.367+00:00", - "isEncrypted": false, - "value": "\"server108.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109", - "name": "sampleVariable109", - "properties": { - "creationTime": "2017-03-28T23:02:36.147+00:00", - "lastModifiedTime": "2017-03-28T23:02:36.147+00:00", - "isEncrypted": false, - "value": "\"server109.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11", - "name": "sampleVariable11", - "properties": { - "creationTime": "2017-03-28T23:01:09.27+00:00", - "lastModifiedTime": "2017-03-28T23:01:09.27+00:00", - "isEncrypted": false, - "value": "\"server11.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12", - "name": "sampleVariable12", - "properties": { - "creationTime": "2017-03-28T23:01:10.16+00:00", - "lastModifiedTime": "2017-03-28T23:01:10.16+00:00", - "isEncrypted": false, - "value": "\"server12.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13", - "name": "sampleVariable13", - "properties": { - "creationTime": "2017-03-28T23:01:11.003+00:00", - "lastModifiedTime": "2017-03-28T23:01:11.003+00:00", - "isEncrypted": false, - "value": "\"server13.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14", - "name": "sampleVariable14", - "properties": { - "creationTime": "2017-03-28T23:01:11.863+00:00", - "lastModifiedTime": "2017-03-28T23:01:11.863+00:00", - "isEncrypted": false, - "value": "\"server14.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15", - "name": "sampleVariable15", - "properties": { - "creationTime": "2017-03-28T23:01:12.74+00:00", - "lastModifiedTime": "2017-03-28T23:01:12.74+00:00", - "isEncrypted": false, - "value": "\"server15.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16", - "name": "sampleVariable16", - "properties": { - "creationTime": "2017-03-28T23:01:13.597+00:00", - "lastModifiedTime": "2017-03-28T23:01:13.597+00:00", - "isEncrypted": false, - "value": "\"server16.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17", - "name": "sampleVariable17", - "properties": { - "creationTime": "2017-03-28T23:01:16.287+00:00", - "lastModifiedTime": "2017-03-28T23:01:16.287+00:00", - "isEncrypted": false, - "value": "\"server17.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18", - "name": "sampleVariable18", - "properties": { - "creationTime": "2017-03-28T23:01:17.16+00:00", - "lastModifiedTime": "2017-03-28T23:01:17.16+00:00", - "isEncrypted": false, - "value": "\"server18.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19", - "name": "sampleVariable19", - "properties": { - "creationTime": "2017-03-28T23:01:18.02+00:00", - "lastModifiedTime": "2017-03-28T23:01:18.02+00:00", - "isEncrypted": false, - "value": "\"server19.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2", - "name": "sampleVariable2", - "properties": { - "creationTime": "2017-03-28T23:01:00.567+00:00", - "lastModifiedTime": "2017-03-28T23:01:00.567+00:00", - "isEncrypted": false, - "value": "\"server2.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20", - "name": "sampleVariable20", - "properties": { - "creationTime": "2017-03-28T23:01:18.847+00:00", - "lastModifiedTime": "2017-03-28T23:01:18.847+00:00", - "isEncrypted": false, - "value": "\"server20.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21", - "name": "sampleVariable21", - "properties": { - "creationTime": "2017-03-28T23:01:19.723+00:00", - "lastModifiedTime": "2017-03-28T23:01:19.723+00:00", - "isEncrypted": false, - "value": "\"server21.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22", - "name": "sampleVariable22", - "properties": { - "creationTime": "2017-03-28T23:01:21.597+00:00", - "lastModifiedTime": "2017-03-28T23:01:21.597+00:00", - "isEncrypted": false, - "value": "\"server22.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23", - "name": "sampleVariable23", - "properties": { - "creationTime": "2017-03-28T23:01:22.393+00:00", - "lastModifiedTime": "2017-03-28T23:01:22.393+00:00", - "isEncrypted": false, - "value": "\"server23.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24", - "name": "sampleVariable24", - "properties": { - "creationTime": "2017-03-28T23:01:23.207+00:00", - "lastModifiedTime": "2017-03-28T23:01:23.207+00:00", - "isEncrypted": false, - "value": "\"server24.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25", - "name": "sampleVariable25", - "properties": { - "creationTime": "2017-03-28T23:01:23.973+00:00", - "lastModifiedTime": "2017-03-28T23:01:23.973+00:00", - "isEncrypted": false, - "value": "\"server25.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26", - "name": "sampleVariable26", - "properties": { - "creationTime": "2017-03-28T23:01:24.8+00:00", - "lastModifiedTime": "2017-03-28T23:01:24.8+00:00", - "isEncrypted": false, - "value": "\"server26.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27", - "name": "sampleVariable27", - "properties": { - "creationTime": "2017-03-28T23:01:25.597+00:00", - "lastModifiedTime": "2017-03-28T23:01:25.597+00:00", - "isEncrypted": false, - "value": "\"server27.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28", - "name": "sampleVariable28", - "properties": { - "creationTime": "2017-03-28T23:01:26.55+00:00", - "lastModifiedTime": "2017-03-28T23:01:26.55+00:00", - "isEncrypted": false, - "value": "\"server28.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29", - "name": "sampleVariable29", - "properties": { - "creationTime": "2017-03-28T23:01:27.457+00:00", - "lastModifiedTime": "2017-03-28T23:01:27.457+00:00", - "isEncrypted": false, - "value": "\"server29.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3", - "name": "sampleVariable3", - "properties": { - "creationTime": "2017-03-28T23:01:01.427+00:00", - "lastModifiedTime": "2017-03-28T23:01:01.427+00:00", - "isEncrypted": false, - "value": "\"server3.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30", - "name": "sampleVariable30", - "properties": { - "creationTime": "2017-03-28T23:01:28.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:28.253+00:00", - "isEncrypted": false, - "value": "\"server30.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31", - "name": "sampleVariable31", - "properties": { - "creationTime": "2017-03-28T23:01:29.05+00:00", - "lastModifiedTime": "2017-03-28T23:01:29.05+00:00", - "isEncrypted": false, - "value": "\"server31.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32", - "name": "sampleVariable32", - "properties": { - "creationTime": "2017-03-28T23:01:29.817+00:00", - "lastModifiedTime": "2017-03-28T23:01:29.817+00:00", - "isEncrypted": false, - "value": "\"server32.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33", - "name": "sampleVariable33", - "properties": { - "creationTime": "2017-03-28T23:01:30.643+00:00", - "lastModifiedTime": "2017-03-28T23:01:30.643+00:00", - "isEncrypted": false, - "value": "\"server33.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34", - "name": "sampleVariable34", - "properties": { - "creationTime": "2017-03-28T23:01:31.473+00:00", - "lastModifiedTime": "2017-03-28T23:01:31.473+00:00", - "isEncrypted": false, - "value": "\"server34.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35", - "name": "sampleVariable35", - "properties": { - "creationTime": "2017-03-28T23:01:32.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:32.253+00:00", - "isEncrypted": false, - "value": "\"server35.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36", - "name": "sampleVariable36", - "properties": { - "creationTime": "2017-03-28T23:01:33.27+00:00", - "lastModifiedTime": "2017-03-28T23:01:33.27+00:00", - "isEncrypted": false, - "value": "\"server36.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37", - "name": "sampleVariable37", - "properties": { - "creationTime": "2017-03-28T23:01:34.037+00:00", - "lastModifiedTime": "2017-03-28T23:01:34.037+00:00", - "isEncrypted": false, - "value": "\"server37.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38", - "name": "sampleVariable38", - "properties": { - "creationTime": "2017-03-28T23:01:34.817+00:00", - "lastModifiedTime": "2017-03-28T23:01:34.817+00:00", - "isEncrypted": false, - "value": "\"server38.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39", - "name": "sampleVariable39", - "properties": { - "creationTime": "2017-03-28T23:01:35.613+00:00", - "lastModifiedTime": "2017-03-28T23:01:35.613+00:00", - "isEncrypted": false, - "value": "\"server39.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4", - "name": "sampleVariable4", - "properties": { - "creationTime": "2017-03-28T23:01:02.38+00:00", - "lastModifiedTime": "2017-03-28T23:01:02.38+00:00", - "isEncrypted": false, - "value": "\"server4.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40", - "name": "sampleVariable40", - "properties": { - "creationTime": "2017-03-28T23:01:36.397+00:00", - "lastModifiedTime": "2017-03-28T23:01:36.397+00:00", - "isEncrypted": false, - "value": "\"server40.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41", - "name": "sampleVariable41", - "properties": { - "creationTime": "2017-03-28T23:01:37.19+00:00", - "lastModifiedTime": "2017-03-28T23:01:37.19+00:00", - "isEncrypted": false, - "value": "\"server41.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42", - "name": "sampleVariable42", - "properties": { - "creationTime": "2017-03-28T23:01:38.037+00:00", - "lastModifiedTime": "2017-03-28T23:01:38.037+00:00", - "isEncrypted": false, - "value": "\"server42.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43", - "name": "sampleVariable43", - "properties": { - "creationTime": "2017-03-28T23:01:38.88+00:00", - "lastModifiedTime": "2017-03-28T23:01:38.88+00:00", - "isEncrypted": false, - "value": "\"server43.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44", - "name": "sampleVariable44", - "properties": { - "creationTime": "2017-03-28T23:01:39.707+00:00", - "lastModifiedTime": "2017-03-28T23:01:39.707+00:00", - "isEncrypted": false, - "value": "\"server44.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45", - "name": "sampleVariable45", - "properties": { - "creationTime": "2017-03-28T23:01:41.457+00:00", - "lastModifiedTime": "2017-03-28T23:01:41.457+00:00", - "isEncrypted": false, - "value": "\"server45.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46", - "name": "sampleVariable46", - "properties": { - "creationTime": "2017-03-28T23:01:42.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:42.253+00:00", - "isEncrypted": false, - "value": "\"server46.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47", - "name": "sampleVariable47", - "properties": { - "creationTime": "2017-03-28T23:01:43.083+00:00", - "lastModifiedTime": "2017-03-28T23:01:43.083+00:00", - "isEncrypted": false, - "value": "\"server47.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48", - "name": "sampleVariable48", - "properties": { - "creationTime": "2017-03-28T23:01:43.957+00:00", - "lastModifiedTime": "2017-03-28T23:01:43.957+00:00", - "isEncrypted": false, - "value": "\"server48.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49", - "name": "sampleVariable49", - "properties": { - "creationTime": "2017-03-28T23:01:44.74+00:00", - "lastModifiedTime": "2017-03-28T23:01:44.74+00:00", - "isEncrypted": false, - "value": "\"server49.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5", - "name": "sampleVariable5", - "properties": { - "creationTime": "2017-03-28T23:01:03.253+00:00", - "lastModifiedTime": "2017-03-28T23:01:03.253+00:00", - "isEncrypted": false, - "value": "\"server5.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50", - "name": "sampleVariable50", - "properties": { - "creationTime": "2017-03-28T23:01:46.35+00:00", - "lastModifiedTime": "2017-03-28T23:01:46.35+00:00", - "isEncrypted": false, - "value": "\"server50.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51", - "name": "sampleVariable51", - "properties": { - "creationTime": "2017-03-28T23:01:47.1+00:00", - "lastModifiedTime": "2017-03-28T23:01:47.1+00:00", - "isEncrypted": false, - "value": "\"server51.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52", - "name": "sampleVariable52", - "properties": { - "creationTime": "2017-03-28T23:01:47.88+00:00", - "lastModifiedTime": "2017-03-28T23:01:47.88+00:00", - "isEncrypted": false, - "value": "\"server52.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53", - "name": "sampleVariable53", - "properties": { - "creationTime": "2017-03-28T23:01:48.677+00:00", - "lastModifiedTime": "2017-03-28T23:01:48.677+00:00", - "isEncrypted": false, - "value": "\"server53.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54", - "name": "sampleVariable54", - "properties": { - "creationTime": "2017-03-28T23:01:49.473+00:00", - "lastModifiedTime": "2017-03-28T23:01:49.473+00:00", - "isEncrypted": false, - "value": "\"server54.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55", - "name": "sampleVariable55", - "properties": { - "creationTime": "2017-03-28T23:01:51.16+00:00", - "lastModifiedTime": "2017-03-28T23:01:51.16+00:00", - "isEncrypted": false, - "value": "\"server55.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56", - "name": "sampleVariable56", - "properties": { - "creationTime": "2017-03-28T23:01:51.927+00:00", - "lastModifiedTime": "2017-03-28T23:01:51.927+00:00", - "isEncrypted": false, - "value": "\"server56.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57", - "name": "sampleVariable57", - "properties": { - "creationTime": "2017-03-28T23:01:52.757+00:00", - "lastModifiedTime": "2017-03-28T23:01:52.757+00:00", - "isEncrypted": false, - "value": "\"server57.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58", - "name": "sampleVariable58", - "properties": { - "creationTime": "2017-03-28T23:01:53.55+00:00", - "lastModifiedTime": "2017-03-28T23:01:53.55+00:00", - "isEncrypted": false, - "value": "\"server58.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59", - "name": "sampleVariable59", - "properties": { - "creationTime": "2017-03-28T23:01:54.317+00:00", - "lastModifiedTime": "2017-03-28T23:01:54.317+00:00", - "isEncrypted": false, - "value": "\"server59.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6", - "name": "sampleVariable6", - "properties": { - "creationTime": "2017-03-28T23:01:04.143+00:00", - "lastModifiedTime": "2017-03-28T23:01:04.143+00:00", - "isEncrypted": false, - "value": "\"server6.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60", - "name": "sampleVariable60", - "properties": { - "creationTime": "2017-03-28T23:01:55.177+00:00", - "lastModifiedTime": "2017-03-28T23:01:55.177+00:00", - "isEncrypted": false, - "value": "\"server60.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61", - "name": "sampleVariable61", - "properties": { - "creationTime": "2017-03-28T23:01:56.583+00:00", - "lastModifiedTime": "2017-03-28T23:01:56.583+00:00", - "isEncrypted": false, - "value": "\"server61.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62", - "name": "sampleVariable62", - "properties": { - "creationTime": "2017-03-28T23:01:57.27+00:00", - "lastModifiedTime": "2017-03-28T23:01:57.27+00:00", - "isEncrypted": false, - "value": "\"server62.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63", - "name": "sampleVariable63", - "properties": { - "creationTime": "2017-03-28T23:01:57.943+00:00", - "lastModifiedTime": "2017-03-28T23:01:57.943+00:00", - "isEncrypted": false, - "value": "\"server63.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64", - "name": "sampleVariable64", - "properties": { - "creationTime": "2017-03-28T23:01:58.66+00:00", - "lastModifiedTime": "2017-03-28T23:01:58.66+00:00", - "isEncrypted": false, - "value": "\"server64.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65", - "name": "sampleVariable65", - "properties": { - "creationTime": "2017-03-28T23:01:59.35+00:00", - "lastModifiedTime": "2017-03-28T23:01:59.35+00:00", - "isEncrypted": false, - "value": "\"server65.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66", - "name": "sampleVariable66", - "properties": { - "creationTime": "2017-03-28T23:02:00.02+00:00", - "lastModifiedTime": "2017-03-28T23:02:00.02+00:00", - "isEncrypted": false, - "value": "\"server66.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67", - "name": "sampleVariable67", - "properties": { - "creationTime": "2017-03-28T23:02:01.507+00:00", - "lastModifiedTime": "2017-03-28T23:02:01.507+00:00", - "isEncrypted": false, - "value": "\"server67.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68", - "name": "sampleVariable68", - "properties": { - "creationTime": "2017-03-28T23:02:02.177+00:00", - "lastModifiedTime": "2017-03-28T23:02:02.177+00:00", - "isEncrypted": false, - "value": "\"server68.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69", - "name": "sampleVariable69", - "properties": { - "creationTime": "2017-03-28T23:02:02.863+00:00", - "lastModifiedTime": "2017-03-28T23:02:02.863+00:00", - "isEncrypted": false, - "value": "\"server69.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7", - "name": "sampleVariable7", - "properties": { - "creationTime": "2017-03-28T23:01:05.393+00:00", - "lastModifiedTime": "2017-03-28T23:01:05.393+00:00", - "isEncrypted": false, - "value": "\"server7.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70", - "name": "sampleVariable70", - "properties": { - "creationTime": "2017-03-28T23:02:03.6+00:00", - "lastModifiedTime": "2017-03-28T23:02:03.6+00:00", - "isEncrypted": false, - "value": "\"server70.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71", - "name": "sampleVariable71", - "properties": { - "creationTime": "2017-03-28T23:02:04.333+00:00", - "lastModifiedTime": "2017-03-28T23:02:04.333+00:00", - "isEncrypted": false, - "value": "\"server71.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72", - "name": "sampleVariable72", - "properties": { - "creationTime": "2017-03-28T23:02:05.1+00:00", - "lastModifiedTime": "2017-03-28T23:02:05.1+00:00", - "isEncrypted": false, - "value": "\"server72.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73", - "name": "sampleVariable73", - "properties": { - "creationTime": "2017-03-28T23:02:05.833+00:00", - "lastModifiedTime": "2017-03-28T23:02:05.833+00:00", - "isEncrypted": false, - "value": "\"server73.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74", - "name": "sampleVariable74", - "properties": { - "creationTime": "2017-03-28T23:02:06.647+00:00", - "lastModifiedTime": "2017-03-28T23:02:06.647+00:00", - "isEncrypted": false, - "value": "\"server74.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75", - "name": "sampleVariable75", - "properties": { - "creationTime": "2017-03-28T23:02:07.363+00:00", - "lastModifiedTime": "2017-03-28T23:02:07.363+00:00", - "isEncrypted": false, - "value": "\"server75.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76", - "name": "sampleVariable76", - "properties": { - "creationTime": "2017-03-28T23:02:08.1+00:00", - "lastModifiedTime": "2017-03-28T23:02:08.1+00:00", - "isEncrypted": false, - "value": "\"server76.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77", - "name": "sampleVariable77", - "properties": { - "creationTime": "2017-03-28T23:02:08.82+00:00", - "lastModifiedTime": "2017-03-28T23:02:08.82+00:00", - "isEncrypted": false, - "value": "\"server77.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78", - "name": "sampleVariable78", - "properties": { - "creationTime": "2017-03-28T23:02:09.553+00:00", - "lastModifiedTime": "2017-03-28T23:02:09.553+00:00", - "isEncrypted": false, - "value": "\"server78.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79", - "name": "sampleVariable79", - "properties": { - "creationTime": "2017-03-28T23:02:10.63+00:00", - "lastModifiedTime": "2017-03-28T23:02:10.63+00:00", - "isEncrypted": false, - "value": "\"server79.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8", - "name": "sampleVariable8", - "properties": { - "creationTime": "2017-03-28T23:01:06.52+00:00", - "lastModifiedTime": "2017-03-28T23:01:06.52+00:00", - "isEncrypted": false, - "value": "\"server8.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80", - "name": "sampleVariable80", - "properties": { - "creationTime": "2017-03-28T23:02:11.32+00:00", - "lastModifiedTime": "2017-03-28T23:02:11.32+00:00", - "isEncrypted": false, - "value": "\"server80.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81", - "name": "sampleVariable81", - "properties": { - "creationTime": "2017-03-28T23:02:12.02+00:00", - "lastModifiedTime": "2017-03-28T23:02:12.02+00:00", - "isEncrypted": false, - "value": "\"server81.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82", - "name": "sampleVariable82", - "properties": { - "creationTime": "2017-03-28T23:02:12.723+00:00", - "lastModifiedTime": "2017-03-28T23:02:12.723+00:00", - "isEncrypted": false, - "value": "\"server82.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83", - "name": "sampleVariable83", - "properties": { - "creationTime": "2017-03-28T23:02:13.443+00:00", - "lastModifiedTime": "2017-03-28T23:02:13.443+00:00", - "isEncrypted": false, - "value": "\"server83.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84", - "name": "sampleVariable84", - "properties": { - "creationTime": "2017-03-28T23:02:14.16+00:00", - "lastModifiedTime": "2017-03-28T23:02:14.16+00:00", - "isEncrypted": false, - "value": "\"server84.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85", - "name": "sampleVariable85", - "properties": { - "creationTime": "2017-03-28T23:02:15.177+00:00", - "lastModifiedTime": "2017-03-28T23:02:15.177+00:00", - "isEncrypted": false, - "value": "\"server85.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86", - "name": "sampleVariable86", - "properties": { - "creationTime": "2017-03-28T23:02:16.053+00:00", - "lastModifiedTime": "2017-03-28T23:02:16.053+00:00", - "isEncrypted": false, - "value": "\"server86.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87", - "name": "sampleVariable87", - "properties": { - "creationTime": "2017-03-28T23:02:16.82+00:00", - "lastModifiedTime": "2017-03-28T23:02:16.82+00:00", - "isEncrypted": false, - "value": "\"server87.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88", - "name": "sampleVariable88", - "properties": { - "creationTime": "2017-03-28T23:02:17.583+00:00", - "lastModifiedTime": "2017-03-28T23:02:17.583+00:00", - "isEncrypted": false, - "value": "\"server88.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89", - "name": "sampleVariable89", - "properties": { - "creationTime": "2017-03-28T23:02:18.333+00:00", - "lastModifiedTime": "2017-03-28T23:02:18.333+00:00", - "isEncrypted": false, - "value": "\"server89.domain.com\"", - "description": null - } - } - ], - "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2015-10-31&$skip=100" + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable", + "name": "sampleVariable", + "properties": { + "creationTime": "2017-03-28T23:00:53.363+00:00", + "lastModifiedTime": "2017-03-28T23:00:57.987+00:00", + "isEncrypted": false, + "value": "\"ComputerName3.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable0", + "name": "sampleVariable0", + "properties": { + "creationTime": "2017-03-28T23:00:58.847+00:00", + "lastModifiedTime": "2017-03-28T23:00:58.847+00:00", + "isEncrypted": false, + "value": "\"server0.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable1", + "name": "sampleVariable1", + "properties": { + "creationTime": "2017-03-28T23:00:59.69+00:00", + "lastModifiedTime": "2017-03-28T23:00:59.69+00:00", + "isEncrypted": false, + "value": "\"server1.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable10", + "name": "sampleVariable10", + "properties": { + "creationTime": "2017-03-28T23:01:08.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:08.393+00:00", + "isEncrypted": false, + "value": "\"server10.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable100", + "name": "sampleVariable100", + "properties": { + "creationTime": "2017-03-28T23:02:27.38+00:00", + "lastModifiedTime": "2017-03-28T23:02:27.38+00:00", + "isEncrypted": false, + "value": "\"server100.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable101", + "name": "sampleVariable101", + "properties": { + "creationTime": "2017-03-28T23:02:28.223+00:00", + "lastModifiedTime": "2017-03-28T23:02:28.223+00:00", + "isEncrypted": false, + "value": "\"server101.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable102", + "name": "sampleVariable102", + "properties": { + "creationTime": "2017-03-28T23:02:28.99+00:00", + "lastModifiedTime": "2017-03-28T23:02:28.99+00:00", + "isEncrypted": false, + "value": "\"server102.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable103", + "name": "sampleVariable103", + "properties": { + "creationTime": "2017-03-28T23:02:29.77+00:00", + "lastModifiedTime": "2017-03-28T23:02:29.77+00:00", + "isEncrypted": false, + "value": "\"server103.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable104", + "name": "sampleVariable104", + "properties": { + "creationTime": "2017-03-28T23:02:30.647+00:00", + "lastModifiedTime": "2017-03-28T23:02:30.647+00:00", + "isEncrypted": false, + "value": "\"server104.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable105", + "name": "sampleVariable105", + "properties": { + "creationTime": "2017-03-28T23:02:31.49+00:00", + "lastModifiedTime": "2017-03-28T23:02:31.49+00:00", + "isEncrypted": false, + "value": "\"server105.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable106", + "name": "sampleVariable106", + "properties": { + "creationTime": "2017-03-28T23:02:32.303+00:00", + "lastModifiedTime": "2017-03-28T23:02:32.303+00:00", + "isEncrypted": false, + "value": "\"server106.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable107", + "name": "sampleVariable107", + "properties": { + "creationTime": "2017-03-28T23:02:34.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:34.583+00:00", + "isEncrypted": false, + "value": "\"server107.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable108", + "name": "sampleVariable108", + "properties": { + "creationTime": "2017-03-28T23:02:35.367+00:00", + "lastModifiedTime": "2017-03-28T23:02:35.367+00:00", + "isEncrypted": false, + "value": "\"server108.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable109", + "name": "sampleVariable109", + "properties": { + "creationTime": "2017-03-28T23:02:36.147+00:00", + "lastModifiedTime": "2017-03-28T23:02:36.147+00:00", + "isEncrypted": false, + "value": "\"server109.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable11", + "name": "sampleVariable11", + "properties": { + "creationTime": "2017-03-28T23:01:09.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:09.27+00:00", + "isEncrypted": false, + "value": "\"server11.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable12", + "name": "sampleVariable12", + "properties": { + "creationTime": "2017-03-28T23:01:10.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:10.16+00:00", + "isEncrypted": false, + "value": "\"server12.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable13", + "name": "sampleVariable13", + "properties": { + "creationTime": "2017-03-28T23:01:11.003+00:00", + "lastModifiedTime": "2017-03-28T23:01:11.003+00:00", + "isEncrypted": false, + "value": "\"server13.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable14", + "name": "sampleVariable14", + "properties": { + "creationTime": "2017-03-28T23:01:11.863+00:00", + "lastModifiedTime": "2017-03-28T23:01:11.863+00:00", + "isEncrypted": false, + "value": "\"server14.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable15", + "name": "sampleVariable15", + "properties": { + "creationTime": "2017-03-28T23:01:12.74+00:00", + "lastModifiedTime": "2017-03-28T23:01:12.74+00:00", + "isEncrypted": false, + "value": "\"server15.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable16", + "name": "sampleVariable16", + "properties": { + "creationTime": "2017-03-28T23:01:13.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:13.597+00:00", + "isEncrypted": false, + "value": "\"server16.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable17", + "name": "sampleVariable17", + "properties": { + "creationTime": "2017-03-28T23:01:16.287+00:00", + "lastModifiedTime": "2017-03-28T23:01:16.287+00:00", + "isEncrypted": false, + "value": "\"server17.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable18", + "name": "sampleVariable18", + "properties": { + "creationTime": "2017-03-28T23:01:17.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:17.16+00:00", + "isEncrypted": false, + "value": "\"server18.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable19", + "name": "sampleVariable19", + "properties": { + "creationTime": "2017-03-28T23:01:18.02+00:00", + "lastModifiedTime": "2017-03-28T23:01:18.02+00:00", + "isEncrypted": false, + "value": "\"server19.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable2", + "name": "sampleVariable2", + "properties": { + "creationTime": "2017-03-28T23:01:00.567+00:00", + "lastModifiedTime": "2017-03-28T23:01:00.567+00:00", + "isEncrypted": false, + "value": "\"server2.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable20", + "name": "sampleVariable20", + "properties": { + "creationTime": "2017-03-28T23:01:18.847+00:00", + "lastModifiedTime": "2017-03-28T23:01:18.847+00:00", + "isEncrypted": false, + "value": "\"server20.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable21", + "name": "sampleVariable21", + "properties": { + "creationTime": "2017-03-28T23:01:19.723+00:00", + "lastModifiedTime": "2017-03-28T23:01:19.723+00:00", + "isEncrypted": false, + "value": "\"server21.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable22", + "name": "sampleVariable22", + "properties": { + "creationTime": "2017-03-28T23:01:21.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:21.597+00:00", + "isEncrypted": false, + "value": "\"server22.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable23", + "name": "sampleVariable23", + "properties": { + "creationTime": "2017-03-28T23:01:22.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:22.393+00:00", + "isEncrypted": false, + "value": "\"server23.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable24", + "name": "sampleVariable24", + "properties": { + "creationTime": "2017-03-28T23:01:23.207+00:00", + "lastModifiedTime": "2017-03-28T23:01:23.207+00:00", + "isEncrypted": false, + "value": "\"server24.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable25", + "name": "sampleVariable25", + "properties": { + "creationTime": "2017-03-28T23:01:23.973+00:00", + "lastModifiedTime": "2017-03-28T23:01:23.973+00:00", + "isEncrypted": false, + "value": "\"server25.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable26", + "name": "sampleVariable26", + "properties": { + "creationTime": "2017-03-28T23:01:24.8+00:00", + "lastModifiedTime": "2017-03-28T23:01:24.8+00:00", + "isEncrypted": false, + "value": "\"server26.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable27", + "name": "sampleVariable27", + "properties": { + "creationTime": "2017-03-28T23:01:25.597+00:00", + "lastModifiedTime": "2017-03-28T23:01:25.597+00:00", + "isEncrypted": false, + "value": "\"server27.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable28", + "name": "sampleVariable28", + "properties": { + "creationTime": "2017-03-28T23:01:26.55+00:00", + "lastModifiedTime": "2017-03-28T23:01:26.55+00:00", + "isEncrypted": false, + "value": "\"server28.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable29", + "name": "sampleVariable29", + "properties": { + "creationTime": "2017-03-28T23:01:27.457+00:00", + "lastModifiedTime": "2017-03-28T23:01:27.457+00:00", + "isEncrypted": false, + "value": "\"server29.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable3", + "name": "sampleVariable3", + "properties": { + "creationTime": "2017-03-28T23:01:01.427+00:00", + "lastModifiedTime": "2017-03-28T23:01:01.427+00:00", + "isEncrypted": false, + "value": "\"server3.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable30", + "name": "sampleVariable30", + "properties": { + "creationTime": "2017-03-28T23:01:28.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:28.253+00:00", + "isEncrypted": false, + "value": "\"server30.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable31", + "name": "sampleVariable31", + "properties": { + "creationTime": "2017-03-28T23:01:29.05+00:00", + "lastModifiedTime": "2017-03-28T23:01:29.05+00:00", + "isEncrypted": false, + "value": "\"server31.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable32", + "name": "sampleVariable32", + "properties": { + "creationTime": "2017-03-28T23:01:29.817+00:00", + "lastModifiedTime": "2017-03-28T23:01:29.817+00:00", + "isEncrypted": false, + "value": "\"server32.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable33", + "name": "sampleVariable33", + "properties": { + "creationTime": "2017-03-28T23:01:30.643+00:00", + "lastModifiedTime": "2017-03-28T23:01:30.643+00:00", + "isEncrypted": false, + "value": "\"server33.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable34", + "name": "sampleVariable34", + "properties": { + "creationTime": "2017-03-28T23:01:31.473+00:00", + "lastModifiedTime": "2017-03-28T23:01:31.473+00:00", + "isEncrypted": false, + "value": "\"server34.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable35", + "name": "sampleVariable35", + "properties": { + "creationTime": "2017-03-28T23:01:32.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:32.253+00:00", + "isEncrypted": false, + "value": "\"server35.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable36", + "name": "sampleVariable36", + "properties": { + "creationTime": "2017-03-28T23:01:33.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:33.27+00:00", + "isEncrypted": false, + "value": "\"server36.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable37", + "name": "sampleVariable37", + "properties": { + "creationTime": "2017-03-28T23:01:34.037+00:00", + "lastModifiedTime": "2017-03-28T23:01:34.037+00:00", + "isEncrypted": false, + "value": "\"server37.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable38", + "name": "sampleVariable38", + "properties": { + "creationTime": "2017-03-28T23:01:34.817+00:00", + "lastModifiedTime": "2017-03-28T23:01:34.817+00:00", + "isEncrypted": false, + "value": "\"server38.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable39", + "name": "sampleVariable39", + "properties": { + "creationTime": "2017-03-28T23:01:35.613+00:00", + "lastModifiedTime": "2017-03-28T23:01:35.613+00:00", + "isEncrypted": false, + "value": "\"server39.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable4", + "name": "sampleVariable4", + "properties": { + "creationTime": "2017-03-28T23:01:02.38+00:00", + "lastModifiedTime": "2017-03-28T23:01:02.38+00:00", + "isEncrypted": false, + "value": "\"server4.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable40", + "name": "sampleVariable40", + "properties": { + "creationTime": "2017-03-28T23:01:36.397+00:00", + "lastModifiedTime": "2017-03-28T23:01:36.397+00:00", + "isEncrypted": false, + "value": "\"server40.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable41", + "name": "sampleVariable41", + "properties": { + "creationTime": "2017-03-28T23:01:37.19+00:00", + "lastModifiedTime": "2017-03-28T23:01:37.19+00:00", + "isEncrypted": false, + "value": "\"server41.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable42", + "name": "sampleVariable42", + "properties": { + "creationTime": "2017-03-28T23:01:38.037+00:00", + "lastModifiedTime": "2017-03-28T23:01:38.037+00:00", + "isEncrypted": false, + "value": "\"server42.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable43", + "name": "sampleVariable43", + "properties": { + "creationTime": "2017-03-28T23:01:38.88+00:00", + "lastModifiedTime": "2017-03-28T23:01:38.88+00:00", + "isEncrypted": false, + "value": "\"server43.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable44", + "name": "sampleVariable44", + "properties": { + "creationTime": "2017-03-28T23:01:39.707+00:00", + "lastModifiedTime": "2017-03-28T23:01:39.707+00:00", + "isEncrypted": false, + "value": "\"server44.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable45", + "name": "sampleVariable45", + "properties": { + "creationTime": "2017-03-28T23:01:41.457+00:00", + "lastModifiedTime": "2017-03-28T23:01:41.457+00:00", + "isEncrypted": false, + "value": "\"server45.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable46", + "name": "sampleVariable46", + "properties": { + "creationTime": "2017-03-28T23:01:42.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:42.253+00:00", + "isEncrypted": false, + "value": "\"server46.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable47", + "name": "sampleVariable47", + "properties": { + "creationTime": "2017-03-28T23:01:43.083+00:00", + "lastModifiedTime": "2017-03-28T23:01:43.083+00:00", + "isEncrypted": false, + "value": "\"server47.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable48", + "name": "sampleVariable48", + "properties": { + "creationTime": "2017-03-28T23:01:43.957+00:00", + "lastModifiedTime": "2017-03-28T23:01:43.957+00:00", + "isEncrypted": false, + "value": "\"server48.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable49", + "name": "sampleVariable49", + "properties": { + "creationTime": "2017-03-28T23:01:44.74+00:00", + "lastModifiedTime": "2017-03-28T23:01:44.74+00:00", + "isEncrypted": false, + "value": "\"server49.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable5", + "name": "sampleVariable5", + "properties": { + "creationTime": "2017-03-28T23:01:03.253+00:00", + "lastModifiedTime": "2017-03-28T23:01:03.253+00:00", + "isEncrypted": false, + "value": "\"server5.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable50", + "name": "sampleVariable50", + "properties": { + "creationTime": "2017-03-28T23:01:46.35+00:00", + "lastModifiedTime": "2017-03-28T23:01:46.35+00:00", + "isEncrypted": false, + "value": "\"server50.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable51", + "name": "sampleVariable51", + "properties": { + "creationTime": "2017-03-28T23:01:47.1+00:00", + "lastModifiedTime": "2017-03-28T23:01:47.1+00:00", + "isEncrypted": false, + "value": "\"server51.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable52", + "name": "sampleVariable52", + "properties": { + "creationTime": "2017-03-28T23:01:47.88+00:00", + "lastModifiedTime": "2017-03-28T23:01:47.88+00:00", + "isEncrypted": false, + "value": "\"server52.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable53", + "name": "sampleVariable53", + "properties": { + "creationTime": "2017-03-28T23:01:48.677+00:00", + "lastModifiedTime": "2017-03-28T23:01:48.677+00:00", + "isEncrypted": false, + "value": "\"server53.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable54", + "name": "sampleVariable54", + "properties": { + "creationTime": "2017-03-28T23:01:49.473+00:00", + "lastModifiedTime": "2017-03-28T23:01:49.473+00:00", + "isEncrypted": false, + "value": "\"server54.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable55", + "name": "sampleVariable55", + "properties": { + "creationTime": "2017-03-28T23:01:51.16+00:00", + "lastModifiedTime": "2017-03-28T23:01:51.16+00:00", + "isEncrypted": false, + "value": "\"server55.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable56", + "name": "sampleVariable56", + "properties": { + "creationTime": "2017-03-28T23:01:51.927+00:00", + "lastModifiedTime": "2017-03-28T23:01:51.927+00:00", + "isEncrypted": false, + "value": "\"server56.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable57", + "name": "sampleVariable57", + "properties": { + "creationTime": "2017-03-28T23:01:52.757+00:00", + "lastModifiedTime": "2017-03-28T23:01:52.757+00:00", + "isEncrypted": false, + "value": "\"server57.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable58", + "name": "sampleVariable58", + "properties": { + "creationTime": "2017-03-28T23:01:53.55+00:00", + "lastModifiedTime": "2017-03-28T23:01:53.55+00:00", + "isEncrypted": false, + "value": "\"server58.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable59", + "name": "sampleVariable59", + "properties": { + "creationTime": "2017-03-28T23:01:54.317+00:00", + "lastModifiedTime": "2017-03-28T23:01:54.317+00:00", + "isEncrypted": false, + "value": "\"server59.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable6", + "name": "sampleVariable6", + "properties": { + "creationTime": "2017-03-28T23:01:04.143+00:00", + "lastModifiedTime": "2017-03-28T23:01:04.143+00:00", + "isEncrypted": false, + "value": "\"server6.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable60", + "name": "sampleVariable60", + "properties": { + "creationTime": "2017-03-28T23:01:55.177+00:00", + "lastModifiedTime": "2017-03-28T23:01:55.177+00:00", + "isEncrypted": false, + "value": "\"server60.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable61", + "name": "sampleVariable61", + "properties": { + "creationTime": "2017-03-28T23:01:56.583+00:00", + "lastModifiedTime": "2017-03-28T23:01:56.583+00:00", + "isEncrypted": false, + "value": "\"server61.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable62", + "name": "sampleVariable62", + "properties": { + "creationTime": "2017-03-28T23:01:57.27+00:00", + "lastModifiedTime": "2017-03-28T23:01:57.27+00:00", + "isEncrypted": false, + "value": "\"server62.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable63", + "name": "sampleVariable63", + "properties": { + "creationTime": "2017-03-28T23:01:57.943+00:00", + "lastModifiedTime": "2017-03-28T23:01:57.943+00:00", + "isEncrypted": false, + "value": "\"server63.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable64", + "name": "sampleVariable64", + "properties": { + "creationTime": "2017-03-28T23:01:58.66+00:00", + "lastModifiedTime": "2017-03-28T23:01:58.66+00:00", + "isEncrypted": false, + "value": "\"server64.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable65", + "name": "sampleVariable65", + "properties": { + "creationTime": "2017-03-28T23:01:59.35+00:00", + "lastModifiedTime": "2017-03-28T23:01:59.35+00:00", + "isEncrypted": false, + "value": "\"server65.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable66", + "name": "sampleVariable66", + "properties": { + "creationTime": "2017-03-28T23:02:00.02+00:00", + "lastModifiedTime": "2017-03-28T23:02:00.02+00:00", + "isEncrypted": false, + "value": "\"server66.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable67", + "name": "sampleVariable67", + "properties": { + "creationTime": "2017-03-28T23:02:01.507+00:00", + "lastModifiedTime": "2017-03-28T23:02:01.507+00:00", + "isEncrypted": false, + "value": "\"server67.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable68", + "name": "sampleVariable68", + "properties": { + "creationTime": "2017-03-28T23:02:02.177+00:00", + "lastModifiedTime": "2017-03-28T23:02:02.177+00:00", + "isEncrypted": false, + "value": "\"server68.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable69", + "name": "sampleVariable69", + "properties": { + "creationTime": "2017-03-28T23:02:02.863+00:00", + "lastModifiedTime": "2017-03-28T23:02:02.863+00:00", + "isEncrypted": false, + "value": "\"server69.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable7", + "name": "sampleVariable7", + "properties": { + "creationTime": "2017-03-28T23:01:05.393+00:00", + "lastModifiedTime": "2017-03-28T23:01:05.393+00:00", + "isEncrypted": false, + "value": "\"server7.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable70", + "name": "sampleVariable70", + "properties": { + "creationTime": "2017-03-28T23:02:03.6+00:00", + "lastModifiedTime": "2017-03-28T23:02:03.6+00:00", + "isEncrypted": false, + "value": "\"server70.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable71", + "name": "sampleVariable71", + "properties": { + "creationTime": "2017-03-28T23:02:04.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:04.333+00:00", + "isEncrypted": false, + "value": "\"server71.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable72", + "name": "sampleVariable72", + "properties": { + "creationTime": "2017-03-28T23:02:05.1+00:00", + "lastModifiedTime": "2017-03-28T23:02:05.1+00:00", + "isEncrypted": false, + "value": "\"server72.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable73", + "name": "sampleVariable73", + "properties": { + "creationTime": "2017-03-28T23:02:05.833+00:00", + "lastModifiedTime": "2017-03-28T23:02:05.833+00:00", + "isEncrypted": false, + "value": "\"server73.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable74", + "name": "sampleVariable74", + "properties": { + "creationTime": "2017-03-28T23:02:06.647+00:00", + "lastModifiedTime": "2017-03-28T23:02:06.647+00:00", + "isEncrypted": false, + "value": "\"server74.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable75", + "name": "sampleVariable75", + "properties": { + "creationTime": "2017-03-28T23:02:07.363+00:00", + "lastModifiedTime": "2017-03-28T23:02:07.363+00:00", + "isEncrypted": false, + "value": "\"server75.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable76", + "name": "sampleVariable76", + "properties": { + "creationTime": "2017-03-28T23:02:08.1+00:00", + "lastModifiedTime": "2017-03-28T23:02:08.1+00:00", + "isEncrypted": false, + "value": "\"server76.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable77", + "name": "sampleVariable77", + "properties": { + "creationTime": "2017-03-28T23:02:08.82+00:00", + "lastModifiedTime": "2017-03-28T23:02:08.82+00:00", + "isEncrypted": false, + "value": "\"server77.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable78", + "name": "sampleVariable78", + "properties": { + "creationTime": "2017-03-28T23:02:09.553+00:00", + "lastModifiedTime": "2017-03-28T23:02:09.553+00:00", + "isEncrypted": false, + "value": "\"server78.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable79", + "name": "sampleVariable79", + "properties": { + "creationTime": "2017-03-28T23:02:10.63+00:00", + "lastModifiedTime": "2017-03-28T23:02:10.63+00:00", + "isEncrypted": false, + "value": "\"server79.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable8", + "name": "sampleVariable8", + "properties": { + "creationTime": "2017-03-28T23:01:06.52+00:00", + "lastModifiedTime": "2017-03-28T23:01:06.52+00:00", + "isEncrypted": false, + "value": "\"server8.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable80", + "name": "sampleVariable80", + "properties": { + "creationTime": "2017-03-28T23:02:11.32+00:00", + "lastModifiedTime": "2017-03-28T23:02:11.32+00:00", + "isEncrypted": false, + "value": "\"server80.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable81", + "name": "sampleVariable81", + "properties": { + "creationTime": "2017-03-28T23:02:12.02+00:00", + "lastModifiedTime": "2017-03-28T23:02:12.02+00:00", + "isEncrypted": false, + "value": "\"server81.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable82", + "name": "sampleVariable82", + "properties": { + "creationTime": "2017-03-28T23:02:12.723+00:00", + "lastModifiedTime": "2017-03-28T23:02:12.723+00:00", + "isEncrypted": false, + "value": "\"server82.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable83", + "name": "sampleVariable83", + "properties": { + "creationTime": "2017-03-28T23:02:13.443+00:00", + "lastModifiedTime": "2017-03-28T23:02:13.443+00:00", + "isEncrypted": false, + "value": "\"server83.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable84", + "name": "sampleVariable84", + "properties": { + "creationTime": "2017-03-28T23:02:14.16+00:00", + "lastModifiedTime": "2017-03-28T23:02:14.16+00:00", + "isEncrypted": false, + "value": "\"server84.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable85", + "name": "sampleVariable85", + "properties": { + "creationTime": "2017-03-28T23:02:15.177+00:00", + "lastModifiedTime": "2017-03-28T23:02:15.177+00:00", + "isEncrypted": false, + "value": "\"server85.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable86", + "name": "sampleVariable86", + "properties": { + "creationTime": "2017-03-28T23:02:16.053+00:00", + "lastModifiedTime": "2017-03-28T23:02:16.053+00:00", + "isEncrypted": false, + "value": "\"server86.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable87", + "name": "sampleVariable87", + "properties": { + "creationTime": "2017-03-28T23:02:16.82+00:00", + "lastModifiedTime": "2017-03-28T23:02:16.82+00:00", + "isEncrypted": false, + "value": "\"server87.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable88", + "name": "sampleVariable88", + "properties": { + "creationTime": "2017-03-28T23:02:17.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:17.583+00:00", + "isEncrypted": false, + "value": "\"server88.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable89", + "name": "sampleVariable89", + "properties": { + "creationTime": "2017-03-28T23:02:18.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:18.333+00:00", + "isEncrypted": false, + "value": "\"server89.domain.com\"", + "description": null + } + } + ], + "nextLink": "https://management.azure.com:443/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables?api-version=2015-10-31&$skip=100" + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json index 89476a45dc1f..3fea51ab2fb0 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/listVariables_Next100.json @@ -8,129 +8,131 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9", - "name": "sampleVariable9", - "properties": { - "creationTime": "2017-03-28T23:01:07.38+00:00", - "lastModifiedTime": "2017-03-28T23:01:07.38+00:00", - "isEncrypted": false, - "value": "\"server9.domain.com\"", - "description": null + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable9", + "name": "sampleVariable9", + "properties": { + "creationTime": "2017-03-28T23:01:07.38+00:00", + "lastModifiedTime": "2017-03-28T23:01:07.38+00:00", + "isEncrypted": false, + "value": "\"server9.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90", + "name": "sampleVariable90", + "properties": { + "creationTime": "2017-03-28T23:02:19.147+00:00", + "lastModifiedTime": "2017-03-28T23:02:19.147+00:00", + "isEncrypted": false, + "value": "\"server90.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91", + "name": "sampleVariable91", + "properties": { + "creationTime": "2017-03-28T23:02:20.257+00:00", + "lastModifiedTime": "2017-03-28T23:02:20.257+00:00", + "isEncrypted": false, + "value": "\"server91.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92", + "name": "sampleVariable92", + "properties": { + "creationTime": "2017-03-28T23:02:21.037+00:00", + "lastModifiedTime": "2017-03-28T23:02:21.037+00:00", + "isEncrypted": false, + "value": "\"server92.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93", + "name": "sampleVariable93", + "properties": { + "creationTime": "2017-03-28T23:02:21.803+00:00", + "lastModifiedTime": "2017-03-28T23:02:21.803+00:00", + "isEncrypted": false, + "value": "\"server93.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94", + "name": "sampleVariable94", + "properties": { + "creationTime": "2017-03-28T23:02:22.583+00:00", + "lastModifiedTime": "2017-03-28T23:02:22.583+00:00", + "isEncrypted": false, + "value": "\"server94.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95", + "name": "sampleVariable95", + "properties": { + "creationTime": "2017-03-28T23:02:23.333+00:00", + "lastModifiedTime": "2017-03-28T23:02:23.333+00:00", + "isEncrypted": false, + "value": "\"server95.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96", + "name": "sampleVariable96", + "properties": { + "creationTime": "2017-03-28T23:02:24.163+00:00", + "lastModifiedTime": "2017-03-28T23:02:24.163+00:00", + "isEncrypted": false, + "value": "\"server96.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97", + "name": "sampleVariable97", + "properties": { + "creationTime": "2017-03-28T23:02:24.973+00:00", + "lastModifiedTime": "2017-03-28T23:02:24.973+00:00", + "isEncrypted": false, + "value": "\"server97.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98", + "name": "sampleVariable98", + "properties": { + "creationTime": "2017-03-28T23:02:25.757+00:00", + "lastModifiedTime": "2017-03-28T23:02:25.757+00:00", + "isEncrypted": false, + "value": "\"server98.domain.com\"", + "description": null + } + }, + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99", + "name": "sampleVariable99", + "properties": { + "creationTime": "2017-03-28T23:02:26.553+00:00", + "lastModifiedTime": "2017-03-28T23:02:26.553+00:00", + "isEncrypted": false, + "value": "\"server99.domain.com\"", + "description": null + } } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable90", - "name": "sampleVariable90", - "properties": { - "creationTime": "2017-03-28T23:02:19.147+00:00", - "lastModifiedTime": "2017-03-28T23:02:19.147+00:00", - "isEncrypted": false, - "value": "\"server90.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable91", - "name": "sampleVariable91", - "properties": { - "creationTime": "2017-03-28T23:02:20.257+00:00", - "lastModifiedTime": "2017-03-28T23:02:20.257+00:00", - "isEncrypted": false, - "value": "\"server91.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable92", - "name": "sampleVariable92", - "properties": { - "creationTime": "2017-03-28T23:02:21.037+00:00", - "lastModifiedTime": "2017-03-28T23:02:21.037+00:00", - "isEncrypted": false, - "value": "\"server92.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable93", - "name": "sampleVariable93", - "properties": { - "creationTime": "2017-03-28T23:02:21.803+00:00", - "lastModifiedTime": "2017-03-28T23:02:21.803+00:00", - "isEncrypted": false, - "value": "\"server93.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable94", - "name": "sampleVariable94", - "properties": { - "creationTime": "2017-03-28T23:02:22.583+00:00", - "lastModifiedTime": "2017-03-28T23:02:22.583+00:00", - "isEncrypted": false, - "value": "\"server94.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable95", - "name": "sampleVariable95", - "properties": { - "creationTime": "2017-03-28T23:02:23.333+00:00", - "lastModifiedTime": "2017-03-28T23:02:23.333+00:00", - "isEncrypted": false, - "value": "\"server95.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable96", - "name": "sampleVariable96", - "properties": { - "creationTime": "2017-03-28T23:02:24.163+00:00", - "lastModifiedTime": "2017-03-28T23:02:24.163+00:00", - "isEncrypted": false, - "value": "\"server96.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable97", - "name": "sampleVariable97", - "properties": { - "creationTime": "2017-03-28T23:02:24.973+00:00", - "lastModifiedTime": "2017-03-28T23:02:24.973+00:00", - "isEncrypted": false, - "value": "\"server97.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable98", - "name": "sampleVariable98", - "properties": { - "creationTime": "2017-03-28T23:02:25.757+00:00", - "lastModifiedTime": "2017-03-28T23:02:25.757+00:00", - "isEncrypted": false, - "value": "\"server98.domain.com\"", - "description": null - } - }, - { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/sampleAccount9/variables/sampleVariable99", - "name": "sampleVariable99", - "properties": { - "creationTime": "2017-03-28T23:02:26.553+00:00", - "lastModifiedTime": "2017-03-28T23:02:26.553+00:00", - "isEncrypted": false, - "value": "\"server99.domain.com\"", - "description": null - } - } - ] + ] + } } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json index 77cdb4398fa0..3feab4114a59 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2015-10-31/examples/updateRunbook.json @@ -16,29 +16,31 @@ }, "responses": { "200": { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", - "name": "Get-AzureVMTutorial", - "type": "Microsoft.Automation/AutomationAccounts/Runbooks", - "location": "East US 2", - "tags": { - "tag01": "value01", - "tag02": "value02" - }, - "etag": "\"636265044994500000\"", - "properties": { - "description": "Updated Description of the Runbook", - "logVerbose": false, - "logProgress": true, - "logActivityTrace": 1, - "runbookType": "PowerShellWorkflow", - "parameters": {}, - "state": "Published", - "jobCount": 0, - "provisioningState": "Succeeded", - "outputTypes": [], - "creationTime": "2017-03-30T21:01:33.777+00:00", - "lastModifiedBy": "myEmaild@microsoft.com", - "lastModifiedTime": "2017-03-30T21:01:39.45+00:00" + "body": { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/runbooks/Get-AzureVMTutorial", + "name": "Get-AzureVMTutorial", + "type": "Microsoft.Automation/AutomationAccounts/Runbooks", + "location": "East US 2", + "tags": { + "tag01": "value01", + "tag02": "value02" + }, + "etag": "\"636265044994500000\"", + "properties": { + "description": "Updated Description of the Runbook", + "logVerbose": false, + "logProgress": true, + "logActivityTrace": 1, + "runbookType": "PowerShellWorkflow", + "parameters": {}, + "state": "Published", + "jobCount": 0, + "provisioningState": "Succeeded", + "outputTypes": [], + "creationTime": "2017-03-30T21:01:33.777+00:00", + "lastModifiedBy": "myEmaild@microsoft.com", + "lastModifiedTime": "2017-03-30T21:01:39.45+00:00" + } } } } diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index 0b1d4a04781a..a4eafb011c0f 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -193,6 +193,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json index 08cb5519a49d..66248bd6bff5 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Drive.json @@ -140,64 +140,79 @@ "properties": { "storageNode": { "description": "Node that the drive is physically connected.", - "type": "string" + "type": "string", + "readOnly": true }, "serialNumber": { "description": "Serial number of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "healthStatus": { "description": "Health status of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "operationalStatus": { "description": "Operational status of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "usage": { "description": "Intended usage of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "physicalLocation": { "description": "Indicate where the hardware is located.", - "type": "string" + "type": "string", + "readOnly": true }, "model": { "description": "Model of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "firmwareVersion": { "description": "The firmware version of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "isIndicationEnabled": { "description": "Indicate whether the drive's identification LEDs are active or not.", - "type": "boolean" + "type": "boolean", + "readOnly": true }, "manufacturer": { "description": "The name of the drive's manufacturer.", - "type": "string" + "type": "string", + "readOnly": true }, "storagePool": { "description": "The storage pool where the drive is located.", - "type": "string" + "type": "string", + "readOnly": true }, "mediaType": { "description": "Media type of the drive.", - "type": "string" + "type": "string", + "readOnly": true }, "capacityGB": { "description": "Total capacity in GB of the drive.", "format": "int32", - "type": "integer" + "type": "integer", + "readOnly": true }, "description": { "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true }, "action": { "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true } } }, diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json index 7e7e26561036..5b9034456929 100644 --- a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/preview/2019-05-01/Volume.json @@ -141,36 +141,44 @@ "totalCapacityGB": { "description": "Total capacity in GB of the volume.", "format": "int32", - "type": "integer" + "type": "integer", + "readOnly": true }, "remainingCapacityGB": { "description": "Remaining capacity in GB of the volume.", "format": "int32", - "type": "integer" + "type": "integer", + "readOnly": true }, "healthStatus": { "description": "Health status of the volume.", - "type": "string" + "type": "string", + "readOnly": true }, "operationalStatus": { "description": "Operational status of the volume.", - "type": "string" + "type": "string", + "readOnly": true }, "repairStatus": { "description": "Repair status of the volume. Empty if no repair job running, something like 'Running, 90%' when repairing.", - "type": "string" + "type": "string", + "readOnly": true }, "description": { "description": "Detailed description for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true }, "action": { "description": "Detailed recommended action for HealthStatus/OperationalStatus. Empty if HealthStatus/OperationalStatus is Healthy/Ok.", - "type": "string" + "type": "string", + "readOnly": true }, "volumeLabel": { "description": "Volume label.", - "type": "string" + "type": "string", + "readOnly": true } } }, diff --git a/specification/azure-kusto/resource-manager/readme.md b/specification/azure-kusto/resource-manager/readme.md index cbae1bf37ac6..eb9ab7fd22b0 100644 --- a/specification/azure-kusto/resource-manager/readme.md +++ b/specification/azure-kusto/resource-manager/readme.md @@ -109,6 +109,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-java diff --git a/specification/azureactivedirectory/resource-manager/readme.md b/specification/azureactivedirectory/resource-manager/readme.md index dd3a42717998..dfa8a2c29e24 100644 --- a/specification/azureactivedirectory/resource-manager/readme.md +++ b/specification/azureactivedirectory/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/azurestack/resource-manager/readme.md b/specification/azurestack/resource-manager/readme.md index 60d2ed7bcc4a..b5f922be3002 100644 --- a/specification/azurestack/resource-manager/readme.md +++ b/specification/azurestack/resource-manager/readme.md @@ -89,7 +89,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.AzureStack payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/AzureStack/Management.AzureStack/Generated + output-folder: $(csharp-sdks-folder)/azurestack/Microsoft.Azure.Management.AzureStack/src/Generated clear-output-folder: true ``` diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 9d070b8f7ec5..4ca78e4b4ce9 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -140,6 +140,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -162,7 +163,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Batch payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/Batch/Management/Management.Batch/Generated + output-folder: $(csharp-sdks-folder)/batch/Microsoft.Azure.Management.Batch/src/Generated clear-output-folder: true ``` diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json index 1b3154d420e0..f511bcdaa541 100644 --- a/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json +++ b/specification/batchai/resource-manager/Microsoft.BatchAI/preview/2017-09-01-preview/examples/PutFileServer.json @@ -24,7 +24,7 @@ }, "responses": { "200": { - "parameters": { + "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/fileservers/fileservercedd134b", "name": "demo_nfs", "type": "Microsoft.BatchAI/FileServers", diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json index 19986c09970c..f319ee74030f 100644 --- a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json +++ b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-03-01/examples/PutFileServer.json @@ -24,7 +24,7 @@ }, "responses": { "200": { - "parameters": { + "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/fileservers/fileservercedd134b", "name": "demo_nfs", "type": "Microsoft.BatchAI/FileServers", diff --git a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json index 86208593a021..e11fd4ec53b0 100644 --- a/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json +++ b/specification/batchai/resource-manager/Microsoft.BatchAI/stable/2018-05-01/examples/PutFileServer.json @@ -24,7 +24,7 @@ }, "responses": { "200": { - "parameters": { + "body": { "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.BatchAI/workspaces/demo_workspace/fileservers/fileservercedd134b", "name": "demo_nfs", "type": "Microsoft.BatchAI/FileServers", diff --git a/specification/batchai/resource-manager/readme.md b/specification/batchai/resource-manager/readme.md index 15d120a5b5b0..dc79d58e557c 100644 --- a/specification/batchai/resource-manager/readme.md +++ b/specification/batchai/resource-manager/readme.md @@ -66,6 +66,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index 06b504538849..d99f04b31727 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -76,6 +76,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/blockchain/resource-manager/readme.csharp.md b/specification/blockchain/resource-manager/readme.csharp.md index d655d961e23d..81346a910cf1 100644 --- a/specification/blockchain/resource-manager/readme.csharp.md +++ b/specification/blockchain/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Blockchain payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Blockchain/Management.Blockchain/Generated + output-folder: $(csharp-sdks-folder)/blockchain/Microsoft.Azure.Management.Blockchain/src/Generated clear-output-folder: true ``` diff --git a/specification/blueprint/resource-manager/readme.md b/specification/blueprint/resource-manager/readme.md index 264c8ebcc2a5..f5af0ea2a11e 100644 --- a/specification/blueprint/resource-manager/readme.md +++ b/specification/blueprint/resource-manager/readme.md @@ -59,6 +59,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-python diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md index a0dfeda29e25..b06869c5b2de 100644 --- a/specification/botservice/resource-manager/readme.md +++ b/specification/botservice/resource-manager/readme.md @@ -82,6 +82,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go ``` diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json index d391c3680892..2c1f6c05942e 100644 --- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json +++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/InkRecognizer.json @@ -215,9 +215,9 @@ "type": "string", "description": "The category of a recognition unit represents the type of content for that unit.", "enum": [ + "root", "writingRegion", "paragraph", - "listItem", "line", "inkBullet", "inkDrawing", @@ -233,9 +233,9 @@ "type": "string", "description": "The category of recognition units that represent types that have children recognition units.", "enum": [ + "root", "writingRegion", "paragraph", - "listItem", "line" ], "x-ms-enum": { @@ -292,6 +292,94 @@ "type": "object" } }, + "inkPointValueAttribute" : { + "type" : "object", + "description" : "A container for the attributes of a value contained in the ink point object.", + "properties" : { + "name" : { + "type" : "string", + "description" : "The name of the point attribute." + }, + "logicalMinimum" : { + "type" : "number", + "description" : "The minimum value for the attribute" + }, + "logicalMaximum" : { + "type" : "number", + "description" : "The maximum value for the attribute" + } + } + }, + "inkPoint" : { + "type" : "object", + "description" : "An object containing the properties of an point in the path of an ink stroke. The main properties are the x and y values. Other include tip pressure, x tilt etc. For the coordinate values, it is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas", + "properties" : { + "x" : { + "type" : "number", + "description" : "The x coordinate of the pen location on the writing surface." + }, + "y" : { + "type" : "number", + "description" : "The y coordinate of the pen location on the writing surface." + }, + "z" : { + "type" : "number", + "description" : "The z coordinate of the pen location on the writing space. This may not be used for recognition." + }, + "tipPressure" : { + "type" : "number", + "description" : "The force exerted against the tablet surface by the transducer, typically a stylus. This may not be used for recognition." + }, + "barrelPressure" : { + "type" : "number", + "description" : "The force exerted directly by the user on a transducer sensor, such as a pressure-sensitive button on the barrel of a stylus. This may not be used for recognition." + }, + "timestamp" : { + "type" : "number", + "description" : "The time relative to the absolute time the transducer last became active. This may not be used for recognition." + }, + "xTilt" : { + "type" : "number", + "description" : "The plane angle between the Y-Z plane and the plane containing the transducer axis and the Y axis. This may not be used for recognition." + }, + "yTilt" : { + "type" : "number", + "description" : "The angle between the X-Z and transducer-X planes. A positive Y Tilt is toward the user. This may not be used for recognition." + }, + "width" : { + "type" : "number", + "description" : "The width of the tip of the writing instrument. This is used by touch screen devices to report the width of the finger contact on the writing surface. This may not be used for recognition." + }, + "height" : { + "type" : "number", + "description" : "The height of the tip of the writing instrument. This is used by touch screen devices to report the height of the finger contact on the writing surface. This may not be used for recognition." + }, + "tipSwitch" : { + "type" : "boolean", + "description" : "A switch located on the tip of a stylus indicating contact of the stylus with a surface. This may not be used for recognition." + }, + "inverted" : { + "type" : "boolean", + "description" : "A value that indicates that the currently sensed position originates from the end of a stylus opposite the tip switch. This may not be used for recognition." + }, + "barrelSwitch" : { + "type" : "boolean", + "description" : "A non-tip button located on the barrel of a stylus. Its function is typically mapped to a system secondary button. This may not be used for recognition." + }, + "eraser" : { + "type" : "boolean", + "description" : "The control is used for erasing objects. It is typically located opposite the writing end of a stylus. This may not be used for recognition." + }, + "secondaryTip" : { + "type" : "boolean", + "description" : "A secondary switch used in conjunction with the tip switch to indicate pressure above a certain threshold applied with the stylus. This may not be used for recognition." + } + }, + "required" : [ + "x", + "y" + ] + }, "recognitionUnit": { "items": { "properties": { @@ -331,36 +419,36 @@ "description": "The id of the parent node in the tree structure of the recognition results. parent = 0 indicates that there is no dedicated parent node for this unit." }, "boundingRectangle": { - "description": "The bounding rectangle of the recognized unit represented by the coordinates of the top left corner (x,y) along with width (w) and height (h) of the rectangle. Note that this rectangle is not rotated. So for rotated objects such as slanted handwriting, it will cover the entire object. The unit will be matched to the one specified in the original request (mm by default.) ", + "description": "The bounding rectangle of the recognition unit represented by the coordinates of the top left corner (topX,topY) along with width and height of the rectangle. Note that this rectangle is not rotated. So for rotated objects such as slanted handwriting, it will cover the entire object. The unit will be matched to the one specified in the original request (mm by default.) ", "type": "object", "properties": { "topX": { "type": "number", - "description": "This represents the top left x coordinate" + "description": "This is the top left x coordinate" }, "topY": { "type": "number", - "description": "This represents the top left y coordinate" + "description": "This is the top left y coordinate" }, "width": { "type": "number", - "description": "This represents width of the bounding rectangle" + "description": "This is width of the bounding rectangle" }, "height": { "type": "number", - "description": "The represents the height of the bounding rectangle" + "description": "The is the height of the bounding rectangle" } } }, "rotatedBoundingRectangle": { - "description": "This property provides the rotated bounding rectangle that covers the entire recognized object along the angle of rotation of the object. Note that this is NOT the same as rotating the boundingRectangle by the rotation angle.", + "description": "This is the rotated bounding rectangle that covers the entire recognized object along the angle of rotation of the object. Note that this is NOT the same as rotating the boundingRectangle by the rotation angle.", "type": "array", "items": { "$ref": "#/definitions/pointDetailsPattern" } }, "strokeIds": { - "description": "This is an array of integers representing the list of stroke Identifier integers from the input request body that belong to this recognition unit.", + "description": "This is an array of integers representing the list of stroke Identifiers from the input request body that belong to this recognition unit.", "type": "array", "items": { "type": "integer" @@ -368,15 +456,15 @@ }, "recognizedText": { "type": "string", - "description": "The string represents the text that was recognized. It can be an empty string if the recognizer cannot determine the text." + "description": "The string contains the text that was recognized. It can be an empty string if the recognizer cannot determine the text." }, "confidence": { "type": "number", - "description": "The class represents the type of the recognition unit. A recognition unit can be a leaf node or a container node. Container nodes typically have leaf nodes as children." + "description": "A number between 0 and 1 which indicates the confidence level in the result." }, "rotationAngle": { "type": "number", - "description": "This represents the angle at which the unit is rotated in degrees with respect to the positive X axis." + "description": "This is the angle at which the unit is rotated in degrees with respect to the positive X axis." }, "recognizedObject": { "$ref": "#/definitions/shapePattern" @@ -390,7 +478,7 @@ "id" ], "type": "object", - "description": "This represents the recognized entity" + "description": "This identifies the recognized entity" }, "type": "array", "description": "The list of recognition units based on the analysis of the ink strokes." @@ -407,8 +495,10 @@ "description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in this stroke. The response will include results from this language." }, "points": { - "type": "string", - "description": "A string of comma separated floating point values that represent the x and y coordinates of points that are part of the stroke. (X1,Y1, X2,Y2…). It is recommended to have a precision of 8 digits after the decimal to obtain most accurate recognition results. The origin (0,0) of the canvas is assumed to be at the top left corner of the canvas" + "type": "array", + "items": { + "$ref": "#/definitions/inkPoint" + } }, "drawingAttributes": { "$ref": "#/definitions/drawingAttributesPattern" @@ -437,7 +527,7 @@ "properties": { "unit": { "type": "string", - "description": "This represents the physical units of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", + "description": "This is the physical unit of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", "enum": [ "mm", "cm", @@ -454,7 +544,7 @@ }, "language": { "type": "string", - "description": "This is the language used for recognizing handwriting from the ink strokes in the request. Set this to the user’s preferred language." + "description": "This is the language used for recognizing handwriting from the ink strokes in the request." }, "recognitionUnits": { "$ref": "#/definitions/recognitionUnit" @@ -526,14 +616,38 @@ "modelAsString": true } }, + "inputDeviceKind" : { + "type" : "string", + "description" : "This identifies the kind of device used as the writing instrument", + "enum" : [ + "digitizer", + "pen", + "lightPen", + "touchScreen", + "touchPad", + "whiteBoard", + "3dDigitizer", + "stereoPlotter", + "articulatedArm", + "armature" + ], + "x-ms-enum" : { + "name" : "inputDevice", + "modelAsString": true + } + }, "unit": { "type": "string", - "description": "This represents the physical units of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", + "description": "This is the physical unit of the ink strokes. It is up to the application developer to decide how to convert the device specific units to physical units before calling the service. The conversion factor can be different based on the type of the device used.", "enum": [ "mm", "cm", "in" - ] + ], + "x-ms-enum": { + "name": "unit", + "modelAsString": true + } }, "unitMultiple": { "description": " This is a scaling factor to be applied to the point coordinates when interpreting them in the physical units specified.", @@ -544,6 +658,12 @@ "example": "en-US", "description": "The IETF BCP 47 language code (for ex. en-US, en-GB, hi-IN etc.) of the expected language for the handwritten content in the ink strokes. The response will include results from this language." }, + "inkPointValueAttributes" : { + "type" : "array", + "items" : { + "$ref":"#/definitions/inkPointValueAttribute" + } + }, "strokes": { "type": "array", "items": { diff --git a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json index d3a41e0403d2..54579b8e7e79 100644 --- a/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json +++ b/specification/cognitiveservices/data-plane/InkRecognizer/preview/v1.0/examples/InkWordRecognition.json @@ -7,16 +7,420 @@ "language": "en-US", "strokes": [ { - "id": 1, - "kind": "inkWriting", - "points": "19.34498,28.21327,19.34498,27.93462,19.34498,27.65597,19.0157,27.65597,18.76874,27.44698,18.27483,27.44698,18.02787,27.44698,17.45164,27.44698,16.62845,27.65597,15.88758,27.93462,15.06439,28.49191,14.32351,28.97955,13.25337,29.53685,11.36003,31.41773,10.61916,32.46267,9.795967,33.50761,8.972776,34.83119,8.231905,35.87613,7.655672,37.19971,7.161757,38.24465,6.9148,39.35925,6.9148,40.12554,6.9148,40.89182,6.9148,41.72777,7.408715,42.2154,7.902629,42.49405,8.478863,42.77271,8.972776,43.05135,9.795967,43.05135,10.28988,43.05135,11.11307,42.77271,11.93626,42.2154,12.43018,41.72777,13.25337,41.17047,13.74728,40.12554,14.57047,39.0806,15.31134,37.75701,15.88758,36.15478,16.62845,34.27389,17.20468,32.46267,17.6986,30.30314,18.27483,28.21327,18.76874,26.12339,19.34498,23.96386,19.59193,21.87399,19.83889,19.9931,20.08585,18.46053,20.08585,17.13695,20.08585,16.02235,20.08585,14.97741,20.08585,14.48978,20.08585,13.93248,19.83889,13.65383,19.83889,13.65383,19.83889,13.65383,19.59193,13.65383,19.59193,13. 65383,19.34498,14.21113,19.34498,14.69876,19.0157,15.25606,19.0157,16.02235,18.76874,17.13695,18.76874,18.46053,18.52179,19.78412,18.27483,21.31669,18.02787,22.91892,18.02787,24.52116,17.6986,26.33238,17.45164,28.21327,17.20468,30.09415,16.95773,31.90537,16.62845,33.50761,16.62845,35.10984,16.62845,36.71207,16.62845,38.03566,16.95773,39.0806,17.20468,39.84688,17.45164,40.68283,18.02787,41.17047,18.52179,41.72777,19.34498,42.00642,19.83889,42.00642,20.90904,41.72777,21.73223,41.44912,22.4731,40.89182,23.54325,40.12554,24.36644,39.35925,25.10731,38.5233,25.9305,37.47836,26.75369,36.71207,27.24761,35.59748,27.49457,34.55254,27.74152,33.50761,28.0708,32.46267,28.0708,31.62672,28.0708,30.86044,28.0708,30.09415,27.74152,29.53685,27.49457,28.97955,27.24761,28.77056,26.75369,28.49191,26.42442,28.49191,25.9305,28.49191,25.43659,28.97955,25.10731,29.53685,24.6134,30.09415,24.03716,30.86044,23.79021,31.90537,23.29629,33.22896,23.04934,34.27389,22.72006,35.59748,22.72006,36.71207,22.4731,38.03566,22.72006,39.0806,22.72006,40.12554,23.04934,40.89182,23.29629,41.72777,23.79021,42.2154,24.36644,42.77271,24.86036,43.05135,25.68354,43.05135,26.42442,43.05135,27.24761,42.77271,28.31775,42.2154,29.3879,41.72777,30.45805,40.89182,31.44588,39.84688,32.8453,38.80195,33.83313,37.47836,35.15023,35.87613,36.22039,34.27389,37.29053,32.46267,39.43083,27.93462,40.50097,25.5661,41.24184,23.19757,41.81808,20.82905,42.55895,18.46053,42.88823,16.301,43.38214,14.48978,43.6291,11.84261,43.6291,10.72801,43.6291,10.24037,43.38214,9.96172,43.38214,9.96172,43.13519,9.96172,42.88823,10.72801,42.31199,12.60889,41.81808,14.21113,41.24184,16.02235,40.74793,18.18188,40.25402,20.5504,39.67778,23.19757,39.43083,25.84475,38.60764,31.13909,38.36068,33.78626,38.36068,36.43343,38.11372,38.80195,38.11372,40.89182,38.11372,43.05135,37.86677,45.14123,37.53749,48.62434,37.53749,49.94793,37.29053,51.27151,37.04358,52.31645,36.79662,53.08273,36.54966,53.64004,35.97342,53.84902,34.65633,53.64004,33.83313,53.08273,33.09226,52.5951,32.26907,51.75915,31.19892,50.71421,30.45805,49.66928,29.88182,48.83333,28.56471,47.02211,28.31775,46.18616,28.0708,45.69852,28.0708,45.14123,28.31775,44.37494,28.56471,43.53899,29.88182,42.2154,30.70501,41.44912,31.77516,40.68283,32.8453,39.56823,35.47952,37.75701,36.79662,36.92107,39.67778,35.38849,42.31199,34.0649,43.6291,33.50761,46.26331,32.74132,47.33346,32.46267,49.22679,32.18402,49.72071,31.90537,50.29694,31.90537,50.79086,31.90537,51.03782,31.90537,51.03782,31.90537,50.29694,31.90537,49.96766,32.18402,49.47375,32.46267,48.65057,32.74132,47.90969,33.22896,47.0865,33.78626,46.26331,34.27389,44.69925,35.87613,44.20533,36.71207,43.95837,37.75701,43.6291,38.5233,43.38214,39.84688,43.6291,40.12554,43.95837,40.40418,44.20533,40.68283,45.27548,40.40418,46.01635,40.12554,46.59258,39.56823,47.0865,38.80195,47.90969,38.03566,48.97984,36.15478,49.47375,35.10984,49.72071,34.27389,49.96766,33.50761,50.29694,32.46267,50.5439,31.90537,50.5439,31.90537,50.29694,32.18402,50.29694,32.74132,49.96766,33.22896,49.72071,34.83119,49.47375,35.87613,49.47375,37.75701,49.47375,38.5233,49.72071,39.0806,49.72071,39.35925,50.29694,39.56823,50.79086,39.56823,51.03782,39.35925,51.61405,38.80195,52.6842,37.47836,53.1781,36.71207,53.67202,35.87613,54.24826,35.10984,54.74217,34.55254,55.3184,33.50761,55.56536,33.22896,55.56536,32.95031,55.56536,32.95031,55.56536,33.78626,55.3184,34.27389,55.07145,35.38849,55.07145,36.15478,55.07145,36.92107,55.07145,37.47836,55.3184,38.03566,55.3184,38.24465,55.56536,38.5233,56.05928,38.5233,56.38855,38.24465,56.63551,38.03566,57.12943,37.75701,57.70565,36.71207,58.19957,36.15478,58.44653,35.10984,58.77581,34.55254,58.77581,34.27389,59.02276,34.0649,59.02276,33.78626,59.02276,33.78626,58.77581,34.27389,58.77581,34.55254,58.77581,35.10984,58.77581,35.38849,58.44653,36.71207,58.77581,37.47836,58.77581,38.03566,59.02276,38.80195,59.51667,39.56823,60.09291,39.84688,60.58682,39.84688,61.08074,39.56823,61.90393,39.35925,63.46799,38.24465,64.53814,37.19971,65.60828,36.15478,66.67844,34.55254,68.48946,31.41773,69.31265,29.53685,70.62975,25.5661,71.20598,23.47622,71.45294,21.87399,71.6999,20.5504,71.6999,18.18188,71.45294,17.34593,70.8767,16.57965,70.62975,16.301,70.3828,16.57965,69.88888,16.8583,68.81873,18.18188,68.24249,19.22682,67.17235,21.59534,66.43147,22.91892,65.85524,24.52116,65.60828,26.12339,64.7851,29.2582,64.53814,30.58179,64.29118,33.22896,64.53814,34.55254,64.53814,35.59748,64.7851,36.71207,65.85524,38.24465,66.43147,38.80195,67.99554,39.35925,68.81873,39.56823,69.5596,39.35925,70.62975,39.0806,73.01699,37.75701,74.33411,36.71207,76.72135,34.0649,78.03847,32.18402,79.35557,30.30314,80.67267,28.21327,82.81297,23.75487,83.88311,21.31669,85.20022,17.34593,85.69414,15.53471,86.02341,14.21113,86.27037,13.16619,86.27037,11.56396,86.27037,11.28531,86.27037,11.00666,86.02341,11.28531,86.02341,11.28531,86.02341,11.84261,85.44718,12.88754,85.44718,13.65383,84.95326,15.81336,84.70631,16.8583,84.37703,17.90323,83.88311,19.22682,83.30688,22.15264,82.81297,23.75487,81.98978,26.88968,81.49586,28.49191,81.00195,30.09415,80.67267,31.62672,80.17876,34.27389,79.9318,35.38849,79.60252,37.47836,79.60252,38.24465,79.60252,38.80195,79.9318,39.35925,80.42571,40.40418,81.00195,40.68283,82.31906,40.89182,83.05993,40.89182,83.88311,40.89182,84.95326,40.68283,86.76428,39.56823,87.58747,39.0806,89.15154,38.03566,89.72777,37.19971,90.22169,36.43343" + "id": 1, + "kind": "inkWriting", + "points":[{ "x" : 19.34498, "y" : 28.21327}, + { "x" : 19.34498, "y" : 27.93462}, + { "x" : 19.34498, "y" : 27.65597}, + { "x" :19.0157, "y" : 27.65597}, + { "x" : 18.76874, "y" : 27.44698}, + { "x" : 18.27483, "y" : 27.44698}, + { "x" : 18.02787, "y" : 27.44698}, + { "x" : 17.45164, "y" : 27.44698}, + { "x" : 16.62845, "y" : 27.65597}, + { "x" : 15.88758, "y" : 27.93462}, + { "x" : 15.06439, "y" : 28.49191}, + { "x" : 14.32351, "y" : 28.97955}, + { "x" : 13.25337, "y" : 29.53685}, + { "x" : 11.36003, "y" : 31.41773}, + { "x" : 10.61916, "y" : 32.46267}, + { "x" : 9.795967, "y" : 33.50761}, + { "x" : 8.972776, "y" : 34.83119}, + { "x" : 8.231905, "y" : 35.87613}, + { "x" : 7.655672, "y" : 37.19971}, + { "x" : 7.161757, "y" : 38.24465}, + { "x" : 6.9148, "y" : 39.35925}, + { "x" : 6.9148, "y" : 40.12554}, + { "x" : 6.9148, "y" : 40.89182}, + { "x" : 6.9148, "y" : 41.72777}, + { "x" : 7.408715, "y" : 42.2154}, + { "x" : 7.902629, "y" : 42.49405}, + { "x" : 8.478863, "y" : 42.77271}, + { "x" : 8.972776, "y" : 43.05135}, + { "x" : 9.795967, "y" : 43.05135}, + { "x" : 10.28988, "y" : 43.05135}, + { "x" : 11.11307, "y" : 42.77271}, + { "x" : 11.93626, "y" : 42.2154}, + { "x" : 12.43018, "y" : 41.72777}, + { "x" : 13.25337, "y" : 41.17047}, + { "x" : 13.74728, "y" : 40.12554}, + { "x" : 14.57047, "y" : 39.0806}, + { "x" : 15.31134, "y" : 37.75701}, + { "x" : 15.88758, "y" : 36.15478}, + { "x" : 16.62845, "y" : 34.27389}, + { "x" : 17.20468, "y" : 32.46267}, + { "x" : 17.6986, "y" : 30.30314}, + { "x" : 18.27483, "y" : 28.21327}, + { "x" : 18.76874, "y" : 26.12339}, + { "x" : 19.34498, "y" : 23.96386}, + { "x" : 19.59193, "y" : 21.87399}, + { "x" : 19.83889, "y" : 19.9931}, + { "x" : 20.08585, "y" : 18.46053}, + { "x" : 20.08585, "y" : 17.13695}, + { "x" : 20.08585, "y" : 16.02235}, + { "x" : 20.08585, "y" : 14.97741}, + { "x" : 20.08585, "y" : 14.48978}, + { "x" : 20.08585, "y" : 13.93248}, + { "x" : 19.83889, "y" : 13.65383}, + { "x" : 19.83889, "y" : 13.65383}, + { "x" : 19.83889, "y" : 13.65383}, + { "x" : 19.59193, "y" : 13.65383}, + { "x" : 19.59193, "y" : 13.65383}, + { "x" : 19.34498, "y" : 14.21113}, + { "x" : 19.34498, "y" : 14.69876}, + { "x" : 19.0157, "y" : 15.25606}, + { "x" : 19.0157, "y" : 16.02235}, + { "x" : 18.76874, "y" : 17.13695}, + { "x" : 18.76874, "y" : 18.46053}, + { "x" : 18.52179, "y" : 19.78412}, + { "x" : 18.27483, "y" : 21.31669}, + { "x" : 18.02787, "y" : 22.91892}, + { "x" : 18.02787, "y" : 24.52116}, + { "x" : 17.6986, "y" : 26.33238}, + { "x" : 17.45164, "y" : 28.21327}, + { "x" : 17.20468, "y" : 30.09415}, + { "x" : 16.95773, "y" : 31.90537}, + { "x" : 16.62845, "y" : 33.50761}, + { "x" : 16.62845, "y" : 35.10984}, + { "x" : 16.62845, "y" : 36.71207}, + { "x" : 16.62845, "y" : 38.03566}, + { "x" : 16.95773, "y" : 39.0806}, + { "x" : 17.20468, "y" : 39.84688}, + { "x" : 17.45164, "y" : 40.68283}, + { "x" : 18.02787, "y" : 41.17047}, + { "x" : 18.52179, "y" : 41.72777}, + { "x" : 19.34498, "y" :42.00642}, + { "x" : 19.83889, "y" :42.00642}, + { "x" : 20.90904, "y" :41.72777}, + { "x" : 21.73223, "y" :41.44912}, + { "x" : 22.4731, "y" :40.89182}, + { "x" : 23.54325, "y" :40.12554}, + { "x" : 24.36644, "y" :39.35925}, + { "x" : 25.10731, "y" :38.5233}, + { "x" : 25.9305, "y" :37.47836}, + { "x" : 26.75369, "y" :36.71207}, + { "x" : 27.24761, "y" :35.59748}, + { "x" : 27.49457, "y" :34.55254}, + { "x" : 27.74152, "y" :33.50761}, + { "x" : 28.0708, "y" :32.46267}, + { "x" : 28.0708, "y" :31.62672}, + { "x" : 28.0708, "y" :30.86044}, + { "x" : 28.0708, "y" :30.09415}, + { "x" : 27.74152, "y" :29.53685}, + { "x" : 27.49457, "y" :28.97955}, + { "x" : 27.24761, "y" :28.77056}, + { "x" : 26.75369, "y" :28.49191}, + { "x" : 26.42442, "y" :28.49191}, + { "x" : 25.9305, "y" :28.49191}, + { "x" : 25.43659, "y" :28.97955}, + { "x" : 25.10731, "y" :29.53685}, + { "x" : 24.6134, "y" :30.09415}, + { "x" : 24.03716, "y" :30.86044}, + { "x" : 23.79021, "y" :31.90537}, + { "x" : 23.29629, "y" :33.22896}, + { "x" : 23.04934, "y" :34.27389}, + { "x" : 22.72006, "y" :35.59748}, + { "x" : 22.72006, "y" :36.71207}, + { "x" : 22.4731, "y" :38.03566}, + { "x" : 22.72006, "y" :39.0806}, + { "x" : 22.72006, "y" :40.12554}, + { "x" : 23.04934, "y" :40.89182}, + { "x" : 23.29629, "y" :41.72777}, + { "x" : 23.79021, "y" :42.2154}, + { "x" : 24.36644, "y" :42.77271}, + { "x" : 24.86036, "y" :43.05135}, + { "x" : 25.68354, "y" : 43.05135}, + { "x" : 26.42442, "y" : 43.05135}, + { "x" : 27.24761, "y" : 42.77271}, + { "x" : 28.31775, "y" : 42.2154}, + { "x" : 29.3879, "y" : 41.72777}, + { "x" : 30.45805, "y" : 40.89182}, + { "x" : 31.44588, "y" : 39.84688}, + { "x" : 32.8453, "y" : 38.80195}, + { "x" : 33.83313, "y" : 37.47836}, + { "x" : 35.15023, "y" : 35.87613}, + { "x" : 36.22039, "y" : 34.27389}, + { "x" : 37.29053, "y" : 32.46267}, + { "x" : 39.43083, "y" : 27.93462}, + { "x" : 40.50097, "y" : 25.5661}, + { "x" : 41.24184, "y" : 23.19757}, + { "x" : 41.81808, "y" : 20.82905}, + { "x" : 42.55895, "y" : 18.46053}, + { "x" : 42.88823, "y" : 16.301}, + { "x" : 43.38214, "y" : 14.48978}, + { "x" : 43.6291, "y" : 11.84261}, + { "x" : 43.6291, "y" : 10.72801}, + { "x" : 43.6291, "y" : 10.24037}, + { "x" : 43.38214, "y" : 9.96172}, + { "x" : 43.38214, "y" : 9.96172}, + { "x" : 43.13519, "y" : 9.96172}, + { "x" : 42.88823, "y" : 10.72801}, + { "x" : 42.31199, "y" : 12.60889}, + { "x" : 41.81808, "y" : 14.21113}, + { "x" : 41.24184, "y" : 16.02235}, + { "x" : 40.74793, "y" : 18.18188}, + { "x" : 40.25402, "y" : 20.5504}, + { "x" : 39.67778, "y" : 23.19757}, + { "x" : 39.43083, "y" : 25.84475}, + { "x" : 38.60764, "y" : 31.13909}, + { "x" : 38.36068, "y" : 33.78626}, + { "x" : 38.36068, "y" : 36.43343}, + { "x" : 38.11372, "y" : 38.80195}, + { "x" : 38.11372, "y" : 40.89182}, + { "x" : 38.11372, "y" : 43.05135}, + { "x" : 37.86677, "y" : 45.14123}, + { "x" : 37.53749, "y" : 48.62434}, + { "x" : 37.53749, "y" : 49.94793}, + { "x" : 37.29053, "y" : 51.27151}, + { "x" : 37.04358, "y" : 52.31645}, + { "x" : 36.79662, "y" : 53.08273}, + { "x" : 36.54966, "y" : 53.64004}, + { "x" : 35.97342, "y" : 53.84902}, + { "x" : 34.65633, "y" : 53.64004}, + { "x" : 33.83313, "y" : 53.08273}, + { "x" : 33.09226, "y" : 52.5951}, + { "x" : 32.26907, "y" : 51.75915}, + { "x" : 31.19892, "y" : 50.71421}, + { "x" : 30.45805, "y" : 49.66928}, + { "x" : 29.88182, "y" : 48.83333}, + { "x" : 28.56471, "y" : 47.02211}, + { "x" : 28.31775, "y" : 46.18616}, + { "x" : 28.0708, "y" : 45.69852}, + { "x" : 28.0708, "y" : 45.14123}, + { "x" : 28.31775, "y" : 44.37494}, + { "x" : 28.56471, "y" : 43.53899}, + { "x" : 29.88182, "y" : 42.2154}, + { "x" : 30.70501, "y" : 41.44912}, + { "x" : 31.77516, "y" : 40.68283}, + { "x" : 32.8453, "y" : 39.56823}, + { "x" : 35.47952, "y" : 37.75701}, + { "x" : 36.79662, "y" : 36.92107}, + { "x" : 39.67778, "y" : 35.38849}, + { "x" : 42.31199, "y" : 34.0649}, + { "x" : 43.6291, "y" : 33.50761}, + { "x" : 46.26331, "y" : 32.74132}, + { "x" : 47.33346, "y" : 32.46267}, + { "x" : 49.22679, "y" : 32.18402}, + { "x" : 49.72071, "y" : 31.90537}, + { "x" : 50.29694, "y" : 31.90537}, + { "x" : 50.79086, "y" : 31.90537}, + { "x" : 51.03782, "y" : 31.90537}, + { "x" : 51.03782, "y" : 31.90537}, + { "x" : 50.29694, "y" : 31.90537}, + { "x" : 49.96766, "y" : 32.18402}, + { "x" : 49.47375, "y" : 32.46267}, + { "x" : 48.65057, "y" : 32.74132}, + { "x" : 47.90969, "y" : 33.22896}, + { "x" : 47.0865, "y" : 33.78626}, + { "x" : 46.26331, "y" : 34.27389}, + { "x" : 44.69925, "y" : 35.87613}, + { "x" : 44.20533, "y" : 36.71207}, + { "x" : 43.95837, "y" : 37.75701}, + { "x" : 43.6291, "y" : 38.5233}, + { "x" : 43.38214, "y" : 39.84688}, + { "x" : 43.6291, "y" : 40.12554}, + { "x" : 43.95837, "y" : 40.40418}, + { "x" : 44.20533, "y" : 40.68283}, + { "x" : 45.27548, "y" : 40.40418}, + { "x" : 46.01635, "y" : 40.12554}, + { "x" : 46.59258, "y" : 39.56823}, + { "x" : 47.0865, "y" : 38.80195}, + { "x" : 47.90969, "y" : 38.03566}, + { "x" : 48.97984, "y" : 36.15478}, + { "x" : 49.47375, "y" : 35.10984}, + { "x" : 49.72071, "y" : 34.27389}, + { "x" : 49.96766, "y" : 33.50761}, + { "x" : 50.29694, "y" : 32.46267}, + { "x" : 50.5439, "y" : 31.90537}, + { "x" : 50.5439, "y" : 31.90537}, + { "x" : 50.29694, "y" : 32.18402}, + { "x" : 50.29694, "y" : 32.74132}, + { "x" : 49.96766, "y" : 33.22896}, + { "x" : 49.72071, "y" : 34.83119}, + { "x" : 49.47375, "y" : 35.87613}, + { "x" : 49.47375, "y" : 37.75701}, + { "x" : 49.47375, "y" : 38.5233}, + { "x" : 49.72071, "y" : 39.0806}, + { "x" : 49.72071, "y" : 39.35925}, + { "x" : 50.29694, "y" : 39.56823}, + { "x" : 50.79086, "y" : 39.56823}, + { "x" : 51.03782, "y" : 39.35925}, + { "x" : 51.61405, "y" : 38.80195}, + { "x" : 52.6842, "y" : 37.47836}, + { "x" : 53.1781, "y" : 36.71207}, + { "x" : 53.67202, "y" : 35.87613}, + { "x" : 54.24826, "y" : 35.10984}, + { "x" : 54.74217, "y" : 34.55254}, + { "x" : 55.3184, "y" : 33.50761}, + { "x" : 55.56536, "y" : 33.22896}, + { "x" : 55.56536, "y" : 32.95031}, + { "x" : 55.56536, "y" : 32.95031}, + { "x" : 55.56536, "y" : 33.78626}, + { "x" : 55.3184, "y" : 34.27389}, + { "x" : 55.07145, "y" : 35.38849}, + { "x" : 55.07145, "y" : 36.15478}, + { "x" : 55.07145, "y" : 36.92107}, + { "x" : 55.07145, "y" : 37.47836}, + { "x" : 55.3184, "y" : 38.03566}, + { "x" : 55.3184, "y" : 38.24465}, + { "x" : 55.56536, "y" : 38.5233}, + { "x" : 56.05928, "y" : 38.5233}, + { "x" : 56.38855, "y" : 38.24465}, + { "x" : 56.63551, "y" : 38.03566}, + { "x" : 57.12943, "y" : 37.75701}, + { "x" : 57.70565, "y" : 36.71207}, + { "x" : 58.19957, "y" : 36.15478}, + { "x" : 58.44653, "y" : 35.10984}, + { "x" : 58.77581, "y" : 34.55254}, + { "x" : 58.77581, "y" : 34.27389}, + { "x" : 59.02276, "y" : 34.0649}, + { "x" : 59.02276, "y" : 33.78626}, + { "x" : 59.02276, "y" : 33.78626}, + { "x" : 58.77581, "y" : 34.27389}, + { "x" : 58.77581, "y" : 34.55254}, + { "x" : 58.77581, "y" : 35.10984}, + { "x" : 58.77581, "y" : 35.38849}, + { "x" : 58.44653, "y" : 36.71207}, + { "x" : 58.77581, "y" : 37.47836}, + { "x" : 58.77581, "y" : 38.03566}, + { "x" : 59.02276, "y" : 38.80195}, + { "x" : 59.51667, "y" : 39.56823}, + { "x" : 60.09291, "y" : 39.84688}, + { "x" : 60.58682, "y" : 39.84688}, + { "x" : 61.08074, "y" : 39.56823}, + { "x" : 61.90393, "y" : 39.35925}, + { "x" : 63.46799, "y" : 38.24465}, + { "x" : 64.53814, "y" : 37.19971}, + { "x" : 65.60828, "y" : 36.15478}, + { "x" : 66.67844, "y" : 34.55254}, + { "x" : 68.48946, "y" : 31.41773}, + { "x" : 69.31265, "y" : 29.53685}, + { "x" : 70.62975, "y" : 25.5661}, + { "x" : 71.20598, "y" : 23.47622}, + { "x" : 71.45294, "y" : 21.87399}, + { "x" : 71.6999, "y" : 20.5504}, + { "x" : 71.6999, "y" : 18.18188}, + { "x" : 71.45294, "y" : 17.34593}, + { "x" : 70.8767, "y" : 16.57965}, + { "x" : 70.62975, "y" : 16.301}, + { "x" : 70.3828, "y" : 16.57965}, + { "x" : 69.88888, "y" : 16.8583}, + { "x" : 68.81873, "y" : 18.18188}, + { "x" : 68.24249, "y" : 19.22682}, + { "x" : 67.17235, "y" : 21.59534}, + { "x" : 66.43147, "y" : 22.91892}, + { "x" : 65.85524, "y" : 24.52116}, + { "x" : 65.60828, "y" : 26.12339}, + { "x" : 64.7851, "y" : 29.2582}, + { "x" : 64.53814, "y" : 30.58179}, + { "x" : 64.29118, "y" : 33.22896}, + { "x" : 64.53814, "y" : 34.55254}, + { "x" : 64.53814, "y" : 5.59748}, + { "x" : 64.7851, "y" : 36.71207}, + { "x" : 65.85524, "y" : 38.24465}, + { "x" : 66.43147, "y" : 38.80195}, + { "x" : 67.99554, "y" : 39.35925}, + { "x" : 68.81873, "y" : 39.56823}, + { "x" : 69.5596, "y" : 39.35925}, + { "x" : 70.62975, "y" : 39.0806}, + { "x" : 73.01699, "y" : 37.75701}, + { "x" : 74.33411, "y" : 36.71207}, + { "x" : 76.72135, "y" : 34.0649}, + { "x" : 78.03847, "y" : 32.18402}, + { "x" : 79.35557, "y" : 30.30314}, + { "x" : 80.67267, "y" : 28.21327}, + { "x" : 82.81297, "y" : 23.75487}, + { "x" : 83.88311, "y" : 21.31669}, + { "x" : 85.20022, "y" : 17.34593}, + { "x" : 85.69414, "y" : 15.53471}, + { "x" : 86.02341, "y" : 14.21113}, + { "x" : 86.27037, "y" : 13.16619}, + { "x" : 86.27037, "y" : 11.56396}, + { "x" : 86.27037, "y" : 11.28531}, + { "x" : 86.27037, "y" : 11.00666}, + { "x" : 86.02341, "y" : 11.28531}, + { "x" : 86.02341, "y" : 11.28531}, + { "x" : 86.02341, "y" : 11.84261}, + { "x" : 85.44718, "y" : 12.88754}, + { "x" : 85.44718, "y" : 13.65383}, + { "x" : 84.95326, "y" : 15.81336}, + { "x" : 84.70631, "y" : 16.8583}, + { "x" : 84.37703, "y" : 17.90323}, + { "x" : 83.88311, "y" : 19.22682}, + { "x" : 83.30688, "y" : 22.15264}, + { "x" : 82.81297, "y" : 23.75487}, + { "x" : 81.98978, "y" : 26.88968}, + { "x" : 81.49586, "y" : 28.49191}, + { "x" : 81.00195, "y" : 30.09415}, + { "x" : 80.67267, "y" : 31.62672}, + { "x" : 80.17876, "y" : 34.27389}, + { "x" : 79.9318, "y" : 35.38849}, + { "x" : 79.60252, "y" : 37.47836}, + { "x" : 79.60252, "y" : 38.24465}, + { "x" : 79.60252, "y" : 38.80195}, + { "x" : 79.9318, "y" : 39.35925}, + { "x" : 80.42571, "y" : 40.40418}, + { "x" : 81.00195, "y" : 40.68283}, + { "x" : 82.31906, "y" : 40.89182}, + { "x" : 83.05993, "y" : 40.89182}, + { "x" : 83.88311, "y" : 40.89182}, + { "x" : 84.95326, "y" : 40.68283}, + { "x" : 86.76428, "y" : 39.56823}, + { "x" : 87.58747, "y" : 39.0806}, + { "x" : 89.15154, "y" : 38.03566}, + { "x" : 89.72777, "y" : 37.19971}, + { "x" : 90.22169, "y" : 36.43343}] }, { - "id": 2, - "kind": "inkWriting", - "points": "80.17876,20.27175,80.17876,20.27175,80.17876,20.27175,80.17876,20.27175,80.17876,20.5504,80.17876,20.5504,80.17876,20.5504,80.17876,20.5504,80.42571,20.5504,80.42571,20.5504,80.67267,20.5504,81.00195,20.5504,81.49586,20.5504,81.98978,20.5504,82.56602,20.5504,83.30688,20.5504,84.13007,20.5504,84.95326,20.27175,86.02341,20.27175,86.76428,20.27175,87.58747,20.27175,88.41067,19.9931,89.15154,19.9931,89.72777,19.9931,90.22169,19.78412,90.46864,19.78412,90.7156,19.78412,91.04487,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.29183,19.78412,91.53879,19.78412,91.53879,19.78412,91.78574,19.78412" + "id": 2, + "kind": "inkWriting", + "points": [{ "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.27175}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.17876, "y" : 20.5504}, + { "x": 80.42571, "y" : 20.5504}, + { "x": 80.42571, "y" : 20.5504}, + { "x": 80.67267, "y" : 20.5504}, + { "x": 81.00195, "y" : 20.5504}, + { "x": 81.49586, "y" : 20.5504}, + { "x": 81.98978, "y" : 20.5504}, + { "x": 82.56602, "y" : 20.5504}, + { "x": 83.30688, "y" : 20.5504}, + { "x": 84.13007, "y" : 20.5504}, + { "x": 84.95326, "y" : 20.27175}, + { "x": 86.02341, "y" : 20.27175}, + { "x": 86.76428, "y" : 20.27175}, + { "x": 87.58747, "y" : 20.27175}, + { "x": 88.41067, "y" : 19.9931}, + { "x": 89.15154, "y" : 19.9931}, + { "x": 89.72777, "y" : 19.9931}, + { "x": 90.22169, "y" : 19.78412}, + { "x": 90.46864, "y" : 19.78412}, + { "x": 90.7156, "y" : 19.78412}, + { "x": 91.04487, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.29183, "y" : 19.78412}, + { "x": 91.53879, "y" : 19.78412}, + { "x": 91.53879, "y" : 19.78412}, + { "x": 91.78574, "y" : 19.78412}] } - ] + ] } }, "responses": { @@ -246,6 +650,43 @@ 1, 2 ] + }, + { + "boundingRectangle": { + "height": 43.889999389648438, + "topX": 6.9099998474121094, + "topY": 9.9600000381469727, + "width": 84.879997253417969 + }, + "category": "root", + "childIds": [ + 1 + ], + "class": "container", + "id": 0, + "parentId": -1, + "rotatedBoundingRectangle": [ + { + "x": 6.9099998474121094, + "y": 9.9600000381469727 + }, + { + "x": 91.7899957275305, + "y": 9.9600000381469727 + }, + { + "x": 6.9099998474121094, + "y": 53.84999393463135 + }, + { + "x": 91.78999572753905, + "y": 53.84999393463135 + } + ], + "strokeIds": [ + 1, + 2 + ] } ] } diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md index 5ab5aa5d012c..d0d84abae1fe 100644 --- a/specification/cognitiveservices/resource-manager/readme.md +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json index e3b6e57b96f3..5c43799e8249 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json @@ -3126,6 +3126,9 @@ }, "Create a scale set with ephemeral os disks.": { "$ref": "./examples/CreateAScaleSetWithDiffOsDisk.json" + }, + "Create a scale set with terminate scheduled events enabled.": { + "$ref": "./examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json" } } }, @@ -4681,6 +4684,20 @@ "type": "string", "description": "The instance ID of the virtual machine." }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "instanceView" + ], + "x-ms-enum": { + "name": "InstanceViewTypes", + "modelAsString": false + } + }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -5220,7 +5237,7 @@ }, "HyperVGenerationType": { "type": "string", - "description": "Specifies the HyperVGeneration Type for the Virtual Machine created from the image", + "description": "Specifies the HyperVGeneration Type", "enum": [ "V1", "V2" @@ -6046,6 +6063,9 @@ }, "automaticOSUpgradeProperties": { "$ref": "#/definitions/AutomaticOSUpgradeProperties" + }, + "hyperVGeneration": { + "$ref": "#/definitions/HyperVGenerationType" } }, "description": "Describes the properties of a Virtual Machine Image." @@ -8498,6 +8518,10 @@ "name": "VirtualMachineEvictionPolicyTypes", "modelAsString": true } + }, + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." } }, "description": "Describes a virtual machine scale set virtual machine profile." @@ -8527,6 +8551,10 @@ "licenseType": { "type": "string", "description": "The license type, which is for bring your own license scenario." + }, + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." } }, "description": "Describes a virtual machine scale set virtual machine profile." @@ -9241,6 +9269,28 @@ }, "description": "The protection policy of a virtual machine scale set VM." }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "terminateNotificationProfile": { + "$ref": "#/definitions/TerminateNotificationProfile", + "description": "Specifies Terminate Scheduled Event related configurations." + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" + }, + "enable": { + "type": "boolean", + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + } + } + }, "VirtualMachineHealthStatus": { "properties": { "status": { diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json new file mode 100644 index 000000000000..87e6b25d2c87 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "vmScaleSetName": "{vmss-name}", + "api-version": "2019-03-01", + "parameters": { + "sku": { + "tier": "Standard", + "capacity": 3, + "name": "Standard_D1_v2" + }, + "location": "westus", + "properties": { + "overprovision": true, + "virtualMachineProfile": { + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" + } + }, + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "adminPassword": "{your-password}" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "subnet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}" + } + } + } + ] + } + } + ] + }, + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "enable": true, + "notBeforeTimeout": "PT5M" + } + } + }, + "upgradePolicy": { + "mode": "Manual" + } + } + } + }, + "responses": { + "200": { + "body": { + "sku": { + "tier": "Standard", + "capacity": 3, + "name": "Standard_D1_v2" + }, + "name": "{vmss-name}", + "properties": { + "singlePlacementGroup": true, + "overprovision": true, + "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7", + "virtualMachineProfile": { + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" + } + }, + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "secrets": [], + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "dnsSettings": { + "dnsServers": [] + }, + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "subnet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" + }, + "privateIPAddressVersion": "IPv4" + } + } + ], + "enableAcceleratedNetworking": false + } + } + ] + }, + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "enable": true, + "notBeforeTimeout": "PT5M" + } + } + }, + "upgradePolicy": { + "mode": "Manual" + }, + "provisioningState": "Creating" + }, + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" + } + }, + "201": { + "body": { + "sku": { + "tier": "Standard", + "capacity": 3, + "name": "Standard_D1_v2" + }, + "name": "{vmss-name}", + "properties": { + "singlePlacementGroup": true, + "overprovision": true, + "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7", + "virtualMachineProfile": { + "storageProfile": { + "imageReference": { + "sku": "2016-Datacenter", + "publisher": "MicrosoftWindowsServer", + "version": "latest", + "offer": "WindowsServer" + }, + "osDisk": { + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "createOption": "FromImage" + } + }, + "osProfile": { + "computerNamePrefix": "{vmss-name}", + "adminUsername": "{your-username}", + "secrets": [], + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "dnsSettings": { + "dnsServers": [] + }, + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "{vmss-name}", + "properties": { + "subnet": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet" + }, + "privateIPAddressVersion": "IPv4" + } + } + ], + "enableAcceleratedNetworking": false + } + } + ] + }, + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "enable": true, + "notBeforeTimeout": "PT5M" + } + } + }, + "upgradePolicy": { + "mode": "Manual" + }, + "provisioningState": "Creating" + }, + "location": "westus", + "type": "Microsoft.Compute/virtualMachineScaleSets", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json index 694c0034f14d..5e478800029a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json @@ -451,7 +451,7 @@ }, "x-ms-long-running-operation": true, "x-ms-examples": { - "Create or update a simple gallery Image Version.": { + "Create or update a simple Gallery Image Version.": { "$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json" } } @@ -1522,7 +1522,7 @@ }, "osState": { "type": "string", - "description": "The allowed values for OS State are 'Generalized'.", + "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.", "enum": [ "Generalized", "Specialized" @@ -1822,7 +1822,7 @@ "description": "A list of data disk images." } }, - "description": "This is the storage profile of a gallery Image Version." + "description": "This is the storage profile of a Gallery Image Version." }, "GalleryOSDiskImage": { "allOf": [ diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json new file mode 100644 index 000000000000..75db97c61c85 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplication.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplication": { + "location": "West US", + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + }, + "201": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + }, + "202": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName", + "type": "Microsoft.Compute/galleries", + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json new file mode 100644 index 000000000000..aede7a8eeae6 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0", + "galleryApplicationVersion": { + "location": "West US", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "endOfLifeDate": "2019-07-01T07:00:00Z", + "storageAccountType": "Standard_LRS" + } + } + } + }, + "responses": { + "200": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Creating" + } + } + }, + "202": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Updating" + } + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json new file mode 100644 index 000000000000..f17c5a1f99eb --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplication.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json new file mode 100644 index 000000000000..49369a076b86 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/DeleteAGalleryApplicationVersion.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json new file mode 100644 index 000000000000..045dde2dcd4d --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplication.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json new file mode 100644 index 000000000000..6fea34a1fd64 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersion.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0" + }, + "responses": { + "200": { + "body": { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json new file mode 100644 index 000000000000..a91a4daf865b --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName", + "galleryApplicationVersionName": "1.0.0", + "$expand": "ReplicationStatus" + }, + "responses": { + "200": { + "body": { + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "replicationStatus": { + "aggregatedState": "Completed", + "summary": [ + { + "region": "West US", + "state": "Completed", + "details": "", + "progress": 100 + } + ] + }, + "provisioningState": "Succeeded" + }, + "location": "West US", + "name": "1.0.0" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json new file mode 100644 index 000000000000..af550ea5e129 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName", + "galleryApplicationName": "myGalleryApplicationName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "West US", + "name": "1.0.0", + "type": "Microsoft.Compute/galleries/applications/versions", + "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0", + "properties": { + "publishingProfile": { + "source": { + "fileName": "package.zip", + "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}" + }, + "enableHealthCheck": false, + "targetRegions": [ + { + "name": "West US", + "regionalReplicaCount": 1, + "storageAccountType": "Standard_LRS" + } + ], + "replicaCount": 1, + "excludeFromLatest": false, + "publishedDate": "2019-06-21T17:13:57.5972568+00:00", + "endOfLifeDate": "2019-07-01T07:00:00+00:00", + "storageAccountType": "Standard_LRS" + }, + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json new file mode 100644 index 000000000000..ea07a1d0c8e3 --- /dev/null +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/examples/ListGalleryApplicationsInAGallery.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "myResourceGroup", + "api-version": "2019-07-01", + "galleryName": "myGalleryName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "This is the gallery application description.", + "eula": "This is the gallery application EULA.", + "privacyStatementUri": "myPrivacyStatementUri}", + "releaseNoteUri": "myReleaseNoteUri", + "supportedOSType": "Windows" + }, + "location": "West US", + "name": "myGalleryApplicationName" + } + ], + "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName" + } + } + } +} diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json index 01ebe9c7bc32..9af963b8fced 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json +++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json @@ -600,6 +600,406 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": { + "put": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_CreateOrUpdate", + "description": "Create or update a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition is to be created." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryApplication", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryApplication" + }, + "description": "Parameters supplied to the create or update gallery Application operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery Application.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryApplication.json" + } + } + }, + "get": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_Get", + "description": "Retrieves information about a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery from which the Application Definitions are to be retrieved." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be retrieved." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplication" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Application.": { + "$ref": "./examples/GetAGalleryApplication.json" + } + } + }, + "delete": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_Delete", + "description": "Delete a gallery Application.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition is to be deleted." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Application.": { + "$ref": "./examples/DeleteAGalleryApplication.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": { + "put": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_CreateOrUpdate", + "description": "Create or update a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version is to be created." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "galleryApplicationVersion", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + }, + "description": "Parameters supplied to the create or update gallery Application Version operation." + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a simple gallery Application Version.": { + "$ref": "./examples/CreateOrUpdateASimpleGalleryApplicationVersion.json" + } + } + }, + "get": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_Get", + "description": "Retrieves information about a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version resides." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be retrieved." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The expand expression to apply on the operation.", + "enum": [ + "ReplicationStatus" + ], + "x-ms-enum": { + "name": "ReplicationStatusTypes", + "modelAsString": true + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersion" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Get a gallery Application Version.": { + "$ref": "./examples/GetAGalleryApplicationVersion.json" + }, + "Get a gallery Application Version with replication status.": { + "$ref": "./examples/GetAGalleryApplicationVersionWithReplicationStatus.json" + } + } + }, + "delete": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_Delete", + "description": "Delete a gallery Application Version.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Definition in which the Application Version resides." + }, + { + "name": "galleryApplicationVersionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the gallery Application Version to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a gallery Application Version.": { + "$ref": "./examples/DeleteAGalleryApplicationVersion.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": { "get": { "tags": [ @@ -784,15 +1184,170 @@ "x-ms-pageable": { "nextLinkName": "nextLink" } - } - } - }, - "definitions": { - "Gallery": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": { + "get": { + "tags": [ + "GalleryApplications" + ], + "operationId": "GalleryApplications_ListByGallery", + "description": "List gallery Application Definitions in a gallery.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery from which Application Definitions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery Applications in a gallery.": { + "$ref": "./examples/ListGalleryApplicationsInAGallery.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": { + "get": { + "tags": [ + "GalleryApplicationVersions" + ], + "operationId": "GalleryApplicationVersions_ListByGalleryApplication", + "description": "List gallery Application Versions in a gallery Application Definition.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "name": "galleryName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery in which the Application Definition resides." + }, + { + "name": "galleryApplicationName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/GalleryApplicationVersionList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "List gallery Application Versions in a gallery Application Definition.": { + "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Gallery": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the Shared Image Gallery that you want to create or update." + }, + "GalleryProperties": { + "properties": { + "description": { + "type": "string", + "description": "The description of this Shared Image Gallery resource. This property is updatable." + }, + "identifier": { + "$ref": "#/definitions/GalleryIdentifier" + }, + "provisioningState": { + "readOnly": true, + "type": "string", + "title": "The current state of the gallery.", + "description": "The provisioning state, which only appears in the response.", + "enum": [ + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Migrating" + ] + } + }, + "description": "Describes the properties of a Shared Image Gallery." + }, + "GalleryIdentifier": { + "properties": { + "uniqueName": { + "readOnly": true, + "type": "string", + "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure." + } + }, + "description": "Describes the gallery unique name." + }, + "GalleryApplication": { "properties": { "properties": { "x-ms-client-flatten": true, - "$ref": "#/definitions/GalleryProperties" + "$ref": "#/definitions/GalleryApplicationProperties" } }, "allOf": [ @@ -800,21 +1355,72 @@ "$ref": "#/definitions/Resource" } ], - "description": "Specifies information about the Shared Image Gallery that you want to create or update." + "description": "Specifies information about the gallery Application Definition that you want to create or update." }, - "GalleryProperties": { + "GalleryApplicationProperties": { "properties": { "description": { "type": "string", - "description": "The description of this Shared Image Gallery resource. This property is updatable." + "description": "The description of this gallery Application Definition resource. This property is updatable." }, - "identifier": { - "$ref": "#/definitions/GalleryIdentifier" + "eula": { + "type": "string", + "description": "The Eula agreement for the gallery Application Definition." + }, + "privacyStatementUri": { + "type": "string", + "description": "The privacy statement uri." + }, + "releaseNoteUri": { + "type": "string", + "description": "The release note uri." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable." + }, + "supportedOSType": { + "type": "string", + "description": "This property allows you to specify the supported type of the OS that application is built for.

Possible values are:

**Windows**

**Linux**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + } + }, + "required": [ + "supportedOSType" + ], + "description": "Describes the properties of a gallery Application Definition." + }, + "GalleryApplicationVersion": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GalleryApplicationVersionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Specifies information about the gallery Application Version that you want to create or update." + }, + "GalleryApplicationVersionProperties": { + "properties": { + "publishingProfile": { + "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile" }, "provisioningState": { "readOnly": true, "type": "string", - "title": "The current state of the gallery.", + "title": "The current state of the gallery Application Version.", "description": "The provisioning state, which only appears in the response.", "enum": [ "Creating", @@ -824,19 +1430,57 @@ "Deleting", "Migrating" ] + }, + "replicationStatus": { + "readOnly": true, + "$ref": "#/definitions/ReplicationStatus" } }, - "description": "Describes the properties of a Shared Image Gallery." + "required": [ + "publishingProfile" + ], + "description": "Describes the properties of a gallery Image Version." }, - "GalleryIdentifier": { + "GalleryApplicationVersionPublishingProfile": { "properties": { - "uniqueName": { - "readOnly": true, + "source": { + "$ref": "#/definitions/UserArtifactSource" + }, + "contentType": { "type": "string", - "description": "The unique name of the Shared Image Gallery. This name is generated automatically by Azure." + "description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc." + }, + "enableHealthCheck": { + "type": "boolean", + "description": "Optional. Whether or not this application reports health." } }, - "description": "Describes the gallery unique name." + "allOf": [ + { + "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" + } + ], + "required": [ + "source" + ], + "description": "The publishing profile of a gallery Image Version." + }, + "UserArtifactSource": { + "properties": { + "fileName": { + "type": "string", + "description": "Required. The fileName of the artifact." + }, + "mediaLink": { + "type": "string", + "description": "Required. The mediaLink of the artifact, must be a readable storage blob." + } + }, + "required": [ + "fileName", + "mediaLink" + ], + "description": "The source image from which the Image Version is going to be created." }, "GalleryImage": { "properties": { @@ -1076,6 +1720,38 @@ "$ref": "#/definitions/TargetRegion" }, "description": "The target regions where the Image Version is going to be replicated to. This property is updatable." + }, + "replicaCount": { + "type": "integer", + "format": "int32", + "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." + }, + "excludeFromLatest": { + "type": "boolean", + "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." + }, + "publishedDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The timestamp for when the gallery Image Version is published." + }, + "endOfLifeDate": { + "type": "string", + "format": "date-time", + "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." + }, + "storageAccountType": { + "type": "string", + "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "StorageAccountType", + "modelAsString": true + } } }, "description": "Describes the basic gallery artifact publishing profile." @@ -1109,41 +1785,30 @@ ], "description": "Describes the target region information." }, - "GalleryImageVersionPublishingProfile": { + "GalleryArtifactSource": { "properties": { - "replicaCount": { - "type": "integer", - "format": "int32", - "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable." - }, - "excludeFromLatest": { - "type": "boolean", - "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version." - }, - "publishedDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The timestamp for when the gallery Image Version is published." - }, - "endOfLifeDate": { - "type": "string", - "format": "date-time", - "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable." - }, - "storageAccountType": { + "managedImage": { + "$ref": "#/definitions/ManagedArtifact" + } + }, + "required": [ + "managedImage" + ], + "description": "The source image from which the Image Version is going to be created." + }, + "ManagedArtifact": { + "properties": { + "id": { "type": "string", - "description": "Specifies the storage account type to be used to store the image. This property is not updatable.", - "enum": [ - "Standard_LRS", - "Standard_ZRS" - ], - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": true - } + "description": "The managed artifact id." } }, + "required": [ + "id" + ], + "description": "The managed artifact." + }, + "GalleryImageVersionPublishingProfile": { "allOf": [ { "$ref": "#/definitions/GalleryArtifactPublishingProfileBase" @@ -1181,6 +1846,32 @@ ], "description": "The gallery artifact version source." }, + "GalleryOSDiskImage": { + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "description": "This is the OS disk image." + }, + "GalleryDataDiskImage": { + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." + } + }, + "allOf": [ + { + "$ref": "#/definitions/GalleryDiskImage" + } + ], + "required": [ + "lun" + ], + "description": "This is the data disk image." + }, "GalleryDiskImage": { "properties": { "sizeInGB": { @@ -1208,32 +1899,6 @@ }, "description": "This is the disk image base class." }, - "GalleryOSDiskImage": { - "allOf": [ - { - "$ref": "#/definitions/GalleryDiskImage" - } - ], - "description": "This is the OS disk image." - }, - "GalleryDataDiskImage": { - "properties": { - "lun": { - "type": "integer", - "format": "int32", - "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine." - } - }, - "allOf": [ - { - "$ref": "#/definitions/GalleryDiskImage" - } - ], - "required": [ - "lun" - ], - "description": "This is the data disk image." - }, "ReplicationStatus": { "properties": { "aggregatedState": { @@ -1355,6 +2020,44 @@ ], "description": "The List Gallery Image version operation response." }, + "GalleryApplicationList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplication" + }, + "description": "A list of Gallery Applications." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Applications operation response." + }, + "GalleryApplicationVersionList": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/GalleryApplicationVersion" + }, + "description": "A list of gallery Application Versions." + }, + "nextLink": { + "type": "string", + "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions." + } + }, + "required": [ + "value" + ], + "description": "The List Gallery Application version operation response." + }, "CloudError": { "x-ms-external": true, "properties": { diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index ce215def5c3d..78c23405bca1 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -564,6 +564,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-compute diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index 4c7c4d7b0727..c25028dcc190 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -183,6 +183,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-java diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index 69dc6d1a78a0..796e7116edeb 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -123,6 +123,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -255,4 +256,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_08_01_preview regenerate-manager: true generate-interface: true -``` \ No newline at end of file +``` diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index 28da1ec67548..d388a30a9943 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -155,6 +155,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md index 8865981a12d7..9dc995a1b025 100644 --- a/specification/cost-management/resource-manager/readme.md +++ b/specification/cost-management/resource-manager/readme.md @@ -156,6 +156,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-node diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md index 071d85f2c435..4e1b51e19a1b 100644 --- a/specification/customer-insights/resource-manager/readme.md +++ b/specification/customer-insights/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/customproviders/resource-manager/readme.md b/specification/customproviders/resource-manager/readme.md index 1c4039307b08..8203547aa79b 100644 --- a/specification/customproviders/resource-manager/readme.md +++ b/specification/customproviders/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json index 27d6c0b10ee1..53b1e531c3b8 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json @@ -26,8 +26,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json index a8d3fce74ad3..7aecaf824e8c 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json @@ -60,9 +60,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json index c6e0b8f29e28..a1ab18e456e4 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json @@ -17,11 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json index 75d9a8fa2cd4..2a7b81772c4d 100644 --- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json +++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json @@ -47,9 +47,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/databox/resource-manager/readme.md b/specification/databox/resource-manager/readme.md index 3b2641d9d795..fe93d4935513 100644 --- a/specification/databox/resource-manager/readme.md +++ b/specification/databox/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/datacatalog/resource-manager/readme.md b/specification/datacatalog/resource-manager/readme.md index 1d1e58a97db7..278f01a9585c 100644 --- a/specification/datacatalog/resource-manager/readme.md +++ b/specification/datacatalog/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -65,7 +66,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.DataCatalog - output-folder: $(csharp-sdks-folder)/DataCatalog/Management.DataCatalog/Generated + output-folder: $(csharp-sdks-folder)/datacatalog/Microsoft.Azure.Management.DataCatalog/src/Generated clear-output-folder: true ``` diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json index 2f9c9ca48e09..ad3967204e8a 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json @@ -681,7 +681,6 @@ "IntegrationRuntimeAutoUpdate": { "description": "The state of integration runtime auto update.", "type": "string", - "readOnly": true, "enum": [ "On", "Off" diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json index 149f79cf2b13..855e1340c2e3 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json @@ -3,231 +3,429 @@ "subscriptionId": "12345678-1234-1234-1234-12345678abc", "resourceGroupName": "exampleResourceGroup", "factoryName": "exampleFactoryName", - "integrationRuntimeName": "integrationRuntime1", + "integrationRuntimeName": "testactivityv2", "getMetadataRequest": { - "metadataPath": "ssisFolders/2/ssisProjects/6/ssisPackages" + "metadataPath": "ssisFolders" }, "api-version": "2018-06-01" }, "responses": { "200": { "headers": { - "Date": "Thu, 09 May 2019 09:39:51 GMT", + "Date": "Mon, 03 Dec 2018 06:24:54 GMT", "X-Content-Type-Options": "nosniff", "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "63fab708-842b-4b19-9811-5e128905e824", - "x-ms-correlation-request-id": "63fab708-842b-4b19-9811-5e128905e824" + "x-ms-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd", + "x-ms-correlation-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd" }, "body": { "value": [ { - "folderId": 2, - "projectVersion": 23, - "projectId": 6, - "parameters": [ - { - "id": 278, - "name": "Parameter1", - "description": "", - "dataType": "Int32", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 279, - "name": "Parameter10", - "description": "", - "dataType": "Decimal", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 280, - "name": "Parameter11", - "description": "", - "dataType": "Double", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 281, - "name": "Parameter12", - "description": "", - "dataType": "Int16", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 282, - "name": "Parameter2", - "description": "", - "dataType": "Boolean", - "required": false, - "sensitive": false, - "designDefaultValue": "False", - "valueType": "V", - "valueSet": false - }, - { - "id": 283, - "name": "Parameter3", - "description": "", - "dataType": "Int64", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 284, - "name": "Parameter4", - "description": "", - "dataType": "SByte", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 285, - "name": "Parameter5", - "description": "", - "dataType": "Single", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 286, - "name": "Parameter6", - "description": "", - "dataType": "UInt32", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 287, - "name": "Parameter7", - "description": "", - "dataType": "UInt64", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 288, - "name": "Parameter8", - "description": "", - "dataType": "Byte", - "required": false, - "sensitive": false, - "designDefaultValue": "0", - "valueType": "V", - "valueSet": false - }, - { - "id": 289, - "name": "Parameter9", - "description": "", - "dataType": "DateTime", - "required": false, - "sensitive": false, - "designDefaultValue": "2/15/2019 3:33:59 PM", - "valueType": "V", - "valueSet": false - }, - { - "id": 290, - "name": "CM.SSISDB.connection.manager.ConnectionString", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "Data Source=********;User ID=liubing;Initial Catalog=SSISDB;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;", - "valueType": "V", - "valueSet": false - }, - { - "id": 291, - "name": "CM.SSISDB.connection.manager.InitialCatalog", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "SSISDB", - "valueType": "V", - "valueSet": false - }, - { - "id": 292, - "name": "CM.SSISDB.connection.manager.Password", - "description": "", - "dataType": "String", - "required": false, - "sensitive": true, - "valueType": "V", - "valueSet": false - }, - { - "id": 293, - "name": "CM.SSISDB.connection.manager.RetainSameConnection", - "description": "", - "dataType": "Boolean", - "required": false, - "sensitive": false, - "designDefaultValue": "False", - "valueType": "V", - "valueSet": false - }, - { - "id": 294, - "name": "CM.SSISDB.connection.manager.ServerName", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "********", - "valueType": "V", - "valueSet": false - }, - { - "id": 295, - "name": "CM.SSISDB.connection.manager.UserName", - "description": "", - "dataType": "String", - "required": false, - "sensitive": false, - "designDefaultValue": "liubing", - "valueType": "V", - "valueSet": false - } - ], - "id": 53, - "name": "Package.dtsx", + "id": 1, + "name": "TestFolder", + "description": "" + }, + { + "id": 2, + "name": "EnvironmentFolder", + "description": "" + }, + { + "id": 3, + "name": "ActivityTest", + "description": "" + }, + { + "id": 4, + "name": "这是文件夹", "description": "" + }, + { + "id": 5, + "name": "1" + }, + { + "id": 6, + "name": "2" + }, + { + "id": 7, + "name": "3" + }, + { + "id": 8, + "name": "4" + }, + { + "id": 9, + "name": "5" + }, + { + "id": 10, + "name": "6" + }, + { + "id": 11, + "name": "7" + }, + { + "id": 12, + "name": "8" + }, + { + "id": 13, + "name": "9" + }, + { + "id": 14, + "name": "10" + }, + { + "id": 15, + "name": "11" + }, + { + "id": 16, + "name": "12" + }, + { + "id": 17, + "name": "13" + }, + { + "id": 18, + "name": "14" + }, + { + "id": 19, + "name": "15" + }, + { + "id": 20, + "name": "16" + }, + { + "id": 21, + "name": "17" + }, + { + "id": 22, + "name": "18" + }, + { + "id": 23, + "name": "19" + }, + { + "id": 24, + "name": "20" + }, + { + "id": 25, + "name": "21" + }, + { + "id": 26, + "name": "22" + }, + { + "id": 27, + "name": "23" + }, + { + "id": 28, + "name": "24" + }, + { + "id": 29, + "name": "25" + }, + { + "id": 30, + "name": "26" + }, + { + "id": 31, + "name": "27" + }, + { + "id": 32, + "name": "28" + }, + { + "id": 33, + "name": "29" + }, + { + "id": 34, + "name": "30" + }, + { + "id": 35, + "name": "31" + }, + { + "id": 36, + "name": "32" + }, + { + "id": 37, + "name": "33" + }, + { + "id": 38, + "name": "34" + }, + { + "id": 39, + "name": "35" + }, + { + "id": 40, + "name": "36" + }, + { + "id": 41, + "name": "37" + }, + { + "id": 42, + "name": "38" + }, + { + "id": 43, + "name": "39" + }, + { + "id": 44, + "name": "40" + }, + { + "id": 45, + "name": "41" + }, + { + "id": 46, + "name": "42" + }, + { + "id": 47, + "name": "43" + }, + { + "id": 48, + "name": "44" + }, + { + "id": 49, + "name": "45" + }, + { + "id": 50, + "name": "46" + }, + { + "id": 51, + "name": "47" + }, + { + "id": 52, + "name": "48" + }, + { + "id": 53, + "name": "49" + }, + { + "id": 54, + "name": "50" + }, + { + "id": 55, + "name": "51" + }, + { + "id": 56, + "name": "52" + }, + { + "id": 57, + "name": "53" + }, + { + "id": 58, + "name": "54" + }, + { + "id": 59, + "name": "55" + }, + { + "id": 60, + "name": "56" + }, + { + "id": 61, + "name": "57" + }, + { + "id": 62, + "name": "58" + }, + { + "id": 63, + "name": "59" + }, + { + "id": 64, + "name": "60" + }, + { + "id": 65, + "name": "61" + }, + { + "id": 66, + "name": "62" + }, + { + "id": 67, + "name": "63" + }, + { + "id": 68, + "name": "64" + }, + { + "id": 69, + "name": "65" + }, + { + "id": 70, + "name": "66" + }, + { + "id": 71, + "name": "67" + }, + { + "id": 72, + "name": "68" + }, + { + "id": 73, + "name": "69" + }, + { + "id": 74, + "name": "70" + }, + { + "id": 75, + "name": "71" + }, + { + "id": 76, + "name": "72" + }, + { + "id": 77, + "name": "73" + }, + { + "id": 78, + "name": "74" + }, + { + "id": 79, + "name": "75" + }, + { + "id": 80, + "name": "76" + }, + { + "id": 81, + "name": "77" + }, + { + "id": 82, + "name": "78" + }, + { + "id": 83, + "name": "79" + }, + { + "id": 84, + "name": "80" + }, + { + "id": 85, + "name": "81" + }, + { + "id": 86, + "name": "82" + }, + { + "id": 87, + "name": "83" + }, + { + "id": 88, + "name": "84" + }, + { + "id": 89, + "name": "85" + }, + { + "id": 90, + "name": "86" + }, + { + "id": 91, + "name": "87" + }, + { + "id": 92, + "name": "88" + }, + { + "id": 93, + "name": "89" + }, + { + "id": 94, + "name": "90" + }, + { + "id": 95, + "name": "91" + }, + { + "id": 96, + "name": "92" + }, + { + "id": 97, + "name": "93" + }, + { + "id": 98, + "name": "94" + }, + { + "id": 99, + "name": "95" + }, + { + "id": 100, + "name": "96" } - ] + ], + "nextLink": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/getObjectMetadata?api-version=2018-06-01&%24skipToken=https%3a%2f%2fwcu.frontend.clouddatahub.net%2fsubscriptions%2f12345678-1234-1234-1234-12345678abc%2fdatafactories%2f6C8E7C90-FD45-4010-8B7C-B5227D0F0CB7%2fintegrationruntimes%2fTESTACTIVITYV2%2fgetSsisObjectMetadata%3f%24skipToken%3dc3Npc0ZvbGRlcnNAQDIwMTgtMTEtMjlUMDM6NTk6MzIuMDQ1Mzc1MiswMDowMEBAZm9sZGVyQEAwMDAwMDAwMDAwMDAwMDAwMTAx0%26api-version%3d1.0" } } } diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json index 2f6d8184e064..b06046f294f8 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json @@ -1,22 +1,21 @@ { - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "factoryName": "exampleFactoryName", - "triggerName": "exampleTrigger", - "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b", - "api-version": "2018-06-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Sat, 16 Jun 2018 00:46:24 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", - "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" - } + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "triggerName": "exampleTrigger", + "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Sat, 16 Jun 2018 00:46:24 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1198", + "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231", + "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231" } } } - \ No newline at end of file +} diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index 61b40d9d7b12..608deaddfe32 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -59,6 +59,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md index 06ba974f042e..49400af0878d 100644 --- a/specification/datalake-analytics/resource-manager/readme.md +++ b/specification/datalake-analytics/resource-manager/readme.md @@ -73,6 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md index 37fc3f33809f..243930a39062 100644 --- a/specification/datalake-store/resource-manager/readme.md +++ b/specification/datalake-store/resource-manager/readme.md @@ -75,6 +75,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index e6fdfceacd7c..c72315228da7 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -186,6 +186,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js @@ -213,4 +214,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md index fd2752cdeb78..846afd273d4b 100644 --- a/specification/datashare/resource-manager/readme.md +++ b/specification/datashare/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go ``` @@ -65,7 +66,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.DataShare - output-folder: $(csharp-sdks-folder)/DataShare/Management.DataShare/Generated + output-folder: $(csharp-sdks-folder)/datashare/Microsoft.Azure.Management.DataShare/src/Generated clear-output-folder: true ``` diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md index f6a785bb254e..932c53f69c1a 100644 --- a/specification/deploymentmanager/resource-manager/readme.md +++ b/specification/deploymentmanager/resource-manager/readme.md @@ -75,6 +75,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/deviceprovisioningservices/resource-manager/readme.md b/specification/deviceprovisioningservices/resource-manager/readme.md index 34a7848ff58a..0df32ffad063 100644 --- a/specification/deviceprovisioningservices/resource-manager/readme.md +++ b/specification/deviceprovisioningservices/resource-manager/readme.md @@ -65,6 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/devops/resource-manager/readme.md b/specification/devops/resource-manager/readme.md index 01c7c41be5f2..83643ce1f5ee 100644 --- a/specification/devops/resource-manager/readme.md +++ b/specification/devops/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 6192fbdd683f..d613b8664205 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-java - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -108,4 +109,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_04_01 regenerate-manager: true generate-interface: true -``` \ No newline at end of file +``` diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md index a0e44fa1e35d..dcc280db7dc1 100644 --- a/specification/devtestlabs/resource-manager/readme.md +++ b/specification/devtestlabs/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -127,4 +128,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md index 0a169d44c0c7..6816d2feb3b2 100644 --- a/specification/domainservices/resource-manager/readme.md +++ b/specification/domainservices/resource-manager/readme.md @@ -58,6 +58,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -74,7 +75,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.DomainServices payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/DomainServices/Management.DomainServices/Generated + output-folder: $(csharp-sdks-folder)/domainservices/Microsoft.Azure.Management.DomainServices/src/Generated clear-output-folder: true ``` diff --git a/specification/edgegateway/resource-manager/readme.md b/specification/edgegateway/resource-manager/readme.md index abdb058d5992..f0cbf2fb4c77 100644 --- a/specification/edgegateway/resource-manager/readme.md +++ b/specification/edgegateway/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-go diff --git a/specification/engagementfabric/resource-manager/readme.md b/specification/engagementfabric/resource-manager/readme.md index 2d491db5a1ce..caf920a7394e 100644 --- a/specification/engagementfabric/resource-manager/readme.md +++ b/specification/engagementfabric/resource-manager/readme.md @@ -51,6 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -71,7 +72,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.EngagementFabric - output-folder: $(csharp-sdks-folder)/EngagementFabric/Management.EngagementFabric/Generated + output-folder: $(csharp-sdks-folder)/engagementfabric/Microsoft.Azure.Management.EngagementFabric/src/Generated clear-output-folder: true ``` @@ -121,4 +122,4 @@ namespace: com.microsoft.azure.management.engagementfabric license-header: MICROSOFT_MIT_NO_CODEGEN payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-engagementfabric -``` \ No newline at end of file +``` diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 89ea7bdd6ad5..91e40e211343 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -137,6 +137,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -168,4 +169,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index 0f8148207e85..ac5e6ff27dc2 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -81,6 +81,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub @@ -118,4 +119,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/frontdoor/resource-manager/readme.md b/specification/frontdoor/resource-manager/readme.md index ce393c177fe7..ba5bf1fba548 100644 --- a/specification/frontdoor/resource-manager/readme.md +++ b/specification/frontdoor/resource-manager/readme.md @@ -90,6 +90,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 20bada85d754..a34b7b874051 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -125,6 +125,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-sdk-for-python diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md index cb00819f4447..a506b9629059 100644 --- a/specification/healthcareapis/resource-manager/readme.md +++ b/specification/healthcareapis/resource-manager/readme.md @@ -60,31 +60,7 @@ swagger-to-sdk: ## Python -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: azure.mgmt.healthcareapis - package-name: azure-mgmt-healthcareapis - clear-output-folder: true - package-version: 0.1.0 -``` -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis -``` -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis -``` +See configuration in [readme.python.md](./readme.python.md) ## Go diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json index 8dc05f4563c7..99534c8464d7 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json @@ -27,9 +27,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "etag": "W/\"datetime'2019-04-10T09%3A08%3A57.4101089Z'\"_W/\"datetime'2019-04-10T09%3A08%3A57.5552101Z'\"", diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json index d22a70af04b5..e116f63a7d8a 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json @@ -18,11 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json index c6a9b095d51e..5141af234090 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json @@ -30,9 +30,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "etag": "W/\"datetime'2019-04-10T09%3A23%3A57.1833483Z'\"_W/\"datetime'2019-04-10T09%3A23%3A57.1993588Z'\"", diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json index 3129b2cde488..b6a1f4751a2e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json @@ -49,9 +49,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json index 37b6b4603ddd..65f1a65f816e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json @@ -43,9 +43,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json index 158bfb2d7ba3..8c0beb156596 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json @@ -19,11 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json index 38c61fe70aec..91705701c543 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json @@ -19,11 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json index 06c7a2ff2820..9eafce4dc31a 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json @@ -49,9 +49,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "200": { "body": { "properties": { diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json index 43c643ba4d77..ee1c04c5b17e 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json @@ -20,11 +20,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json index e68991154c56..77b9dad20d74 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json @@ -44,11 +44,7 @@ } }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json index 2471607bb155..6053caabbec3 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json @@ -21,11 +21,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json index ccc8532807da..605c47986318 100644 --- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json +++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json @@ -21,11 +21,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/hybriddatamanager/resource-manager/readme.md b/specification/hybriddatamanager/resource-manager/readme.md index 8bcac4d0c36a..cf58658de935 100644 --- a/specification/hybriddatamanager/resource-manager/readme.md +++ b/specification/hybriddatamanager/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-sdk-for-js diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json index 75d3f22964a9..c1848fafe1d7 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json @@ -1,15 +1,15 @@ { - "parameters": { - "api-version": "2019-04-30", - "nonce": "abcde12345", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "encoding": "pkcs7", - "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" - } - } + "parameters": { + "api-version": "2019-04-30", + "nonce": "abcde12345", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "encoding": "pkcs7", + "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json index a71e5c82dd81..c86922232d4d 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json @@ -1,13 +1,13 @@ { - "parameters": { - "api-version": "2019-04-30", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" - } - } + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "tenantId": "abd8daee-d393-4239-9377-883adda3d40f" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json index d25c2d507ab6..cf9b130b3e0d 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json @@ -1,20 +1,20 @@ { - "parameters": { - "api-version": "2019-04-30", - "Metadata": "true", - "resource": "https://vault.azure.net" - }, - "responses": { - "200": { - "body": { - "access_token": "dummytoken", - "client_id": "be5947ed-3560-4afe-9504-59967a63f810", - "expires_in": "3599", - "expires_on": "1541705014", - "ext_expires_in": "262800", - "not_before": "1508961830", - "resource": "https://va" - } - } + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true", + "resource": "https://vault.azure.net" + }, + "responses": { + "200": { + "body": { + "access_token": "dummytoken", + "client_id": "be5947ed-3560-4afe-9504-59967a63f810", + "expires_in": "3599", + "expires_on": "1541705014", + "ext_expires_in": "262800", + "not_before": "1508961830", + "resource": "https://va" + } } -} \ No newline at end of file + } +} diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json index ebed2fed07b4..df4eecc8f5b9 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json @@ -1,50 +1,50 @@ { - "parameters": { - "api-version": "2019-04-30", - "Metadata": "true" - }, - "responses": { - "200": { - "body": { - "compute": { - "azEnvironment": "AzurePublicCloud", - "customData": "TXkgY3VzdG9tIGRhdGEu", - "location": "westus", - "name": "examplevmname", - "offer": "Windows", - "osType": "linux", - "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", - "plan": { - "name": "planName", - "product": "planProduct", - "publisher": "planPublisher" - }, - "platformFaultDomain": "36", - "platformUpdateDomain": "42", - "provider": "Microsoft.Compute", - "publicKeys": [ - { - "keyData": "ssh-rsa 0", - "path": "/home/user/.ssh/authorized_keys0" - }, - { - "keyData": "ssh-rsa 1", - "path": "/home/user/.ssh/authorized_keys1" - } - ], - "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", - "resourceGroupName": "macikgo-test-may-23", - "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", - "sku": "Windows-Server-2012-R2-Datacenter", - "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", - "tags": "baz:bash;foo:bar", - "version": "15.05.22", - "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", - "vmScaleSetName": "crpteste9vflji9", - "vmSize": "Standard_A3", - "zone": "" - } + "parameters": { + "api-version": "2019-04-30", + "Metadata": "true" + }, + "responses": { + "200": { + "body": { + "compute": { + "azEnvironment": "AzurePublicCloud", + "customData": "TXkgY3VzdG9tIGRhdGEu", + "location": "westus", + "name": "examplevmname", + "offer": "Windows", + "osType": "linux", + "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a", + "plan": { + "name": "planName", + "product": "planProduct", + "publisher": "planPublisher" + }, + "platformFaultDomain": "36", + "platformUpdateDomain": "42", + "provider": "Microsoft.Compute", + "publicKeys": [ + { + "keyData": "ssh-rsa 0", + "path": "/home/user/.ssh/authorized_keys0" + }, + { + "keyData": "ssh-rsa 1", + "path": "/home/user/.ssh/authorized_keys1" } + ], + "publisher": "RDFE-Test-Microsoft-Windows-Server-Group", + "resourceGroupName": "macikgo-test-may-23", + "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname", + "sku": "Windows-Server-2012-R2-Datacenter", + "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d", + "tags": "baz:bash;foo:bar", + "version": "15.05.22", + "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6", + "vmScaleSetName": "crpteste9vflji9", + "vmSize": "Standard_A3", + "zone": "" } + } } + } } diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json index b55539f58821..fd2cab686a20 100644 --- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json +++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json @@ -1,629 +1,629 @@ -{ - "swagger": "2.0", - "info": { - "title": "InstanceMetadataClient", - "description": "The Azure Instance Metadata Client", - "version": "2019-04-30" - }, - "host": "169.254.169.254", - "basePath": "/metadata", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" +{ + "swagger": "2.0", + "info": { + "title": "InstanceMetadataClient", + "description": "The Azure Instance Metadata Client", + "version": "2019-04-30" + }, + "host": "169.254.169.254", + "basePath": "/metadata", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/instance": { + "get": { + "operationId": "Instances_GetMetadata", + "description": "Get Instance Metadata for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Instance" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Instance Metadata for the VM": { + "$ref": "./examples/GetInstanceMetadata.json" + } } + } }, - "paths": { - "/instance": { - "get": { - "operationId": "Instances_GetMetadata", - "description": "Get Instance Metadata for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Instance" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Instance Metadata for the VM": { - "$ref": "./examples/GetInstanceMetadata.json" - } - } + "/attested/document": { + "get": { + "operationId": "Attested_GetDocument", + "description": "Get Attested Data for the Virtual Machine.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "nonce", + "in": "query", + "required": false, + "type": "string", + "description": "This is a string of up to 32 random alphanumeric characters." + }, + { + "$ref": "#/parameters/MetadataParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AttestedData" } - }, - "/attested/document": { - "get": { - "operationId": "Attested_GetDocument", - "description": "Get Attested Data for the Virtual Machine.", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "nonce", - "in": "query", - "required": false, - "type": "string", - "description": "This is a string of up to 32 random alphanumeric characters." - }, - { - "$ref": "#/parameters/MetadataParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/AttestedData" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Attested Data for the VM": { - "$ref": "./examples/GetAttestedData.json" - } - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" } + } }, - "/identity/oauth2/token": { - "get": { - "tags": [ - "Get token" - ], - "description": "Get a Token from Azure AD", - "operationId": "Identity_GetToken", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "name": "resource", - "in": "query", - "type": "string", - "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", - "required": true - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "client_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", - "required": false - }, - { - "name": "object_id", - "in": "query", - "type": "string", - "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", - "required": false - }, - { - "name": "msi_res_id", - "in": "query", - "type": "string", - "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", - "required": false - }, - { - "name": "authority", - "in": "query", - "type": "string", - "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", - "required": false - }, - { - "name": "bypass_cache", - "in": "query", - "type": "string", - "enum": [ - "true" - ], - "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", - "required": false, - "x-ms-enum": { - "name": "BypassCache", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityTokenResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Token for the VM": { - "$ref": "./examples/GetIdentityToken.json" - } - } + "x-ms-examples": { + "Get Attested Data for the VM": { + "$ref": "./examples/GetAttestedData.json" + } + } + } + }, + "/identity/oauth2/token": { + "get": { + "tags": [ + "Get token" + ], + "description": "Get a Token from Azure AD", + "operationId": "Identity_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "name": "resource", + "in": "query", + "type": "string", + "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.", + "required": true + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "client_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.", + "required": false + }, + { + "name": "object_id", + "in": "query", + "type": "string", + "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.", + "required": false + }, + { + "name": "msi_res_id", + "in": "query", + "type": "string", + "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.", + "required": false + }, + { + "name": "authority", + "in": "query", + "type": "string", + "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.", + "required": false + }, + { + "name": "bypass_cache", + "in": "query", + "type": "string", + "enum": [ + "true" + ], + "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.", + "required": false, + "x-ms-enum": { + "name": "BypassCache", + "modelAsString": true } - }, - "/identity/info": { - "get": { - "tags": [ - "Get metadata information" - ], - "description": "Get information about AAD Metadata", - "operationId": "Identity_GetInfo", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/MetadataParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successful operation", - "schema": { - "$ref": "#/definitions/IdentityInfoResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/IdentityErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Identity Info for the VM": { - "$ref": "./examples/GetIdentityInfo.json" - } - } + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityTokenResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } + }, + "x-ms-examples": { + "Get Identity Token for the VM": { + "$ref": "./examples/GetIdentityToken.json" + } } + } }, - "definitions": { - "Compute": { - "type": "object", - "properties": { - "azEnvironment": { - "type": "string", - "description": "This is the name of the environment in which the VM is running." - }, - "customData": { - "type": "string", - "description": "This is the base64 encoded custom data for the running VM." - }, - "location": { - "type": "string", - "description": "This is the Azure Region in which the VM is running." - }, - "name": { - "type": "string", - "description": "This is the name of the VM." - }, - "offer": { - "type": "string", - "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." - }, - "osType": { - "type": "string", - "description": "This value indicates the type of OS the VM is running, either Linux or Windows." - }, - "placementGroupId": { - "type": "string", - "description": "This is the placement group of your Virtual Machine Scale Set." - }, - "plan": { - "type": "object", - "description": "This contains the data about the plan.", - "$ref": "#/definitions/PlanProperties" - }, - "publicKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/PublicKeysProperties" - }, - "description": "This is information about the SSH certificate" - }, - "platformFaultDomain": { - "type": "string", - "description": "This is the fault domain in which the VM." - }, - "platformUpdateDomain": { - "type": "string", - "description": "This is the update domain in which the VM." - }, - "provider": { - "type": "string", - "description": "This is the provider of the VM." - }, - "publisher": { - "type": "string", - "description": "This is the publisher of the VM image." - }, - "resourceGroupName": { - "type": "string", - "description": "This is the resource group for the VM." - }, - "resourceId": { - "type": "string", - "description": "This is the fully qualified ID for the VM." - }, - "sku": { - "type": "string", - "description": "This is the specific SKU for the VM image." - }, - "subscriptionId": { - "type": "string", - "description": "This is the Azure subscription for the VM." - }, - "tags": { - "type": "string", - "description": "This is the list of tags for your VM." - }, - "version": { - "type": "string", - "description": "This is the version of the VM image." - }, - "vmId": { - "type": "string", - "description": "This is the unique identifier for the VM." - }, - "vmScaleSetName": { - "type": "string", - "description": "This is the resource name of the VMSS." - }, - "vmSize": { - "type": "string", - "description": "This is the size of the VM." - }, - "zone": { - "type":"string", - "description":"This is the availability zone of the VM." - } - }, - "description": "Compute Metadata" - }, - "Network": { - "type": "object", - "properties": { - "interface": { - "type":"array", - "description": "This contains data about the network interface.", - "items": { - "type": "object", - "$ref": "#/definitions/NetworkInterface" - } - } - }, - "description": "Network Metadata" - }, - "NetworkInterface": { - "type": "object", - "description": "This contains data about the network interface.", - "properties": { - "ipv4": { - "type":"object", - "description": "This contains the IPv4 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv4 properties.", - "$ref":"#/definitions/Ipv4Properties" - } - }, - "subnet": { - "type":"array", - "description": "This is the subnet", - "items": { - "type": "object", - "description": "This contains the subnet properties.", - "$ref": "#/definitions/SubnetProperties" - } - } - } - }, - "ipv6": { - "type":"object", - "description": "This contains the IPv6 address.", - "properties": { - "ipAddress": { - "type":"array", - "description": "This is the IP address", - "items": { - "type": "object", - "description": "This contains the IPv6 properties.", - "$ref":"#/definitions/Ipv6Properties" - } - } - } - }, - "macAddress": { - "type":"string", - "description":"This is the MAC address of the interface." - } + "/identity/info": { + "get": { + "tags": [ + "Get metadata information" + ], + "description": "Get information about AAD Metadata", + "operationId": "Identity_GetInfo", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/MetadataParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successful operation", + "schema": { + "$ref": "#/definitions/IdentityInfoResponse" } - }, - "PlanProperties": { - "type": "object", - "description": "This contains the data about the plan.", - "properties": { - "name": { - "type": "string", - "description": "This is the Plan ID." - }, - "publisher": { - "type": "string", - "description": "This is the publisher ID." - }, - "product": { - "type": "string", - "description": "This is the product of the image from the Marketplace." - } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/IdentityErrorResponse" } + } }, - "PublicKeysProperties": { - "type": "object", - "description": "This contains the data about the public key.", - "properties": { - "path": { - "type": "string", - "description": "This specifies the full path on the VM where the SSH public key is stored." - }, - "keyData": { - "type": "string", - "description": "This is the SSH public key certificate used to authenticate with the VM." - } - } + "x-ms-examples": { + "Get Identity Info for the VM": { + "$ref": "./examples/GetIdentityInfo.json" + } + } + } + } + }, + "definitions": { + "Compute": { + "type": "object", + "properties": { + "azEnvironment": { + "type": "string", + "description": "This is the name of the environment in which the VM is running." }, - "Ipv4Properties": { - "type": "object", - "description": "This contains the IPv4 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IP address assigned to the interface." - }, - "publicIpAddress": { - "type":"string", - "description":"This is the public IP address assigned to the interface." - } - } + "customData": { + "type": "string", + "description": "This is the base64 encoded custom data for the running VM." }, - "Ipv6Properties": { - "type": "object", - "description": "This contains the IPv6 properties.", - "properties": { - "privateIpAddress": { - "type":"string", - "description":"This is the private IPv6 address assigned to the interface." - } - } + "location": { + "type": "string", + "description": "This is the Azure Region in which the VM is running." }, - "SubnetProperties": { - "type": "object", - "description": "This contains the properties of the subnet.", - "properties": { - "address": { - "type":"string", - "description":"This is the address range of the subnet." - }, - "prefix": { - "type":"string", - "description":"This is the prefix of the subnet." - } - } + "name": { + "type": "string", + "description": "This is the name of the VM." }, - "Instance": { - "type": "object", - "description": "This is the response from the Instance_GetMetadata operation.", - "properties": { - "compute": { - "$ref": "#/definitions/Compute", - "description": "Compute Metadata" - }, - "network": { - "$ref": "#/definitions/Network", - "description": "Network Metadata" - } - } + "offer": { + "type": "string", + "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery." }, - "AttestedData": { - "type": "object", - "description": "This is the response from the Attested_GetDocument operation.", - "properties": { - "signature": { - "type": "string", - "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." - }, - "encoding": { - "type": "string", - "description": "This is the encoding scheme of the signature." - } - } + "osType": { + "type": "string", + "description": "This value indicates the type of OS the VM is running, either Linux or Windows." }, - "ErrorResponse": { - "description": "This is the response from an operation in the case an error occurs.", - "type": "object", - "properties": { - "error": { - "description": "Error message indicating why the operation failed.", - "type": "string" - } - } + "placementGroupId": { + "type": "string", + "description": "This is the placement group of your Virtual Machine Scale Set." + }, + "plan": { + "type": "object", + "description": "This contains the data about the plan.", + "$ref": "#/definitions/PlanProperties" + }, + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/PublicKeysProperties" + }, + "description": "This is information about the SSH certificate" + }, + "platformFaultDomain": { + "type": "string", + "description": "This is the fault domain in which the VM." + }, + "platformUpdateDomain": { + "type": "string", + "description": "This is the update domain in which the VM." + }, + "provider": { + "type": "string", + "description": "This is the provider of the VM." + }, + "publisher": { + "type": "string", + "description": "This is the publisher of the VM image." + }, + "resourceGroupName": { + "type": "string", + "description": "This is the resource group for the VM." + }, + "resourceId": { + "type": "string", + "description": "This is the fully qualified ID for the VM." + }, + "sku": { + "type": "string", + "description": "This is the specific SKU for the VM image." }, - "IdentityErrorResponse": { + "subscriptionId": { + "type": "string", + "description": "This is the Azure subscription for the VM." + }, + "tags": { + "type": "string", + "description": "This is the list of tags for your VM." + }, + "version": { + "type": "string", + "description": "This is the version of the VM image." + }, + "vmId": { + "type": "string", + "description": "This is the unique identifier for the VM." + }, + "vmScaleSetName": { + "type": "string", + "description": "This is the resource name of the VMSS." + }, + "vmSize": { + "type": "string", + "description": "This is the size of the VM." + }, + "zone": { + "type": "string", + "description": "This is the availability zone of the VM." + } + }, + "description": "Compute Metadata" + }, + "Network": { + "type": "object", + "properties": { + "interface": { + "type": "array", + "description": "This contains data about the network interface.", + "items": { "type": "object", - "description": "This is the response from an Identity operation in the case an error occurs.", - "properties": { - "error": { - "type": "string", - "description": "Error code", - "enum": [ - "invalid_request", - "unauthorized_client", - "access_denied", - "unsupported_response_type", - "invalid_scope", - "server_error", - "service_unavailable", - "bad_request", - "forbidden", - "not_found", - "method_not_allowed", - "too_many_requests" - ], - "x-ms-enum": { - "name": "Error", - "modelAsString": true - } - }, - "error_description": { - "type": "string", - "description": "Error message indicating why the operation failed." - } + "$ref": "#/definitions/NetworkInterface" + } + } + }, + "description": "Network Metadata" + }, + "NetworkInterface": { + "type": "object", + "description": "This contains data about the network interface.", + "properties": { + "ipv4": { + "type": "object", + "description": "This contains the IPv4 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv4 properties.", + "$ref": "#/definitions/Ipv4Properties" + } + }, + "subnet": { + "type": "array", + "description": "This is the subnet", + "items": { + "type": "object", + "description": "This contains the subnet properties.", + "$ref": "#/definitions/SubnetProperties" + } } + } }, - "IdentityTokenResponse": { - "type": "object", - "description": "This is the response from the Identity_GetToken operation.", - "properties": { - "access_token": { - "type": "string", - "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." - }, - "expires_in": { - "type": "string", - "description": "This is how long the access token is valid (in seconds)." - }, - "expires_on": { - "type": "string", - "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." - }, - "ext_expires_in": { - "type": "string", - "description": "This indicates the extended lifetime of the token (in seconds)." - }, - "not_before": { - "type": "string", - "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." - }, - "resource": { - "type": "string", - "description": "This is the app ID URI of the sink resource." - }, - "token_type": { - "type": "string", - "description": "This indicates the token type value." - }, - "client_id": { - "type": "string", - "description": "This is the client_id specified in the request, if any." - }, - "object_id": { - "type": "string", - "description": "This is the object_id specified in the request, if any." - }, - "msi_res_id": { - "type": "string", - "description": "This is the msi_res_id specified in the request, if any." - } + "ipv6": { + "type": "object", + "description": "This contains the IPv6 address.", + "properties": { + "ipAddress": { + "type": "array", + "description": "This is the IP address", + "items": { + "type": "object", + "description": "This contains the IPv6 properties.", + "$ref": "#/definitions/Ipv6Properties" + } } + } }, - "IdentityInfoResponse": { - "type": "object", - "description": "This is the response from the Identity_GetInfo operation.", - "properties": { - "tenantId": { - "type": "string", - "description": "This is the AAD tenantId of the identity of the caller." - } - } + "macAddress": { + "type": "string", + "description": "This is the MAC address of the interface." } + } }, - "parameters": { - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "type": "string", - "enum": [ - "2018-10-01" - ], - "description": "This is the API version to use.", - "required": true, - "x-ms-enum": { - "name": "ApiVersion", - "modelAsString": true - } + "PlanProperties": { + "type": "object", + "description": "This contains the data about the plan.", + "properties": { + "name": { + "type": "string", + "description": "This is the Plan ID." }, - "MetadataParameter": { - "name": "Metadata", - "in": "header", - "type": "string", - "enum": [ - "true" - ], - "description": "This must be set to 'true'.", - "required": true, - "x-ms-parameter-location": "method" + "publisher": { + "type": "string", + "description": "This is the publisher ID." + }, + "product": { + "type": "string", + "description": "This is the product of the image from the Marketplace." + } + } + }, + "PublicKeysProperties": { + "type": "object", + "description": "This contains the data about the public key.", + "properties": { + "path": { + "type": "string", + "description": "This specifies the full path on the VM where the SSH public key is stored." + }, + "keyData": { + "type": "string", + "description": "This is the SSH public key certificate used to authenticate with the VM." + } + } + }, + "Ipv4Properties": { + "type": "object", + "description": "This contains the IPv4 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IP address assigned to the interface." + }, + "publicIpAddress": { + "type": "string", + "description": "This is the public IP address assigned to the interface." + } + } + }, + "Ipv6Properties": { + "type": "object", + "description": "This contains the IPv6 properties.", + "properties": { + "privateIpAddress": { + "type": "string", + "description": "This is the private IPv6 address assigned to the interface." + } + } + }, + "SubnetProperties": { + "type": "object", + "description": "This contains the properties of the subnet.", + "properties": { + "address": { + "type": "string", + "description": "This is the address range of the subnet." + }, + "prefix": { + "type": "string", + "description": "This is the prefix of the subnet." + } + } + }, + "Instance": { + "type": "object", + "description": "This is the response from the Instance_GetMetadata operation.", + "properties": { + "compute": { + "$ref": "#/definitions/Compute", + "description": "Compute Metadata" + }, + "network": { + "$ref": "#/definitions/Network", + "description": "Network Metadata" + } + } + }, + "AttestedData": { + "type": "object", + "description": "This is the response from the Attested_GetDocument operation.", + "properties": { + "signature": { + "type": "string", + "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value." + }, + "encoding": { + "type": "string", + "description": "This is the encoding scheme of the signature." + } + } + }, + "ErrorResponse": { + "description": "This is the response from an operation in the case an error occurs.", + "type": "object", + "properties": { + "error": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + }, + "IdentityErrorResponse": { + "type": "object", + "description": "This is the response from an Identity operation in the case an error occurs.", + "properties": { + "error": { + "type": "string", + "description": "Error code", + "enum": [ + "invalid_request", + "unauthorized_client", + "access_denied", + "unsupported_response_type", + "invalid_scope", + "server_error", + "service_unavailable", + "bad_request", + "forbidden", + "not_found", + "method_not_allowed", + "too_many_requests" + ], + "x-ms-enum": { + "name": "Error", + "modelAsString": true + } + }, + "error_description": { + "type": "string", + "description": "Error message indicating why the operation failed." } + } + }, + "IdentityTokenResponse": { + "type": "object", + "description": "This is the response from the Identity_GetToken operation.", + "properties": { + "access_token": { + "type": "string", + "description": "This is the requested access token. The app can use this token to authenticate to the sink resource." + }, + "expires_in": { + "type": "string", + "description": "This is how long the access token is valid (in seconds)." + }, + "expires_on": { + "type": "string", + "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens." + }, + "ext_expires_in": { + "type": "string", + "description": "This indicates the extended lifetime of the token (in seconds)." + }, + "not_before": { + "type": "string", + "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time." + }, + "resource": { + "type": "string", + "description": "This is the app ID URI of the sink resource." + }, + "token_type": { + "type": "string", + "description": "This indicates the token type value." + }, + "client_id": { + "type": "string", + "description": "This is the client_id specified in the request, if any." + }, + "object_id": { + "type": "string", + "description": "This is the object_id specified in the request, if any." + }, + "msi_res_id": { + "type": "string", + "description": "This is the msi_res_id specified in the request, if any." + } + } + }, + "IdentityInfoResponse": { + "type": "object", + "description": "This is the response from the Identity_GetInfo operation.", + "properties": { + "tenantId": { + "type": "string", + "description": "This is the AAD tenantId of the identity of the caller." + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "type": "string", + "enum": [ + "2018-10-01" + ], + "description": "This is the API version to use.", + "required": true, + "x-ms-enum": { + "name": "ApiVersion", + "modelAsString": true + } + }, + "MetadataParameter": { + "name": "Metadata", + "in": "header", + "type": "string", + "enum": [ + "true" + ], + "description": "This must be set to 'true'.", + "required": true, + "x-ms-parameter-location": "method" } + } } diff --git a/specification/intune/resource-manager/readme.md b/specification/intune/resource-manager/readme.md index 3d972ff77a83..f865ad149047 100644 --- a/specification/intune/resource-manager/readme.md +++ b/specification/intune/resource-manager/readme.md @@ -61,7 +61,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Intune - output-folder: $(csharp-sdks-folder)/Intune/Intune/Generated + output-folder: $(csharp-sdks-folder)/intune/Microsoft.Azure.Management.Intune/src/Generated clear-output-folder: true ``` diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md index 925c4f3cf1f7..f7fbbd0d8289 100644 --- a/specification/iotcentral/resource-manager/readme.md +++ b/specification/iotcentral/resource-manager/readme.md @@ -53,6 +53,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 71942bac7156..daab06594c8c 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -103,6 +103,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md index bbb54cb3b16a..46bf508e23c2 100644 --- a/specification/iotspaces/resource-manager/readme.md +++ b/specification/iotspaces/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -85,10 +86,10 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.IoTSpaces payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/IoTSpaces/Management.IoTSpaces/Generated + output-folder: $(csharp-sdks-folder)/iotspaces/Microsoft.Azure.Management.IoTSpaces/src/Generated clear-output-folder: true ``` ## Go -See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file +See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/keyvault/resource-manager/readme.csharp.md b/specification/keyvault/resource-manager/readme.csharp.md index f39bdb2b9c46..2936d8d96bf4 100644 --- a/specification/keyvault/resource-manager/readme.csharp.md +++ b/specification/keyvault/resource-manager/readme.csharp.md @@ -14,7 +14,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.KeyVault -output-folder: $(csharp-sdks-folder)/KeyVault/Management/Management.KeyVault/Generated +output-folder: $(csharp-sdks-folder)/keyvault/Microsoft.Azure.Management.KeyVault/src/Generated ``` ## Batch settings diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index 4084492bcbfc..e3538d332e81 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -86,6 +86,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-keyvault @@ -104,4 +105,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/labservices/resource-manager/readme.md b/specification/labservices/resource-manager/readme.md index a388ea6faa79..981754a0dc48 100644 --- a/specification/labservices/resource-manager/readme.md +++ b/specification/labservices/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json index 4edb3b10ab55..ceac00bace19 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json @@ -7,18 +7,16 @@ "batchConfigurationName": "testBatchConfiguration", "batchConfiguration": { "properties": { - "properties": { - "batchGroupName": "DEFAULT", - "releaseCriteria": { - "recurrence": { - "frequency": "Minute", - "interval": 1, - "startTime": "2017-03-24T11:43:00", - "timeZone": "India Standard Time" - }, - "messageCount": 10, - "batchSize": 234567 - } + "batchGroupName": "DEFAULT", + "releaseCriteria": { + "recurrence": { + "frequency": "Minute", + "interval": 1, + "startTime": "2017-03-24T11:43:00", + "timeZone": "India Standard Time" + }, + "messageCount": 10, + "batchSize": 234567 } }, "location": "westus" diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json index 7350ef83e347..dfbe4d860bbf 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json @@ -5,10 +5,8 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "integrationAccountName": "testIntegrationAccount", "listKeyVaultKeys": { - "keyVault": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault" - }, - "skipToken": "testSkipToken" + "skipToken": "testSkipToken", + "keyVault": {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json index 86ec41230460..66db66a71087 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json @@ -6,45 +6,11 @@ "integrationAccountName": "testIntegrationAccount", "logTrackingEvents": { "sourceType": "Microsoft.Logic/workflows", - "source": { - "workflow": { - "systemId": "/locations/westus/scaleunits/test-01/workflows/bf501b3fceaa4a858a166aa64768ced5" - }, - "runInstance": { - "runId": "08586772141809790618914792486CU03" - }, - "operation": { - "operationName": "httpgetaction" - } - }, "events": [ { "eventLevel": "Informational", "eventTime": "2016-08-05T01:54:49.505567Z", "recordType": "AS2Message", - "record": { - "agreementProperties": { - "senderPartnerName": "testPartner1", - "receiverPartnerName": "testPartner2", - "as2To": "testas2to", - "as2From": "testas2from", - "agreementName": "testAgreement" - }, - "messageProperties": { - "direction": "Receive", - "messageId": "12345", - "dispositionType": "received-success", - "fileName": "test", - "isMessageFailed": false, - "IsMessageEncrypted": false, - "IsMessageSigned": false, - "correlationMessageId": "Unique message identifier", - "isMessageCompressed": false, - "isNrrEnabled": true, - "isMdnExpected": true, - "mdnType": "Async" - } - }, "error": { "message": "Some error occurred", "code": "NotFound" diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json index 7f1683aa7c35..3570e17afb96 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json @@ -303,7 +303,6 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read", "display": { "provider": "Microsoft Logic", @@ -312,7 +311,6 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write", "display": { "provider": "Microsoft Logic", @@ -321,579 +319,19 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read", "display": { "provider": "Microsoft Logic", "resource": "Workflow Metric Definition", "operation": "Get Workflow Metric Definition" - }, - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "RunsStarted", - "displayName": "Runs Started", - "displayDescription": "Number of workflow runs started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCompleted", - "displayName": "Runs Completed", - "displayDescription": "Number of workflow runs completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsSucceeded", - "displayName": "Runs Succeeded", - "displayDescription": "Number of workflow runs succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsFailed", - "displayName": "Runs Failed", - "displayDescription": "Number of workflow runs failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunsCancelled", - "displayName": "Runs Cancelled", - "displayDescription": "Number of workflow runs cancelled.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunLatency", - "displayName": "Run Latency", - "displayDescription": "Latency of completed workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunSuccessLatency", - "displayName": "Run Success Latency", - "displayDescription": "Latency of succeeded workflow runs.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "RunThrottledEvents", - "displayName": "Run Throttled Events", - "displayDescription": "Number of workflow action or trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "RunFailurePercentage", - "displayName": "Run Failure Percentage", - "displayDescription": "Percentage of workflow runs failed.", - "unit": "Percent", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsStarted", - "displayName": "Actions Started ", - "displayDescription": "Number of workflow actions started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsCompleted", - "displayName": "Actions Completed ", - "displayDescription": "Number of workflow actions completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSucceeded", - "displayName": "Actions Succeeded ", - "displayDescription": "Number of workflow actions succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsFailed", - "displayName": "Actions Failed ", - "displayDescription": "Number of workflow actions failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionsSkipped", - "displayName": "Actions Skipped ", - "displayDescription": "Number of workflow actions skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "ActionLatency", - "displayName": "Action Latency ", - "displayDescription": "Latency of completed workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionSuccessLatency", - "displayName": "Action Success Latency ", - "displayDescription": "Latency of succeeded workflow actions.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "ActionThrottledEvents", - "displayName": "Action Throttled Events", - "displayDescription": "Number of workflow action throttled events..", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersStarted", - "displayName": "Triggers Started ", - "displayDescription": "Number of workflow triggers started.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersCompleted", - "displayName": "Triggers Completed ", - "displayDescription": "Number of workflow triggers completed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSucceeded", - "displayName": "Triggers Succeeded ", - "displayDescription": "Number of workflow triggers succeeded.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFailed", - "displayName": "Triggers Failed ", - "displayDescription": "Number of workflow triggers failed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersSkipped", - "displayName": "Triggers Skipped", - "displayDescription": "Number of workflow triggers skipped.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggersFired", - "displayName": "Triggers Fired ", - "displayDescription": "Number of workflow triggers fired.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TriggerLatency", - "displayName": "Trigger Latency ", - "displayDescription": "Latency of completed workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerFireLatency", - "displayName": "Trigger Fire Latency ", - "displayDescription": "Latency of fired workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerSuccessLatency", - "displayName": "Trigger Success Latency ", - "displayDescription": "Latency of succeeded workflow triggers.", - "unit": "Seconds", - "aggregationType": "Average", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": false - }, - { - "name": "TriggerThrottledEvents", - "displayName": "Trigger Throttled Events", - "displayDescription": "Number of workflow trigger throttled events.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableActionExecutions", - "displayName": "Billable Action Executions", - "displayDescription": "Number of workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableTriggerExecutions", - "displayName": "Billable Trigger Executions", - "displayDescription": "Number of workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableExecutions", - "displayName": "Total Billable Executions", - "displayDescription": "Number of workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeActionExecutions", - "displayName": "Billable Native Action Executions", - "displayDescription": "Number of native workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableNativeTriggerExecutions", - "displayName": "Billable Native Trigger Executions", - "displayDescription": "Number of native workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableNativeExecutions", - "displayName": "Total Native Billable Executions", - "displayDescription": "Number of native workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardActionExecutions", - "displayName": "Billable Standard Action Executions", - "displayDescription": "Number of standard workflow action executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "BillableStandardTriggerExecutions", - "displayName": "Billable Standard Trigger Executions", - "displayDescription": "Number of standard workflow trigger executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - }, - { - "name": "TotalBillableStandardExecutions", - "displayName": "Total Standard Billable Executions", - "displayDescription": "Number of standard workflow executions getting billed.", - "unit": "Count", - "aggregationType": "Total", - "dimensions": [], - "availabilities": [ - { - "timeGrain": "PT1M", - "blobDuration": "PT1H" - } - ], - "fillGapWithZero": true - } - ] - } - } - }, - { - "origin": "System", + } + }, + { "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read", "display": { "provider": "Microsoft Logic", "resource": "Workflow Log Definition", "operation": "Get Workflow Log Definition" - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "WorkflowRuntime", - "displayName": "Workflow runtime diagnostic events", - "description": "Diagnostic events related to workflow runtime executions.", - "blobDuration": "PT1H" - } - ] - } } }, { @@ -913,24 +351,11 @@ } }, { - "origin": "System", "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read", "display": { "provider": "Microsoft Logic", "resource": "Integration Account Log Definition", "operation": "Get Integration Account Log Definition" - }, - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "IntegrationAccountTrackingEvents", - "displayName": "Integration Account track events", - "description": "Track events related to Integration Account.", - "blobDuration": "PT1H" - } - ] - } } }, { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json new file mode 100644 index 000000000000..8576c68e7cfe --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json @@ -0,0 +1,194 @@ +{ + "title": "Create or update integration account rosettanet process configuration example", + "parameters": { + "api-version": "2016-06-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123", + "rosettaNetProcessConfigurationName": "3A4", + "rosettaNetProcessConfiguration": { + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "Request Purchase Order", + "description": "Test description", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + } + } + } + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 21 Feb 2019 20:43:03 GMT" + }, + "body": { + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "Request Purchase Order", + "description": "Test description", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + }, + "createdTime": "2018-10-22T19:33:12.3769017Z", + "changedTime": "2019-02-21T20:41:35.9796534Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + }, + "201": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Date": "Tue, 21 Feb 2019 20:43:03 GMT" + }, + "body": { + "properties": { + "createdTime": "2019-02-21T20:41:35.9789189Z", + "changedTime": "2019-02-21T20:41:35.9796534Z", + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "Request Purchase Order", + "description": "Test description", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 2, + "timeToPerformInSeconds": 7200 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 600 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request", + "role": "Buyer", + "description": "This partner role creates a demand for a product or service.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment..", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + } + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json new file mode 100644 index 000000000000..64ef9a187eee --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2016-06-01", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "rosettaNetProcessConfigurationName": "3A4" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json new file mode 100644 index 000000000000..7166e46950c4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2016-06-01", + "resourceGroupName": "testResourceGroup", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "integrationAccountName": "testIntegrationAccount", + "rosettaNetProcessConfigurationName": "3A4" + }, + "responses": { + "200": { + "body": { + "properties": { + "processCode": "3A4", + "processVersion": "V02.02.00", + "processName": "3A4", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": true, + "persistentConfidentialityScope": "Payload", + "isSecuredTransportRequired": true, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 600 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 60 + } + }, + "initiatorRoleSettings": { + "action": "Purchase Order Request Action", + "role": "Buyer", + "description": "An employee or organization that buys products for a partner type in the supply chain.", + "roleType": "Functional", + "service": "Buyer Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Request", + "description": "A request to accept a purchase order for fulfillment.", + "version": "V02.02.00" + } + }, + "responderRoleSettings": { + "action": "Purchase Order Confirmation Action", + "role": "Seller", + "description": "An organization that sells products to partners in the supply chain.", + "roleType": "Organizational", + "service": "Seller Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Purchase Order Confirmation", + "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.", + "version": "V02.02.00" + } + }, + "createdTime": "2019-05-22T13:46:54.6312192Z", + "changedTime": "2019-05-29T20:09:48.5167814Z" + }, + "id": "/integrationAccounts/testIntegrationAccount/rosettaNetProcessConfigurations/3A4", + "name": "3A4", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + } + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json new file mode 100644 index 000000000000..199ee16443af --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json @@ -0,0 +1,135 @@ +{ + "title": "List by integration account rosettanet process configuration examples", + "parameters": { + "api-version": "2016-06-01", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "integrationAccountName": "testia123" + }, + "responses": { + "200": { + "headers": { + "Cache-Control": "no-cache", + "Pragma": "no-cache", + "Content-Type": "application/json; charset=utf-8", + "Expires": -1, + "Vary": "Accept-Encoding", + "Date": "Tue, 28 May 2019 20:43:03 GMT" + }, + "body": { + "value": [ + { + "properties": { + "processCode": "0A1", + "processVersion": "V02.00.00", + "processName": "0A1", + "activitySettings": { + "activityType": "InformationDistribution", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "SingleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 86400 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 36400 + } + }, + "initiatorRoleSettings": { + "action": "Failure Notification Action", + "role": "PIP Failure Notifier", + "description": "An organizational process that automatically notifies the appropriate Failure Report Administrator of a PIP process failure.", + "roleType": "Functional", + "service": "PIP Failure Notifier Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Failure Notification", + "description": "An unsolicited formal notification of the failure to perform a business activity.", + "version": "V02.00.00" + } + }, + "responderRoleSettings": { + "action": "Failure Notification Action", + "role": "Failure Report Administrator", + "description": "An employee or organizational entity that receives and processes PIP Failure Notifications.", + "roleType": "Organizational", + "service": "Failure Report Administrator Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Failure Notification", + "description": "An unsolicited formal notification of the failure to perform a business activity.", + "version": "V02.00.00" + } + }, + "createdTime": "2019-05-22T13:47:26.330972Z", + "changedTime": "2019-05-22T13:47:26.3328234Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123//rosettaNetProcessConfigurations/0A1", + "name": "IntegrationAccountSession1662", + "type": "Microsoft.Logic/integrationAccounts/sessions" + }, + { + "properties": { + "processCode": "3A3", + "processVersion": "R02.00.00", + "processName": "3A3", + "activitySettings": { + "activityType": "RequestResponse", + "activityBehavior": { + "isAuthorizationRequired": false, + "persistentConfidentialityScope": "None", + "isSecuredTransportRequired": false, + "actionType": "DoubleAction", + "responseType": "Async", + "nonRepudiationOfOriginAndContent": false, + "retryCount": 4, + "timeToPerformInSeconds": 86400 + }, + "acknowledgmentOfReceiptSettings": { + "isNonRepudiationRequired": false, + "timeToAcknowledgeInSeconds": 36400 + } + }, + "initiatorRoleSettings": { + "action": "Shopping Cart Transfer Request Action", + "role": "Sales Facilitator", + "description": "This partner role facilitates the sale of product between partners in the supply chain.", + "roleType": "Functional", + "service": "Sales Facilitator Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Shopping Cart Transfer Request", + "description": "Requests a Supplier to confirm the transfer of a shopping cart.", + "version": "R02.00.00" + } + }, + "responderRoleSettings": { + "action": "Shopping Cart Transfer Confirmation Action", + "role": "Supplier", + "description": "This partner role supplies product to customers in the supply chain.", + "roleType": "Organizational", + "service": "Supplier Service", + "serviceClassification": "Business Service", + "businessDocument": { + "name": "Shopping Cart Transfer Confirmation", + "description": "Confirms the transfer of a shopping cart from a Sales Facilitator to a Supplier.", + "version": "R02.00.00" + } + }, + "createdTime": "2019-05-31T06:46:08.1261454Z", + "changedTime": "2019-05-31T06:46:08.129905Z" + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A3", + "name": "3A3", + "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations" + } + ] + } + } + } +} diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json index 1e63c5e355d0..485d4d3c6187 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json @@ -32,7 +32,6 @@ "startTime": "2018-08-10T20:16:32.305236Z", "endTime": "2018-08-10T20:16:32.5450625Z", "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", "clientTrackingId": "08586676746934337772206998657CU22" }, "status": "Succeeded", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json index 5515bad5129f..d66df6776a95 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json @@ -33,7 +33,6 @@ "startTime": "2018-08-10T20:16:32.305236Z", "endTime": "2018-08-10T20:16:32.5450625Z", "correlation": { - "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca", "clientTrackingId": "08586676746934337772206998657CU22" }, "status": "Succeeded", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json index 561d6fe7e4ab..4dc85ea24f6b 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json @@ -13,7 +13,6 @@ "properties": { "startTime": "2018-08-10T20:16:32.0387927Z", "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", "status": "Succeeded", "code": "OK", "correlation": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json index 62efc66a2ea2..3d66e13bc6f8 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json @@ -14,7 +14,6 @@ "properties": { "startTime": "2018-08-10T20:16:32.0387927Z", "endTime": "2018-08-10T20:16:32.2987996Z", - "scheduledTime": "2018-08-10T20:16:31.6344174Z", "status": "Succeeded", "code": "OK", "correlation": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json index e6003828a922..94b13c0ac57e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json @@ -9,20 +9,8 @@ "responses": { "200": { "body": { - "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-08-10T17:32:30.2496336Z", - "changedTime": "2018-08-10T18:47:49.5288666Z", - "state": "Enabled", - "workflow": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478", - "name": "08586676800160476478", - "type": "Microsoft.Logic/workflows/versions" - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual", - "name": "manual", - "type": "Microsoft.Logic/workflows/triggers" + "title": "testworkflow", + "content": "{}" } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json index cccbaa5b4b43..d5ef6341bd95 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json @@ -7,6 +7,8 @@ "triggerName": "manual" }, "responses": { - "default": {} + "default": { + "body": {} + } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json index 5403d91ae704..3887816c0f0c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json @@ -6,9 +6,7 @@ "workflowName": "testWorkflow", "triggerName": "testTrigger", "setState": { - "source": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sourceResGroup/providers/Microsoft.Logic/workflows/sourceWorkflow/triggers/sourceTrigger" - } + "source": {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json index 733de00f26b3..68bf77a17872 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json @@ -10,9 +10,6 @@ "200": { "body": { "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", "state": "Enabled", "version": "08586677515911718341", "accessEndpoint": "http://tempuri.org", @@ -29,41 +26,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json index 84537638be6e..0812c0df6ad0 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json @@ -11,9 +11,6 @@ "value": [ { "properties": { - "provisioningState": "Succeeded", - "createdTime": "2018-04-25T01:39:21.4365247Z", - "changedTime": "2018-08-09T22:54:54.3533634Z", "state": "Enabled", "version": "08586677515911718341", "accessEndpoint": "http://tempuri.org", @@ -30,41 +27,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json index 36f0885e4c66..90c83fc78aa3 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json @@ -6,11 +6,6 @@ "workflowName": "test-workflow", "workflow": { "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", @@ -85,41 +80,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} } } }, @@ -145,41 +106,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json index dc0928646af0..e9a8d30c027a 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json @@ -28,41 +28,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json index 74886e6baa4f..bee0ba58a582 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json @@ -29,41 +29,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json index 33ba47f6e362..9aee6ae8b6e1 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json @@ -28,41 +28,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} }, "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", "name": "test-workflow", diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json index d0ddd1d86533..22a0534d49f4 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json @@ -5,7 +5,18 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "workflowName": "testWorkflow", "move": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/newResourceGroup/providers/Microsoft.Logic/workflows/newWorkflowName" + "properties": { + "definition": { + "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", + "contentVersion": "1.0.0.0", + "parameters": {}, + "triggers": {}, + "actions": {}, + "outputs": {} + } + }, + "location": "brazilsouth", + "tags": {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json index d55e231b78f4..68cbe17e3b4f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json @@ -6,11 +6,6 @@ "workflowName": "test-workflow", "workflow": { "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", @@ -85,41 +80,7 @@ "actions": {}, "outputs": {} }, - "parameters": {}, - "accessControl": {}, - "endpointsConfiguration": { - "workflow": { - "outgoingIpAddresses": [ - { - "address": "13.84.159.168" - }, - { - "address": "13.65.86.56" - }, - { - "address": "13.65.82.190" - } - ], - "accessEndpointIpAddresses": [ - { - "address": "104.210.153.89" - }, - { - "address": "13.85.79.155" - }, - { - "address": "13.65.39.247" - } - ] - }, - "connector": { - "outgoingIpAddresses": [ - { - "address": "40.84.145.61" - } - ] - } - } + "parameters": {} } } } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json index a1ad978dc8c7..407bb45c8b9d 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json @@ -2,29 +2,11 @@ "parameters": { "api-version": "2016-06-01", "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "test-resource-group", "location": "brazilsouth", "workflowName": "test-workflow", - "validate": { - "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, - "definition": { - "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "triggers": {}, - "actions": {}, - "outputs": {} - } - }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", - "location": "brazilsouth", - "tags": {} + "workflow": { + "properties": {} } }, "responses": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json index de320d2784ec..3450d80c569f 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json @@ -6,11 +6,6 @@ "workflowName": "test-workflow", "validate": { "properties": { - "integrationAccount": { - "name": "test-integration-account", - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account", - "type": "Microsoft.Logic/integrationAccounts" - }, "definition": { "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "contentVersion": "1.0.0.0", @@ -20,9 +15,6 @@ "outputs": {} } }, - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow", - "name": "test-workflow", - "type": "Microsoft.Logic/workflows", "location": "brazilsouth", "tags": {} } diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json index 5f0b844762c9..77d4055b2c5e 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json @@ -4921,6 +4921,232 @@ "x-ms-odata": "#/definitions/IntegrationAccountSessionFilter" } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations": { + "get": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_ListByIntegrationAccounts", + "description": "Gets a list of integration account RosettaNet process configurations.", + "x-ms-examples": { + "Get RosettaNetProcessConfigurations by integrationaccount name": { + "$ref": "./examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "$top", + "description": "The number of items to be included in the result.", + "in": "query", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "description": "The filter to apply on the operation.", + "in": "query", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations/{rosettaNetProcessConfigurationName}": { + "get": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_Get", + "description": "Gets an integration account RosettaNetProcessConfiguration.", + "x-ms-examples": { + "Get RosettaNetProcessConfiguration by name": { + "$ref": "./examples/RosettaNetProcessConfigurationsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "rosettaNetProcessConfigurationName", + "description": "The integration account RosettaNetProcessConfiguration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + } + } + }, + "put": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_CreateOrUpdate", + "description": "Creates or updates an integration account RosettaNetProcessConfiguration.", + "x-ms-examples": { + "Create or update an RosettaNetProcessConfiguration": { + "$ref": "./examples/RosettaNetProcessConfigurationsCreateOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "rosettaNetProcessConfigurationName", + "description": "The integration account RosettaNet ProcessConfiguration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "rosettaNetProcessConfiguration", + "description": "The integration account RosettaNet ProcessConfiguration.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + } + } + } + }, + "delete": { + "tags": [ + "IntegrationAccountRosettaNetProcessConfigurations" + ], + "operationId": "RosettaNetProcessConfigurations_Delete", + "description": "Deletes an integration account RosettaNet ProcessConfiguration.", + "x-ms-examples": { + "Delete an RosettaNetProcessConfiguration": { + "$ref": "./examples/RosettaNetProcessConfigurationsDelete.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "integrationAccountName", + "description": "The integration account name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "rosettaNetProcessConfigurationName", + "description": "The integration account RosettaNetProcessConfiguration name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "204": { + "description": "No Content" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}": { "get": { "tags": [ @@ -8209,6 +8435,19 @@ "modelAsString": true } }, + "MessageEncoding": { + "type": "string", + "enum": [ + "NotSpecified", + "Base64", + "EightBit", + "QuotedPrintable" + ], + "x-ms-enum": { + "name": "MessageEncoding", + "modelAsString": false + } + }, "TrailingSeparatorPolicy": { "type": "string", "enum": [ @@ -9030,6 +9269,323 @@ "modelAsString": false } }, + "IntegrationAccountRosettaNetProcessConfigurationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration" + }, + "description": "The list of integration account RosettaNet PIP configuration." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of integration account RosettaNet process configuration." + }, + "IntegrationAccountRosettaNetProcessConfiguration": { + "type": "object", + "required": [ + "properties" + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationProperties", + "description": "The integration account RosettaNet process configuration properties." + } + }, + "description": "The integration account RosettaNet process configuration.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "IntegrationAccountRosettaNetProcessConfigurationProperties": { + "type": "object", + "required": [ + "processCode", + "processVersion", + "processName", + "activitySettings", + "initiatorRoleSettings", + "responderRoleSettings" + ], + "properties": { + "createdTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The created time." + }, + "changedTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The changed time." + }, + "metadata": { + "type": "object", + "description": "The metadata.", + "properties": {}, + "additionalProperties": { + "type": "string" + } + }, + "activitySettings": { + "$ref": "#/definitions/RosettaNetPipActivitySettings", + "description": "The RosettaNet process configuration activity settings." + }, + "processCode": { + "type": "string", + "description": "The integration account RosettaNet process code." + }, + "processVersion": { + "type": "string", + "description": "The integration account RosettaNet process version." + }, + "processName": { + "type": "string", + "description": "The integration account RosettaNet process name." + }, + "initiatorRoleSettings": { + "$ref": "#/definitions/RosettaNetPipRoleSettings", + "description": "The RosettaNet initiator role settings." + }, + "responderRoleSettings": { + "$ref": "#/definitions/RosettaNetPipRoleSettings", + "description": "The RosettaNet responder role settings." + }, + "description": { + "type": "string", + "description": "The integration account RosettaNet ProcessConfiguration properties." + } + }, + "description": "The integration account RosettaNet process configuration properties." + }, + "RosettaNetPipActivitySettings": { + "type": "object", + "required": [ + "activityType", + "activityBehavior", + "acknowledgmentOfReceiptSettings" + ], + "properties": { + "activityType": { + "$ref": "#/definitions/RosettaNetPipActivityType", + "description": "The RosettaNet ProcessConfiguration activity type." + }, + "activityBehavior": { + "$ref": "#/definitions/RosettaNetPipActivityBehavior", + "description": "The RosettaNet ProcessConfiguration activity behavior." + }, + "acknowledgmentOfReceiptSettings": { + "$ref": "#/definitions/RosettaNetPipAcknowledgmentOfReceiptSettings", + "description": "The RosettaNet ProcessConfiguration acknowledgement settings." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration activity settings." + }, + "RosettaNetPipActivityType": { + "type": "string", + "enum": [ + "NotSpecified", + "InformationDistribution", + "BusinessTransaction", + "Notification", + "QueryResponse", + "RequestConfirm", + "RequestResponse" + ], + "x-ms-enum": { + "name": "RosettaNetPipActivityType", + "modelAsString": false + } + }, + "RosettaNetPipActivityBehavior": { + "type": "object", + "required": [ + "isAuthorizationRequired", + "persistentConfidentialityScope", + "isSecuredTransportRequired", + "actionType", + "responseType", + "nonRepudiationOfOriginAndContent", + "retryCount", + "timeToPerformInSeconds" + ], + "properties": { + "isAuthorizationRequired": { + "type": "boolean", + "description": "The value indicating whether authorization is required." + }, + "persistentConfidentialityScope": { + "$ref": "#/definitions/RosettaNetPipConfidentialityScope", + "description": "The persistent confidentiality encryption scope." + }, + "isSecuredTransportRequired": { + "type": "boolean", + "description": "The value indicating whether secured transport is required." + }, + "actionType": { + "$ref": "#/definitions/RosettaNetActionType", + "description": "The value indicating whether the RosettaNet PIP is used for a single action." + }, + "responseType": { + "$ref": "#/definitions/RosettaNetResponseType", + "description": "The value indicating whether the RosettaNet PIP communication is synchronous." + }, + "nonRepudiationOfOriginAndContent": { + "type": "boolean", + "description": "The value indicating whether non-repudiation is for origin and content." + }, + "retryCount": { + "type": "integer", + "description": "The value indicating retry count." + }, + "timeToPerformInSeconds": { + "type": "integer", + "description": "The time to perform in seconds." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration activity behavior." + }, + "RosettaNetPipConfidentialityScope": { + "type": "string", + "enum": [ + "NotSpecified", + "None", + "Payload", + "PayloadContainer" + ], + "x-ms-enum": { + "name": "RosettaNetPipConfidentialityScope", + "modelAsString": false + } + }, + "RosettaNetActionType": { + "type": "string", + "enum": [ + "NotSpecified", + "SingleAction", + "DoubleAction" + ], + "x-ms-enum": { + "name": "RosettaNetActionType", + "modelAsString": false + } + }, + "RosettaNetResponseType": { + "type": "string", + "enum": [ + "NotSpecified", + "Sync", + "Async" + ], + "x-ms-enum": { + "name": "RosettaNetResponseType", + "modelAsString": false + } + }, + "RosettaNetPipAcknowledgmentOfReceiptSettings": { + "type": "object", + "required": [ + "isNonRepudiationRequired", + "timeToAcknowledgeInSeconds" + ], + "properties": { + "isNonRepudiationRequired": { + "type": "boolean", + "description": "The non-repudiation is required or not." + }, + "timeToAcknowledgeInSeconds": { + "type": "integer", + "description": "The time to acknowledge in seconds." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration Acknowledgement settings." + }, + "RosettaNetPipRoleSettings": { + "type": "object", + "required": [ + "action", + "role", + "roleType", + "service", + "serviceClassification", + "businessDocument" + ], + "properties": { + "action": { + "type": "string", + "description": "The action name." + }, + "role": { + "type": "string", + "description": "The role name." + }, + "roleType": { + "$ref": "#/definitions/RosettaNetPipRoleType", + "description": "The RosettaNet ProcessConfiguration role type." + }, + "service": { + "type": "string", + "description": "The service name." + }, + "serviceClassification": { + "type": "string", + "description": "The service classification name." + }, + "businessDocument": { + "$ref": "#/definitions/RosettaNetPipBusinessDocument", + "description": "The RosettaNet ProcessConfiguration business document." + }, + "description": { + "type": "string", + "description": "The description." + } + }, + "description": "The integration account RosettaNet ProcessConfiguration role settings." + }, + "RosettaNetPipRoleType": { + "type": "string", + "enum": [ + "NotSpecified", + "Functional", + "Organizational", + "Employee" + ], + "x-ms-enum": { + "name": "RosettaNetPipRoleType", + "modelAsString": false + } + }, + "RosettaNetPipBusinessDocument": { + "type": "object", + "required": [ + "name", + "version" + ], + "properties": { + "name": { + "type": "string", + "description": "The business document name." + }, + "version": { + "type": "string", + "description": "The business document version." + }, + "description": { + "type": "string", + "description": "The business document description." + } + }, + "description": "The RosettaNet ProcessConfiguration business document settings." + }, "IntegrationAccountCertificateListResult": { "type": "object", "properties": { diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index 397c481de2f0..72f3ebfc4c60 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -116,6 +116,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 1efefd526941..c8760506a090 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -98,6 +98,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/machinelearningcompute/resource-manager/readme.md b/specification/machinelearningcompute/resource-manager/readme.md index 156ff915d237..fc91540b0338 100644 --- a/specification/machinelearningcompute/resource-manager/readme.md +++ b/specification/machinelearningcompute/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/machinelearningexperimentation/resource-manager/readme.md b/specification/machinelearningexperimentation/resource-manager/readme.md index f3c9d80b3aef..ab615dd26c23 100644 --- a/specification/machinelearningexperimentation/resource-manager/readme.md +++ b/specification/machinelearningexperimentation/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -66,7 +67,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MachineLearningExperimentation - output-folder: $(csharp-sdks-folder)/MachineLearningExperimentation/Management.MachineLearningExperimentation/Generated + output-folder: $(csharp-sdks-folder)/machinelearningexperimentation/Microsoft.Azure.Management.MachineLearningExperimentation/src/Generated clear-output-folder: true ``` diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 9f255bf53564..ce901d0e8873 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -65,6 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -82,7 +83,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MachineLearningServices - output-folder: $(csharp-sdks-folder)/MachineLearningServices/Management.MachineLearningServices/Generated + output-folder: $(csharp-sdks-folder)/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/src/Generated clear-output-folder: true ``` diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md index 75fb7c43e243..0d0b64752d59 100644 --- a/specification/managedservices/resource-manager/readme.md +++ b/specification/managedservices/resource-manager/readme.md @@ -67,6 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md index 122d1afcb49a..7fecfe136bc8 100644 --- a/specification/managementgroups/resource-manager/readme.md +++ b/specification/managementgroups/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/managementpartner/resource-manager/readme.md b/specification/managementpartner/resource-manager/readme.md index 7b3a27a73bc0..8e8fb4a344e2 100644 --- a/specification/managementpartner/resource-manager/readme.md +++ b/specification/managementpartner/resource-manager/readme.md @@ -71,6 +71,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js @@ -93,4 +94,4 @@ csharp: ## Go -See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file +See configuration in [readme.go.md](./readme.go.md) diff --git a/specification/maps/resource-manager/readme.md b/specification/maps/resource-manager/readme.md index 07a15d4cb993..9bd62b2d0688 100644 --- a/specification/maps/resource-manager/readme.md +++ b/specification/maps/resource-manager/readme.md @@ -57,6 +57,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md index 3590e156b45d..331573abba89 100644 --- a/specification/mariadb/resource-manager/readme.md +++ b/specification/mariadb/resource-manager/readme.md @@ -72,6 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -90,7 +91,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MariaDB - output-folder: $(csharp-sdks-folder)/MariaDB/Management.MariaDB/Generated + output-folder: $(csharp-sdks-folder)/mariadb/Microsoft.Azure.Management.MariaDB/src/Generated clear-output-folder: true ``` diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index e2150d8261b1..b6185418880c 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -73,6 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index ce319faa511c..16fc728d30b5 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -110,6 +110,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md index a49f2e708dd3..ffdcae101589 100644 --- a/specification/mixedreality/resource-manager/readme.md +++ b/specification/mixedreality/resource-manager/readme.md @@ -58,6 +58,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-go diff --git a/specification/monitor/resource-manager/readme.csharp.md b/specification/monitor/resource-manager/readme.csharp.md index 7a721415e69f..946deb424832 100644 --- a/specification/monitor/resource-manager/readme.csharp.md +++ b/specification/monitor/resource-manager/readme.csharp.md @@ -18,7 +18,7 @@ csharp: payload-flattening-threshold: 1 license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Monitor - output-folder: $(csharp-sdks-folder)/Monitor/Management.Monitor/Generated + output-folder: $(csharp-sdks-folder)/monitor/Microsoft.Azure.Management.Monitor/src/Generated clear-output-folder: true ``` diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 9be937e9e92f..6a78591e1104 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -460,6 +460,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-monitor diff --git a/specification/msi/resource-manager/readme.md b/specification/msi/resource-manager/readme.md index 6322b69cf81c..a34862f000f3 100644 --- a/specification/msi/resource-manager/readme.md +++ b/specification/msi/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -75,7 +76,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.ManagedServiceIdentity - output-folder: $(csharp-sdks-folder)/ManagedServiceIdentity/Management.ManagedServiceIdentity/Generated + output-folder: $(csharp-sdks-folder)/managedserviceidentity/Microsoft.Azure.Management.ManagedServiceIdentity/src/Generated clear-output-folder: true ``` diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index c80e920e00fb..e1213fdf88e4 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -71,6 +71,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -89,7 +90,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.MySQL - output-folder: $(csharp-sdks-folder)/MySQL/Management.MySQL/Generated + output-folder: $(csharp-sdks-folder)/mysql/Microsoft.Azure.Management.MySQL/src/Generated clear-output-folder: true ``` diff --git a/specification/netapp/resource-manager/readme.csharp.md b/specification/netapp/resource-manager/readme.csharp.md index 50a0e20bf93a..ab4a6b6ee13a 100644 --- a/specification/netapp/resource-manager/readme.csharp.md +++ b/specification/netapp/resource-manager/readme.csharp.md @@ -9,6 +9,6 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.NetApp - output-folder: $(csharp-sdks-folder)/NetApp/Management.NetApp/Generated + output-folder: $(csharp-sdks-folder)/netapp/Microsoft.Azure.Management.NetApp/src/Generated clear-output-folder: true ``` diff --git a/specification/network/resource-manager/readme.csharp.md b/specification/network/resource-manager/readme.csharp.md index 68c4e41fa1f5..7add46771d4c 100644 --- a/specification/network/resource-manager/readme.csharp.md +++ b/specification/network/resource-manager/readme.csharp.md @@ -19,7 +19,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.Network -output-folder: $(csharp-sdks-folder)/Network/Management.Network/Generated +output-folder: $(csharp-sdks-folder)/network/Microsoft.Azure.Management.Network/src/Generated ``` ## MultiApi settings diff --git a/specification/network/resource-manager/readme.java.md b/specification/network/resource-manager/readme.java.md index f3b716d3af1e..0c7b468e5551 100644 --- a/specification/network/resource-manager/readme.java.md +++ b/specification/network/resource-manager/readme.java.md @@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network ``` yaml $(java) && $(multiapi) batch: + - tag: package-2019-06 - tag: package-2019-04 - tag: package-2019-02 - tag: package-2018-12 @@ -26,6 +27,19 @@ batch: - tag: package-2017-10 ``` +### Tag: package-2019-06 and java + +These settings apply only when `--tag=package-2019-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.network.v2019_06_01 + output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2019_06_01 + regenerate-manager: true + generate-interface: true +``` + ### Tag: package-2019-04 and java These settings apply only when `--tag=package-2019-04 --java` is specified on the command line. diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 406288ee39d1..b3e8985bf2cd 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -1126,6 +1126,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" @@ -1168,4 +1169,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md index db04a2de2622..7caf8ec72e82 100644 --- a/specification/notificationhubs/resource-manager/readme.md +++ b/specification/notificationhubs/resource-manager/readme.md @@ -84,6 +84,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 160d3222ce87..7b2b5e8d19e1 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js diff --git a/specification/operationsmanagement/resource-manager/readme.md b/specification/operationsmanagement/resource-manager/readme.md index a37250ab8fba..b31e56866c60 100644 --- a/specification/operationsmanagement/resource-manager/readme.md +++ b/specification/operationsmanagement/resource-manager/readme.md @@ -53,6 +53,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node @@ -71,7 +72,7 @@ csharp: namespace: Microsoft.Azure.Management.OperationsManagement payload-flattening-threshold: 1 license-header: MICROSOFT_MIT_NO_VERSION - output-folder: $(csharp-sdks-folder)/OperationsManagement/Management.OperationsManagement/Generated + output-folder: $(csharp-sdks-folder)/operationsmanagement/Microsoft.Azure.Management.OperationsManagement/src/Generated clear-output-folder: true ``` diff --git a/specification/peering/resource-manager/readme.csharp.md b/specification/peering/resource-manager/readme.csharp.md index 224a3d49ed46..ebf7488d5000 100644 --- a/specification/peering/resource-manager/readme.csharp.md +++ b/specification/peering/resource-manager/readme.csharp.md @@ -10,6 +10,6 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Peering payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/Peering/Management.Peering/Generated + output-folder: $(csharp-sdks-folder)/peering/Microsoft.Azure.Management.Peering/src/Generated clear-output-folder: true ``` diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md index 7aac5087fc1f..6d8468c203f1 100644 --- a/specification/policyinsights/resource-manager/readme.md +++ b/specification/policyinsights/resource-manager/readme.md @@ -125,6 +125,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json index 233cfaa25861..636054f232fc 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json @@ -5,7 +5,7 @@ "title": "portal", "description": "Allows creation and deletion of Azure Shared Dashboards.", "x-ms-code-generation-settings": { - "name": "portalClient" + "name": "PortalClient" } }, "host": "management.azure.com", diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json new file mode 100644 index 000000000000..2df1a9a604bd --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/createOrUpdateDashboard.json @@ -0,0 +1,152 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + }, + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json new file mode 100644 index 000000000000..2a179869244f --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/deleteDashboard.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json new file mode 100644 index 000000000000..b76f427bf373 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/getDashboard.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json new file mode 100644 index 000000000000..b71fd5abfafa --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsByResourceGroup.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json new file mode 100644 index 000000000000..5b1541eb2a0f --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/listDashboardsBySubscription.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + }, + { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard2", + "name": "testDashboard2", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "aValue", + "anotherKey": "anotherValue" + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json new file mode 100644 index 000000000000..0fd64475a7e5 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/operationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2018-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Portal/dashboards/read", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Get Dashboard", + "description": "Reads the dashboards for the subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/write", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Set Dashboard", + "description": "Add or modify dashboard to a subscription." + } + }, + { + "name": "Microsoft.Portal/dashboards/delete", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Dashboards", + "operation": "Delete Dashboard", + "description": "Removes the dashboard from the subscription." + } + }, + { + "name": "Microsoft.Portal/register/action", + "isDataAction": "false", + "display": { + "provider": "Microsoft Portal", + "resource": "Portal Resource Provider", + "operation": "Registers the Portal Resource Provider", + "description": "Registers the subscription for the portal resource provider and enables shared dashboards." + } + } + ] + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json new file mode 100644 index 000000000000..535e0ccc6da9 --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/examples/updateDashboard.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "dashboardName": "testDashboard", + "resourceGroupName": "testRG", + "api-version": "2018-10-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "dashboard": { + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "lenses": { + "aLens": { + "order": 1, + "parts": { + "aPart": { + "position": { + "x": 1, + "y": 2, + "rowSpan": 4, + "colSpan": 3 + } + }, + "bPart": { + "position": { + "x": 5, + "y": 5, + "rowSpan": 6, + "colSpan": 6 + } + } + } + }, + "bLens": { + "order": 2, + "parts": {} + } + }, + "metadata": { + "metadata": { + "X": 4, + "Y": 3, + "RowSpan": 1, + "ColSpan": 2 + } + } + }, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRG/providers/Microsoft.Portal/dashboards/testDashboard", + "name": "testDashboard", + "type": "Microsoft.Portal/dashboards", + "location": "eastus", + "tags": { + "aKey": "bValue", + "anotherKey": "anotherValue2" + } + } + } + } +} diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json new file mode 100644 index 000000000000..9cdb59dd9cec --- /dev/null +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json @@ -0,0 +1,686 @@ +{ + "swagger": "2.0", + "info": { + "version": "2018-10-01-preview", + "title": "portal", + "description": "Allows creation and deletion of Azure Shared Dashboards.", + "x-ms-code-generation-settings": { + "name": "portalClient" + } + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.Portal/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "x-ms-examples": { + "List the portal operations": { + "$ref": "examples/operationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "The Microsoft Portal operations API.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Describe the result of a successful operation.", + "schema": { + "$ref": "#/definitions/ResourceProviderOperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}": { + "put": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_CreateOrUpdate", + "x-ms-examples": { + "Create or update a Dashboard": { + "$ref": "examples/createOrUpdateDashboard.json" + } + }, + "description": "Creates or updates a Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The parameters required to create or update a dashboard." + } + ], + "responses": { + "201": { + "description": "Created response definition. Resource has been created", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "200": { + "description": "Resource already exists.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "delete": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Delete", + "x-ms-examples": { + "Delete a Dashboard": { + "$ref": "examples/deleteDashboard.json" + } + }, + "description": "Deletes the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition." + }, + "204": { + "description": "OK resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Get", + "x-ms-examples": { + "Get a Dashboard": { + "$ref": "examples/getDashboard.json" + } + }, + "description": "Gets the Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "patch": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_Update", + "x-ms-examples": { + "Update a Dashboard": { + "$ref": "examples/updateDashboard.json" + } + }, + "description": "Updates an existing Dashboard.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DashboardNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "dashboard", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PatchableDashboard" + }, + "description": "The updatable fields of a Dashboard." + } + ], + "responses": { + "200": { + "description": "OK response definition.", + "schema": { + "$ref": "#/definitions/Dashboard" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListByResourceGroup", + "x-ms-examples": { + "List all custom resource providers on the resourceGroup": { + "$ref": "examples/listDashboardsByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the Dashboards within a resource group.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of Dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards": { + "get": { + "tags": [ + "Dashboard" + ], + "operationId": "Dashboards_ListBySubscription", + "x-ms-examples": { + "List all custom resource providers on the subscription": { + "$ref": "examples/listDashboardsBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "description": "Gets all the dashboards within a subscription.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - Returns an array of dashboards.", + "schema": { + "$ref": "#/definitions/DashboardListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "DashboardListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Dashboard" + }, + "description": "The array of custom resource provider manifests." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + }, + "description": "List of dashboards." + }, + "DashboardParts": { + "type": "object", + "description": "A dashboard part.", + "required": [ + "position" + ], + "properties": { + "position": { + "type": "object", + "required": [ + "x", + "y", + "rowSpan", + "colSpan" + ], + "description": "The dashboard's part position.", + "properties": { + "x": { + "type": "number", + "description": "The dashboard's part x coordinate." + }, + "y": { + "type": "number", + "description": "The dashboard's part y coordinate." + }, + "rowSpan": { + "type": "number", + "description": "The dashboard's part row span." + }, + "colSpan": { + "type": "number", + "description": "The dashboard's part column span." + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "metadata": { + "description": "The dashboard part's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardLens": { + "type": "object", + "description": "A dashboard lens.", + "required": [ + "order", + "parts" + ], + "properties": { + "order": { + "type": "integer", + "description": "The lens order." + }, + "parts": { + "type": "object", + "description": "The dashboard parts.", + "additionalProperties": { + "$ref": "#/definitions/DashboardParts" + } + }, + "metadata": { + "description": "The dashboard len's metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DashboardProperties": { + "type": "object", + "description": "The shared dashboard properties.", + "properties": { + "lenses": { + "type": "object", + "description": "The dashboard lenses.", + "additionalProperties": { + "$ref": "#/definitions/DashboardLens" + } + }, + "metadata": { + "description": "The dashboard metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "Dashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "required": [ + "location" + ], + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "id": { + "readOnly": true, + "type": "string", + "description": "Resource Id" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Resource name" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "PatchableDashboard": { + "type": "object", + "description": "The shared dashboard resource definition.", + "x-ms-azure-resource": true, + "x-ms-client-flatten": true, + "properties": { + "properties": { + "description": "The shared dashboard properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/DashboardProperties" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + } + }, + "ResourceProviderOperationList": { + "type": "object", + "description": "Results of the request to list operations.", + "readOnly": true, + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceProviderOperation" + }, + "description": "List of operations supported by this resource provider." + }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + } + } + }, + "ResourceProviderOperation": { + "type": "object", + "description": "Supported operations of this resource provider.", + "readOnly": true, + "properties": { + "name": { + "description": "Operation name, in format of {provider}/{resource}/{operation}", + "type": "string" + }, + "isDataAction": { + "description": "Indicates whether the operation applies to data-plane.", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Resource provider: Microsoft Custom Providers.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Description of this operation.", + "type": "string" + } + } + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The error details." + } + } + }, + "ErrorDefinition": { + "type": "object", + "description": "Error definition.", + "properties": { + "code": { + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "Description of the error.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "Internal error details.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "DashboardNameParameter": { + "name": "dashboardName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the dashboard.", + "minLength": 3, + "maxLength": 64, + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "The API version to be used with the HTTP request." + } + } +} diff --git a/specification/portal/resource-manager/readme.go.md b/specification/portal/resource-manager/readme.go.md index b39132a5daf4..8f2749c5c9b2 100644 --- a/specification/portal/resource-manager/readme.go.md +++ b/specification/portal/resource-manager/readme.go.md @@ -14,6 +14,7 @@ go: ``` yaml $(go) && $(multiapi) batch: - tag: package-2019-01-01-preview + - tag: package-2018-10-01-preview - tag: package-2015-08-01-preview ``` @@ -26,6 +27,15 @@ Please also specify `--go-sdk-folder=`. + +```yaml $(tag) == 'package-2018-10-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-10-01-preview/$(namespace) +``` + ### Tag: package-2015-08-01-preview and go These settings apply only when `--tag=package-2015-08-01-preview --go` is specified on the command line. diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/readme.md index 230afe8ebc07..abc009c76169 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/readme.md @@ -33,11 +33,20 @@ tag: package-2019-01-01-preview These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line. -```yaml $(tag) == 'package-2019-01-01-preview' +``` yaml $(tag) == 'package-2019-01-01-preview' input-file: - Microsoft.Portal/preview/2019-01-01-preview/portal.json ``` +### Tag: package-2018-10-01-preview + +These settings apply only when `--tag=package-2018-10-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2018-10-01-preview' +input-file: + - Microsoft.Portal/preview/2018-10-01-preview/portal.json +``` + ### Tag: package-2015-08-01-preview These settings apply only when `--tag=package-2015-08-01-preview` is specified on the command line. diff --git a/specification/portal/resource-manager/readme.ruby.md b/specification/portal/resource-manager/readme.ruby.md index 02f8f695eec7..f553af5a1b9d 100644 --- a/specification/portal/resource-manager/readme.ruby.md +++ b/specification/portal/resource-manager/readme.ruby.md @@ -13,6 +13,7 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: - tag: package-2019-01-01-preview + - tag: package-2018-10-01-preview - tag: package-2015-08-01-preview ``` @@ -26,6 +27,16 @@ namespace: Microsoft.Portal output-folder: $(ruby-sdks-folder)/portal ``` +### Tag: package-2018-10-01-preview and ruby + +These settings apply only when `--tag=package-2018-10-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2018-10-01-preview' && $(ruby) +namespace: Microsoft.Portal +output-folder: $(ruby-sdks-folder)/portal +``` + ### Tag: package-2015-08-01-preview and ruby These settings apply only when `--tag=package-2015-08-01-preview --ruby` is specified on the command line. diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 2afd448086b8..23abb01bf972 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -62,6 +62,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -117,4 +118,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/powerbidedicated/resource-manager/readme.md b/specification/powerbidedicated/resource-manager/readme.md index c84486b6e7b8..61e4dda44f9e 100644 --- a/specification/powerbidedicated/resource-manager/readme.md +++ b/specification/powerbidedicated/resource-manager/readme.md @@ -50,6 +50,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md index 2ff6bf10e53a..0dcb8f6fd5ae 100644 --- a/specification/powerbiembedded/resource-manager/readme.md +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -51,6 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -73,7 +74,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.PowerBIEmbedded payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/PowerBIEmbedded/Management.PowerBIEmbedded/Generated + output-folder: $(csharp-sdks-folder)/powerbiembedded/Microsoft.Azure.Management.PowerBIEmbedded/src/Generated clear-output-folder: true ``` diff --git a/specification/privatedns/resource-manager/readme.md b/specification/privatedns/resource-manager/readme.md index e4d6f42d6e29..45d56df8ca0f 100644 --- a/specification/privatedns/resource-manager/readme.md +++ b/specification/privatedns/resource-manager/readme.md @@ -47,6 +47,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/recoveryservices/resource-manager/readme.md b/specification/recoveryservices/resource-manager/readme.md index 43493540d3db..510cbf338eeb 100644 --- a/specification/recoveryservices/resource-manager/readme.md +++ b/specification/recoveryservices/resource-manager/readme.md @@ -65,6 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 5e354243ecd0..49a096a15c5f 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -105,6 +105,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -127,7 +128,7 @@ csharp: payload-flattening-threshold: 1 license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.RecoveryServices.Backup - output-folder: $(csharp-sdks-folder)/RecoveryServices.Backup/Management.RecoveryServices.Backup/Generated + output-folder: $(csharp-sdks-folder)/recoveryservices-backup/Microsoft.Azure.Management.RecoveryServices.Backup/src/Generated clear-output-folder: true ``` @@ -137,4 +138,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index 6c91370facf5..275cf3356fc1 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -77,6 +77,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -98,7 +99,7 @@ csharp: payload-flattening-threshold: 0 license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.RecoveryServices.SiteRecovery - output-folder: $(csharp-sdks-folder)/RecoveryServices.SiteRecovery/Management.RecoveryServices.SiteRecovery/Generated + output-folder: $(csharp-sdks-folder)/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated clear-output-folder: true ``` @@ -108,4 +109,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md index 250fb9c857c3..e804147d137c 100644 --- a/specification/redis/resource-manager/readme.md +++ b/specification/redis/resource-manager/readme.md @@ -89,6 +89,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -224,4 +225,4 @@ directive: - $.definitions from: redis.json reason: This is false positive, 'linkedServers' is not a tracked resource. -``` \ No newline at end of file +``` diff --git a/specification/relay/resource-manager/readme.md b/specification/relay/resource-manager/readme.md index 4c172363e08a..3a1c1961914b 100644 --- a/specification/relay/resource-manager/readme.md +++ b/specification/relay/resource-manager/readme.md @@ -61,6 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 53ae7c66c525..98b03164cf29 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -67,6 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/resourcegraph/resource-manager/readme.md b/specification/resourcegraph/resource-manager/readme.md index 5c6145a13c9f..64160190ba23 100644 --- a/specification/resourcegraph/resource-manager/readme.md +++ b/specification/resourcegraph/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/resources/resource-manager/readme.csharp.md b/specification/resources/resource-manager/readme.csharp.md index bf4d6d5d5bdd..fa67a5f969f3 100644 --- a/specification/resources/resource-manager/readme.csharp.md +++ b/specification/resources/resource-manager/readme.csharp.md @@ -14,7 +14,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.ResourceManager -output-folder: $(csharp-sdks-folder)/Resource/Management.ResourceManager/Generated +output-folder: $(csharp-sdks-folder)/resources/Microsoft.Azure.Management.ResourceManager/src/Generated batch: - package-features: true diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 73ad41dbf524..7479d3bbb1d4 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -432,6 +432,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-resource#features diff --git a/specification/scheduler/resource-manager/readme.md b/specification/scheduler/resource-manager/readme.md index 335dcb4e91c8..7257b3eb08b1 100644 --- a/specification/scheduler/resource-manager/readme.md +++ b/specification/scheduler/resource-manager/readme.md @@ -69,6 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index 2b422a1a9f22..e6c083433705 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -60,6 +60,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json index 90fde4a64958..426dfb6bc744 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2018-06-01/pricings.json @@ -44,7 +44,7 @@ "tags": [ "Pricings" ], - "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", + "description": "Lists Security Center pricing configurations in the subscription.", "operationId": "Pricings_List", "parameters": [ { @@ -80,7 +80,7 @@ "tags": [ "Pricings" ], - "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", + "description": "Gets a provided Security Center pricing configuration in the subscription.", "operationId": "Pricings_Get", "parameters": [ { @@ -117,7 +117,7 @@ "tags": [ "Pricings" ], - "description": "A given security pricing configuration in the subscription. Azure Security Center is available in two pricing tiers: Free and Standard, on multiple resource types, including Virtual machines, SQL Servers, App service plans and Storage accounts.", + "description": "Updates a provided Security Center pricing configuration in the subscription.", "operationId": "Pricings_Update", "parameters": [ { @@ -152,7 +152,7 @@ }, "definitions": { "PricingList": { - "description": "List of pricing configurations response", + "description": "List of pricing configurations response.", "required": [ "value" ], @@ -168,7 +168,7 @@ }, "Pricing": { "type": "object", - "description": "Pricing tier will be applied for the scope based on the resource ID", + "description": "Azure Security Center is provided in two pricing tiers: free and standard, with the standard tier available with a trial period. The standard tier offers advanced security capabilities, while the free tier offers basic security features.", "properties": { "properties": { "x-ms-client-flatten": true, diff --git a/specification/security/resource-manager/readme.csharp.md b/specification/security/resource-manager/readme.csharp.md index b02e99f65eb3..aa0c8faf23b7 100644 --- a/specification/security/resource-manager/readme.csharp.md +++ b/specification/security/resource-manager/readme.csharp.md @@ -15,7 +15,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(profile) namespace: Microsoft.Azure.Management.Security - output-folder: $(csharp-sdks-folder)/SecurityCenter/Management.SecurityCenter/Generated + output-folder: $(csharp-sdks-folder)/securitycenter/Microsoft.Azure.Management.SecurityCenter/src/Generated ``` ## Batch settings diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 511a7d9162f4..6ce5c213e626 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -148,6 +148,120 @@ override-info: title: SecurityCenter ``` +### Tag: package-2015-06-preview-only + +These settings apply only when `--tag=package-2015-06-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2015-06-preview-only' +input-file: +- Microsoft.Security/preview/2015-06-01-preview/adaptiveNetworkHardenings.json +- Microsoft.Security/preview/2015-06-01-preview/alerts.json +- Microsoft.Security/preview/2015-06-01-preview/allowedConnections.json +- Microsoft.Security/preview/2015-06-01-preview/applicationWhitelistings.json +- Microsoft.Security/preview/2015-06-01-preview/discoveredSecuritySolutions.json +- Microsoft.Security/preview/2015-06-01-preview/externalSecuritySolutions.json +- Microsoft.Security/preview/2015-06-01-preview/jitNetworkAccessPolicies.json +- Microsoft.Security/preview/2015-06-01-preview/locations.json +- Microsoft.Security/preview/2015-06-01-preview/operations.json +- Microsoft.Security/preview/2015-06-01-preview/tasks.json +- Microsoft.Security/preview/2015-06-01-preview/topologies.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2017-08-preview-only + +These settings apply only when `--tag=package-2017-08-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-08-preview-only' +input-file: +- Microsoft.Security/preview/2017-08-01-preview/advancedThreatProtectionSettings.json +- Microsoft.Security/preview/2017-08-01-preview/autoProvisioningSettings.json +- Microsoft.Security/preview/2017-08-01-preview/compliances.json +- Microsoft.Security/preview/2017-08-01-preview/deviceSecurityGroups.json +- Microsoft.Security/preview/2017-08-01-preview/informationProtectionPolicies.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutionAnalytics.json +- Microsoft.Security/preview/2017-08-01-preview/iotSecuritySolutions.json +- Microsoft.Security/preview/2017-08-01-preview/pricings.json +- Microsoft.Security/preview/2017-08-01-preview/securityContacts.json +- Microsoft.Security/preview/2017-08-01-preview/settings.json +- Microsoft.Security/preview/2017-08-01-preview/workspaceSettings.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2019-01-preview-only + +These settings apply only when `--tag=package-2019-01-preview-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-01-preview-only' +input-file: +- Microsoft.Security/preview/2019-01-01-preview/regulatoryCompliance.json +- Microsoft.Security/preview/2019-01-01-preview/serverVulnerabilityAssessments.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2017-08-only + +These settings apply only when `--tag=package-2017-08-only` is specified on the command line. + +```yaml $(tag) == 'package-2017-08-only' +input-file: +- Microsoft.Security/stable/2017-08-01/complianceResults.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2018-06-only + +These settings apply only when `--tag=package-2018-06-only` is specified on the command line. + +```yaml $(tag) == 'package-2018-06-only' +input-file: +- Microsoft.Security/stable/2018-06-01/pricings.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2019-01-only + +These settings apply only when `--tag=package-2019-01-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-01-only' +input-file: +- Microsoft.Security/stable/2019-01-01/alerts.json +- Microsoft.Security/stable/2019-01-01/settings.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + +### Tag: package-2019-08-only + +These settings apply only when `--tag=package-2019-08-only` is specified on the command line. + +```yaml $(tag) == 'package-2019-08-only' +input-file: +- Microsoft.Security/stable/2019-08-01/iotSecuritySolutionAnalytics.json +- Microsoft.Security/stable/2019-08-01/iotSecuritySolutions.json + +# Needed when there is more than one input file +override-info: + title: SecurityCenter +``` + --- # Code Generation @@ -159,6 +273,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index 79f98bc11fcc..03a073788341 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -1131,11 +1131,47 @@ "Get an account entity.": { "$ref": "./examples/entities/GetAccountEntityById.json" }, - "Get an host entity.": { + "Get a host entity.": { "$ref": "./examples/entities/GetHostEntityById.json" }, - "Get an file entity.": { + "Get a file entity.": { "$ref": "./examples/entities/GetFileEntityById.json" + }, + "Get a security alert entity.": { + "$ref": "./examples/entities/GetSecurityAlertEntityById.json" + }, + "Get a file hash entity.": { + "$ref": "./examples/entities/GetFileHashEntityById.json" + }, + "Get a malware entity.": { + "$ref": "./examples/entities/GetMalwareEntityById.json" + }, + "Get a security group entity.": { + "$ref": "./examples/entities/GetSecurityGroupEntityById.json" + }, + "Get an azure resource entity.": { + "$ref": "./examples/entities/GetAzureResourceEntityById.json" + }, + "Get a cloud application entity.": { + "$ref": "./examples/entities/GetCloudApplicationEntityById.json" + }, + "Get a process entity.": { + "$ref": "./examples/entities/GetProcessEntityById.json" + }, + "Get a dns entity.": { + "$ref": "./examples/entities/GetDnsEntityById.json" + }, + "Get an ip entity.": { + "$ref": "./examples/entities/GetIpEntityById.json" + }, + "Get a registry key entity.": { + "$ref": "./examples/entities/GetRegistryKeyEntityById.json" + }, + "Get a registry value entity.": { + "$ref": "./examples/entities/GetRegistryValueEntityById.json" + }, + "Get a url entity.": { + "$ref": "./examples/entities/GetUrlEntityById.json" } }, "tags": [ @@ -1179,6 +1215,57 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand": { + "post": { + "x-ms-examples": { + "Expand an entity": { + "$ref": "./examples/entities/expand/PostExpandEntity.json" + } + }, + "tags": [ + "Entities" + ], + "description": "Expands an entity.", + "operationId": "Entities_Expand", + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, + { + "$ref": "#/parameters/WorkspaceName" + }, + { + "$ref": "#/parameters/EntityId" + }, + { + "$ref": "#/parameters/EntityExpandRequestBody" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EntityExpandResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents": { "get": { "x-ms-examples": { @@ -1737,35 +1824,7 @@ "description": "The description of the alert rule." }, "severity": { - "type": "string", - "enum": [ - "High", - "Medium", - "Low", - "Informational" - ], - "x-ms-enum": { - "name": "AlertSeverity", - "modelAsString": false, - "values": [ - { - "value": "High", - "description": "High severity" - }, - { - "value": "Medium", - "description": "Medium severity" - }, - { - "value": "Low", - "description": "Low severity" - }, - { - "value": "Informational", - "description": "Informational severity" - } - ] - }, + "$ref": "#/definitions/AlertSeverity", "description": "The severity for alerts created by this alert rule." }, "enabled": { @@ -1833,6 +1892,38 @@ "suppressionDuration" ] }, + "AlertSeverity": { + "type": "string", + "description": "The severity of the alert", + "enum": [ + "High", + "Medium", + "Low", + "Informational" + ], + "x-ms-enum": { + "name": "AlertSeverity", + "modelAsString": false, + "values": [ + { + "value": "High", + "description": "High severity" + }, + { + "value": "Medium", + "description": "Medium severity" + }, + { + "value": "Low", + "description": "Low severity" + }, + { + "value": "Informational", + "description": "Informational severity" + } + ] + } + }, "ActionsList": { "description": "List all the actions.", "properties": { @@ -2679,34 +2770,122 @@ }, "EntityKind": { "type": "object", - "description": "Describes an Azure resource with kind.", + "description": "Describes an entity with kind.", "properties": { "kind": { - "type": "string", - "description": "The kind of the entity", - "enum": [ - "Account", - "Host", - "File" - ], - "x-ms-enum": { - "name": "EntityKind", - "modelAsString": true, - "values": [ - { - "value": "Account", - "description": "Entity represents account in the system." - }, - { - "value": "Host", - "description": "Entity represents host in the system." - }, - { - "value": "File", - "description": "Entity represents file in the system." - } - ] + "description": "The kind of the entity.", + "$ref": "#/definitions/EntityInnerKind" + } + } + }, + "EntityInnerKind": { + "type": "string", + "description": "The kind of the entity", + "enum": [ + "Account", + "Host", + "File", + "AzureResource", + "CloudApplication", + "DnsResolution", + "FileHash", + "Ip", + "Malware", + "Process", + "RegistryKey", + "RegistryValue", + "SecurityGroup", + "Url", + "SecurityAlert", + "Bookmark" + ], + "x-ms-enum": { + "name": "EntityKind", + "modelAsString": true, + "values": [ + { + "value": "Account", + "description": "Entity represents account in the system." + }, + { + "value": "Host", + "description": "Entity represents host in the system." + }, + { + "value": "File", + "description": "Entity represents file in the system." + }, + { + "value": "AzureResource", + "description": "Entity represents azure resource in the system." + }, + { + "value": "CloudApplication", + "description": "Entity represents cloud application in the system." + }, + { + "value": "DnsResolution", + "description": "Entity represents dns resolution in the system." + }, + { + "value": "FileHash", + "description": "Entity represents file hash in the system." + }, + { + "value": "Ip", + "description": "Entity represents ip in the system." + }, + { + "value": "Malware", + "description": "Entity represents malware in the system." + }, + { + "value": "Process", + "description": "Entity represents process in the system." + }, + { + "value": "RegistryKey", + "description": "Entity represents registry key in the system." + }, + { + "value": "RegistryValue", + "description": "Entity represents registry value in the system." + }, + { + "value": "SecurityGroup", + "description": "Entity represents security group in the system." + }, + { + "value": "Url", + "description": "Entity represents url in the system." + }, + { + "value": "SecurityAlert", + "description": "Entity represents security alert in the system." + }, + { + "value": "Bookmark", + "description": "Entity represents bookmark in the system." } + ] + } + }, + "EntityCommonProperties": { + "type": "object", + "description": "Entity common property bag.", + "properties": { + "friendlyName": { + "type": "string", + "readOnly": true, + "description": "The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated." + }, + "additionalData": { + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true, + "description": "A bag of custom fields that should be part of the entity and will be presented to the user." } } }, @@ -2730,6 +2909,11 @@ "AccountEntityProperties": { "type": "object", "description": "Account entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], "properties": { "accountName": { "type": "string", @@ -2771,11 +2955,21 @@ "readOnly": true, "description": "Determines whether this is a domain account." }, + "displayName": { + "type": "string", + "readOnly": true, + "description": "The display name of the account." + }, "objectGuid": { "type": "string", "readOnly": true, "format": "uuid", "description": "The objectGUID attribute is a single-value attribute that is the unique identifier for the object, assigned by active directory." + }, + "hostEntityId": { + "type": "string", + "readOnly": true, + "description": "The Host entity id that contains the account in case it is a local account (not domain joined)" } } }, @@ -2799,6 +2993,11 @@ "HostEntityProperties": { "type": "object", "description": "Host entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], "properties": { "dnsDomain": { "type": "string", @@ -2894,6 +3093,11 @@ "FileEntityProperties": { "type": "object", "description": "File entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], "properties": { "directory": { "type": "string", @@ -2904,81 +3108,1240 @@ "type": "string", "readOnly": true, "description": "The file name without path (some alerts might not include path)." - } - } - }, - "OfficeConsentList": { - "description": "List of all the office365 consents.", - "properties": { - "nextLink": { + }, + "hostEntityId": { + "type": "string", "readOnly": true, - "description": "URL to fetch the next set of office consents.", - "type": "string" + "description": "The Host entity id which the file belongs to" }, - "value": { - "description": "Array of the consents.", + "fileHashEntityIds": { "type": "array", + "readOnly": true, "items": { - "$ref": "#/definitions/OfficeConsent" - } + "description": "file hash id", + "type": "string" + }, + "description": "The file hash entity identifiers associated with this file" } - }, - "required": [ - "value" - ] + } }, - "OfficeConsent": { + "SecurityAlert": { + "x-ms-discriminator-value": "SecurityAlert", "type": "object", - "description": "Consent for Office365 tenant that already made.", + "description": "Represents a security alert entity.", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/Entity" } ], "properties": { "properties": { "x-ms-client-flatten": true, - "description": "Office consent properties", - "$ref": "#/definitions/OfficeConsentProperties" + "description": "SecurityAlert entity properties", + "$ref": "#/definitions/SecurityAlertProperties" } } }, - "OfficeConsentProperties": { + "SecurityAlertProperties": { "type": "object", - "description": "Consent property bag.", - "properties": { - "tenantId": { - "type": "string", - "description": "The tenantId of the Office365 with the consent." - }, - "tenantName": { - "type": "string", - "readOnly": true, - "description": "The tenant name of the Office365 with the consent." + "description": "SecurityAlert entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" } - } - }, - "Resource": { - "x-ms-azure-resource": true, - "description": "An azure resource object", + ], "properties": { - "id": { + "systemAlertId": { "type": "string", "readOnly": true, - "description": "Azure resource Id" + "description": "Holds the product identifier of the alert for the product." }, - "type": { + "confidenceReasons": { + "type": "array", + "readOnly": true, + "description": "The confidence reasons", + "items": { + "type": "object", + "description": "confidence reason item", + "properties": { + "reasonType": { + "type": "string", + "readOnly": true, + "description": "The type (category) of the reason" + }, + "reason": { + "type": "string", + "readOnly": true, + "description": "The reason's description" + } + } + } + }, + "confidenceScoreStatus": { "type": "string", + "description": "The confidence score calculation status, i.e. indicating if score calculation is pending for this alert, not applicable or final.", "readOnly": true, - "description": "Azure resource type" + "enum": [ + "NotApplicable", + "InProcess", + "NotFinal", + "Final" + ], + "x-ms-enum": { + "name": "ConfidenceScoreStatus", + "modelAsString": true, + "values": [ + { + "value": "NotApplicable", + "description": "Score will not be calculated for this alert as it is not supported by virtual analyst" + }, + { + "value": "InProcess", + "description": "No score was set yet and calculation is in progress" + }, + { + "value": "NotFinal", + "description": "Score is calculated and shown as part of the alert, but may be updated again at a later time following the processing of additional data" + }, + { + "value": "Final", + "description": "Final score was calculated and available" + } + ] + } }, - "name": { + "intent": { "type": "string", + "description": "Holds the alert intent stage(s) mapping for this alert.", "readOnly": true, - "description": "Azure resource name" - } - } - }, + "enum": [ + "Unknown", + "Probing", + "Exploitation", + "Persistence", + "PrivilegeEscalation", + "DefenseEvasion", + "CredentialAccess", + "Discovery", + "LateralMovement", + "Execution", + "Collection", + "Exfiltration", + "CommandAndControl", + "Impact" + ], + "x-ms-enum": { + "name": "KillChainIntent", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "The default value." + }, + { + "value": "Probing", + "description": "Probing could be an attempt to access a certain resource regardless of a malicious intent or a failed attempt to gain access to a target system to gather information prior to exploitation. This step is usually detected as an attempt originating from outside the network in attempt to scan the target system and find a way in." + }, + { + "value": "Exploitation", + "description": "Exploitation is the stage where an attacker manage to get foothold on the attacked resource. This stage is applicable not only for compute hosts, but also for resources such as user accounts, certificates etc. Adversaries will often be able to control the resource after this stage." + }, + { + "value": "Persistence", + "description": "Persistence is any access, action, or configuration change to a system that gives an adversary a persistent presence on that system. Adversaries will often need to maintain access to systems through interruptions such as system restarts, loss of credentials, or other failures that would require a remote access tool to restart or alternate backdoor for them to regain access." + }, + { + "value": "PrivilegeEscalation", + "description": "Privilege escalation is the result of actions that allow an adversary to obtain a higher level of permissions on a system or network. Certain tools or actions require a higher level of privilege to work and are likely necessary at many points throughout an operation. User accounts with permissions to access specific systems or perform specific functions necessary for adversaries to achieve their objective may also be considered an escalation of privilege." + }, + { + "value": "DefenseEvasion", + "description": "Defense evasion consists of techniques an adversary may use to evade detection or avoid other defenses. Sometimes these actions are the same as or variations of techniques in other categories that have the added benefit of subverting a particular defense or mitigation. " + }, + { + "value": "CredentialAccess", + "description": "Credential access represents techniques resulting in access to or control over system, domain, or service credentials that are used within an enterprise environment. Adversaries will likely attempt to obtain legitimate credentials from users or administrator accounts (local system administrator or domain users with administrator access) to use within the network. With sufficient access within a network, an adversary can create accounts for later use within the environment." + }, + { + "value": "Discovery", + "description": "Discovery consists of techniques that allow the adversary to gain knowledge about the system and internal network. When adversaries gain access to a new system, they must orient themselves to what they now have control of and what benefits operating from that system give to their current objective or overall goals during the intrusion. The operating system provides many native tools that aid in this post-compromise information-gathering phase." + }, + { + "value": "LateralMovement", + "description": "Lateral movement consists of techniques that enable an adversary to access and control remote systems on a network and could, but does not necessarily, include execution of tools on remote systems. The lateral movement techniques could allow an adversary to gather information from a system without needing additional tools, such as a remote access tool. An adversary can use lateral movement for many purposes, including remote Execution of tools, pivoting to additional systems, access to specific information or files, access to additional credentials, or to cause an effect." + }, + { + "value": "Execution", + "description": "The execution tactic represents techniques that result in execution of adversary-controlled code on a local or remote system. This tactic is often used in conjunction with lateral movement to expand access to remote systems on a network." + }, + { + "value": "Collection", + "description": "Collection consists of techniques used to identify and gather information, such as sensitive files, from a target network prior to exfiltration. This category also covers locations on a system or network where the adversary may look for information to exfiltrate." + }, + { + "value": "Exfiltration", + "description": "Exfiltration refers to techniques and attributes that result or aid in the adversary removing files and information from a target network. This category also covers locations on a system or network where the adversary may look for information to exfiltrate." + }, + { + "value": "CommandAndControl", + "description": "The command and control tactic represents how adversaries communicate with systems under their control within a target network." + }, + { + "value": "Impact", + "description": "The impact intent primary objective is to directly reduce the availability or integrity of a system, service, or network; including manipulation of data to impact a business or operational process. This would often refer to techniques such as ransom-ware, defacement, data manipulation and others." + } + ] + } + }, + "confidenceScore": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The confidence score of the alert." + }, + "alertDisplayName": { + "type": "string", + "readOnly": true, + "description": "The display name of the alert." + }, + "description": { + "type": "string", + "readOnly": true, + "description": "Alert description." + }, + "remediationSteps": { + "type": "array", + "readOnly": true, + "description": "Manual action items to take to remediate the alert.", + "items": { + "type": "string" + } + }, + "confidenceLevel": { + "type": "string", + "description": "The confidence level of this alert.", + "readOnly": true, + "enum": [ + "Unknown", + "Low", + "High" + ], + "x-ms-enum": { + "name": "ConfidenceLevel", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Unknown confidence, the is the default value" + }, + { + "value": "Low", + "description": "Low confidence, meaning we have some doubts this is indeed malicious or part of an attack" + }, + { + "value": "High", + "description": "High confidence that the alert is true positive malicious" + } + ] + } + }, + "severity": { + "$ref": "#/definitions/AlertSeverity", + "description": "The severity of the alert" + }, + "vendorName": { + "type": "string", + "readOnly": true, + "description": "The name of the vendor that raise the alert." + }, + "productName": { + "type": "string", + "readOnly": true, + "description": "The name of the product which published this alert." + }, + "productComponentName": { + "type": "string", + "readOnly": true, + "description": "The name of a component inside the product which generated the alert." + }, + "alertType": { + "type": "string", + "readOnly": true, + "description": "The type name of the alert." + }, + "productVersion": { + "type": "string", + "readOnly": true, + "description": "The version of the product generating the alert." + }, + "processingEndTime": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time the alert was made available for consumption." + }, + "status": { + "type": "string", + "description": "The lifecycle status of the alert.", + "readOnly": true, + "enum": [ + "Unknown", + "New", + "Resolved", + "Dismissed", + "InProgress" + ], + "x-ms-enum": { + "name": "AlertStatus", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Unknown value" + }, + { + "value": "New", + "description": "New alert" + }, + { + "value": "Resolved", + "description": "Alert closed after handling" + }, + { + "value": "Dismissed", + "description": "Alert dismissed as false positive" + }, + { + "value": "InProgress", + "description": "Alert is being handled" + } + ] + } + }, + "endTimeUtc": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The impact end time of the alert (the time of the last event contributing to the alert)." + }, + "startTimeUtc": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The impact start time of the alert (the time of the first event contributing to the alert)." + }, + "timeGenerated": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time the alert was generated." + }, + "compromisedEntity": { + "type": "string", + "readOnly": true, + "description": "Display name of the main entity being reported on." + } + } + }, + "FileHashEntity": { + "x-ms-discriminator-value": "FileHash", + "type": "object", + "description": "Represents a file hash entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "FileHash entity properties", + "$ref": "#/definitions/FileHashEntityProperties" + } + } + }, + "FileHashEntityProperties": { + "type": "object", + "description": "FileHash entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "hashValue": { + "type": "string", + "readOnly": true, + "description": "The file hash value." + }, + "algorithm": { + "type": "string", + "description": "The hash algorithm type.", + "readOnly": true, + "enum": [ + "Unknown", + "MD5", + "SHA1", + "SHA256", + "SHA256AC" + ], + "x-ms-enum": { + "name": "FileHashAlgorithm", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "Unknown hash algorithm" + }, + { + "value": "MD5", + "description": "MD5 hash type" + }, + { + "value": "SHA1", + "description": "SHA1 hash type" + }, + { + "value": "SHA256", + "description": "SHA256 hash type" + }, + { + "value": "SHA256AC", + "description": "SHA256 Authenticode hash type" + } + ] + } + } + } + }, + "MalwareEntity": { + "x-ms-discriminator-value": "Malware", + "type": "object", + "description": "Represents a malware entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "File entity properties", + "$ref": "#/definitions/MalwareEntityProperties" + } + } + }, + "MalwareEntityProperties": { + "type": "object", + "description": "Malware entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "malwareName": { + "type": "string", + "readOnly": true, + "description": "The malware name by the vendor, e.g. Win32/Toga!rfn" + }, + "category": { + "type": "string", + "readOnly": true, + "description": "The malware category by the vendor, e.g. Trojan" + }, + "fileEntityIds": { + "type": "array", + "readOnly": true, + "items": { + "description": "file entity id", + "type": "string" + }, + "description": "List of linked file entity identifiers on which the malware was found" + }, + "processEntityIds": { + "type": "array", + "readOnly": true, + "items": { + "description": "process entity id", + "type": "string" + }, + "description": "List of linked process entity identifiers on which the malware was found." + } + } + }, + "SecurityGroupEntity": { + "x-ms-discriminator-value": "SecurityGroup", + "type": "object", + "description": "Represents a security group entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "SecurityGroup entity properties", + "$ref": "#/definitions/SecurityGroupEntityProperties" + } + } + }, + "SecurityGroupEntityProperties": { + "type": "object", + "description": "SecurityGroup entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "distinguishedName": { + "type": "string", + "readOnly": true, + "description": "The group distinguished name" + }, + "sid": { + "type": "string", + "readOnly": true, + "description": "The SID attribute is a single-value attribute that specifies the security identifier (SID) of the group" + }, + "objectGuid": { + "type": "string", + "format": "uuid", + "readOnly": true, + "description": "A single-value attribute that is the unique identifier for the object, assigned by active directory." + } + } + }, + "AzureResourceEntity": { + "x-ms-discriminator-value": "AzureResource", + "type": "object", + "description": "Represents an azure resource entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "AzureResource entity properties", + "$ref": "#/definitions/AzureResourceEntityProperties" + } + } + }, + "AzureResourceEntityProperties": { + "type": "object", + "description": "AzureResource entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "resourceId": { + "type": "string", + "readOnly": true, + "description": "The azure resource id of the resource" + } + } + }, + "CloudApplicationEntity": { + "x-ms-discriminator-value": "CloudApplication", + "type": "object", + "description": "Represents a cloud application entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "CloudApplication entity properties", + "$ref": "#/definitions/CloudApplicationEntityProperties" + } + } + }, + "CloudApplicationEntityProperties": { + "type": "object", + "description": "CloudApplication entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "appId": { + "type": "integer", + "readOnly": true, + "description": "The technical identifier of the application." + }, + "appName": { + "type": "string", + "readOnly": true, + "description": "The name of the related cloud application." + }, + "instanceName": { + "type": "string", + "readOnly": true, + "description": "The user defined instance name of the cloud application. It is often used to distinguish between several applications of the same type that a customer has." + } + } + }, + "ProcessEntity": { + "x-ms-discriminator-value": "Process", + "type": "object", + "description": "Represents a process entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Process entity properties", + "$ref": "#/definitions/ProcessEntityProperties" + } + } + }, + "ProcessEntityProperties": { + "type": "object", + "description": "Process entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "processId": { + "type": "string", + "readOnly": true, + "description": "The process ID" + }, + "commandLine": { + "type": "string", + "readOnly": true, + "description": "The command line used to create the process" + }, + "elevationToken": { + "type": "string", + "enum": [ + "Default", + "Full", + "Limited" + ], + "x-ms-enum": { + "name": "ElevationToken", + "modelAsString": false, + "values": [ + { + "value": "Default", + "description": "Default elevation token" + }, + { + "value": "Full", + "description": "Full elevation token" + }, + { + "value": "Limited", + "description": "Limited elevation token" + } + ] + }, + "description": "The elevation token associated with the process." + }, + "creationTimeUtc": { + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The time when the process started to run" + }, + "imageFileEntityId": { + "type": "string", + "readOnly": true, + "description": "Image file entity id" + }, + "accountEntityId": { + "type": "string", + "readOnly": true, + "description": "The account entity id running the processes." + }, + "parentProcessEntityId": { + "type": "string", + "readOnly": true, + "description": "The parent process entity id." + }, + "hostEntityId": { + "type": "string", + "readOnly": true, + "description": "The host entity id on which the process was running" + }, + "hostLogonSessionEntityId": { + "type": "string", + "readOnly": true, + "description": "The session entity id in which the process was running" + } + } + }, + "DnsEntity": { + "x-ms-discriminator-value": "DnsResolution", + "type": "object", + "description": "Represents a dns entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Dns entity properties", + "$ref": "#/definitions/DnsEntityProperties" + } + } + }, + "DnsEntityProperties": { + "type": "object", + "description": "Dns entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "domainName": { + "type": "string", + "readOnly": true, + "description": "The name of the dns record associated with the alert" + }, + "ipAddressEntityIds": { + "type": "array", + "readOnly": true, + "items": { + "description": "Ip entity id", + "type": "string" + }, + "description": "Ip entity identifiers for the resolved ip address." + }, + "dnsServerIpEntityId": { + "type": "string", + "readOnly": true, + "description": "An ip entity id for the dns server resolving the request" + }, + "hostIpAddressEntityId": { + "type": "string", + "readOnly": true, + "description": "An ip entity id for the dns request client" + } + } + }, + "IpEntity": { + "x-ms-discriminator-value": "Ip", + "type": "object", + "description": "Represents an ip entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Ip entity properties", + "$ref": "#/definitions/IpEntityProperties" + } + } + }, + "IpEntityProperties": { + "type": "object", + "description": "Ip entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "address": { + "type": "string", + "readOnly": true, + "description": "The IP address as string, e.g. 127.0.0.1 (either in Ipv4 or Ipv6)" + }, + "location": { + "$ref": "#/definitions/GeoLocation", + "description": "The geo-location context attached to the ip entity" + }, + "threatIntelligence": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ThreatIntelligence" + }, + "description": "A list of TI contexts attached to the ip entity." + } + } + }, + "GeoLocation": { + "type": "object", + "readOnly": true, + "description": "The geo-location context attached to the ip entity", + "properties": { + "countryCode": { + "type": "string", + "readOnly": true, + "description": "The country code according to ISO 3166 format" + }, + "countryName": { + "type": "string", + "readOnly": true, + "description": "Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name" + }, + "state": { + "type": "string", + "readOnly": true, + "description": "State name" + }, + "city": { + "type": "string", + "readOnly": true, + "description": "City name" + }, + "longitude": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The latitude of the identified location, expressed as a floating point number with range of - 90 to 90, with positive numbers representing North and negative numbers representing South. Latitude and longitude are derived from the city or postal code." + }, + "latitude": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "The longitude of the identified location, expressed as a floating point number with range of -180 to 180, with positive numbers representing East and negative numbers representing West. Latitude and longitude are derived from the city or postal code." + }, + "asn": { + "type": "integer", + "readOnly": true, + "description": "Autonomous System Number" + } + } + }, + "ThreatIntelligence": { + "type": "object", + "description": "ThreatIntelligence property bag.", + "properties": { + "providerName": { + "type": "string", + "readOnly": true, + "description": "Name of the provider from whom this Threat Intelligence information was received" + }, + "threatType": { + "type": "string", + "readOnly": true, + "description": "Threat type (e.g. \"Botnet\")" + }, + "threatName": { + "type": "string", + "readOnly": true, + "description": "Threat name (e.g. \"Jedobot malware\")" + }, + "confidence": { + "type": "number", + "format": "double", + "readOnly": true, + "description": "Confidence (must be between 0 and 1)" + }, + "reportLink": { + "type": "string", + "readOnly": true, + "description": "Report link" + }, + "threatDescription": { + "type": "string", + "readOnly": true, + "description": "Threat description (free text)" + } + } + }, + "RegistryKeyEntity": { + "x-ms-discriminator-value": "RegistryKey", + "type": "object", + "description": "Represents a registry key entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "RegistryKey entity properties", + "$ref": "#/definitions/RegistryKeyEntityProperties" + } + } + }, + "RegistryKeyEntityProperties": { + "type": "object", + "description": "RegistryKey entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "hive": { + "type": "string", + "description": "the hive that holds the registry key.", + "readOnly": true, + "enum": [ + "HKEY_LOCAL_MACHINE", + "HKEY_CLASSES_ROOT", + "HKEY_CURRENT_CONFIG", + "HKEY_USERS", + "HKEY_CURRENT_USER_LOCAL_SETTINGS", + "HKEY_PERFORMANCE_DATA", + "HKEY_PERFORMANCE_NLSTEXT", + "HKEY_PERFORMANCE_TEXT", + "HKEY_A", + "HKEY_CURRENT_USER" + ], + "x-ms-enum": { + "name": "RegistryHive", + "modelAsString": true, + "values": [ + { + "value": "HKEY_LOCAL_MACHINE", + "description": "HKEY_LOCAL_MACHINE" + }, + { + "value": "HKEY_CLASSES_ROOT", + "description": "HKEY_CLASSES_ROOT" + }, + { + "value": "HKEY_CURRENT_CONFIG", + "description": "HKEY_CURRENT_CONFIG" + }, + { + "value": "HKEY_USERS", + "description": "HKEY_USERS" + }, + { + "value": "HKEY_CURRENT_USER_LOCAL_SETTINGS", + "description": "HKEY_CURRENT_USER_LOCAL_SETTINGS" + }, + { + "value": "HKEY_PERFORMANCE_DATA", + "description": "HKEY_PERFORMANCE_DATA" + }, + { + "value": "HKEY_PERFORMANCE_NLSTEXT", + "description": "HKEY_PERFORMANCE_NLSTEXT" + }, + { + "value": "HKEY_PERFORMANCE_TEXT", + "description": "HKEY_PERFORMANCE_TEXT" + }, + { + "value": "HKEY_A", + "description": "HKEY_A" + }, + { + "value": "HKEY_CURRENT_USER", + "description": "HKEY_CURRENT_USER" + } + ] + } + }, + "key": { + "type": "string", + "readOnly": true, + "description": "The registry key path." + } + } + }, + "RegistryValueEntity": { + "x-ms-discriminator-value": "RegistryValue", + "type": "object", + "description": "Represents a registry value entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "RegistryKey entity properties", + "$ref": "#/definitions/RegistryValueEntityProperties" + } + } + }, + "RegistryValueEntityProperties": { + "type": "object", + "description": "RegistryValue entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "valueName": { + "type": "string", + "readOnly": true, + "description": "The registry value name." + }, + "valueData": { + "type": "string", + "readOnly": true, + "description": "String formatted representation of the value data." + }, + "valueType": { + "type": "string", + "description": "Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.", + "readOnly": true, + "enum": [ + "None", + "Unknown", + "String", + "ExpandString", + "Binary", + "DWord", + "MultiString", + "QWord" + ], + "x-ms-enum": { + "name": "RegistryValueKind", + "modelAsString": true, + "values": [ + { + "value": "None", + "description": "None" + }, + { + "value": "Unknown", + "description": "Unknown value type" + }, + { + "value": "String", + "description": "String value type" + }, + { + "value": "ExpandString", + "description": "ExpandString value type" + }, + { + "value": "Binary", + "description": "Binary value type" + }, + { + "value": "DWord", + "description": "DWord value type" + }, + { + "value": "MultiString", + "description": "MultiString value type" + }, + { + "value": "QWord", + "description": "QWord value type" + } + ] + } + }, + "keyEntityId": { + "type": "string", + "readOnly": true, + "description": "The registry key entity id." + } + } + }, + "UrlEntity": { + "x-ms-discriminator-value": "Url", + "type": "object", + "description": "Represents a url entity.", + "allOf": [ + { + "$ref": "#/definitions/Entity" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Url entity properties", + "$ref": "#/definitions/UrlEntityProperties" + } + } + }, + "UrlEntityProperties": { + "type": "object", + "description": "Url entity property bag.", + "allOf": [ + { + "$ref": "#/definitions/EntityCommonProperties" + } + ], + "properties": { + "url": { + "type": "string", + "readOnly": true, + "description": "A full URL the entity points to" + } + } + }, + "EntityExpandParameters": { + "description": "The parameters required to execute an expand operation on the given entity.", + "properties": { + "expansionId": { + "type": "string", + "format": "uuid", + "description": "The Id of the expansion to perform." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start date filter, so the only expansion results returned are after this date." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end date filter, so the only expansion results returned are before this date." + } + } + }, + "EntityExpandResponse": { + "properties": { + "value": { + "type": "object", + "description": "The expansion result values.", + "properties": { + "entities": { + "type": "array", + "items": { + "$ref": "#/definitions/Entity" + }, + "description": "Array of the expansion result entities." + } + } + }, + "metaData": { + "$ref": "#/definitions/ExpansionResultsMetadata", + "description": "The metadata from the expansion operation results." + } + }, + "description": "The entity expansion result operation response." + }, + "ExpansionResultsMetadata": { + "type": "object", + "description": "Expansion result metadata.", + "properties": { + "aggregations": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpansionResultAggregation" + }, + "description": "Information of the aggregated nodes in the expansion result." + } + } + }, + "ExpansionResultAggregation": { + "type": "object", + "description": "Information of a specific aggregation in the expansion result.", + "properties": { + "entityKind": { + "description": "The kind of the aggregated entity.", + "$ref": "#/definitions/EntityInnerKind" + }, + "count": { + "type": "integer", + "description": "Total number of aggregations of the given kind (and aggregationType if given) in the expansion result." + }, + "aggregationType": { + "type": "string", + "description": "The common type of the aggregation. (for e.g. entity field name)" + }, + "displayName": { + "type": "string", + "description": "The display name of the aggregation by type." + } + }, + "required": [ + "entityKind", + "count" + ] + }, + "OfficeConsentList": { + "description": "List of all the office365 consents.", + "properties": { + "nextLink": { + "readOnly": true, + "description": "URL to fetch the next set of office consents.", + "type": "string" + }, + "value": { + "description": "Array of the consents.", + "type": "array", + "items": { + "$ref": "#/definitions/OfficeConsent" + } + } + }, + "required": [ + "value" + ] + }, + "OfficeConsent": { + "type": "object", + "description": "Consent for Office365 tenant that already made.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Office consent properties", + "$ref": "#/definitions/OfficeConsentProperties" + } + } + }, + "OfficeConsentProperties": { + "type": "object", + "description": "Consent property bag.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenantId of the Office365 with the consent." + }, + "tenantName": { + "type": "string", + "readOnly": true, + "description": "The tenant name of the Office365 with the consent." + } + } + }, + "Resource": { + "x-ms-azure-resource": true, + "description": "An azure resource object", + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" + } + } + }, "Settings": { "type": "object", "description": "The Setting.", @@ -3259,7 +4622,7 @@ "description": "The template query string to be parsed and formatted" }, "inputEntityType": { - "type": "string", + "$ref": "#/definitions/EntityInnerType", "description": "The type of the query's source entity" }, "inputFields": { @@ -3274,7 +4637,7 @@ "type": "array", "items": { "description": "output entity type", - "type": "string" + "$ref": "#/definitions/EntityInnerType" }, "description": "List of the desired output types to be constructed from the result" }, @@ -3291,6 +4654,98 @@ "description": "The query display name" } } + }, + "EntityInnerType": { + "type": "string", + "description": "The type of the entity", + "enum": [ + "Account", + "Host", + "File", + "AzureResource", + "CloudApplication", + "DNS", + "FileHash", + "IP", + "Malware", + "Process", + "RegistryKey", + "RegistryValue", + "SecurityGroup", + "URL", + "SecurityAlert", + "HuntingBookmark" + ], + "x-ms-enum": { + "name": "EntityType", + "modelAsString": true, + "values": [ + { + "value": "Account", + "description": "Entity represents account in the system." + }, + { + "value": "Host", + "description": "Entity represents host in the system." + }, + { + "value": "File", + "description": "Entity represents file in the system." + }, + { + "value": "AzureResource", + "description": "Entity represents azure resource in the system." + }, + { + "value": "CloudApplication", + "description": "Entity represents cloud application in the system." + }, + { + "value": "DNS", + "description": "Entity represents dns in the system." + }, + { + "value": "FileHash", + "description": "Entity represents file hash in the system." + }, + { + "value": "IP", + "description": "Entity represents ip in the system." + }, + { + "value": "Malware", + "description": "Entity represents malware in the system." + }, + { + "value": "Process", + "description": "Entity represents process in the system." + }, + { + "value": "RegistryKey", + "description": "Entity represents registry key in the system." + }, + { + "value": "RegistryValue", + "description": "Entity represents registry value in the system." + }, + { + "value": "SecurityGroup", + "description": "Entity represents security group in the system." + }, + { + "value": "URL", + "description": "Entity represents url in the system." + }, + { + "value": "SecurityAlert", + "description": "Entity represents security alert in the system." + }, + { + "value": "HuntingBookmark", + "description": "Entity represents HuntingBookmark in the system." + } + ] + } } }, "parameters": { @@ -3439,6 +4894,16 @@ "description": "entity ID", "x-ms-parameter-location": "method" }, + "EntityExpandRequestBody": { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/EntityExpandParameters" + }, + "description": "The parameters required to execute an expand operation on the given entity.", + "x-ms-parameter-location": "method" + }, "ConsentId": { "name": "consentId", "in": "path", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json index cee95c7a2e79..308ad74facfe 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAccountEntityById.json @@ -15,6 +15,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "Account", "properties": { + "friendlyName": "administrator", "accountName": "administrator", "ntDomain": "domain", "upnSuffix": "contoso", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json new file mode 100644 index 000000000000..97929b3d5a02 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetAzureResourceEntityById.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "AzureResource", + "properties": { + "friendlyName": "Resource", + "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.Compute/virtualMachines/vm1" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json new file mode 100644 index 000000000000..31067cee831f --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetCloudApplicationEntityById.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "CloudApplication", + "properties": { + "friendlyName": "AppName", + "appId": 1, + "appName": "AppName", + "instanceName": "InstanceName" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json new file mode 100644 index 000000000000..38ea66b5c8d7 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetDnsEntityById.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "f4e74920-f2c0-4412-a45f-66d94fdf01f8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/f4e74920-f2c0-4412-a45f-66d94fdf01f8", + "name": "f4e74920-f2c0-4412-a45f-66d94fdf01f8", + "type": "Microsoft.SecurityInsights/entities", + "kind": "DnsResolution", + "properties": { + "friendlyName": "domain", + "domainName": "domain", + "ipAddressEntityIds": [ + "475d3120-33e0-4841-9f1c-a8f15a801d19" + ] + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json index 7e5b63413caf..40cf28f9ce3a 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetEntities.json @@ -16,6 +16,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "Account", "properties": { + "friendlyName": "administrator", "accountName": "administrator", "ntDomain": "domain", "upnSuffix": "contoso", @@ -28,11 +29,12 @@ } }, { - "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", - "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/fed9fe89-dce8-40f2-bf44-70f23fe93b3c", + "name": "fed9fe89-dce8-40f2-bf44-70f23fe93b3c", "type": "Microsoft.SecurityInsights/entities", "kind": "Host", "properties": { + "friendlyName": "vm1", "dnsDomain": "contoso", "ntDomain": "domain", "hostName": "vm1", @@ -50,6 +52,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "File", "properties": { + "friendlyName": "cmd.exe", "directory": "C:\\Windows\\System32", "fileName": "cmd.exe" } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json index 75802c19e19a..4a3bcc139f44 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileEntityById.json @@ -15,6 +15,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "File", "properties": { + "friendlyName": "cmd.exe", "directory": "C:\\Windows\\System32", "fileName": "cmd.exe" } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json new file mode 100644 index 000000000000..54f495799839 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetFileHashEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "ea359fa6-c1e5-f878-e105-6344f3e399a1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/ea359fa6-c1e5-f878-e105-6344f3e399a1", + "name": "ea359fa6-c1e5-f878-e105-6344f3e399a1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "FileHash", + "properties": { + "friendlyName": "E923636F1093C414AAB39F846E9D7A372BEEFA7B628B28179197E539C56AA0F0(SHA256)", + "hashValue": "E923636F1093C414AAB39F846E9D7A372BEEFA7B628B28179197E539C56AA0F0", + "algorithm": "SHA256" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json index aacb859bc369..8674609f90db 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetHostEntityById.json @@ -15,6 +15,7 @@ "type": "Microsoft.SecurityInsights/entities", "kind": "Host", "properties": { + "friendlyName": "vm1", "dnsDomain": "contoso", "ntDomain": "domain", "hostName": "vm1", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json new file mode 100644 index 000000000000..e4b40831f8a9 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetIpEntityById.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Ip", + "properties": { + "friendlyName": "10.3.2.8", + "address": "10.3.2.8" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json new file mode 100644 index 000000000000..77bcffb266ba --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetMalwareEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "af378b21-b4aa-4fe7-bc70-13f8621a322f" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/af378b21-b4aa-4fe7-bc70-13f8621a322f", + "name": "af378b21-b4aa-4fe7-bc70-13f8621a322f", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Malware", + "properties": { + "malwareName": "Win32/Toga!rfn", + "category": "Trojan", + "friendlyName": "Win32/Toga!rfn" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json new file mode 100644 index 000000000000..e3b3d000424f --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetProcessEntityById.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "7264685c-038c-42c6-948c-38e14ef1fb98" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/7264685c-038c-42c6-948c-38e14ef1fb98", + "name": "7264685c-038c-42c6-948c-38e14ef1fb98", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Process", + "properties": { + "friendlyName": "cmd.exe", + "processId": "0x2aa48", + "commandLine": "\"cmd\"", + "imageFileEntityId": "bba7b47b-c1c1-4021-b568-5b07b9292f5e" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json new file mode 100644 index 000000000000..429e932a5114 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryKeyEntityById.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "RegistryKey", + "properties": { + "friendlyName": "SOFTWARE", + "hive": "HKEY_LOCAL_MACHINE", + "key": "SOFTWARE" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json new file mode 100644 index 000000000000..87d59b560965 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetRegistryValueEntityById.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "dc44bd11-b348-4d76-ad29-37bf7aa41356" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/dc44bd11-b348-4d76-ad29-37bf7aa41356", + "name": "dc44bd11-b348-4d76-ad29-37bf7aa41356", + "type": "Microsoft.SecurityInsights/entities", + "kind": "RegistryValue", + "properties": { + "friendlyName": "Data", + "valueName": "Name", + "valueData": "Data", + "valueType": "String", + "keyEntityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json new file mode 100644 index 000000000000..4c3ca8bd57b6 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityAlertEntityById.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "4aa486e0-6f85-41af-99ea-7acdce7be6c8" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/4aa486e0-6f85-41af-99ea-7acdce7be6c8", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "SecurityAlert", + "properties": { + "systemAlertId": "4aa486e0-6f85-41af-99ea-7acdce7be6c8", + "intent": "Unknown", + "alertDisplayName": "Suspicious account detected", + "description": "", + "confidenceLevel": "Unknown", + "severity": "Medium", + "vendorName": "Microsoft", + "productName": "Azure Sentinel", + "productComponentName": "Scheduled Alerts", + "alertType": "c8c99641-985d-4e4e-8e91-fb3466cd0e5b_46c7b6c0-ff43-44dd-8b4d-ceffff7aa7df", + "processingEndTime": "2019-07-06T13:56:53.5392366Z", + "status": "New", + "endTimeUtc": "2019-07-06T13:21:45.926185Z", + "startTimeUtc": "2019-07-06T08:21:45.926185Z", + "timeGenerated": "2019-07-06T13:56:53.5392366Z", + "additionalData": { + "Query": "Heartbeat \n| extend AccountCustomEntity = \"administrator\"", + "Query Period": "05:00:00", + "Trigger Operator": "GreaterThan", + "Trigger Threshold": "200", + "Search Query Results Overall Count": "203", + "Total Account Entities": "1" + }, + "friendlyName": "Suspicious account detected" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json new file mode 100644 index 000000000000..856ea6f4465d --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetSecurityGroupEntityById.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "SecurityGroup", + "properties": { + "friendlyName": "Group", + "distinguishedName": "Name", + "sid": "Sid", + "objectGuid": "fb1b8e04-d944-4986-b39a-1ce9adedcd98" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json new file mode 100644 index 000000000000..f5ab8cdd25da --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/GetUrlEntityById.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Url", + "properties": { + "friendlyName": "https://bing.com", + "url": "https://bing.com" + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json new file mode 100644 index 000000000000..9f9c8e485634 --- /dev/null +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entities/expand/PostExpandEntity.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2019-01-01-preview", + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", + "resourceGroupName": "myRg", + "workspaceName": "myWorkspace", + "operationalInsightsResourceProvider": "Microsoft.OperationalIinsights", + "entityId": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "parameters": { + "expansionId": "a77992f3-25e9-4d01-99a4-5ff606cc410a", + "startTime": "2019-04-25T00:00:00.000Z", + "endTime": "2019-05-26T00:00:00.000Z" + } + }, + "responses": { + "200": { + "body": { + "value": { + "entities": [ + { + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/entities/e1d3d618-e11f-478b-98e3-bb381539a8e1", + "name": "e1d3d618-e11f-478b-98e3-bb381539a8e1", + "type": "Microsoft.SecurityInsights/entities", + "kind": "Account", + "properties": { + "friendlyName": "administrator", + "accountName": "administrator", + "ntDomain": "domain" + } + } + ] + }, + "metaData": { + "aggregations": [ + { + "entityKind": "Account", + "count": 1 + } + ] + } + } + } + } +} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json index 10b8e4a1a0bf..d3934569dca5 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueries.json @@ -15,9 +15,9 @@ "name": "37ca3555-c135-4a73-a65e-9c1d00323f5d", "type": "Microsoft.SecurityInsights/entityQueries", "properties": { - "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count asc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", + "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count asc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", "inputFields": [ - "Address" + "address" ], "outputEntityTypes": [ "Account" @@ -25,7 +25,7 @@ "dataSources": [ "AzureActivity" ], - "inputEntityType": "Ip", + "inputEntityType": "IP", "displayName": "Least active accounts on Azure from this IP" } }, @@ -34,9 +34,9 @@ "name": "97a1d515-abf2-4231-9a35-985f9de0bb91", "type": "Microsoft.SecurityInsights/entityQueries", "properties": { - "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count desc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", + "queryTemplate": "let AccountActivity_byIP = (v_IP_Address:string){\r\n AzureActivity\r\n | where Caller != '' and CallerIpAddress == v_IP_Address\r\n | summarize Account_Aux_StartTime = min(TimeGenerated), Account_Aux_EndTime = max(TimeGenerated), Count = count() by Caller, TenantId\r\n | top 10 by Count desc nulls last \r\n | extend UPN = iff(Caller contains '@', Caller, ''), Account_AadUserId = iff(Caller !contains '@', Caller,'')\r\n | extend Account_Name = split(UPN,'@')[0] , Account_UPNSuffix = split(UPN,'@')[1]\r\n | project Account_Name, Account_UPNSuffix, Account_AadUserId, Account_AadTenantId=TenantId, Account_Aux_StartTime , Account_Aux_EndTime};\r\n AccountActivity_byIP('
')", "inputFields": [ - "Address" + "address" ], "outputEntityTypes": [ "Account" @@ -44,7 +44,7 @@ "dataSources": [ "AzureActivity" ], - "inputEntityType": "Ip", + "inputEntityType": "IP", "displayName": "Most active accounts on Azure from this IP" } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json index 09c7622f7d57..6e7ccb5bdd66 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/examples/entityQueries/GetEntityQueryById.json @@ -14,9 +14,9 @@ "name": "07da3cc8-c8ad-4710-a44e-334cdcb7882b", "type": "Microsoft.SecurityInsights/entityQueries", "properties": { - "queryTemplate": "let GetParentProcessesOnHost = (v_Host_HostName:string){\r\n SecurityEvent \r\n | where EventID == 4688 \r\n | where isnotempty(ParentProcessName)\r\n | where NewProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe' and ParentProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe'\r\n and NewProcessName!contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe' and ParentProcessName !contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe'\r\n and ParentProcessName !contains ':\\\\Windows\\\\CCM\\\\CcmExec.exe'\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\svchost.exe' and (NewProcessName !contains ':\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe' or NewProcessName !contains ':\\\\Windows\\\\SysWOW64\\\\wbem\\\\WmiPrvSE.exe'))\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\services.exe' and NewProcessName !contains ':\\\\Windows\\\\servicing\\\\TrustedInstaller.exe')\r\n | where toupper(Computer) contains v_Host_HostName or toupper(WorkstationName) contains v_Host_HostName\r\n | summarize min(TimeGenerated), max(TimeGenerated) by Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project min_TimeGenerated, max_TimeGenerated, Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project-rename Process_Host_UnstructuredName=Computer, Process_Account_UnstructuredName=Account, Process_CommandLine=CommandLine, Process_ProcessId=ProcessId, Process_ImageFile_FullPath=NewProcessName, Process_ParentProcess_ImageFile_FullPath=ParentProcessName\r\n | top 10 by min_TimeGenerated asc};\r\n GetParentProcessesOnHost(toupper(''))", + "queryTemplate": "let GetParentProcessesOnHost = (v_Host_HostName:string){\r\n SecurityEvent \r\n | where EventID == 4688 \r\n | where isnotempty(ParentProcessName)\r\n | where NewProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe' and ParentProcessName !contains ':\\\\Windows\\\\System32\\\\conhost.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\csc.exe'\r\n and NewProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe' and ParentProcessName !contains ':\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v2.0.50727\\\\cvtres.exe'\r\n and NewProcessName!contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe' and ParentProcessName !contains ':\\\\Program Files\\\\Microsoft Monitoring Agent\\\\Agent\\\\MonitoringHost.exe'\r\n and ParentProcessName !contains ':\\\\Windows\\\\CCM\\\\CcmExec.exe'\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\svchost.exe' and (NewProcessName !contains ':\\\\Windows\\\\System32\\\\wbem\\\\WmiPrvSE.exe' or NewProcessName !contains ':\\\\Windows\\\\SysWOW64\\\\wbem\\\\WmiPrvSE.exe'))\r\n | where(ParentProcessName !contains ':\\\\Windows\\\\System32\\\\services.exe' and NewProcessName !contains ':\\\\Windows\\\\servicing\\\\TrustedInstaller.exe')\r\n | where toupper(Computer) contains v_Host_HostName or toupper(WorkstationName) contains v_Host_HostName\r\n | summarize min(TimeGenerated), max(TimeGenerated) by Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project min_TimeGenerated, max_TimeGenerated, Account, Computer, ParentProcessName, NewProcessName, CommandLine, ProcessId\r\n | project-rename Process_Host_UnstructuredName=Computer, Process_Account_UnstructuredName=Account, Process_CommandLine=CommandLine, Process_ProcessId=ProcessId, Process_ImageFile_FullPath=NewProcessName, Process_ParentProcess_ImageFile_FullPath=ParentProcessName\r\n | top 10 by min_TimeGenerated asc};\r\n GetParentProcessesOnHost(toupper(''))", "inputFields": [ - "HostName" + "hostName" ], "outputEntityTypes": [ "Process" diff --git a/specification/securityinsights/resource-manager/readme.md b/specification/securityinsights/resource-manager/readme.md index 20aa7f9264db..442d99a34300 100644 --- a/specification/securityinsights/resource-manager/readme.md +++ b/specification/securityinsights/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-js @@ -66,7 +67,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.SecurityInsights payload-flattening-threshold: 2 - output-folder: $(csharp-sdks-folder)/SecurityInsights/Management.SecurityInsights/Generated + output-folder: $(csharp-sdks-folder)/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated clear-output-folder: true ``` @@ -84,4 +85,4 @@ See configuration in [readme.nodejs.md](./readme.nodejs.md) ## TypeScript -See configuration in [readme.typescript.md](./readme.typescript.md) \ No newline at end of file +See configuration in [readme.typescript.md](./readme.typescript.md) diff --git a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json index 14537ab91c48..7347ec8c6444 100644 --- a/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json +++ b/specification/servicebus/resource-manager/Microsoft.ServiceBus/stable/2015-08-01/examples/SBNameSpaceAuthorizationRuleListAll.json @@ -33,7 +33,7 @@ } } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index 4db3698f8985..2ce4ab5d85f3 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -73,6 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -132,4 +133,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json index 9d230b4a6666..6d9746679571 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetApplicationInfoByName-1.json @@ -19,9 +19,6 @@ "ApplicationDefinitionKind": "ServiceFabricApplicationDescription" } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json index 87c8485a607c..8552057cbe2f 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetDeployedApplicationInfoByName-1.json @@ -21,9 +21,6 @@ "HealthState": "Ok" } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json index 910cb86eaf6d..4340954856fe 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/examples/GetServiceTypeInfoByName-1.json @@ -31,9 +31,6 @@ "IsServiceGroup": false } }, - "204": { - "headers": {}, - "body": "" - } + "204": {} } } diff --git a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json index a85c1110e620..6cfc2a82e2bd 100644 --- a/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json +++ b/specification/servicefabric/data-plane/Microsoft.ServiceFabric/stable/6.2/servicefabric.json @@ -12989,7 +12989,7 @@ }, "ServicePlacementPreferPrimaryDomainPolicyDescription": { "x-ms-discriminator-value": "PreferredPrimaryDomain", - "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service�s primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", + "description": "Describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.\n\nThis placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service's primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.", "allOf": [ { "$ref": "#/definitions/ServicePlacementPolicyDescription" diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index 1fecb39312a0..8acbbbb5106c 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -117,6 +117,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -149,4 +150,4 @@ See configuration in [readme.go.md](./readme.go.md) ## Java -See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file +See configuration in [readme.java.md](./readme.java.md) diff --git a/specification/servicefabricmesh/resource-manager/readme.md b/specification/servicefabricmesh/resource-manager/readme.md index c217dd611e54..9b8b2d3e750f 100644 --- a/specification/servicefabricmesh/resource-manager/readme.md +++ b/specification/servicefabricmesh/resource-manager/readme.md @@ -67,6 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -88,7 +89,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.ServiceFabricMesh payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/ServiceFabric/Management.ServiceFabricMesh/Generated + output-folder: $(csharp-sdks-folder)/servicefabric/Microsoft.Azure.Management.ServiceFabricMesh/src/Generated clear-output-folder: true ``` diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md index 87ddb4d95a63..e05086fa9f8c 100644 --- a/specification/signalr/resource-manager/readme.md +++ b/specification/signalr/resource-manager/readme.md @@ -72,6 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-node diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json index 11ce294cc36a..90bd417ce859 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetAllHybridUseBenefits.json @@ -2,18 +2,18 @@ "parameters": { "scope": "subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}", "api-version": "2019-06-01-preview", - "$filter": "SQLBYOLEnterpriseForADH" + "$filter": "SQL_Server_EE_AHB" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_hostGroup_hostName", + "name": "SQL_hostGroup_hostName", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_EE_AHB" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json index 5a5bb43a8b8a..268d31a5d846 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetHybridUseBenefitRevisions.json @@ -9,11 +9,11 @@ "body": { "value": [ { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_EE_AHB" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json index 421f5f879e34..bef6e6c1cb2d 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/GetSingleHybridUseBenefit.json @@ -7,11 +7,11 @@ "responses": { "200": { "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{guid}", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_EE_AHB" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json index 0c00bdfb88ce..76f4e34b3b64 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PatchHybridUseBenefit.json @@ -13,8 +13,8 @@ "responses": { "200": { "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { "name": "SQLBYOLStandardForADH" diff --git a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json index 51eac8d275cb..b7c9acba44b6 100644 --- a/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json +++ b/specification/softwareplan/resource-manager/Microsoft.SoftwarePlan/preview/2019-06-01-preview/examples/PutHybridUseBenefit.json @@ -6,18 +6,18 @@ "body": { "type": "Microsoft.SoftwarePlan/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_Perpetual" } } }, "responses": { "200": { "body": { - "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/94f46eda-45f8-493a-8425-251921463a89", - "name": "SQL BYOL Enterprise for Azure Dedicated Host", + "id": "/subscriptions/{sub-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/HostGroups/{host-group-name}/hosts/{host-name}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/SQL_{hostGroupName}_{hostName}", + "name": "SQL_{hostGroupName}_{hostName}", "type": "Microsoft.SoftwarePlans/hybridUseBenefits", "sku": { - "name": "SQLBYOLEnterpriseForADH" + "name": "SQL_Server_Perpetual" }, "etag": 1, "properties": { diff --git a/specification/softwareplan/resource-manager/readme.md b/specification/softwareplan/resource-manager/readme.md index a85cdfbfae1f..2ec9ea8412fe 100644 --- a/specification/softwareplan/resource-manager/readme.md +++ b/specification/softwareplan/resource-manager/readme.md @@ -49,6 +49,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index d59317fd8010..b668c077a94d 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -645,6 +645,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -665,7 +666,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.Sql - output-folder: $(csharp-sdks-folder)/SqlManagement/Management.Sql/Generated + output-folder: $(csharp-sdks-folder)/sqlmanagement/Microsoft.Azure.Management.Sql/src/Generated clear-output-folder: true ``` diff --git a/specification/sqlvirtualmachine/resource-manager/readme.md b/specification/sqlvirtualmachine/resource-manager/readme.md index 4caccdf6fb28..74abd3fa936b 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.md +++ b/specification/sqlvirtualmachine/resource-manager/readme.md @@ -52,6 +52,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-java @@ -68,7 +69,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.SqlVirtualMachine - output-folder: $(csharp-sdks-folder)/SqlVirtualMachine/Management.SqlVirtualMachine/Generated + output-folder: $(csharp-sdks-folder)/sqlvirtualmachine/Microsoft.Azure.Management.SqlVirtualMachine/src/Generated clear-output-folder: true ``` diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json index 2d061e53b8c8..6a3a269d6209 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsCreateOrUpdate.json @@ -48,8 +48,6 @@ "type": "Microsoft.StorSimple/managers/accessControlRecords" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json index bc16eaf2aa23..5b8c01f8cbba 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AccessControlRecordsDelete.json @@ -17,9 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json index a89870bfcfc2..3bb3fe23a9c3 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsClear.json @@ -29,8 +29,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json index 41e10692706d..af925c5b4520 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/AlertsSendTestEmail.json @@ -30,8 +30,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json index c7d173b4a935..33b2b685f1df 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsCreateOrUpdate.json @@ -55,8 +55,6 @@ "type": "Microsoft.StorSimple/managers/devices/backupScheduleGroups" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json index 0dfb75402c8a..ff35a2bf9024 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupScheduleGroupsDelete.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json index 5aa5a38c12cc..1b83dfc49d75 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsClone.json @@ -53,11 +53,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json index 928ccb9ef2bb..2bd56cc4f620 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/BackupsDelete.json @@ -19,9 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json index e2ac7d0f0763..56d706fe76cb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsCreateOrUpdate.json @@ -57,8 +57,6 @@ "type": "Microsoft.StorSimple/managers/devices/chapSettings" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json index 2a49f6b662e9..71472ac1df3f 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ChapSettingsDelete.json @@ -18,11 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json index e8848ea7ffd7..a49bb42597a8 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateAlertSettings.json @@ -49,8 +49,6 @@ "type": "Microsoft.StorSimple/managers/devices/alertSettings" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json index b64d90ac61b6..753ecf45fdbd 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesCreateOrUpdateSecuritySettings.json @@ -16,11 +16,7 @@ } }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json index 8f1583571bb2..50faf6b1cec4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDeactivate.json @@ -7,9 +7,7 @@ "api-version": "2016-10-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json index 8f1583571bb2..50faf6b1cec4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDelete.json @@ -7,9 +7,7 @@ "api-version": "2016-10-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesDownloadUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json index 7847602ec1dc..34c945ebf351 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesFailover.json @@ -16,11 +16,7 @@ } }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesInstallUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json index 4533d3cbb157..1c9b312a9940 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesPatch.json @@ -34,8 +34,6 @@ "type": "Microsoft.StorSimple/managers/devices" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json index d3ca658cdb5b..435918306cdb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/DevicesScanForUpdates.json @@ -17,11 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json index 626c6cb198b9..130f5be93537 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersBackupNow.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json index ca67541a5c4c..81a7900c1284 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersCreateOrUpdate.json @@ -55,8 +55,6 @@ "type": "Microsoft.StorSimple/managers/devices/fileServers" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json index 4d88975ec22e..fe40d53e85c0 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileServersDelete.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json index 934f819e383d..4036c6f247eb 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesCreateOrUpdate.json @@ -62,8 +62,6 @@ "type": "Microsoft.StorSimple/managers/devices/fileServers/shares" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json index 321633dbccf6..39b1d814bb19 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/FileSharesDelete.json @@ -19,9 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json index ca4db292a6e6..1531924ffb18 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksCreateOrUpdate.json @@ -62,8 +62,6 @@ "type": "Microsoft.StorSimple/managers/devices/iscsiServers/disks" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json index e9887ffdacfb..2d9708633f3c 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiDisksDelete.json @@ -19,9 +19,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json index eefa7e45f1c9..f0268101f918 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersBackupNow.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json index deb51e92be5a..39413b632d2f 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersCreateOrUpdate.json @@ -57,8 +57,6 @@ "type": "Microsoft.StorSimple/managers/devices/iscsiServers" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json index dbab611876b2..d325e72b4720 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/IscsiServersDelete.json @@ -18,9 +18,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json index 4371a7be4ca2..86115e8b10f6 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDelete.json @@ -6,9 +6,7 @@ "api-version": "2017-06-01" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json index 21809246b735..24a0263eb712 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/ManagersDeleteExtendedInfo.json @@ -6,8 +6,6 @@ "api-version": "2016-10-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json index ed9a737cb881..c1f0f58aec3d 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsCreateOrUpdate.json @@ -61,8 +61,6 @@ "type": "Microsoft.StorSimple/managers/storageAccountCredentials" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json index feff0636054a..32ea50476e10 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageAccountCredentialsDelete.json @@ -17,9 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json index 8737f10beb67..805e5e07bdd4 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsCreateOrUpdate.json @@ -54,8 +54,6 @@ "type": "Microsoft.StorSimple/managers/storageDomains" } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json index 01ee96e13103..66346ff401d2 100644 --- a/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json +++ b/specification/storSimple1200Series/resource-manager/Microsoft.StorSimple/stable/2016-10-01/examples/StorageDomainsDelete.json @@ -17,9 +17,7 @@ ] }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storSimple1200Series/resource-manager/readme.md b/specification/storSimple1200Series/resource-manager/readme.md index 5e3fe58bcf18..352f5a559c80 100644 --- a/specification/storSimple1200Series/resource-manager/readme.md +++ b/specification/storSimple1200Series/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js @@ -73,7 +74,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.StorSimple1200Series - output-folder: $(csharp-sdks-folder)/StorSimple1200Series/Management.StorSimple1200Series/Generated + output-folder: $(csharp-sdks-folder)/storsimple1200series/Microsoft.Azure.Management.StorSimple1200Series/src/Generated clear-output-folder: true ``` diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json index 4997e5519c20..44666d5baaee 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2019-04-01/storage.json @@ -1349,7 +1349,7 @@ }, "encryption": { "$ref": "#/definitions/Encryption", - "description": "Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted." + "description": "Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled." }, "networkAcls": { "$ref": "#/definitions/NetworkRuleSet", diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index 124f081ea5d6..2bb5964a084f 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -236,6 +236,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python autorest_options: use: "@microsoft.azure/autorest.python@4.0.70" diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json index 75342a96a6c7..de5d412a4782 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2017-06-05-preview/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json index 7a9bc3dc46ea..03befb20d66d 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-04-02/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json index fe29a5d1b330..3e87eb100b63 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-07-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json index 3a3f072b5685..b1fddbdce161 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2018-10-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json index 959524472d3d..3658a084b51f 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-02-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json index d027bda3e3d6..88e9eb6659af 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2019-03-01/examples/Operations_List.json @@ -207,7 +207,7 @@ "origin": "User" } ], - "nextLink": "" + "nextLink": null } } } diff --git a/specification/storagesync/resource-manager/readme.md b/specification/storagesync/resource-manager/readme.md index fff8890c50c1..b912ab1df335 100644 --- a/specification/storagesync/resource-manager/readme.md +++ b/specification/storagesync/resource-manager/readme.md @@ -94,6 +94,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json index fd59bf61e70e..91f2651083ea 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsCreateOrUpdate.json @@ -13,10 +13,17 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"initiatorName\": \"iqn.2017-06.com.contoso:ForTest\",\r\n \"volumeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACRForTest\",\r\n \"name\": \"ACRForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/accessControlRecords\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "initiatorName": "iqn.2017-06.com.contoso:ForTest", + "volumeCount": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACRForTest", + "name": "ACRForTest", + "type": "Microsoft.StorSimple/managers/accessControlRecords", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json index 1f1271cef74b..f5fde360667f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AccessControlRecordsDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json index 7290889ffb84..38bcb119ceff 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsClear.json @@ -13,8 +13,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json index d8bb0e07573d..fc08bf366e14 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/AlertsSendTestEmail.json @@ -12,8 +12,6 @@ } }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json index d594466be58c..9326763a4fa9 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesBackupNow.json @@ -9,9 +9,7 @@ "backupType": "CloudSnapshot" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json index ef960fc14488..92d7b8bc5f58 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesCreateOrUpdate.json @@ -18,10 +18,22 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"volumeIds\": [\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1\",\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1\"\r\n ],\r\n \"schedulesCount\": 0,\r\n \"scheduledBackupStatus\": \"Disabled\",\r\n \"backupPolicyCreationType\": \"BySaaS\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest\",\r\n \"name\": \"BkUpPolicy01ForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/backupPolicies\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "volumeIds": [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/Clonedvolume1", + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/volumeContainerForSDKTest/volumes/volume1" + ], + "schedulesCount": 0, + "scheduledBackupStatus": "Disabled", + "backupPolicyCreationType": "BySaaS" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest", + "name": "BkUpPolicy01ForSDKTest", + "type": "Microsoft.StorSimple/managers/devices/backupPolicies", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json index 92fa702dbb94..50e51a8190a0 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupPoliciesDelete.json @@ -10,9 +10,7 @@ "$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json index e4e5e8662b9f..2af87acc05f0 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesCreateOrUpdate.json @@ -28,10 +28,28 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"scheduleRecurrence\": {\r\n \"recurrenceType\": \"Weekly\",\r\n \"recurrenceValue\": 1,\r\n \"weeklyDaysList\": [\r\n \"Monday\",\r\n \"Thursday\",\r\n \"Friday\"\r\n ]\r\n },\r\n \"backupType\": \"CloudSnapshot\",\r\n \"retentionCount\": 1,\r\n \"startTime\": \"2017-06-24T01:00:00Z\",\r\n \"scheduleStatus\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest/schedules/schedule2\",\r\n \"name\": \"schedule2\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/backupPolicies/schedules\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "scheduleRecurrence": { + "recurrenceType": "Weekly", + "recurrenceValue": 1, + "weeklyDaysList": [ + "Monday", + "Thursday", + "Friday" + ] + }, + "backupType": "CloudSnapshot", + "retentionCount": 1, + "startTime": "2017-06-24T01:00:00Z", + "scheduleStatus": "Enabled" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/backupPolicies/BkUpPolicy01ForSDKTest/schedules/schedule2", + "name": "schedule2", + "type": "Microsoft.StorSimple/managers/devices/backupPolicies/schedules", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json index c2e7b139a0a1..8e67ee8ab847 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupSchedulesDelete.json @@ -11,9 +11,7 @@ "$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json index 2107f54d211f..f7680a1c58d3 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsClone.json @@ -27,11 +27,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json index 2962b76cbccc..aedfa68cb9cc 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsDelete.json @@ -10,9 +10,7 @@ "$filter": "volumeId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FvolumeContainers%2FvolumeContainerForSDKTest%2Fvolumes%2FClonedvolume1'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json index 3bafa725ff54..6dd5e31ec0c7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BackupsRestore.json @@ -10,11 +10,7 @@ "$filter": "createdTime%20ge%20'2017-06-22T18:30:00Z'%20and%20backupPolicyId%20eq%20'%2Fsubscriptions%2F4385cf00-2d3a-425a-832f-f4285b1c9dce%2FresourceGroups%2FResourceGroupForSDKTest%2Fproviders%2FMicrosoft.StorSimple%2Fmanagers%2FManagerForSDKTest1%2Fdevices%2FDevice05ForSDKTest%2FbackupPolicies%2FBkUpPolicy01ForSDKTest'" }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json index 2850d62d632c..8554f0dd0ab3 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsCreateOrUpdate.json @@ -31,10 +31,35 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"schedules\": [\r\n {\r\n \"start\": {\r\n \"hours\": 10,\r\n \"minutes\": 0,\r\n \"seconds\": 0\r\n },\r\n \"stop\": {\r\n \"hours\": 20,\r\n \"minutes\": 0,\r\n \"seconds\": 0\r\n },\r\n \"rateInMbps\": 10,\r\n \"days\": [\r\n \"Saturday\",\r\n \"Sunday\"\r\n ]\r\n }\r\n ],\r\n \"volumeCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/BWSForTest\",\r\n \"name\": \"BWSForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/bandwidthSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "schedules": [ + { + "start": { + "hours": 10, + "minutes": 0, + "seconds": 0 + }, + "stop": { + "hours": 20, + "minutes": 0, + "seconds": 0 + }, + "rateInMbps": 10, + "days": [ + "Saturday", + "Sunday" + ] + } + ], + "volumeCount": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/BWSForTest", + "name": "BWSForTest", + "type": "Microsoft.StorSimple/managers/bandwidthSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json index fb88d0cce62e..0379d2c73d3d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/BandwidthSettingsDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json index b5aa86efb7f6..228d75620262 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/CloudAppliancesProvision.json @@ -11,11 +11,7 @@ } }, "responses": { - "200": { - "body": "" - }, - "202": { - "body": "" - } + "200": {}, + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json index cbce44eef9f7..6e2c76e704b7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateAlertSettings.json @@ -16,10 +16,19 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"emailNotification\": \"Enabled\",\r\n \"alertNotificationCulture\": \"en-US\",\r\n \"notificationToServiceOwners\": \"Enabled\",\r\n \"additionalRecipientEmailList\": []\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alertSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/alertSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "emailNotification": "Enabled", + "alertNotificationCulture": "en-US", + "notificationToServiceOwners": "Enabled", + "additionalRecipientEmailList": [] + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/alertSettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/devices/alertSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json index 9b7bc9761b89..eaf8ba7ff48f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsCreateOrUpdateTimeSettings.json @@ -17,10 +17,20 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"timeZone\": \"Pacific Standard Time\",\r\n \"primaryTimeServer\": \"time.windows.com\",\r\n \"secondaryTimeServer\": [\r\n \"8.8.8.8\"\r\n ]\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/timeSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "timeZone": "Pacific Standard Time", + "primaryTimeServer": "time.windows.com", + "secondaryTimeServer": [ + "8.8.8.8" + ] + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/devices/timeSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json index 5516e8326847..947587e75504 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsSyncRemotemanagementCertificate.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json index f60139eed9f1..0e330d8260a7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateNetworkSettings.json @@ -18,10 +18,17 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"encryptionStatus\": \"Enabled\",\r\n \"keyRolloverStatus\": \"NotRequired\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/encryptionSettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/encryptionSettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "encryptionStatus": "Enabled", + "keyRolloverStatus": "NotRequired" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/encryptionSettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/encryptionSettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json index 7cc7b56dbbec..e28c51f74e9f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DeviceSettingsUpdateSecuritySettings.json @@ -39,10 +39,23 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"remoteManagementSettings\": {\r\n \"remoteManagementMode\": \"HttpsAndHttpEnabled\",\r\n \"remoteManagementCertificate\": \"\"\r\n },\r\n \"chapSettings\": {\r\n \"initiatorUser\": \"test-initiator-user\",\r\n \"targetUser\": \"test-target-user\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/securitySettings/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/securitySettings\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "remoteManagementSettings": { + "remoteManagementMode": "HttpsAndHttpEnabled", + "remoteManagementCertificate": "" + }, + "chapSettings": { + "initiatorUser": "test-initiator-user", + "targetUser": "test-target-user" + } + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/securitySettings/default", + "name": "default", + "type": "Microsoft.StorSimple/managers/devices/securitySettings", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json index f1cdbab261a4..2e7b6db4b4c7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesAuthorizeForServiceEncryptionKeyRollover.json @@ -7,8 +7,6 @@ "api-version": "2017-06-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json index 9bbeed98eda1..8dc79006ee78 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesConfigure.json @@ -18,9 +18,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json index 11d2e83ca85b..f47c8d1bf50a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDeactivate.json @@ -8,11 +8,7 @@ "$expand": "details" }, "responses": { - "202": { - "body": "" - }, - "204": { - "body": "" - } + "202": {}, + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json index 4df17eaa164d..f47c8d1bf50a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesDelete.json @@ -8,9 +8,7 @@ "$expand": "details" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json index 3d881a921a04..996746500f2f 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesFailover.json @@ -13,9 +13,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesInstallUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json index 75eb768074e4..c412747a0b03 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/DevicesScanForUpdates.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json index 36040718b062..1d7143a37532 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/HardwareComponentGroupsChangeControllerPowerState.json @@ -16,9 +16,7 @@ } }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json index 16762e269a93..2624550b3781 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/JobsCancel.json @@ -10,9 +10,7 @@ "$filter": "jobType%20eq%20'ManualBackup'" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json index 4371a7be4ca2..86115e8b10f6 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDelete.json @@ -6,9 +6,7 @@ "api-version": "2017-06-01" }, "responses": { - "200": { - "body": "" - }, + "200": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json index 85f50b3d9e61..ab11fca71eea 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/ManagersDeleteExtendedInfo.json @@ -6,8 +6,6 @@ "api-version": "2017-06-01" }, "responses": { - "204": { - "body": "" - } + "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json index 95bafa9e8c62..1201c00215f7 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsCreateOrUpdate.json @@ -19,10 +19,18 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"endPoint\": \"blob.core.windows.net\",\r\n \"sslStatus\": \"Enabled\",\r\n \"volumesCount\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest\",\r\n \"name\": \"SACForTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/storageAccountCredentials\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "endPoint": "blob.core.windows.net", + "sslStatus": "Enabled", + "volumesCount": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/SACForTest", + "name": "SACForTest", + "type": "Microsoft.StorSimple/managers/storageAccountCredentials", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json index 2f9d0e62f46f..a890212b7db1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/StorageAccountCredentialsDelete.json @@ -7,9 +7,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json index 1872809b3e4c..1d9e4c0ab45d 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersCreateOrUpdate.json @@ -20,10 +20,21 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"encryptionStatus\": \"Enabled\",\r\n \"volumeCount\": 1,\r\n \"storageAccountCredentialId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording\",\r\n \"ownerShipStatus\": \"Owned\",\r\n \"bandwidthSettingId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1\",\r\n \"totalCloudStorageUsageInBytes\": 0\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest\",\r\n \"name\": \"VolumeContainerForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/volumeContainers\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "encryptionStatus": "Enabled", + "volumeCount": 1, + "storageAccountCredentialId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/storageAccountCredentials/safortestrecording", + "ownerShipStatus": "Owned", + "bandwidthSettingId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/bandwidthSettings/bandwidthSetting1", + "totalCloudStorageUsageInBytes": 0 + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest", + "name": "VolumeContainerForSDKTest", + "type": "Microsoft.StorSimple/managers/devices/volumeContainers", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json index 2203b40dbe2a..c21a2b1a2a32 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumeContainersDelete.json @@ -8,9 +8,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json index 393b74f3ea4c..a4484ff3642a 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesCreateOrUpdate.json @@ -21,10 +21,25 @@ }, "responses": { "200": { - "body": "{\r\n \"properties\": {\r\n \"sizeInBytes\": 5368709120,\r\n \"volumeType\": \"Tiered\",\r\n \"volumeContainerId\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest\",\r\n \"accessControlRecordIds\": [\r\n \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2\"\r\n ],\r\n \"volumeStatus\": \"Offline\",\r\n \"operationStatus\": \"None\",\r\n \"backupStatus\": \"Disabled\",\r\n \"monitoringStatus\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest/volumes/Volume1ForSDKTest\",\r\n \"name\": \"Volume1ForSDKTest\",\r\n \"type\": \"Microsoft.StorSimple/managers/devices/volumeContainers/volumes\",\r\n \"kind\": \"Series8000\"\r\n}" + "body": { + "properties": { + "sizeInBytes": 5368709120, + "volumeType": "Tiered", + "volumeContainerId": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest", + "accessControlRecordIds": [ + "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/accessControlRecords/ACR2" + ], + "volumeStatus": "Offline", + "operationStatus": "None", + "backupStatus": "Disabled", + "monitoringStatus": "Enabled" + }, + "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/volumeContainers/VolumeContainerForSDKTest/volumes/Volume1ForSDKTest", + "name": "Volume1ForSDKTest", + "type": "Microsoft.StorSimple/managers/devices/volumeContainers/volumes", + "kind": "Series8000" + } }, - "202": { - "body": "" - } + "202": {} } } diff --git a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json index df3dc3612386..f0a1eb4548d1 100644 --- a/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json +++ b/specification/storsimple8000series/resource-manager/Microsoft.StorSimple/stable/2017-06-01/examples/VolumesDelete.json @@ -9,9 +9,7 @@ "api-version": "2017-06-01" }, "responses": { - "202": { - "body": "" - }, + "202": {}, "204": {} } } diff --git a/specification/storsimple8000series/resource-manager/readme.md b/specification/storsimple8000series/resource-manager/readme.md index 3d6b20ed571f..bbad1116a041 100644 --- a/specification/storsimple8000series/resource-manager/readme.md +++ b/specification/storsimple8000series/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node diff --git a/specification/streamanalytics/resource-manager/readme.md b/specification/streamanalytics/resource-manager/readme.md index 67a5778706c3..00085529f813 100644 --- a/specification/streamanalytics/resource-manager/readme.md +++ b/specification/streamanalytics/resource-manager/readme.md @@ -58,6 +58,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json index cc487360b8bf..46dc503a77f0 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2018-11-01-preview/subscriptions.json @@ -140,7 +140,11 @@ }, "ModernSubscriptionCreationParameters": { "description": "The parameters required to create a new subscription.", - "required": ["displayName","billingProfileId","skuId"], + "required": [ + "displayName", + "billingProfileId", + "skuId" + ], "properties": { "displayName": { "description": "The friendly name of the subscription.", diff --git a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json index 13e4cef06ff4..56fdb0884237 100644 --- a/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json +++ b/specification/subscription/resource-manager/Microsoft.Subscription/preview/2019-03-01-preview/examples/enableSubscription.json @@ -9,6 +9,5 @@ "value": "83aa47df-e3e9-49ff-877b-94304bf3d3ad" } } - } + } } - \ No newline at end of file diff --git a/specification/subscription/resource-manager/readme.csharp.md b/specification/subscription/resource-manager/readme.csharp.md index 05fbc35eb98d..f54aada53323 100644 --- a/specification/subscription/resource-manager/readme.csharp.md +++ b/specification/subscription/resource-manager/readme.csharp.md @@ -19,7 +19,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(profile) namespace: Microsoft.Azure.Management.Subscription -output-folder: $(csharp-sdks-folder)/Subscription/Management.Subscription/Generated +output-folder: $(csharp-sdks-folder)/subscription/Microsoft.Azure.Management.Subscription/src/Generated ``` ## Batch settings diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index 91fb2a5a4ea8..753067fd57b8 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -92,6 +92,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-python - repo: azure-sdk-for-node diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md index 52a530ce8ecd..cd237d8926b4 100644 --- a/specification/trafficmanager/resource-manager/readme.md +++ b/specification/trafficmanager/resource-manager/readme.md @@ -172,6 +172,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json index 46f16322e94e..37710b27d251 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudNode.json @@ -24,25 +24,27 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "westus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "created": "2019-05-21T13:43:26.441Z", - "placementGroupId": "n1", - "provisioningState": "Accepted", - "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "provisioningState": "Accepted", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" }, - "status": "unused" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json index ec6466d149b3..8fcfe879d2c5 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateDedicatedCloudService.json @@ -14,14 +14,16 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", - "location": "westus", - "name": "myService", - "properties": { - "gatewaySubnet": "10.0.10.0/28", - "isAccountOnboarded": "notOnBoarded" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json index e0c6ef6f5ca7..ac92ed856391 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/CreateVirtualMachine.json @@ -40,88 +40,92 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Created", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmwaretools": "0" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } }, "201": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Created", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Created", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmwaretools": "0" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmwaretools": "0" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json index 91f9d61b2646..ed905212b991 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudNode.json @@ -7,30 +7,32 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "eastus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.114Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "private_cloud_name", - "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json index 28c6f4296be8..22d5530f09d5 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetDedicatedCloudService.json @@ -14,16 +14,18 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", - "location": "westus", - "name": "myService", - "properties": { - "gatewaySubnet": "10.0.10.0/28", - "isAccountOnboarded": "notOnBoarded", - "nodes": 1, - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.10.0/28", + "isAccountOnboarded": "notOnBoarded", + "nodes": 1, + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json index 53ab4cdf951d..4e026e60386b 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetFailedOperationResult.json @@ -8,15 +8,17 @@ }, "responses": { "200": { - "endTime": "2019-05-23T12:11:00.655Z", - "error": { - "code": "InternalError", - "message": "Internal Service error" - }, - "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/d030bb3f-7d53-11e9-8e09-9a86872085ff", - "name": "d030bb3f-7d53-11e9-8e09-9a86872085ff", - "startTime": "2019-05-23T12:10:54.012Z", - "status": "Failed" + "body": { + "endTime": "2019-05-23T12:11:00.655Z", + "error": { + "code": "InternalError", + "message": "Internal Service error" + }, + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/d030bb3f-7d53-11e9-8e09-9a86872085ff", + "name": "d030bb3f-7d53-11e9-8e09-9a86872085ff", + "startTime": "2019-05-23T12:10:54.012Z", + "status": "Failed" + } }, "202": {}, "204": {} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json index d5f49aea1a72..b1787f768aab 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetOperationResult.json @@ -8,11 +8,13 @@ }, "responses": { "200": { - "endTime": "2019-05-23T12:05:55.660Z", - "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/f8e1c8f1-7d52-11e9-8e07-9a86872085ff", - "name": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", - "startTime": "2019-05-23T12:04:52.784Z", - "status": "Succeeded" + "body": { + "endTime": "2019-05-23T12:05:55.660Z", + "id": "/subscriptions/{subscription-id}/providers/microsoft.vmwarecloudsimple/locations/westus2/operationresults/f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "name": "f8e1c8f1-7d52-11e9-8e07-9a86872085ff", + "startTime": "2019-05-23T12:04:52.784Z", + "status": "Succeeded" + } }, "202": {}, "204": {} diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json index 22c2f7cc19d1..d47be9f2aee6 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetPrivateCloud.json @@ -7,148 +7,150 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "location": "westus2", - "name": "myPrivateCloud", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "clustersNumber": 1, - "createdBy": "john.doe@cloudsimple.com", - "createdOn": "2019-05-22T09:55:36.627Z", - "dnsServers": [ - "100.0.0.8", - "100.0.0.9" - ], - "expires": "n/a", - "nsxType": "Advanced", - "placementGroupId": "n1", - "placementGroupName": "Placement Group 1", - "privateCloudId": "{pc-id}", - "resourcePools": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", - "location": "westus2", - "name": "Workload", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" - }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" - } - ], - "state": "operational", - "totalCpuCores": 28, - "totalNodes": 1, - "totalRam": 256, - "totalStorage": 5.625, - "type": "vSphere", - "vSphereVersion": "6.7u1", - "vcenterFqdn": "vcsa-4-westus2.az.cloudsimple.io", - "vcenterRefid": "100.0.0.6", - "virtualMachineTemplates": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "location": "westus2", - "name": "centos-template", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:7e:93", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "path": "Datacenter/Workload VMs", + "body": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "location": "westus2", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-22T09:55:36.627Z", + "dnsServers": [ + "100.0.0.8", + "100.0.0.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "privateCloudId": "{pc-id}", + "resourcePools": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "vSphereNetworks": null, - "vSphereTags": null, - "vmwaretools": "10309" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" - } - ], - "virtualNetworks": [ - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" - }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", - "location": "westus2", - "name": "Datacenter/CS-Rescue", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ], + "state": "operational", + "totalCpuCores": 28, + "totalNodes": 1, + "totalRam": 256, + "totalStorage": 5.625, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-4-westus2.az.cloudsimple.io", + "vcenterRefid": "100.0.0.6", + "virtualMachineTemplates": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ], + "virtualNetworks": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", - "location": "westus2", - "name": "Datacenter/CS-VSAN", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", - "location": "westus2", - "name": "Datacenter/CS-VMotion", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", - "location": "westus2", - "name": "Datacenter/net-01", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - } - ] - }, - "type": "Microsoft.VMwareCloudSimple/privateClouds" + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json index 3f65b289ae62..baddf3198b95 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetResourcePool.json @@ -8,14 +8,16 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", - "location": "westus2", - "name": "Workload", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" - }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" + "body": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json index ab6f290b2f76..e042542042d6 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachine.json @@ -8,74 +8,76 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "folder": "Datacenter/Workload VMs", - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:d0:e1", - "network": { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualnetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + "body": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "folder": "Datacenter/Workload VMs", + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualnetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Succeeded", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcepools/resgroup-26", - "location": "westus2", - "name": "Workload", + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "Datacenter/Cluster/Workload" + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcepools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" + "status": "running", + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualmachinetemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" }, - "status": "running", - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualmachinetemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-100", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json index e8cb9d861c28..aee3e7433484 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualMachineTemplate.json @@ -8,51 +8,53 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "location": "westus2", - "name": "centos-template", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:7e:93", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "path": "Datacenter/Workload VMs", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "vSphereNetworks": null, - "vSphereTags": null, - "vmwaretools": "10309" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + "body": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json index 813bab5216f2..9286864a3417 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/GetVirtualNetwork.json @@ -8,14 +8,16 @@ }, "responses": { "200": { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" - }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + "body": { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json index cf9f858fcd9c..e2b5232d933c 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListAvailabilities.json @@ -6,26 +6,28 @@ }, "responses": { "200": { - "value": [ - { - "currentValue": 1, - "limit": 5, - "name": { - "localizedValue": "CS28-Node", - "value": "general" + "body": { + "value": [ + { + "currentValue": 1, + "limit": 5, + "name": { + "localizedValue": "CS28-Node", + "value": "general" + }, + "unit": "Count" }, - "unit": "Count" - }, - { - "currentValue": 0, - "limit": 5, - "name": { - "localizedValue": "CS36-Node", - "value": "large" - }, - "unit": "Count" - } - ] + { + "currentValue": 0, + "limit": 5, + "name": { + "localizedValue": "CS36-Node", + "value": "large" + }, + "unit": "Count" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json index c2c89fd7e519..7d4944e6da67 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudNodes.json @@ -5,56 +5,58 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-2", - "location": "westus2", - "name": "node-2", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.134Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "private_cloud_name", - "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-2", + "location": "westus2", + "name": "node-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-1", - "location": "westus2", - "name": "node1", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "created": "2019-05-22T11:57:43.891Z", - "placementGroupId": "n1", - "placementGroupName": "Placement Group 1", - "purchaseId": "eb9d2e22-c787-4723-aa4f-3760b53a0a4d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "sku": { + "name": "VMware_CloudSimple_CS28" }, - "status": "unused" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-1", + "location": "westus2", + "name": "node1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "created": "2019-05-22T11:57:43.891Z", + "placementGroupId": "n1", + "placementGroupName": "Placement Group 1", + "purchaseId": "eb9d2e22-c787-4723-aa4f-3760b53a0a4d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json index de5e97b063ce..0f9f6d864253 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListDedicatedCloudServices.json @@ -5,30 +5,32 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", - "location": "eastus", - "name": "service-east", - "properties": { - "gatewaySubnet": "10.101.201.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://eastus-he.azure.cloudsimple.com" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", - "location": "westus", - "name": "service-west", - "properties": { - "gatewaySubnet": "10.0.0.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json index b0377ee9ab23..cfc0abd96a0d 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListOperations.json @@ -4,19 +4,21 @@ }, "responses": { "200": { - "value": [ - { - "display": { - "description": "Creates a new dedicated cloud node", - "operation": "Create Dedicated Cloud Node", - "provider": "VMware Solution by CloudSimple", - "resource": "Dedicated Cloud Nodes" - }, - "name": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes/write", - "origin": "user,system" - } - ], - "nextLink": "string" + "body": { + "value": [ + { + "display": { + "description": "Creates a new dedicated cloud node", + "operation": "Create Dedicated Cloud Node", + "provider": "VMware Solution by CloudSimple", + "resource": "Dedicated Cloud Nodes" + }, + "name": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes/write", + "origin": "user,system" + } + ], + "nextLink": "string" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json index 6aa9ed249884..487187a56767 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListPrivateCloudInLocation.json @@ -6,39 +6,41 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/myPrivateCloud", - "location": "eastus", - "name": "myPrivateCloud", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "clustersNumber": 1, - "createdBy": "john.doe@cloudsimple.com", - "createdOn": "2019-05-21T07:32:59.491Z", - "dnsServers": [ - "100.100.100.8", - "100.100.100.9" - ], - "expires": "n/a", - "nsxType": "Advanced", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "private-cloud-id", - "state": "operational", - "totalCpuCores": 84, - "totalNodes": 3, - "totalRam": 768, - "totalStorage": 16.875, - "type": "vSphere", - "vSphereVersion": "6.7u1", - "vcenterFqdn": "vcsa-eastus.az.cloudsimple.io", - "vcenterRefid": "100.100.100.6" - }, - "type": "Microsoft.VMwareCloudSimple/privateClouds" - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/eastus/privateClouds/myPrivateCloud", + "location": "eastus", + "name": "myPrivateCloud", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "clustersNumber": 1, + "createdBy": "john.doe@cloudsimple.com", + "createdOn": "2019-05-21T07:32:59.491Z", + "dnsServers": [ + "100.100.100.8", + "100.100.100.9" + ], + "expires": "n/a", + "nsxType": "Advanced", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private-cloud-id", + "state": "operational", + "totalCpuCores": 84, + "totalNodes": 3, + "totalRam": 768, + "totalStorage": 16.875, + "type": "vSphere", + "vSphereVersion": "6.7u1", + "vcenterFqdn": "vcsa-eastus.az.cloudsimple.io", + "vcenterRefid": "100.100.100.6" + }, + "type": "Microsoft.VMwareCloudSimple/privateClouds" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json index 85c6f171ffed..3868f3dfa726 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudNodes.json @@ -6,86 +6,88 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-1", - "location": "eastus", - "name": "node-east-1", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.134Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "private_cloud_id", - "privateCloudName": "private_cloud_name", - "purchaseId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-1", + "location": "eastus", + "name": "node-east-1", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.134Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "private_cloud_id", + "privateCloudName": "private_cloud_name", + "purchaseId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - }, - { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-2", - "location": "eastus", - "name": "node-east-2", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-21T07:32:12.114Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "private_cloud_name", - "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "sku": { + "name": "VMware_CloudSimple_CS28" }, - "status": "used", - "vmwareClusterName": "Cluster" + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "sku": { - "name": "VMware_CloudSimple_CS28" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - }, - { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "eastus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "availabilityZoneName": "Availability Zone 1", - "cloudRackName": "cloud_rack_1", - "created": "2019-05-08T09:35:47.961Z", - "placementGroupId": "n2", - "placementGroupName": "Placement Group 2", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "privateCloudName": "myPrivateCloud", - "purchaseId": "b3fcd958-f19c-4421-ab46-e4fa9cc8514e", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/node-east-2", + "location": "eastus", + "name": "node-east-2", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-21T07:32:12.114Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "private_cloud_name", + "purchaseId": "225fadec-3bbe-4e61-a119-ff102da67d0d", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" }, - "status": "used", - "vmwareClusterName": "Cluster" - }, - "sku": { - "name": "VMware_CloudSimple_CS28" + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "eastus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "availabilityZoneName": "Availability Zone 1", + "cloudRackName": "cloud_rack_1", + "created": "2019-05-08T09:35:47.961Z", + "placementGroupId": "n2", + "placementGroupName": "Placement Group 2", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "privateCloudName": "myPrivateCloud", + "purchaseId": "b3fcd958-f19c-4421-ab46-e4fa9cc8514e", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "used", + "vmwareClusterName": "Cluster" + }, + "sku": { + "name": "VMware_CloudSimple_CS28" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json index e372353fa11d..d4b33fd7b731 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGDedicatedCloudServices.json @@ -6,30 +6,32 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", - "location": "eastus", - "name": "service-east", - "properties": { - "gatewaySubnet": "10.101.201.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://eastus-he.azure.cloudsimple.com" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-east", + "location": "eastus", + "name": "service-east", + "properties": { + "gatewaySubnet": "10.101.201.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://eastus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", - "location": "westus", - "name": "service-west", - "properties": { - "gatewaySubnet": "10.0.0.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/service-west", + "location": "westus", + "name": "service-west", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json index dda1209ab888..f9c9d9100fd0 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListRGVirtualMachines.json @@ -7,114 +7,116 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", - "location": "westus2", - "name": "virtualMachine-2", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:33:12", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-101", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", - "location": "westus2", - "name": "virtualMachine-3", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:63:f3", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "tags": { + "inUse": "true" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-102", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json index a2437cb10bca..9e94b7719040 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListResourcePools.json @@ -7,18 +7,20 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", - "location": "westus2", - "name": "Workload", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "properties": { - "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" - }, - "type": "Microsoft.VMwareCloudSimple/resourcePools" - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26", + "location": "westus2", + "name": "Workload", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "properties": { + "fullName": "myPrivateCloud/Datacenter/Cluster/Workload" + }, + "type": "Microsoft.VMwareCloudSimple/resourcePools" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json index f6dc86b4ead7..5390056ac6fb 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListUsages.json @@ -6,28 +6,30 @@ }, "responses": { "200": { - "value": [ - { - "dedicatedAvailabilityZoneId": "az1", - "dedicatedAvailabilityZoneName": "Availability Zone 1", - "dedicatedPlacementGroupId": "n1", - "dedicatedPlacementGroupName": "Placement Group 1", - "limit": 0, - "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", - "skuId": "general", - "skuName": "CS28-Node" - }, - { - "dedicatedAvailabilityZoneId": "az1", - "dedicatedAvailabilityZoneName": "Availability Zone 1", - "dedicatedPlacementGroupId": "n1", - "dedicatedPlacementGroupName": "Placement Group 1", - "limit": 0, - "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", - "skuId": "large", - "skuName": "CS36-Node" - } - ] + "body": { + "value": [ + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "general", + "skuName": "CS28-Node" + }, + { + "dedicatedAvailabilityZoneId": "az1", + "dedicatedAvailabilityZoneName": "Availability Zone 1", + "dedicatedPlacementGroupId": "n1", + "dedicatedPlacementGroupName": "Placement Group 1", + "limit": 0, + "resourceType": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes", + "skuId": "large", + "skuName": "CS36-Node" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json index 19357f08d7d7..d45d4d9d3b1a 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachineTemplates.json @@ -8,55 +8,57 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "location": "westus2", - "name": "centos-template", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:7e:93", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "path": "Datacenter/Workload VMs", - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "vSphereNetworks": null, - "vSphereTags": null, - "vmwaretools": "10309" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" - } - ] + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "location": "westus2", + "name": "centos-template", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:7e:93", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "path": "Datacenter/Workload VMs", + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "vSphereNetworks": null, + "vSphereTags": null, + "vmwaretools": "10309" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachineTemplates" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json index c1cbf7bc16a3..1d07558ccf66 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualMachines.json @@ -6,167 +6,169 @@ }, "responses": { "200": { - "value": [ - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-1", - "location": "westus2", - "name": "virtualMachine-1", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:d0:e1", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "body": { + "value": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-1", + "location": "westus2", + "name": "virtualMachine-1", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:d0:e1", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-100", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-100", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", - "location": "westus2", - "name": "virtualMachine-2", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:33:12", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + "tags": { + "inUse": "true" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-101", - "vmwaretools": "10309" + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "tags": { - "inUse": "true" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - }, - { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", - "location": "westus2", - "name": "virtualMachine-3", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "macAddress": "00:50:56:a6:63:f3", - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-2/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-2", + "location": "westus2", + "name": "virtualMachine-2", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:33:12", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-101", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "vSphereNetworks": null, - "vmId": "vm-102", - "vmwaretools": "10309" - }, - "tags": { - "inUse": "true" + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" - } - ] + { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup-1/providers/Microsoft.VMwareCloudSimple/virtualMachines/virtualMachine-3", + "location": "westus2", + "name": "virtualMachine-3", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "macAddress": "00:50:56:a6:63:f3", + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/rp-test/resourcepools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "vSphereNetworks": null, + "vmId": "vm-102", + "vmwaretools": "10309" + }, + "tags": { + "inUse": "true" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json index 91e316b2aa52..6681be5fddb5 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/ListVirtualNetworks.json @@ -8,58 +8,60 @@ }, "responses": { "200": { - "value": [ - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", - "location": "westus2", - "name": "Datacenter/CS-Management", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + "body": { + "value": [ + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19", + "location": "westus2", + "name": "Datacenter/CS-Management", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", - "location": "westus2", - "name": "Datacenter/CS-Rescue", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-20", + "location": "westus2", + "name": "Datacenter/CS-Rescue", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", - "location": "westus2", - "name": "Datacenter/CS-VSAN", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-21", + "location": "westus2", + "name": "Datacenter/CS-VSAN", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": false, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", - "location": "westus2", - "name": "Datacenter/CS-VMotion", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + { + "assignable": false, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-22", + "location": "westus2", + "name": "Datacenter/CS-VMotion", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - }, - { - "assignable": true, - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", - "location": "westus2", - "name": "Datacenter/net-01", - "properties": { - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" - }, - "type": "Microsoft.VMwareCloudSimple/virtualNetworks" - } - ] + { + "assignable": true, + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-35", + "location": "westus2", + "name": "Datacenter/net-01", + "properties": { + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud" + }, + "type": "Microsoft.VMwareCloudSimple/virtualNetworks" + } + ] + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json index 53d199fdd1ee..e5b7836398b9 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedCloudNode.json @@ -13,24 +13,26 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", - "location": "westus", - "name": "myNode", - "properties": { - "availabilityZoneId": "az1", - "created": "2019-05-21T13:43:26.441Z", - "placementGroupId": "n1", - "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", - "skuDescription": { - "id": "general", - "name": "CS28-Node" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudNodes/myNode", + "location": "westus", + "name": "myNode", + "properties": { + "availabilityZoneId": "az1", + "created": "2019-05-21T13:43:26.441Z", + "placementGroupId": "n1", + "purchaseId": "56acbd46-3d36-4bbf-9b08-57c30fdf6932", + "skuDescription": { + "id": "general", + "name": "CS28-Node" + }, + "status": "unused" }, - "status": "unused" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudNodes" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json index 03f073c728ba..b2474533eb83 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchDedicatedService.json @@ -12,18 +12,20 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", - "location": "westus2", - "name": "myService", - "properties": { - "gatewaySubnet": "10.0.0.0/28", - "isAccountOnboarded": "onBoarded", - "serviceURL": "https://westus-he.azure.cloudsimple.com" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/dedicatedCloudServices/myService", + "location": "westus2", + "name": "myService", + "properties": { + "gatewaySubnet": "10.0.0.0/28", + "isAccountOnboarded": "onBoarded", + "serviceURL": "https://westus-he.azure.cloudsimple.com" + }, + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/dedicatedCloudServices" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json index 886743192ec3..236e72e7df3b 100644 --- a/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json +++ b/specification/vmwarecloudsimple/resource-manager/Microsoft.VMwareCloudSimple/stable/2019-04-01/examples/PatchVirtualMachine.json @@ -12,58 +12,60 @@ }, "responses": { "200": { - "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", - "location": "westus2", - "name": "myVirtualMachine", - "properties": { - "amountOfRam": 4096, - "controllers": [ - { - "id": "1000", - "name": "SCSI controller 0", - "subType": "LSI_PARALEL", - "type": "SCSI" - } - ], - "disks": [ - { - "controllerId": "1000", - "independenceMode": "persistent", - "totalSize": 10485760, - "virtualDiskId": "2000", - "virtualDiskName": "Hard disk 1" - } - ], - "guestOS": "Other (32-bit)", - "guestOSType": "other", - "nics": [ - { - "ipAddresses": null, - "network": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" - }, - "nicType": "E1000", - "powerOnBoot": true, - "virtualNicId": "4000", - "virtualNicName": "Network adapter 1" - } - ], - "numberOfCores": 2, - "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", - "provisioningState": "Succeeded", - "resourcePool": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + "body": { + "id": "/subscriptions/{subscription-id}/resourcegroups/myResourceGroup/providers/Microsoft.VMwareCloudSimple/virtualMachines/myVirtualMachine", + "location": "westus2", + "name": "myVirtualMachine", + "properties": { + "amountOfRam": 4096, + "controllers": [ + { + "id": "1000", + "name": "SCSI controller 0", + "subType": "LSI_PARALEL", + "type": "SCSI" + } + ], + "disks": [ + { + "controllerId": "1000", + "independenceMode": "persistent", + "totalSize": 10485760, + "virtualDiskId": "2000", + "virtualDiskName": "Hard disk 1" + } + ], + "guestOS": "Other (32-bit)", + "guestOSType": "other", + "nics": [ + { + "ipAddresses": null, + "network": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualNetworks/dvportgroup-19" + }, + "nicType": "E1000", + "powerOnBoot": true, + "virtualNicId": "4000", + "virtualNicName": "Network adapter 1" + } + ], + "numberOfCores": 2, + "privateCloudId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud", + "provisioningState": "Succeeded", + "resourcePool": { + "id": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/resourcePools/resgroup-26" + }, + "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", + "status": "running", + "vSphereNetworks": null, + "vmId": "vm-106", + "vmwaretools": "10309" }, - "templateId": "/subscriptions/{subscription-id}/providers/Microsoft.VMwareCloudSimple/locations/westus2/privateClouds/myPrivateCloud/virtualMachineTemplates/vm-34", - "status": "running", - "vSphereNetworks": null, - "vmId": "vm-106", - "vmwaretools": "10309" - }, - "tags": { - "myTag": "tagValue" - }, - "type": "Microsoft.VMwareCloudSimple/virtualMachines" + "tags": { + "myTag": "tagValue" + }, + "type": "Microsoft.VMwareCloudSimple/virtualMachines" + } } } } diff --git a/specification/vmwarecloudsimple/resource-manager/readme.csharp.md b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md index d06cf426d2d5..e7e5f798bf98 100644 --- a/specification/vmwarecloudsimple/resource-manager/readme.csharp.md +++ b/specification/vmwarecloudsimple/resource-manager/readme.csharp.md @@ -10,5 +10,5 @@ csharp: payload-flattening-threshold: 2 clear-output-folder: true namespace: Microsoft.Azure.Management.VMwareCloudSimple - output-folder: $(csharp-sdks-folder)/VMwareCloudSimple/Management.VMwareCloudSimple/Generated + output-folder: $(csharp-sdks-folder)/vmwarecloudsimple/Microsoft.Azure.Management.VMwareCloudSimple/src/Generated ``` diff --git a/specification/web/resource-manager/readme.csharp.md b/specification/web/resource-manager/readme.csharp.md index bd67530b7beb..95ec5d345fc5 100644 --- a/specification/web/resource-manager/readme.csharp.md +++ b/specification/web/resource-manager/readme.csharp.md @@ -17,7 +17,7 @@ csharp: ``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile) namespace: Microsoft.Azure.Management.WebSites -output-folder: $(csharp-sdks-folder)/WebSites/Management.WebSites/Generated +output-folder: $(csharp-sdks-folder)/websites/Microsoft.Azure.Management.WebSites/src/Generated ``` ## Batch settings diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 98d98688451a..7dcfa534be8e 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -339,6 +339,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go diff --git a/specification/windowsiot/resource-manager/readme.md b/specification/windowsiot/resource-manager/readme.md index 3862d9dc07ad..523c30ce6dad 100644 --- a/specification/windowsiot/resource-manager/readme.md +++ b/specification/windowsiot/resource-manager/readme.md @@ -57,6 +57,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -78,7 +79,7 @@ csharp: license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.WindowsIoT payload-flattening-threshold: 1 - output-folder: $(csharp-sdks-folder)/WindowsIoT/Management.WindowsIoT/Generated + output-folder: $(csharp-sdks-folder)/windowsiot/Microsoft.Azure.Management.WindowsIoT/src/Generated clear-output-folder: true ``` diff --git a/specification/workloadmonitor/resource-manager/readme.md b/specification/workloadmonitor/resource-manager/readme.md index 3239c1ea90c7..2dd189c027d4 100644 --- a/specification/workloadmonitor/resource-manager/readme.md +++ b/specification/workloadmonitor/resource-manager/readme.md @@ -54,6 +54,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: + - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-java - repo: azure-sdk-for-go @@ -71,7 +72,7 @@ csharp: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION namespace: Microsoft.Azure.Management.WorkloadMonitor - output-folder: $(csharp-sdks-folder)/WorkloadMonitor/Management.WorkloadMonitor/Generated + output-folder: $(csharp-sdks-folder)/workloadmonitor/Microsoft.Azure.Management.WorkloadMonitor/src/Generated clear-output-folder: true ``` @@ -163,4 +164,4 @@ java: output-folder: $(azure-libraries-for-java-folder)/workloadmonitor/resource-manager/v2018_08_31_preview regenerate-manager: true generate-interface: true -``` \ No newline at end of file +```