From 63c0e9e3514832425822d8703336b9d8f3aa24ff Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 23 Feb 2018 03:21:19 +0000 Subject: [PATCH 1/5] Generated from 3919ecd69e5a6afe0d5e90ce47304617fc557243 Initial version of Subscription Creation API Swagger --- .../subscription/models/error_response.py | 1 + .../mgmt/subscription/models/location.py | 1 + .../mgmt/subscription/models/operation.py | 1 + .../subscription/models/operation_display.py | 1 + .../mgmt/subscription/models/subscription.py | 1 + .../models/subscription_definition.py | 1 + .../models/subscription_policies.py | 1 + .../models/tenant_id_description.py | 1 + ...finitions_operation_metadata_operations.py | 7 +- .../subscription_definitions_operations.py | 127 +++-- .../operations/subscriptions_operations.py | 17 +- .../operations/tenants_operations.py | 7 +- .../azure/mgmt/subscription/version.py | 2 +- azure-mgmt-subscription/build.json | 497 ++++++++++++++++++ 14 files changed, 606 insertions(+), 59 deletions(-) create mode 100644 azure-mgmt-subscription/build.json diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/error_response.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/error_response.py index 2cc2d8d68514..1a399569811b 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/error_response.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/error_response.py @@ -28,6 +28,7 @@ class ErrorResponse(Model): } def __init__(self, code=None, message=None): + super(ErrorResponse, self).__init__() self.code = code self.message = message diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/location.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/location.py index ee2afd412c6b..cccfb4331997 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/location.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/location.py @@ -52,6 +52,7 @@ class Location(Model): } def __init__(self): + super(Location, self).__init__() self.id = None self.subscription_id = None self.name = None diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/operation.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/operation.py index d9088e03cfde..14464c2f1513 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/operation.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/operation.py @@ -27,5 +27,6 @@ class Operation(Model): } def __init__(self, name=None, display=None): + super(Operation, self).__init__() self.name = name self.display = display diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/operation_display.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/operation_display.py index 405bad34fa1a..80a3da0683a3 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/operation_display.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/operation_display.py @@ -31,6 +31,7 @@ class OperationDisplay(Model): } def __init__(self, provider=None, resource=None, operation=None): + super(OperationDisplay, self).__init__() self.provider = provider self.resource = resource self.operation = operation diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription.py index 363a487bbd2b..d72e4998c5fa 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription.py @@ -55,6 +55,7 @@ class Subscription(Model): } def __init__(self, subscription_policies=None, authorization_source=None): + super(Subscription, self).__init__() self.id = None self.subscription_id = None self.display_name = None diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_definition.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_definition.py index 07da90b83024..d1fab3d6e563 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_definition.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_definition.py @@ -54,6 +54,7 @@ class SubscriptionDefinition(Model): } def __init__(self, subscription_display_name=None, offer_type=None, etag=None): + super(SubscriptionDefinition, self).__init__() self.id = None self.name = None self.type = None diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_policies.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_policies.py index 58f9751348fe..5e5c55087c91 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_policies.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/subscription_policies.py @@ -44,6 +44,7 @@ class SubscriptionPolicies(Model): } def __init__(self): + super(SubscriptionPolicies, self).__init__() self.location_placement_id = None self.quota_id = None self.spending_limit = None diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/models/tenant_id_description.py b/azure-mgmt-subscription/azure/mgmt/subscription/models/tenant_id_description.py index 4ff09fcd06c5..69af496a5fc3 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/models/tenant_id_description.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/models/tenant_id_description.py @@ -37,5 +37,6 @@ class TenantIdDescription(Model): } def __init__(self): + super(TenantIdDescription, self).__init__() self.id = None self.tenant_id = None diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operation_metadata_operations.py b/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operation_metadata_operations.py index 2054c64dcf6d..2094874be546 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operation_metadata_operations.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operation_metadata_operations.py @@ -21,7 +21,7 @@ class SubscriptionDefinitionsOperationMetadataOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Version of the API to be used with the client request. Current version is 2015-06-01. Constant value: "2017-11-01-preview". """ @@ -55,7 +55,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/providers/Microsoft.Subscription/operations' + url = self.list.metadata['url'] # Construct parameters query_parameters = {} @@ -78,7 +78,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: raise models.ErrorResponseException(self._deserialize, response) @@ -94,3 +94,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/providers/Microsoft.Subscription/operations'} diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operations.py b/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operations.py index 66855a561870..6e09a9c8f734 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operations.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscription_definitions_operations.py @@ -12,6 +12,7 @@ import uuid from msrest.pipeline import ClientRawResponse from msrestazure.azure_exceptions import CloudError +from msrest.exceptions import DeserializationError from msrestazure.azure_operation import AzureOperationPoller from .. import models @@ -23,7 +24,7 @@ class SubscriptionDefinitionsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: Version of the API to be used with the client request. Current version is 2015-06-01. Constant value: "2017-11-01-preview". """ @@ -38,28 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config - def create( - self, subscription_definition_name, body, custom_headers=None, raw=False, **operation_config): - """Create an Azure subscription definition. - :param subscription_definition_name: The name of the Azure - subscription definition. - :type subscription_definition_name: str - :param body: The subscription definition creation. - :type body: ~azure.mgmt.subscription.models.SubscriptionDefinition - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :return: An instance of AzureOperationPoller that returns - SubscriptionDefinition or ClientRawResponse if raw=true - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.subscription.models.SubscriptionDefinition] - or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorResponseException` - """ + def _create_initial( + self, subscription_definition_name, body, custom_headers=None, raw=False, **operation_config): # Construct URL - url = '/providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}' + url = self.create.metadata['url'] path_format_arguments = { 'subscriptionDefinitionName': self._serialize.url("subscription_definition_name", subscription_definition_name, 'str') } @@ -83,34 +67,87 @@ def create( body_content = self._serialize.body(body, 'SubscriptionDefinition') # Construct and send request - def long_running_send(): + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) - request = self._client.put(url, query_parameters) - return self._client.send( - request, header_parameters, body_content, **operation_config) + if response.status_code not in [200, 202]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + header_dict = {} + + if response.status_code == 200: + deserialized = self._deserialize('SubscriptionDefinition', response) + header_dict = { + 'Location': 'str', + 'Retry-After': 'str', + } + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + try: + client_raw_response.add_headers(header_dict) + except DeserializationError: + pass # Deserialization of Headers here can fail + return client_raw_response + + return deserialized + + def create( + self, subscription_definition_name, body, custom_headers=None, raw=False, **operation_config): + """Create an Azure subscription definition. + + :param subscription_definition_name: The name of the Azure + subscription definition. + :type subscription_definition_name: str + :param body: The subscription definition creation. + :type body: ~azure.mgmt.subscription.models.SubscriptionDefinition + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: An instance of AzureOperationPoller that returns + SubscriptionDefinition or ClientRawResponse if raw=true + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.subscription.models.SubscriptionDefinition] + or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._create_initial( + subscription_definition_name=subscription_definition_name, + body=body, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + if raw: + return raw_result + + # Construct and send request + def long_running_send(): + return raw_result.response def get_long_running_status(status_link, headers=None): request = self._client.get(status_link) if headers: request.headers.update(headers) + header_parameters = {} + header_parameters['x-ms-client-request-id'] = raw_result.response.request.headers['x-ms-client-request-id'] return self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) def get_long_running_output(response): if response.status_code not in [200, 202]: raise models.ErrorResponseException(self._deserialize, response) - deserialized = None - header_dict = {} - - if response.status_code == 200: - deserialized = self._deserialize('SubscriptionDefinition', response) - header_dict = { - 'Location': 'str', - 'Retry-After': 'str', - } + header_dict = { + 'Location': 'str', + 'Retry-After': 'str', + } + deserialized = self._deserialize('SubscriptionDefinition', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -119,16 +156,13 @@ def get_long_running_output(response): return deserialized - if raw: - response = long_running_send() - return get_long_running_output(response) - long_running_operation_timeout = operation_config.get( 'long_running_operation_timeout', self.config.long_running_operation_timeout) return AzureOperationPoller( long_running_send, get_long_running_output, get_long_running_status, long_running_operation_timeout) + create.metadata = {'url': '/providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}'} def get( self, subscription_definition_name, custom_headers=None, raw=False, **operation_config): @@ -149,7 +183,7 @@ def get( :class:`ErrorResponseException` """ # Construct URL - url = '/providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}' + url = self.get.metadata['url'] path_format_arguments = { 'subscriptionDefinitionName': self._serialize.url("subscription_definition_name", subscription_definition_name, 'str') } @@ -171,7 +205,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: raise models.ErrorResponseException(self._deserialize, response) @@ -186,6 +220,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/providers/Microsoft.Subscription/subscriptionDefinitions/{subscriptionDefinitionName}'} def list( self, custom_headers=None, raw=False, **operation_config): @@ -206,7 +241,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/providers/Microsoft.Subscription/subscriptionDefinitions' + url = self.list.metadata['url'] # Construct parameters query_parameters = {} @@ -229,7 +264,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: raise models.ErrorResponseException(self._deserialize, response) @@ -245,6 +280,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/providers/Microsoft.Subscription/subscriptionDefinitions'} def get_operation_status( self, operation_id, custom_headers=None, raw=False, **operation_config): @@ -266,7 +302,7 @@ def get_operation_status( :raises: :class:`CloudError` """ # Construct URL - url = '/providers/Microsoft.Subscription/subscriptionOperations/{operationId}' + url = self.get_operation_status.metadata['url'] path_format_arguments = { 'operationId': self._serialize.url("operation_id", operation_id, 'str') } @@ -288,7 +324,7 @@ def get_operation_status( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200, 202]: exp = CloudError(response) @@ -311,3 +347,4 @@ def get_operation_status( return client_raw_response return deserialized + get_operation_status.metadata = {'url': '/providers/Microsoft.Subscription/subscriptionOperations/{operationId}'} diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscriptions_operations.py b/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscriptions_operations.py index a1afbc3fb4bf..c42bd53d4d38 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscriptions_operations.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/operations/subscriptions_operations.py @@ -22,7 +22,7 @@ class SubscriptionsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: The API version to use for the operation. Constant value: "2016-06-01". """ @@ -61,7 +61,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions/{subscriptionId}/locations' + url = self.list_locations.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("subscription_id", subscription_id, 'str') } @@ -88,7 +88,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -106,6 +106,7 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list_locations.metadata = {'url': '/subscriptions/{subscriptionId}/locations'} def get( self, subscription_id, custom_headers=None, raw=False, **operation_config): @@ -124,7 +125,7 @@ def get( :raises: :class:`CloudError` """ # Construct URL - url = '/subscriptions/{subscriptionId}' + url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("subscription_id", subscription_id, 'str') } @@ -146,7 +147,7 @@ def get( # Construct and send request request = self._client.get(url, query_parameters) - response = self._client.send(request, header_parameters, **operation_config) + response = self._client.send(request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -163,6 +164,7 @@ def get( return client_raw_response return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}'} def list( self, custom_headers=None, raw=False, **operation_config): @@ -182,7 +184,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/subscriptions' + url = self.list.metadata['url'] # Construct parameters query_parameters = {} @@ -205,7 +207,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -223,3 +225,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/subscriptions'} diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/operations/tenants_operations.py b/azure-mgmt-subscription/azure/mgmt/subscription/operations/tenants_operations.py index c5c440db15c6..e3d96b6c6a8b 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/operations/tenants_operations.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/operations/tenants_operations.py @@ -22,7 +22,7 @@ class TenantsOperations(object): :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. - :param deserializer: An objec model deserializer. + :param deserializer: An object model deserializer. :ivar api_version: The API version to use for the operation. Constant value: "2016-06-01". """ @@ -55,7 +55,7 @@ def internal_paging(next_link=None, raw=False): if not next_link: # Construct URL - url = '/tenants' + url = self.list.metadata['url'] # Construct parameters query_parameters = {} @@ -78,7 +78,7 @@ def internal_paging(next_link=None, raw=False): # Construct and send request request = self._client.get(url, query_parameters) response = self._client.send( - request, header_parameters, **operation_config) + request, header_parameters, stream=False, **operation_config) if response.status_code not in [200]: exp = CloudError(response) @@ -96,3 +96,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized + list.metadata = {'url': '/tenants'} diff --git a/azure-mgmt-subscription/azure/mgmt/subscription/version.py b/azure-mgmt-subscription/azure/mgmt/subscription/version.py index e0ec669828cb..53a203f32aaf 100644 --- a/azure-mgmt-subscription/azure/mgmt/subscription/version.py +++ b/azure-mgmt-subscription/azure/mgmt/subscription/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.0" +VERSION = "" diff --git a/azure-mgmt-subscription/build.json b/azure-mgmt-subscription/build.json new file mode 100644 index 000000000000..1c939864fe1d --- /dev/null +++ b/azure-mgmt-subscription/build.json @@ -0,0 +1,497 @@ +{ + "autorest": [ + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/autorest-core", + "version": "2.0.4251", + "engines": { + "node": ">=7.10.0" + }, + "dependencies": {}, + "optionalDependencies": {}, + "devDependencies": { + "@types/commonmark": "^0.27.0", + "@types/js-yaml": "^3.10.0", + "@types/jsonpath": "^0.1.29", + "@types/node": "^8.0.53", + "@types/source-map": "0.5.0", + "@types/yargs": "^8.0.2", + "@types/z-schema": "^3.16.31", + "dts-generator": "^2.1.0", + "mocha": "^4.0.1", + "mocha-typescript": "^1.1.7", + "shx": "0.2.2", + "static-link": "^0.2.3", + "vscode-jsonrpc": "^3.3.1" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "_integrity": null, + "_shasum": "09bef8c85929eb24b35771f6c8e7ae7a59b5e761", + "_shrinkwrap": null, + "bin": { + "autorest-core": "./dist/app.js", + "autorest-language-service": "dist/language-service/language-service.js" + }, + "_id": "@microsoft.azure/autorest-core@2.0.4251", + "_from": "file:/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "raw": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "rawSpec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core", + "_where": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4251/node_modules/@microsoft.azure/autorest-core" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "options": { + "port": 62899, + "host": "2130729791", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/autorest.modeler", + "version": "2.0.21", + "dependencies": { + "dotnet-2.0.0": "^1.3.2" + }, + "optionalDependencies": {}, + "devDependencies": { + "coffee-script": "^1.11.1", + "dotnet-sdk-2.0.0": "^1.1.1", + "gulp": "^3.9.1", + "gulp-filter": "^5.0.0", + "gulp-line-ending-corrector": "^1.0.1", + "iced-coffee-script": "^108.0.11", + "marked": "^0.3.6", + "marked-terminal": "^2.0.0", + "moment": "^2.17.1", + "run-sequence": "*", + "shx": "^0.2.2", + "through2-parallel": "^0.1.3", + "yargs": "^8.0.2", + "yarn": "^1.0.2" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "_integrity": null, + "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90", + "_shrinkwrap": null, + "bin": null, + "_id": "@microsoft.azure/autorest.modeler@2.0.21", + "_from": "file:/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "raw": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "rawSpec": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler", + "_where": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "options": { + "port": 62899, + "host": "2130729791", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/autorest.modeler", + "version": "2.3.38", + "dependencies": { + "dotnet-2.0.0": "^1.4.4" + }, + "optionalDependencies": {}, + "devDependencies": { + "@microsoft.azure/autorest.testserver": "2.3.1", + "autorest": "^2.0.4201", + "coffee-script": "^1.11.1", + "dotnet-sdk-2.0.0": "^1.4.4", + "gulp": "^3.9.1", + "gulp-filter": "^5.0.0", + "gulp-line-ending-corrector": "^1.0.1", + "iced-coffee-script": "^108.0.11", + "marked": "^0.3.6", + "marked-terminal": "^2.0.0", + "moment": "^2.17.1", + "run-sequence": "*", + "shx": "^0.2.2", + "through2-parallel": "^0.1.3", + "yargs": "^8.0.2", + "yarn": "^1.0.2" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "_integrity": null, + "_shasum": "903bb77932e4ed1b8bc3b25cc39b167143494f6c", + "_shrinkwrap": null, + "bin": null, + "_id": "@microsoft.azure/autorest.modeler@2.3.38", + "_from": "file:/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "raw": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "rawSpec": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler", + "_where": "/tmp/.autorest/@microsoft.azure_autorest.modeler@2.3.38/node_modules/@microsoft.azure/autorest.modeler" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "options": { + "port": 62899, + "host": "2130729791", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/autorest.python", + "version": "2.1.38", + "dependencies": { + "dotnet-2.0.0": "^1.4.4" + }, + "optionalDependencies": {}, + "devDependencies": { + "@microsoft.azure/autorest.testserver": "^2.3.13", + "autorest": "^2.0.4203", + "coffee-script": "^1.11.1", + "dotnet-sdk-2.0.0": "^1.4.4", + "gulp": "^3.9.1", + "gulp-filter": "^5.0.0", + "gulp-line-ending-corrector": "^1.0.1", + "iced-coffee-script": "^108.0.11", + "marked": "^0.3.6", + "marked-terminal": "^2.0.0", + "moment": "^2.17.1", + "run-sequence": "*", + "shx": "^0.2.2", + "through2-parallel": "^0.1.3", + "yargs": "^8.0.2", + "yarn": "^1.0.2" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "_integrity": null, + "_shasum": "efedbbb4c508ff08b3c83a5e9e2020598cae97b4", + "_shrinkwrap": null, + "bin": null, + "_id": "@microsoft.azure/autorest.python@2.1.38", + "_from": "file:/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "raw": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "rawSpec": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python", + "_where": "/tmp/.autorest/@microsoft.azure_autorest.python@2.1.38/node_modules/@microsoft.azure/autorest.python" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "options": { + "port": 62899, + "host": "2130729791", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/classic-openapi-validator", + "version": "1.0.9", + "dependencies": { + "dotnet-2.0.0": "^1.1.0" + }, + "optionalDependencies": {}, + "devDependencies": { + "dotnet-sdk-2.0.0": "^1.1.1" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "_integrity": null, + "_shasum": "554be1db3e054b0a0e4e51c842ff5b7c6a60784c", + "_shrinkwrap": null, + "bin": null, + "_id": "@microsoft.azure/classic-openapi-validator@1.0.9", + "_from": "file:/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "raw": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "rawSpec": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator", + "_where": "/tmp/.autorest/@microsoft.azure_classic-openapi-validator@1.0.9/node_modules/@microsoft.azure/classic-openapi-validator" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "options": { + "port": 62899, + "host": "2130729791", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/openapi-validator", + "version": "1.0.2", + "dependencies": { + "fs": "^0.0.1-security", + "js-yaml": "^3.8.4", + "jsonpath": "^0.2.11", + "vscode-jsonrpc": "^3.2.0" + }, + "optionalDependencies": {}, + "devDependencies": { + "@types/js-yaml": "^3.5.30", + "@types/jsonpath": "^0.1.29", + "@types/node": "^7.0.18", + "gulp": "3.9.1", + "gulp-clean": "0.3.2", + "gulp-dotnet-cli": "0.4.0", + "gulp-mocha": "4.3.1", + "gulp-run": "1.7.1", + "mocha": "3.2.0", + "mocha-typescript": "1.0.22", + "typescript": "2.3.3" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "_integrity": null, + "_shasum": "352190e6dbb4a1d16587b39e589b9615d6e4aaaf", + "_shrinkwrap": null, + "bin": null, + "_id": "@microsoft.azure/openapi-validator@1.0.2", + "_from": "file:/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "raw": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "rawSpec": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator", + "_where": "/tmp/.autorest/@microsoft.azure_openapi-validator@1.0.2/node_modules/@microsoft.azure/openapi-validator" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "options": { + "port": 62899, + "host": "2130729791", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + } + ], + "autorest_bootstrap": {} +} \ No newline at end of file From f8b20c92f94b95d38474ed2e64a4e17507ca546b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 23 Feb 2018 20:42:19 +0000 Subject: [PATCH 2/5] Generated from 19a919bf672d87a12c21d5af83ed15491248ce73 Making Offer Type as enum --- azure-mgmt-subscription/build.json | 134 +++++++++++++++++++++++------ 1 file changed, 110 insertions(+), 24 deletions(-) diff --git a/azure-mgmt-subscription/build.json b/azure-mgmt-subscription/build.json index 1c939864fe1d..96761f04c4cd 100644 --- a/azure-mgmt-subscription/build.json +++ b/azure-mgmt-subscription/build.json @@ -72,13 +72,99 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "name": "_tmp_.autorest.8147.711206449843.personal-lock", "options": { - "port": 62899, - "host": "2130729791", + "port": 7989, + "host": "2130706749", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/autorest-core", + "version": "2.0.4254", + "engines": { + "node": ">=7.10.0" + }, + "dependencies": {}, + "optionalDependencies": {}, + "devDependencies": { + "@types/commonmark": "^0.27.0", + "@types/js-yaml": "^3.10.0", + "@types/jsonpath": "^0.1.29", + "@types/node": "^8.0.53", + "@types/source-map": "0.5.0", + "@types/yargs": "^8.0.2", + "@types/z-schema": "^3.16.31", + "dts-generator": "^2.1.0", + "mocha": "^4.0.1", + "mocha-typescript": "^1.1.7", + "shx": "0.2.2", + "static-link": "^0.2.3", + "vscode-jsonrpc": "^3.3.1" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "_integrity": null, + "_shasum": "415f00de881e2377be59ae87eb91f9aa3ad47e27", + "_shrinkwrap": null, + "bin": { + "autorest-core": "./dist/app.js", + "autorest-language-service": "dist/language-service/language-service.js" + }, + "_id": "@microsoft.azure/autorest-core@2.0.4254", + "_from": "file:/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "raw": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "rawSpec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core", + "_where": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4254/node_modules/@microsoft.azure/autorest-core" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "options": { + "port": 7989, + "host": "2130706749", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -155,13 +241,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "name": "_tmp_.autorest.8147.711206449843.personal-lock", "options": { - "port": 62899, - "host": "2130729791", + "port": 7989, + "host": "2130706749", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -240,13 +326,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "name": "_tmp_.autorest.8147.711206449843.personal-lock", "options": { - "port": 62899, - "host": "2130729791", + "port": 7989, + "host": "2130706749", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -325,13 +411,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "name": "_tmp_.autorest.8147.711206449843.personal-lock", "options": { - "port": 62899, - "host": "2130729791", + "port": 7989, + "host": "2130706749", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -395,13 +481,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "name": "_tmp_.autorest.8147.711206449843.personal-lock", "options": { - "port": 62899, - "host": "2130729791", + "port": 7989, + "host": "2130706749", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -478,13 +564,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.7841.885627461198.personal-lock", + "name": "_tmp_.autorest.8147.711206449843.personal-lock", "options": { - "port": 62899, - "host": "2130729791", + "port": 7989, + "host": "2130706749", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.7841.885627461198.personal-lock:62899" + "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" }, "file": "/tmp/_tmp_.autorest.lock" }, From 245cc821c976325da888de9b85351f4da397871b Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 23 Feb 2018 20:46:10 +0000 Subject: [PATCH 3/5] Generated from d799d741dc4e103488965b0f53b7d541e5563e47 Removing the API to monitor an operation since the client automatically handles the responses with location headers --- azure-mgmt-subscription/build.json | 56 +++++++++++++++--------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/azure-mgmt-subscription/build.json b/azure-mgmt-subscription/build.json index 96761f04c4cd..418fddaa153b 100644 --- a/azure-mgmt-subscription/build.json +++ b/azure-mgmt-subscription/build.json @@ -72,13 +72,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -158,13 +158,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -241,13 +241,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -326,13 +326,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -411,13 +411,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -481,13 +481,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -564,13 +564,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8147.711206449843.personal-lock", + "name": "_tmp_.autorest.8256.283177007334.personal-lock", "options": { - "port": 7989, - "host": "2130706749", + "port": 13991, + "host": "2130766265", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8147.711206449843.personal-lock:7989" + "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" }, "file": "/tmp/_tmp_.autorest.lock" }, From 145550c0902d9ba1a43e61b83d072fb954b65c63 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 23 Feb 2018 23:44:44 +0000 Subject: [PATCH 4/5] Generated from 5d44b158825f15b16e6d62afaf5a392a8c872412 Rename folder to match with the swagger version --- azure-mgmt-subscription/build.json | 56 +++++++++++++++--------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/azure-mgmt-subscription/build.json b/azure-mgmt-subscription/build.json index 418fddaa153b..eb87ae59a5dd 100644 --- a/azure-mgmt-subscription/build.json +++ b/azure-mgmt-subscription/build.json @@ -72,13 +72,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -158,13 +158,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -241,13 +241,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -326,13 +326,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -411,13 +411,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -481,13 +481,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -564,13 +564,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.8256.283177007334.personal-lock", + "name": "_tmp_.autorest.6661.0414766542235.personal-lock", "options": { - "port": 13991, - "host": "2130766265", + "port": 22364, + "host": "2130726044", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.8256.283177007334.personal-lock:13991" + "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" }, "file": "/tmp/_tmp_.autorest.lock" }, From 717f1dd2be1789cac182d7ba1ae8b7b67c7a1455 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 28 Feb 2018 00:20:52 +0000 Subject: [PATCH 5/5] Generated from 931a5a30f309919b8eba2ce4978bcb2e00927db2 Improving the descriptions of models --- azure-mgmt-subscription/build.json | 142 +++++++++++++++++++++++------ 1 file changed, 114 insertions(+), 28 deletions(-) diff --git a/azure-mgmt-subscription/build.json b/azure-mgmt-subscription/build.json index eb87ae59a5dd..2d306c3a8d1f 100644 --- a/azure-mgmt-subscription/build.json +++ b/azure-mgmt-subscription/build.json @@ -72,13 +72,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -158,13 +158,99 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" + }, + "file": "/tmp/_tmp_.autorest.lock" + }, + "dotnetPath": "/root/.dotnet" + }, + "installationPath": "/tmp/.autorest" + }, + { + "resolvedInfo": null, + "packageMetadata": { + "name": "@microsoft.azure/autorest-core", + "version": "2.0.4255", + "engines": { + "node": ">=7.10.0" + }, + "dependencies": {}, + "optionalDependencies": {}, + "devDependencies": { + "@types/commonmark": "^0.27.0", + "@types/js-yaml": "^3.10.0", + "@types/jsonpath": "^0.1.29", + "@types/node": "^8.0.53", + "@types/source-map": "0.5.0", + "@types/yargs": "^8.0.2", + "@types/z-schema": "^3.16.31", + "dts-generator": "^2.1.0", + "mocha": "^4.0.1", + "mocha-typescript": "^1.1.7", + "shx": "0.2.2", + "static-link": "^0.2.3", + "vscode-jsonrpc": "^3.3.1" + }, + "bundleDependencies": false, + "peerDependencies": {}, + "deprecated": false, + "_resolved": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "_integrity": null, + "_shasum": "fefc7a80d07418f6feb6e686932021d0615e5033", + "_shrinkwrap": null, + "bin": { + "autorest-core": "./dist/app.js", + "autorest-language-service": "dist/language-service/language-service.js" + }, + "_id": "@microsoft.azure/autorest-core@2.0.4255", + "_from": "file:/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "_requested": { + "type": "directory", + "where": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "raw": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "rawSpec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "saveSpec": "file:/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "fetchSpec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core" + }, + "_spec": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core", + "_where": "/tmp/.autorest/@microsoft.azure_autorest-core@2.0.4255/node_modules/@microsoft.azure/autorest-core" + }, + "extensionManager": { + "installationPath": "/tmp/.autorest", + "sharedLock": { + "name": "/tmp/.autorest", + "exclusiveLock": { + "name": "_tmp_.autorest.exclusive-lock", + "options": { + "port": 5245, + "host": "2130716018", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.exclusive-lock:5245" + }, + "busyLock": { + "name": "_tmp_.autorest.busy-lock", + "options": { + "port": 46071, + "host": "2130735832", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" + }, + "personalLock": { + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", + "options": { + "port": 47276, + "host": "2130765944", + "exclusive": true + }, + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -241,13 +327,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -326,13 +412,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -411,13 +497,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -481,13 +567,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" }, @@ -564,13 +650,13 @@ "pipe": "/tmp/pipe__tmp_.autorest.busy-lock:46071" }, "personalLock": { - "name": "_tmp_.autorest.6661.0414766542235.personal-lock", + "name": "_tmp_.autorest.2017.1978029159043.personal-lock", "options": { - "port": 22364, - "host": "2130726044", + "port": 47276, + "host": "2130765944", "exclusive": true }, - "pipe": "/tmp/pipe__tmp_.autorest.6661.0414766542235.personal-lock:22364" + "pipe": "/tmp/pipe__tmp_.autorest.2017.1978029159043.personal-lock:47276" }, "file": "/tmp/_tmp_.autorest.lock" },