Skip to content

Commit

Permalink
Generated from 5e79d9d5c111117224acdb1d9044680fd36e31da (#7932)
Browse files Browse the repository at this point in the history
remove network 2019-08 to generate python sdk before service is ready
  • Loading branch information
AutorestCI authored and fengzhou-msft committed Oct 16, 2019
1 parent 0baf202 commit 78f0be3
Show file tree
Hide file tree
Showing 61 changed files with 4,136 additions and 3,381 deletions.
76 changes: 40 additions & 36 deletions sdk/appservice/azure-mgmt-web/azure/mgmt/web/_operations_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def check_name_availability(self, name, type, is_fqdn=None, custom_headers=None,
include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser',
'Microsoft.Web/sites', 'Microsoft.Web/sites/slots',
'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'
:type type: str or ~azure.mgmt.web.models.CheckNameResourceTypes
:type type: str or
~azure.mgmt.web.v2018_02_01.models.CheckNameResourceTypes
:param is_fqdn: Is fully qualified domain name.
:type is_fqdn: bool
:param dict custom_headers: headers that will be added to the request
Expand All @@ -34,10 +35,10 @@ def check_name_availability(self, name, type, is_fqdn=None, custom_headers=None,
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: ResourceNameAvailability or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.ResourceNameAvailability or
:rtype: ~azure.mgmt.web.v2018_02_01.models.ResourceNameAvailability or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('check_name_availability')
Expand Down Expand Up @@ -65,10 +66,10 @@ def get_publishing_user(self, custom_headers=None, raw=False, **operation_config
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: User or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.User or
:rtype: ~azure.mgmt.web.v2018_02_01.models.User or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('get_publishing_user')
Expand Down Expand Up @@ -98,10 +99,10 @@ def get_source_control(self, source_control_type, custom_headers=None, raw=False
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: SourceControl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.SourceControl or
:rtype: ~azure.mgmt.web.v2018_02_01.models.SourceControl or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('get_source_control')
Expand Down Expand Up @@ -129,10 +130,10 @@ def get_subscription_deployment_locations(self, custom_headers=None, raw=False,
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: DeploymentLocations or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.DeploymentLocations or
:rtype: ~azure.mgmt.web.v2018_02_01.models.DeploymentLocations or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('get_subscription_deployment_locations')
Expand Down Expand Up @@ -165,9 +166,9 @@ def list_billing_meters(self, billing_location=None, os_type=None, custom_header
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of BillingMeter
:rtype:
~azure.mgmt.web.models.BillingMeterPaged[~azure.mgmt.web.models.BillingMeter]
~azure.mgmt.web.v2018_02_01.models.BillingMeterPaged[~azure.mgmt.web.v2018_02_01.models.BillingMeter]
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('list_billing_meters')
Expand All @@ -190,7 +191,7 @@ def list_geo_regions(self, sku=None, linux_workers_enabled=None, xenon_workers_e
:param sku: Name of SKU used to filter the regions. Possible values
include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic',
'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated'
:type sku: str or ~azure.mgmt.web.models.SkuName
:type sku: str or ~azure.mgmt.web.v2018_02_01.models.SkuName
:param linux_workers_enabled: Specify <code>true</code> if you want to
filter to only regions that support Linux workers.
:type linux_workers_enabled: bool
Expand All @@ -207,9 +208,9 @@ def list_geo_regions(self, sku=None, linux_workers_enabled=None, xenon_workers_e
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of GeoRegion
:rtype:
~azure.mgmt.web.models.GeoRegionPaged[~azure.mgmt.web.models.GeoRegion]
~azure.mgmt.web.v2018_02_01.models.GeoRegionPaged[~azure.mgmt.web.v2018_02_01.models.GeoRegion]
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('list_geo_regions')
Expand Down Expand Up @@ -238,9 +239,9 @@ def list_premier_add_on_offers(self, custom_headers=None, raw=False, **operation
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of PremierAddOnOffer
:rtype:
~azure.mgmt.web.models.PremierAddOnOfferPaged[~azure.mgmt.web.models.PremierAddOnOffer]
~azure.mgmt.web.v2018_02_01.models.PremierAddOnOfferPaged[~azure.mgmt.web.v2018_02_01.models.PremierAddOnOffer]
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('list_premier_add_on_offers')
Expand Down Expand Up @@ -271,9 +272,9 @@ def list_site_identifiers_assigned_to_host_name(self, name=None, custom_headers=
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of Identifier
:rtype:
~azure.mgmt.web.models.IdentifierPaged[~azure.mgmt.web.models.Identifier]
~azure.mgmt.web.v2018_02_01.models.IdentifierPaged[~azure.mgmt.web.v2018_02_01.models.Identifier]
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('list_site_identifiers_assigned_to_host_name')
Expand Down Expand Up @@ -301,10 +302,10 @@ def list_skus(self, custom_headers=None, raw=False, **operation_config):
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: SkuInfos or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.SkuInfos or
:rtype: ~azure.mgmt.web.v2018_02_01.models.SkuInfos or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('list_skus')
Expand Down Expand Up @@ -333,9 +334,9 @@ def list_source_controls(self, custom_headers=None, raw=False, **operation_confi
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of SourceControl
:rtype:
~azure.mgmt.web.models.SourceControlPaged[~azure.mgmt.web.models.SourceControl]
~azure.mgmt.web.v2018_02_01.models.SourceControlPaged[~azure.mgmt.web.v2018_02_01.models.SourceControl]
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('list_source_controls')
Expand Down Expand Up @@ -394,17 +395,17 @@ def update_publishing_user(self, user_details, custom_headers=None, raw=False, *
Updates publishing user.
:param user_details: Details of publishing user
:type user_details: ~azure.mgmt.web.models.User
:type user_details: ~azure.mgmt.web.v2018_02_01.models.User
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: User or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.User or
:rtype: ~azure.mgmt.web.v2018_02_01.models.User or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('update_publishing_user')
Expand All @@ -429,17 +430,18 @@ def update_source_control(self, source_control_type, request_message, custom_hea
:param source_control_type: Type of source control
:type source_control_type: str
:param request_message: Source control token information
:type request_message: ~azure.mgmt.web.models.SourceControl
:type request_message:
~azure.mgmt.web.v2018_02_01.models.SourceControl
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: SourceControl or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.SourceControl or
:rtype: ~azure.mgmt.web.v2018_02_01.models.SourceControl or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('update_source_control')
Expand All @@ -465,17 +467,18 @@ def validate(self, resource_group_name, validate_request, custom_headers=None, r
resource belongs.
:type resource_group_name: str
:param validate_request: Request with the resources to validate.
:type validate_request: ~azure.mgmt.web.models.ValidateRequest
:type validate_request:
~azure.mgmt.web.v2018_02_01.models.ValidateRequest
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: ValidateResponse or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.ValidateResponse or
:rtype: ~azure.mgmt.web.v2018_02_01.models.ValidateResponse or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('validate')
Expand All @@ -499,7 +502,7 @@ def validate_container_settings(self, validate_container_settings_request, resou
:param validate_container_settings_request:
:type validate_container_settings_request:
~azure.mgmt.web.models.ValidateContainerSettingsRequest
~azure.mgmt.web.v2018_02_01.models.ValidateContainerSettingsRequest
:param resource_group_name: Name of the resource group to which the
resource belongs.
:type resource_group_name: str
Expand All @@ -511,7 +514,7 @@ def validate_container_settings(self, validate_container_settings_request, resou
:return: object or ClientRawResponse if raw=true
:rtype: object or ~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('validate_container_settings')
Expand Down Expand Up @@ -570,17 +573,18 @@ def verify_hosting_environment_vnet(self, parameters, custom_headers=None, raw=F
analyzing the Network Security Group rules.
:param parameters: VNET information
:type parameters: ~azure.mgmt.web.models.VnetParameters
:type parameters: ~azure.mgmt.web.v2018_02_01.models.VnetParameters
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: VnetValidationFailureDetails or ClientRawResponse if raw=true
:rtype: ~azure.mgmt.web.models.VnetValidationFailureDetails or
:rtype:
~azure.mgmt.web.v2018_02_01.models.VnetValidationFailureDetails or
~msrest.pipeline.ClientRawResponse
:raises:
:class:`DefaultErrorResponseException<azure.mgmt.web.models.DefaultErrorResponseException>`
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
"""
api_version = self._get_api_version('verify_hosting_environment_vnet')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class WebSiteManagementClient(SDKClient):
:vartype config: WebSiteManagementClientConfiguration
:ivar domains: Domains operations
:vartype domains: azure.mgmt.web.operations.DomainsOperations
:vartype domains: azure.mgmt.web.v2015_04_01.operations.DomainsOperations
:ivar top_level_domains: TopLevelDomains operations
:vartype top_level_domains: azure.mgmt.web.operations.TopLevelDomainsOperations
:vartype top_level_domains: azure.mgmt.web.v2015_04_01.operations.TopLevelDomainsOperations
:ivar domain_registration_provider: DomainRegistrationProvider operations
:vartype domain_registration_provider: azure.mgmt.web.operations.DomainRegistrationProviderOperations
:vartype domain_registration_provider: azure.mgmt.web.v2015_04_01.operations.DomainRegistrationProviderOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand Down
Loading

0 comments on commit 78f0be3

Please sign in to comment.