New azure-mgmt-web + fixed mixin script (#8334)
* list skus test * adding api_version in mixin instance * regenerated new package * regeneated tests * history and version
This commit is contained in:
Родитель
e162e4afcf
Коммит
02d21466f0
|
@ -29,5 +29,6 @@ class {{ client_name }}OperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.{{ operation_name }}({{ metadata['call'] }}, **operation_config)
|
||||
{% endfor %}
|
|
@ -3,6 +3,89 @@
|
|||
Release History
|
||||
===============
|
||||
|
||||
0.44.0 (2019-11-08)
|
||||
+++++++++++++++++++
|
||||
|
||||
**Features**
|
||||
|
||||
- Model EndpointDetail has a new parameter is_accessible
|
||||
- Model Identifier has a new parameter value
|
||||
- Model VirtualIPMapping has a new parameter service_name
|
||||
- Model SiteConfig has a new parameter health_check_path
|
||||
- Model SiteConfig has a new parameter pre_warmed_instance_count
|
||||
- Model SiteConfig has a new parameter api_management_config
|
||||
- Model CertificatePatchResource has a new parameter canonical_name
|
||||
- Model ValidateRequest has a new parameter container_image_platform
|
||||
- Model ValidateRequest has a new parameter container_registry_password
|
||||
- Model ValidateRequest has a new parameter container_image_repository
|
||||
- Model ValidateRequest has a new parameter container_image_tag
|
||||
- Model ValidateRequest has a new parameter container_registry_base_url
|
||||
- Model ValidateRequest has a new parameter container_registry_username
|
||||
- Model MetricSpecification has a new parameter supported_time_grain_types
|
||||
- Model FunctionEnvelope has a new parameter invoke_url_template
|
||||
- Model FunctionEnvelope has a new parameter is_disabled
|
||||
- Model FunctionEnvelope has a new parameter language
|
||||
- Model FunctionEnvelope has a new parameter test_data_href
|
||||
- Model GeoRegion has a new parameter org_domain
|
||||
- Model Certificate has a new parameter canonical_name
|
||||
- Model StackMajorVersion has a new parameter is_deprecated
|
||||
- Model StackMajorVersion has a new parameter is_hidden
|
||||
- Model StackMajorVersion has a new parameter is_preview
|
||||
- Model SiteConfigResource has a new parameter health_check_path
|
||||
- Model SiteConfigResource has a new parameter pre_warmed_instance_count
|
||||
- Model SiteConfigResource has a new parameter api_management_config
|
||||
- Model HostingEnvironmentDiagnostics has a new parameter diagnostics_output
|
||||
- Model AddressResponse has a new parameter type
|
||||
- Model AddressResponse has a new parameter id
|
||||
- Model AddressResponse has a new parameter name
|
||||
- Model AddressResponse has a new parameter kind
|
||||
- Added operation AppServiceEnvironmentsOperations.get_vip_info
|
||||
- Added operation WebAppsOperations.copy_production_slot
|
||||
- Added operation WebAppsOperations.list_site_backups
|
||||
- Added operation WebAppsOperations.get_app_setting_key_vault_reference
|
||||
- Added operation WebAppsOperations.get_app_settings_key_vault_references
|
||||
- Added operation WebAppsOperations.copy_slot_slot
|
||||
- Added operation WebAppsOperations.get_instance_info_slot
|
||||
- Added operation WebAppsOperations.get_instance_info
|
||||
- Added operation WebAppsOperations.list_site_backups_slot
|
||||
|
||||
**Breaking changes**
|
||||
|
||||
- Operation WebAppsOperations.create_or_update_domain_ownership_identifier has a new signature
|
||||
- Operation WebAppsOperations.create_or_update_domain_ownership_identifier_slot has a new signature
|
||||
- Operation WebAppsOperations.update_domain_ownership_identifier_slot has a new signature
|
||||
- Operation WebAppsOperations.update_domain_ownership_identifier has a new signature
|
||||
- Model SitePatchResource no longer has parameter geo_distributions
|
||||
- Model Site no longer has parameter geo_distributions
|
||||
- Model EndpointDetail no longer has parameter is_accessable
|
||||
- Model ProcessThreadInfo no longer has parameter priviledged_processor_time
|
||||
- Model Identifier no longer has parameter identifier_id
|
||||
- Model SiteConfig no longer has parameter reserved_instance_count
|
||||
- Model SiteConfig no longer has parameter azure_storage_accounts
|
||||
- Model SiteConfigResource no longer has parameter reserved_instance_count
|
||||
- Model SiteConfigResource no longer has parameter azure_storage_accounts
|
||||
- Model HostingEnvironmentDiagnostics no longer has parameter diagnosics_output
|
||||
- Removed operation AppServicePlansOperations.list_metric_defintions
|
||||
- Removed operation AppServicePlansOperations.list_metrics
|
||||
- Removed operation WebSiteManagementClientOperationsMixin.validate_container_settings
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_metrics
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_worker_pool_instance_metrics
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_multi_role_pool_instance_metrics
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_multi_role_metrics
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_vips
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_web_worker_metrics
|
||||
- Removed operation AppServiceEnvironmentsOperations.list_metric_definitions
|
||||
- Removed operation WebAppsOperations.get_instance_process_thread
|
||||
- Removed operation WebAppsOperations.list_metrics
|
||||
- Removed operation WebAppsOperations.get_process_thread
|
||||
- Removed operation WebAppsOperations.list_hybrid_connection_keys
|
||||
- Removed operation WebAppsOperations.list_metric_definitions_slot
|
||||
- Removed operation WebAppsOperations.list_metrics_slot
|
||||
- Removed operation WebAppsOperations.get_process_thread_slot
|
||||
- Removed operation WebAppsOperations.list_hybrid_connection_keys_slot
|
||||
- Removed operation WebAppsOperations.get_instance_process_thread_slot
|
||||
- Removed operation WebAppsOperations.list_metric_definitions
|
||||
|
||||
0.43.1 (2019-10-17)
|
||||
+++++++++++++++++++
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
def check_name_availability(self, name, type, is_fqdn=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Check if a resource name is available.
|
||||
|
||||
Check if a resource name is available.
|
||||
Description for Check if a resource name is available.
|
||||
|
||||
:param name: Resource name to verify.
|
||||
:type name: str
|
||||
|
@ -26,7 +26,7 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
'Microsoft.Web/sites', 'Microsoft.Web/sites/slots',
|
||||
'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'
|
||||
:type type: str or
|
||||
~azure.mgmt.web.v2018_02_01.models.CheckNameResourceTypes
|
||||
~azure.mgmt.web.v2019_08_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
|
||||
|
@ -35,10 +35,10 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
:param operation_config: :ref:`Operation configuration
|
||||
overrides<msrest:optionsforoperations>`.
|
||||
:return: ResourceNameAvailability or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2018_02_01.models.ResourceNameAvailability or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.ResourceNameAvailability or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('check_name_availability')
|
||||
|
@ -46,6 +46,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -53,12 +55,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.check_name_availability(name, type, is_fqdn, custom_headers, raw, **operation_config)
|
||||
|
||||
def get_publishing_user(self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets publishing user.
|
||||
|
||||
Gets publishing user.
|
||||
Description for Gets publishing user.
|
||||
|
||||
:param dict custom_headers: headers that will be added to the request
|
||||
:param bool raw: returns the direct response alongside the
|
||||
|
@ -66,10 +69,10 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
:param operation_config: :ref:`Operation configuration
|
||||
overrides<msrest:optionsforoperations>`.
|
||||
:return: User or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2018_02_01.models.User or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.User or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('get_publishing_user')
|
||||
|
@ -77,6 +80,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -84,12 +89,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.get_publishing_user(custom_headers, raw, **operation_config)
|
||||
|
||||
def get_source_control(self, source_control_type, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets source control token.
|
||||
|
||||
Gets source control token.
|
||||
Description for Gets source control token.
|
||||
|
||||
:param source_control_type: Type of source control
|
||||
:type source_control_type: str
|
||||
|
@ -99,10 +105,10 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
:param operation_config: :ref:`Operation configuration
|
||||
overrides<msrest:optionsforoperations>`.
|
||||
:return: SourceControl or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2018_02_01.models.SourceControl or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.SourceControl or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('get_source_control')
|
||||
|
@ -110,6 +116,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -117,12 +125,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.get_source_control(source_control_type, custom_headers, raw, **operation_config)
|
||||
|
||||
def get_subscription_deployment_locations(self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets list of available geo regions plus ministamps.
|
||||
|
||||
Gets list of available geo regions plus ministamps.
|
||||
Description for Gets list of available geo regions plus ministamps.
|
||||
|
||||
:param dict custom_headers: headers that will be added to the request
|
||||
:param bool raw: returns the direct response alongside the
|
||||
|
@ -130,10 +139,10 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
:param operation_config: :ref:`Operation configuration
|
||||
overrides<msrest:optionsforoperations>`.
|
||||
:return: DeploymentLocations or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2018_02_01.models.DeploymentLocations or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.DeploymentLocations or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('get_subscription_deployment_locations')
|
||||
|
@ -141,6 +150,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -148,12 +159,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.get_subscription_deployment_locations(custom_headers, raw, **operation_config)
|
||||
|
||||
def list_billing_meters(self, billing_location=None, os_type=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets a list of meters for a given location.
|
||||
|
||||
Gets a list of meters for a given location.
|
||||
Description for Gets a list of meters for a given location.
|
||||
|
||||
:param billing_location: Azure Location of billable resource
|
||||
:type billing_location: str
|
||||
|
@ -166,14 +178,16 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: An iterator like instance of BillingMeter
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2018_02_01.models.BillingMeterPaged[~azure.mgmt.web.v2018_02_01.models.BillingMeter]
|
||||
~azure.mgmt.web.v2019_08_01.models.BillingMeterPaged[~azure.mgmt.web.v2019_08_01.models.BillingMeter]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('list_billing_meters')
|
||||
if api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -181,17 +195,18 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.list_billing_meters(billing_location, os_type, custom_headers, raw, **operation_config)
|
||||
|
||||
def list_geo_regions(self, sku=None, linux_workers_enabled=None, xenon_workers_enabled=None, linux_dynamic_workers_enabled=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get a list of available geographical regions.
|
||||
|
||||
Get a list of available geographical regions.
|
||||
Description for Get a list of available geographical regions.
|
||||
|
||||
: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.v2018_02_01.models.SkuName
|
||||
:type sku: str or ~azure.mgmt.web.v2019_08_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
|
||||
|
@ -208,9 +223,9 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: An iterator like instance of GeoRegion
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2018_02_01.models.GeoRegionPaged[~azure.mgmt.web.v2018_02_01.models.GeoRegion]
|
||||
~azure.mgmt.web.v2019_08_01.models.GeoRegionPaged[~azure.mgmt.web.v2019_08_01.models.GeoRegion]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('list_geo_regions')
|
||||
|
@ -218,6 +233,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -225,12 +242,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.list_geo_regions(sku, linux_workers_enabled, xenon_workers_enabled, linux_dynamic_workers_enabled, custom_headers, raw, **operation_config)
|
||||
|
||||
def list_premier_add_on_offers(self, custom_headers=None, raw=False, **operation_config):
|
||||
"""List all premier add-on offers.
|
||||
|
||||
List all premier add-on offers.
|
||||
Description for List all premier add-on offers.
|
||||
|
||||
:param dict custom_headers: headers that will be added to the request
|
||||
:param bool raw: returns the direct response alongside the
|
||||
|
@ -239,9 +257,9 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: An iterator like instance of PremierAddOnOffer
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2018_02_01.models.PremierAddOnOfferPaged[~azure.mgmt.web.v2018_02_01.models.PremierAddOnOffer]
|
||||
~azure.mgmt.web.v2019_08_01.models.PremierAddOnOfferPaged[~azure.mgmt.web.v2019_08_01.models.PremierAddOnOffer]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('list_premier_add_on_offers')
|
||||
|
@ -249,6 +267,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -256,12 +276,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.list_premier_add_on_offers(custom_headers, raw, **operation_config)
|
||||
|
||||
def list_site_identifiers_assigned_to_host_name(self, name=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""List all apps that are assigned to a hostname.
|
||||
|
||||
List all apps that are assigned to a hostname.
|
||||
Description for List all apps that are assigned to a hostname.
|
||||
|
||||
:param name: Name of the object.
|
||||
:type name: str
|
||||
|
@ -272,9 +293,9 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: An iterator like instance of Identifier
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2018_02_01.models.IdentifierPaged[~azure.mgmt.web.v2018_02_01.models.Identifier]
|
||||
~azure.mgmt.web.v2019_08_01.models.IdentifierPaged[~azure.mgmt.web.v2019_08_01.models.Identifier]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('list_site_identifiers_assigned_to_host_name')
|
||||
|
@ -282,6 +303,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -289,12 +312,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.list_site_identifiers_assigned_to_host_name(name, custom_headers, raw, **operation_config)
|
||||
|
||||
def list_skus(self, custom_headers=None, raw=False, **operation_config):
|
||||
"""List all SKUs.
|
||||
|
||||
List all SKUs.
|
||||
Description for List all SKUs.
|
||||
|
||||
:param dict custom_headers: headers that will be added to the request
|
||||
:param bool raw: returns the direct response alongside the
|
||||
|
@ -302,10 +326,10 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
:param operation_config: :ref:`Operation configuration
|
||||
overrides<msrest:optionsforoperations>`.
|
||||
:return: SkuInfos or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2018_02_01.models.SkuInfos or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.SkuInfos or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('list_skus')
|
||||
|
@ -313,6 +337,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -320,12 +346,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.list_skus(custom_headers, raw, **operation_config)
|
||||
|
||||
def list_source_controls(self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets the source controls available for Azure websites.
|
||||
|
||||
Gets the source controls available for Azure websites.
|
||||
Description for Gets the source controls available for Azure websites.
|
||||
|
||||
:param dict custom_headers: headers that will be added to the request
|
||||
:param bool raw: returns the direct response alongside the
|
||||
|
@ -334,9 +361,9 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: An iterator like instance of SourceControl
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2018_02_01.models.SourceControlPaged[~azure.mgmt.web.v2018_02_01.models.SourceControl]
|
||||
~azure.mgmt.web.v2019_08_01.models.SourceControlPaged[~azure.mgmt.web.v2019_08_01.models.SourceControl]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('list_source_controls')
|
||||
|
@ -344,6 +371,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -351,12 +380,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.list_source_controls(custom_headers, raw, **operation_config)
|
||||
|
||||
def move(self, resource_group_name, target_resource_group=None, resources=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Move resources between resource groups.
|
||||
|
||||
Move resources between resource groups.
|
||||
Description for Move resources between resource groups.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
|
@ -372,7 +402,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: None or ClientRawResponse if raw=true
|
||||
:rtype: None or ~msrest.pipeline.ClientRawResponse
|
||||
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('move')
|
||||
|
@ -380,6 +411,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -387,25 +420,26 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.move(resource_group_name, target_resource_group, resources, custom_headers, raw, **operation_config)
|
||||
|
||||
def update_publishing_user(self, user_details, custom_headers=None, raw=False, **operation_config):
|
||||
"""Updates publishing user.
|
||||
|
||||
Updates publishing user.
|
||||
Description for Updates publishing user.
|
||||
|
||||
:param user_details: Details of publishing user
|
||||
:type user_details: ~azure.mgmt.web.v2018_02_01.models.User
|
||||
:type user_details: ~azure.mgmt.web.v2019_08_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.v2018_02_01.models.User or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.User or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('update_publishing_user')
|
||||
|
@ -413,6 +447,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -420,28 +456,29 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.update_publishing_user(user_details, custom_headers, raw, **operation_config)
|
||||
|
||||
def update_source_control(self, source_control_type, request_message, custom_headers=None, raw=False, **operation_config):
|
||||
"""Updates source control token.
|
||||
|
||||
Updates source control token.
|
||||
Description for Updates source control token.
|
||||
|
||||
: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.v2018_02_01.models.SourceControl
|
||||
~azure.mgmt.web.v2019_08_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.v2018_02_01.models.SourceControl or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.SourceControl or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('update_source_control')
|
||||
|
@ -449,6 +486,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -456,29 +495,30 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.update_source_control(source_control_type, request_message, custom_headers, raw, **operation_config)
|
||||
|
||||
def validate(self, resource_group_name, validate_request, custom_headers=None, raw=False, **operation_config):
|
||||
"""Validate if a resource can be created.
|
||||
|
||||
Validate if a resource can be created.
|
||||
Description for Validate if a resource can be created.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param validate_request: Request with the resources to validate.
|
||||
:type validate_request:
|
||||
~azure.mgmt.web.v2018_02_01.models.ValidateRequest
|
||||
~azure.mgmt.web.v2019_08_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.v2018_02_01.models.ValidateResponse or
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.ValidateResponse or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('validate')
|
||||
|
@ -486,6 +526,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -493,6 +535,7 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.validate(resource_group_name, validate_request, custom_headers, raw, **operation_config)
|
||||
|
||||
def validate_container_settings(self, validate_container_settings_request, resource_group_name, custom_headers=None, raw=False, **operation_config):
|
||||
|
@ -527,12 +570,13 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.validate_container_settings(validate_container_settings_request, resource_group_name, custom_headers, raw, **operation_config)
|
||||
|
||||
def validate_move(self, resource_group_name, target_resource_group=None, resources=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Validate whether a resource can be moved.
|
||||
|
||||
Validate whether a resource can be moved.
|
||||
Description for Validate whether a resource can be moved.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
|
@ -548,7 +592,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: None or ClientRawResponse if raw=true
|
||||
:rtype: None or ~msrest.pipeline.ClientRawResponse
|
||||
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('validate_move')
|
||||
|
@ -556,6 +601,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -563,17 +610,18 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.validate_move(resource_group_name, target_resource_group, resources, custom_headers, raw, **operation_config)
|
||||
|
||||
def verify_hosting_environment_vnet(self, parameters, custom_headers=None, raw=False, **operation_config):
|
||||
"""Verifies if this VNET is compatible with an App Service Environment by
|
||||
analyzing the Network Security Group rules.
|
||||
|
||||
Verifies if this VNET is compatible with an App Service Environment by
|
||||
analyzing the Network Security Group rules.
|
||||
Description for Verifies if this VNET is compatible with an App Service
|
||||
Environment by analyzing the Network Security Group rules.
|
||||
|
||||
:param parameters: VNET information
|
||||
:type parameters: ~azure.mgmt.web.v2018_02_01.models.VnetParameters
|
||||
:type parameters: ~azure.mgmt.web.v2019_08_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
|
||||
|
@ -581,10 +629,10 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
overrides<msrest:optionsforoperations>`.
|
||||
:return: VnetValidationFailureDetails or ClientRawResponse if raw=true
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2018_02_01.models.VnetValidationFailureDetails or
|
||||
~azure.mgmt.web.v2019_08_01.models.VnetValidationFailureDetails or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2018_02_01.models.DefaultErrorResponseException>`
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
|
||||
"""
|
||||
api_version = self._get_api_version('verify_hosting_environment_vnet')
|
||||
|
@ -592,6 +640,8 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
from .v2016_03_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebSiteManagementClientOperationsMixin as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
mixin_instance = OperationClass()
|
||||
|
@ -599,4 +649,5 @@ class WebSiteManagementClientOperationsMixin(object):
|
|||
mixin_instance.config = self.config
|
||||
mixin_instance._serialize = Serializer(self._models_dict(api_version))
|
||||
mixin_instance._deserialize = Deserializer(self._models_dict(api_version))
|
||||
mixin_instance.api_version = api_version
|
||||
return mixin_instance.verify_hosting_environment_vnet(parameters, custom_headers, raw, **operation_config)
|
||||
|
|
|
@ -46,42 +46,13 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
:type profile: azure.profiles.KnownProfiles
|
||||
"""
|
||||
|
||||
DEFAULT_API_VERSION = '2018-11-01'
|
||||
DEFAULT_API_VERSION = '2019-08-01'
|
||||
_PROFILE_TAG = "azure.mgmt.web.WebSiteManagementClient"
|
||||
LATEST_PROFILE = ProfileDefinition({
|
||||
_PROFILE_TAG: {
|
||||
None: DEFAULT_API_VERSION,
|
||||
'app_service_certificate_orders': '2018-02-01',
|
||||
'app_service_environments': '2018-02-01',
|
||||
'app_service_plans': '2018-02-01',
|
||||
'billing_meters': '2016-03-01',
|
||||
'certificate_registration_provider': '2018-02-01',
|
||||
'check_name_availability': '2018-02-01',
|
||||
'deleted_web_apps': '2018-02-01',
|
||||
'diagnostics': '2018-02-01',
|
||||
'domain_registration_provider': '2018-02-01',
|
||||
'domains': '2018-02-01',
|
||||
'get_publishing_user': '2018-02-01',
|
||||
'get_source_control': '2018-02-01',
|
||||
'get_subscription_deployment_locations': '2018-02-01',
|
||||
'list_billing_meters': '2018-02-01',
|
||||
'list_geo_regions': '2018-02-01',
|
||||
'list_premier_add_on_offers': '2018-02-01',
|
||||
'list_site_identifiers_assigned_to_host_name': '2018-02-01',
|
||||
'list_skus': '2018-02-01',
|
||||
'list_source_controls': '2018-02-01',
|
||||
'move': '2018-02-01',
|
||||
'provider': '2018-02-01',
|
||||
'recommendations': '2018-02-01',
|
||||
'resource_health_metadata': '2018-02-01',
|
||||
'top_level_domains': '2018-02-01',
|
||||
'update_publishing_user': '2018-02-01',
|
||||
'update_source_control': '2018-02-01',
|
||||
'validate': '2018-02-01',
|
||||
'validate_container_settings': '2018-02-01',
|
||||
'validate_move': '2018-02-01',
|
||||
'verify_hosting_environment_vnet': '2018-02-01',
|
||||
'web_apps': '2018-02-01',
|
||||
}},
|
||||
_PROFILE_TAG + " latest"
|
||||
)
|
||||
|
@ -110,6 +81,7 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
* 2016-09-01: :mod:`v2016_09_01.models<azure.mgmt.web.v2016_09_01.models>`
|
||||
* 2018-02-01: :mod:`v2018_02_01.models<azure.mgmt.web.v2018_02_01.models>`
|
||||
* 2018-11-01: :mod:`v2018_11_01.models<azure.mgmt.web.v2018_11_01.models>`
|
||||
* 2019-08-01: :mod:`v2019_08_01.models<azure.mgmt.web.v2019_08_01.models>`
|
||||
"""
|
||||
if api_version == '2015-04-01':
|
||||
from .v2015_04_01 import models
|
||||
|
@ -132,6 +104,9 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
elif api_version == '2018-11-01':
|
||||
from .v2018_11_01 import models
|
||||
return models
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01 import models
|
||||
return models
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
|
||||
@property
|
||||
|
@ -140,12 +115,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2015-08-01: :class:`AppServiceCertificateOrdersOperations<azure.mgmt.web.v2015_08_01.operations.AppServiceCertificateOrdersOperations>`
|
||||
* 2018-02-01: :class:`AppServiceCertificateOrdersOperations<azure.mgmt.web.v2018_02_01.operations.AppServiceCertificateOrdersOperations>`
|
||||
* 2019-08-01: :class:`AppServiceCertificateOrdersOperations<azure.mgmt.web.v2019_08_01.operations.AppServiceCertificateOrdersOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('app_service_certificate_orders')
|
||||
if api_version == '2015-08-01':
|
||||
from .v2015_08_01.operations import AppServiceCertificateOrdersOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import AppServiceCertificateOrdersOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import AppServiceCertificateOrdersOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -156,12 +134,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-09-01: :class:`AppServiceEnvironmentsOperations<azure.mgmt.web.v2016_09_01.operations.AppServiceEnvironmentsOperations>`
|
||||
* 2018-02-01: :class:`AppServiceEnvironmentsOperations<azure.mgmt.web.v2018_02_01.operations.AppServiceEnvironmentsOperations>`
|
||||
* 2019-08-01: :class:`AppServiceEnvironmentsOperations<azure.mgmt.web.v2019_08_01.operations.AppServiceEnvironmentsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('app_service_environments')
|
||||
if api_version == '2016-09-01':
|
||||
from .v2016_09_01.operations import AppServiceEnvironmentsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import AppServiceEnvironmentsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import AppServiceEnvironmentsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -172,12 +153,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-09-01: :class:`AppServicePlansOperations<azure.mgmt.web.v2016_09_01.operations.AppServicePlansOperations>`
|
||||
* 2018-02-01: :class:`AppServicePlansOperations<azure.mgmt.web.v2018_02_01.operations.AppServicePlansOperations>`
|
||||
* 2019-08-01: :class:`AppServicePlansOperations<azure.mgmt.web.v2019_08_01.operations.AppServicePlansOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('app_service_plans')
|
||||
if api_version == '2016-09-01':
|
||||
from .v2016_09_01.operations import AppServicePlansOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import AppServicePlansOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import AppServicePlansOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -201,12 +185,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2015-08-01: :class:`CertificateRegistrationProviderOperations<azure.mgmt.web.v2015_08_01.operations.CertificateRegistrationProviderOperations>`
|
||||
* 2018-02-01: :class:`CertificateRegistrationProviderOperations<azure.mgmt.web.v2018_02_01.operations.CertificateRegistrationProviderOperations>`
|
||||
* 2019-08-01: :class:`CertificateRegistrationProviderOperations<azure.mgmt.web.v2019_08_01.operations.CertificateRegistrationProviderOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('certificate_registration_provider')
|
||||
if api_version == '2015-08-01':
|
||||
from .v2015_08_01.operations import CertificateRegistrationProviderOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import CertificateRegistrationProviderOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import CertificateRegistrationProviderOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -218,6 +205,7 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
* 2016-03-01: :class:`CertificatesOperations<azure.mgmt.web.v2016_03_01.operations.CertificatesOperations>`
|
||||
* 2018-02-01: :class:`CertificatesOperations<azure.mgmt.web.v2018_02_01.operations.CertificatesOperations>`
|
||||
* 2018-11-01: :class:`CertificatesOperations<azure.mgmt.web.v2018_11_01.operations.CertificatesOperations>`
|
||||
* 2019-08-01: :class:`CertificatesOperations<azure.mgmt.web.v2019_08_01.operations.CertificatesOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('certificates')
|
||||
if api_version == '2016-03-01':
|
||||
|
@ -226,6 +214,8 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
from .v2018_02_01.operations import CertificatesOperations as OperationClass
|
||||
elif api_version == '2018-11-01':
|
||||
from .v2018_11_01.operations import CertificatesOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import CertificatesOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -236,12 +226,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-03-01: :class:`DeletedWebAppsOperations<azure.mgmt.web.v2016_03_01.operations.DeletedWebAppsOperations>`
|
||||
* 2018-02-01: :class:`DeletedWebAppsOperations<azure.mgmt.web.v2018_02_01.operations.DeletedWebAppsOperations>`
|
||||
* 2019-08-01: :class:`DeletedWebAppsOperations<azure.mgmt.web.v2019_08_01.operations.DeletedWebAppsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('deleted_web_apps')
|
||||
if api_version == '2016-03-01':
|
||||
from .v2016_03_01.operations import DeletedWebAppsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import DeletedWebAppsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import DeletedWebAppsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -252,12 +245,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-03-01: :class:`DiagnosticsOperations<azure.mgmt.web.v2016_03_01.operations.DiagnosticsOperations>`
|
||||
* 2018-02-01: :class:`DiagnosticsOperations<azure.mgmt.web.v2018_02_01.operations.DiagnosticsOperations>`
|
||||
* 2019-08-01: :class:`DiagnosticsOperations<azure.mgmt.web.v2019_08_01.operations.DiagnosticsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('diagnostics')
|
||||
if api_version == '2016-03-01':
|
||||
from .v2016_03_01.operations import DiagnosticsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import DiagnosticsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import DiagnosticsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -268,12 +264,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2015-04-01: :class:`DomainRegistrationProviderOperations<azure.mgmt.web.v2015_04_01.operations.DomainRegistrationProviderOperations>`
|
||||
* 2018-02-01: :class:`DomainRegistrationProviderOperations<azure.mgmt.web.v2018_02_01.operations.DomainRegistrationProviderOperations>`
|
||||
* 2019-08-01: :class:`DomainRegistrationProviderOperations<azure.mgmt.web.v2019_08_01.operations.DomainRegistrationProviderOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('domain_registration_provider')
|
||||
if api_version == '2015-04-01':
|
||||
from .v2015_04_01.operations import DomainRegistrationProviderOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import DomainRegistrationProviderOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import DomainRegistrationProviderOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -284,12 +283,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2015-04-01: :class:`DomainsOperations<azure.mgmt.web.v2015_04_01.operations.DomainsOperations>`
|
||||
* 2018-02-01: :class:`DomainsOperations<azure.mgmt.web.v2018_02_01.operations.DomainsOperations>`
|
||||
* 2019-08-01: :class:`DomainsOperations<azure.mgmt.web.v2019_08_01.operations.DomainsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('domains')
|
||||
if api_version == '2015-04-01':
|
||||
from .v2015_04_01.operations import DomainsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import DomainsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import DomainsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -300,12 +302,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-03-01: :class:`ProviderOperations<azure.mgmt.web.v2016_03_01.operations.ProviderOperations>`
|
||||
* 2018-02-01: :class:`ProviderOperations<azure.mgmt.web.v2018_02_01.operations.ProviderOperations>`
|
||||
* 2019-08-01: :class:`ProviderOperations<azure.mgmt.web.v2019_08_01.operations.ProviderOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('provider')
|
||||
if api_version == '2016-03-01':
|
||||
from .v2016_03_01.operations import ProviderOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import ProviderOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import ProviderOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -316,12 +321,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-03-01: :class:`RecommendationsOperations<azure.mgmt.web.v2016_03_01.operations.RecommendationsOperations>`
|
||||
* 2018-02-01: :class:`RecommendationsOperations<azure.mgmt.web.v2018_02_01.operations.RecommendationsOperations>`
|
||||
* 2019-08-01: :class:`RecommendationsOperations<azure.mgmt.web.v2019_08_01.operations.RecommendationsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('recommendations')
|
||||
if api_version == '2016-03-01':
|
||||
from .v2016_03_01.operations import RecommendationsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import RecommendationsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import RecommendationsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -332,12 +340,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-03-01: :class:`ResourceHealthMetadataOperations<azure.mgmt.web.v2016_03_01.operations.ResourceHealthMetadataOperations>`
|
||||
* 2018-02-01: :class:`ResourceHealthMetadataOperations<azure.mgmt.web.v2018_02_01.operations.ResourceHealthMetadataOperations>`
|
||||
* 2019-08-01: :class:`ResourceHealthMetadataOperations<azure.mgmt.web.v2019_08_01.operations.ResourceHealthMetadataOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('resource_health_metadata')
|
||||
if api_version == '2016-03-01':
|
||||
from .v2016_03_01.operations import ResourceHealthMetadataOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import ResourceHealthMetadataOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import ResourceHealthMetadataOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -348,12 +359,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2015-04-01: :class:`TopLevelDomainsOperations<azure.mgmt.web.v2015_04_01.operations.TopLevelDomainsOperations>`
|
||||
* 2018-02-01: :class:`TopLevelDomainsOperations<azure.mgmt.web.v2018_02_01.operations.TopLevelDomainsOperations>`
|
||||
* 2019-08-01: :class:`TopLevelDomainsOperations<azure.mgmt.web.v2019_08_01.operations.TopLevelDomainsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('top_level_domains')
|
||||
if api_version == '2015-04-01':
|
||||
from .v2015_04_01.operations import TopLevelDomainsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import TopLevelDomainsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import TopLevelDomainsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
@ -364,12 +378,15 @@ class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, MultiApiCl
|
|||
|
||||
* 2016-08-01: :class:`WebAppsOperations<azure.mgmt.web.v2016_08_01.operations.WebAppsOperations>`
|
||||
* 2018-02-01: :class:`WebAppsOperations<azure.mgmt.web.v2018_02_01.operations.WebAppsOperations>`
|
||||
* 2019-08-01: :class:`WebAppsOperations<azure.mgmt.web.v2019_08_01.operations.WebAppsOperations>`
|
||||
"""
|
||||
api_version = self._get_api_version('web_apps')
|
||||
if api_version == '2016-08-01':
|
||||
from .v2016_08_01.operations import WebAppsOperations as OperationClass
|
||||
elif api_version == '2018-02-01':
|
||||
from .v2018_02_01.operations import WebAppsOperations as OperationClass
|
||||
elif api_version == '2019-08-01':
|
||||
from .v2019_08_01.operations import WebAppsOperations as OperationClass
|
||||
else:
|
||||
raise NotImplementedError("APIVersion {} is not available".format(api_version))
|
||||
return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
# --------------------------------------------------------------------------
|
||||
from .v2016_03_01.models import *
|
||||
from .v2018_02_01.models import *
|
||||
from .v2018_11_01.models import *
|
||||
from .v2019_08_01.models import *
|
||||
|
|
|
@ -107,6 +107,7 @@ try:
|
|||
from ._models_py3 import HostingEnvironmentDeploymentInfo
|
||||
from ._models_py3 import HostingEnvironmentDiagnostics
|
||||
from ._models_py3 import HostingEnvironmentProfile
|
||||
from ._models_py3 import HostKeys
|
||||
from ._models_py3 import HostName
|
||||
from ._models_py3 import HostNameBinding
|
||||
from ._models_py3 import HostNameSslState
|
||||
|
@ -117,6 +118,7 @@ try:
|
|||
from ._models_py3 import Identifier
|
||||
from ._models_py3 import InboundEnvironmentEndpoint
|
||||
from ._models_py3 import IpSecurityRestriction
|
||||
from ._models_py3 import KeyInfo
|
||||
from ._models_py3 import LocalizableString
|
||||
from ._models_py3 import LogSpecification
|
||||
from ._models_py3 import ManagedServiceIdentity
|
||||
|
@ -336,6 +338,7 @@ except (SyntaxError, ImportError):
|
|||
from ._models import HostingEnvironmentDeploymentInfo
|
||||
from ._models import HostingEnvironmentDiagnostics
|
||||
from ._models import HostingEnvironmentProfile
|
||||
from ._models import HostKeys
|
||||
from ._models import HostName
|
||||
from ._models import HostNameBinding
|
||||
from ._models import HostNameSslState
|
||||
|
@ -346,6 +349,7 @@ except (SyntaxError, ImportError):
|
|||
from ._models import Identifier
|
||||
from ._models import InboundEnvironmentEndpoint
|
||||
from ._models import IpSecurityRestriction
|
||||
from ._models import KeyInfo
|
||||
from ._models import LocalizableString
|
||||
from ._models import LogSpecification
|
||||
from ._models import ManagedServiceIdentity
|
||||
|
@ -687,6 +691,7 @@ __all__ = [
|
|||
'HostingEnvironmentDeploymentInfo',
|
||||
'HostingEnvironmentDiagnostics',
|
||||
'HostingEnvironmentProfile',
|
||||
'HostKeys',
|
||||
'HostName',
|
||||
'HostNameBinding',
|
||||
'HostNameSslState',
|
||||
|
@ -697,6 +702,7 @@ __all__ = [
|
|||
'Identifier',
|
||||
'InboundEnvironmentEndpoint',
|
||||
'IpSecurityRestriction',
|
||||
'KeyInfo',
|
||||
'LocalizableString',
|
||||
'LogSpecification',
|
||||
'ManagedServiceIdentity',
|
||||
|
|
|
@ -5015,7 +5015,7 @@ class FileSystemHttpLogsConfig(Model):
|
|||
|
||||
|
||||
class FunctionEnvelope(ProxyOnlyResource):
|
||||
"""Web Job Information.
|
||||
"""Function information.
|
||||
|
||||
Variables are only populated by the server, and will be ignored when
|
||||
sending a request.
|
||||
|
@ -5036,6 +5036,8 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
:type script_href: str
|
||||
:param config_href: Config URI.
|
||||
:type config_href: str
|
||||
:param test_data_href: Test data URI.
|
||||
:type test_data_href: str
|
||||
:param secrets_file_href: Secrets file URI.
|
||||
:type secrets_file_href: str
|
||||
:param href: Function URI.
|
||||
|
@ -5046,6 +5048,12 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
:type files: dict[str, str]
|
||||
:param test_data: Test data used when testing via the Azure Portal.
|
||||
:type test_data: str
|
||||
:param invoke_url_template: The invocation URL
|
||||
:type invoke_url_template: str
|
||||
:param language: The function language
|
||||
:type language: str
|
||||
:param is_disabled: Value indicating whether the function is disabled
|
||||
:type is_disabled: bool
|
||||
"""
|
||||
|
||||
_validation = {
|
||||
|
@ -5063,11 +5071,15 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
'script_root_path_href': {'key': 'properties.script_root_path_href', 'type': 'str'},
|
||||
'script_href': {'key': 'properties.script_href', 'type': 'str'},
|
||||
'config_href': {'key': 'properties.config_href', 'type': 'str'},
|
||||
'test_data_href': {'key': 'properties.test_data_href', 'type': 'str'},
|
||||
'secrets_file_href': {'key': 'properties.secrets_file_href', 'type': 'str'},
|
||||
'href': {'key': 'properties.href', 'type': 'str'},
|
||||
'config': {'key': 'properties.config', 'type': 'object'},
|
||||
'files': {'key': 'properties.files', 'type': '{str}'},
|
||||
'test_data': {'key': 'properties.test_data', 'type': 'str'},
|
||||
'invoke_url_template': {'key': 'properties.invoke_url_template', 'type': 'str'},
|
||||
'language': {'key': 'properties.language', 'type': 'str'},
|
||||
'is_disabled': {'key': 'properties.isDisabled', 'type': 'bool'},
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
@ -5076,11 +5088,15 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
self.script_root_path_href = kwargs.get('script_root_path_href', None)
|
||||
self.script_href = kwargs.get('script_href', None)
|
||||
self.config_href = kwargs.get('config_href', None)
|
||||
self.test_data_href = kwargs.get('test_data_href', None)
|
||||
self.secrets_file_href = kwargs.get('secrets_file_href', None)
|
||||
self.href = kwargs.get('href', None)
|
||||
self.config = kwargs.get('config', None)
|
||||
self.files = kwargs.get('files', None)
|
||||
self.test_data = kwargs.get('test_data', None)
|
||||
self.invoke_url_template = kwargs.get('invoke_url_template', None)
|
||||
self.language = kwargs.get('language', None)
|
||||
self.is_disabled = kwargs.get('is_disabled', None)
|
||||
|
||||
|
||||
class FunctionSecrets(ProxyOnlyResource):
|
||||
|
@ -5329,6 +5345,30 @@ class HostingEnvironmentProfile(Model):
|
|||
self.type = None
|
||||
|
||||
|
||||
class HostKeys(Model):
|
||||
"""Functions host level keys.
|
||||
|
||||
:param master_key: Secret key.
|
||||
:type master_key: str
|
||||
:param function_keys: Host level function keys.
|
||||
:type function_keys: dict[str, str]
|
||||
:param system_keys: System keys.
|
||||
:type system_keys: dict[str, str]
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'master_key': {'key': 'masterKey', 'type': 'str'},
|
||||
'function_keys': {'key': 'functionKeys', 'type': '{str}'},
|
||||
'system_keys': {'key': 'systemKeys', 'type': '{str}'},
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(HostKeys, self).__init__(**kwargs)
|
||||
self.master_key = kwargs.get('master_key', None)
|
||||
self.function_keys = kwargs.get('function_keys', None)
|
||||
self.system_keys = kwargs.get('system_keys', None)
|
||||
|
||||
|
||||
class HostName(Model):
|
||||
"""Details of a hostname derived from a domain.
|
||||
|
||||
|
@ -5794,6 +5834,26 @@ class IpSecurityRestriction(Model):
|
|||
self.description = kwargs.get('description', None)
|
||||
|
||||
|
||||
class KeyInfo(Model):
|
||||
"""Function key info.
|
||||
|
||||
:param name: Key name
|
||||
:type name: str
|
||||
:param value: Key value
|
||||
:type value: str
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'name': {'key': 'name', 'type': 'str'},
|
||||
'value': {'key': 'value', 'type': 'str'},
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(KeyInfo, self).__init__(**kwargs)
|
||||
self.name = kwargs.get('name', None)
|
||||
self.value = kwargs.get('value', None)
|
||||
|
||||
|
||||
class LocalizableString(Model):
|
||||
"""Localizable string object containing the name and a localized value.
|
||||
|
||||
|
|
|
@ -5015,7 +5015,7 @@ class FileSystemHttpLogsConfig(Model):
|
|||
|
||||
|
||||
class FunctionEnvelope(ProxyOnlyResource):
|
||||
"""Web Job Information.
|
||||
"""Function information.
|
||||
|
||||
Variables are only populated by the server, and will be ignored when
|
||||
sending a request.
|
||||
|
@ -5036,6 +5036,8 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
:type script_href: str
|
||||
:param config_href: Config URI.
|
||||
:type config_href: str
|
||||
:param test_data_href: Test data URI.
|
||||
:type test_data_href: str
|
||||
:param secrets_file_href: Secrets file URI.
|
||||
:type secrets_file_href: str
|
||||
:param href: Function URI.
|
||||
|
@ -5046,6 +5048,12 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
:type files: dict[str, str]
|
||||
:param test_data: Test data used when testing via the Azure Portal.
|
||||
:type test_data: str
|
||||
:param invoke_url_template: The invocation URL
|
||||
:type invoke_url_template: str
|
||||
:param language: The function language
|
||||
:type language: str
|
||||
:param is_disabled: Value indicating whether the function is disabled
|
||||
:type is_disabled: bool
|
||||
"""
|
||||
|
||||
_validation = {
|
||||
|
@ -5063,24 +5071,32 @@ class FunctionEnvelope(ProxyOnlyResource):
|
|||
'script_root_path_href': {'key': 'properties.script_root_path_href', 'type': 'str'},
|
||||
'script_href': {'key': 'properties.script_href', 'type': 'str'},
|
||||
'config_href': {'key': 'properties.config_href', 'type': 'str'},
|
||||
'test_data_href': {'key': 'properties.test_data_href', 'type': 'str'},
|
||||
'secrets_file_href': {'key': 'properties.secrets_file_href', 'type': 'str'},
|
||||
'href': {'key': 'properties.href', 'type': 'str'},
|
||||
'config': {'key': 'properties.config', 'type': 'object'},
|
||||
'files': {'key': 'properties.files', 'type': '{str}'},
|
||||
'test_data': {'key': 'properties.test_data', 'type': 'str'},
|
||||
'invoke_url_template': {'key': 'properties.invoke_url_template', 'type': 'str'},
|
||||
'language': {'key': 'properties.language', 'type': 'str'},
|
||||
'is_disabled': {'key': 'properties.isDisabled', 'type': 'bool'},
|
||||
}
|
||||
|
||||
def __init__(self, *, kind: str=None, function_app_id: str=None, script_root_path_href: str=None, script_href: str=None, config_href: str=None, secrets_file_href: str=None, href: str=None, config=None, files=None, test_data: str=None, **kwargs) -> None:
|
||||
def __init__(self, *, kind: str=None, function_app_id: str=None, script_root_path_href: str=None, script_href: str=None, config_href: str=None, test_data_href: str=None, secrets_file_href: str=None, href: str=None, config=None, files=None, test_data: str=None, invoke_url_template: str=None, language: str=None, is_disabled: bool=None, **kwargs) -> None:
|
||||
super(FunctionEnvelope, self).__init__(kind=kind, **kwargs)
|
||||
self.function_app_id = function_app_id
|
||||
self.script_root_path_href = script_root_path_href
|
||||
self.script_href = script_href
|
||||
self.config_href = config_href
|
||||
self.test_data_href = test_data_href
|
||||
self.secrets_file_href = secrets_file_href
|
||||
self.href = href
|
||||
self.config = config
|
||||
self.files = files
|
||||
self.test_data = test_data
|
||||
self.invoke_url_template = invoke_url_template
|
||||
self.language = language
|
||||
self.is_disabled = is_disabled
|
||||
|
||||
|
||||
class FunctionSecrets(ProxyOnlyResource):
|
||||
|
@ -5329,6 +5345,30 @@ class HostingEnvironmentProfile(Model):
|
|||
self.type = None
|
||||
|
||||
|
||||
class HostKeys(Model):
|
||||
"""Functions host level keys.
|
||||
|
||||
:param master_key: Secret key.
|
||||
:type master_key: str
|
||||
:param function_keys: Host level function keys.
|
||||
:type function_keys: dict[str, str]
|
||||
:param system_keys: System keys.
|
||||
:type system_keys: dict[str, str]
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'master_key': {'key': 'masterKey', 'type': 'str'},
|
||||
'function_keys': {'key': 'functionKeys', 'type': '{str}'},
|
||||
'system_keys': {'key': 'systemKeys', 'type': '{str}'},
|
||||
}
|
||||
|
||||
def __init__(self, *, master_key: str=None, function_keys=None, system_keys=None, **kwargs) -> None:
|
||||
super(HostKeys, self).__init__(**kwargs)
|
||||
self.master_key = master_key
|
||||
self.function_keys = function_keys
|
||||
self.system_keys = system_keys
|
||||
|
||||
|
||||
class HostName(Model):
|
||||
"""Details of a hostname derived from a domain.
|
||||
|
||||
|
@ -5794,6 +5834,26 @@ class IpSecurityRestriction(Model):
|
|||
self.description = description
|
||||
|
||||
|
||||
class KeyInfo(Model):
|
||||
"""Function key info.
|
||||
|
||||
:param name: Key name
|
||||
:type name: str
|
||||
:param value: Key value
|
||||
:type value: str
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'name': {'key': 'name', 'type': 'str'},
|
||||
'value': {'key': 'value', 'type': 'str'},
|
||||
}
|
||||
|
||||
def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None:
|
||||
super(KeyInfo, self).__init__(**kwargs)
|
||||
self.name = name
|
||||
self.value = value
|
||||
|
||||
|
||||
class LocalizableString(Model):
|
||||
"""Localizable string object containing the name and a localized value.
|
||||
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,19 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from ._configuration import WebSiteManagementClientConfiguration
|
||||
from ._web_site_management_client import WebSiteManagementClient
|
||||
__all__ = ['WebSiteManagementClient', 'WebSiteManagementClientConfiguration']
|
||||
|
||||
from .version import VERSION
|
||||
|
||||
__version__ = VERSION
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
from msrestazure import AzureConfiguration
|
||||
|
||||
from .version import VERSION
|
||||
|
||||
|
||||
class WebSiteManagementClientConfiguration(AzureConfiguration):
|
||||
"""Configuration for WebSiteManagementClient
|
||||
Note that all parameters used to create this instance are saved as instance
|
||||
attributes.
|
||||
|
||||
:param credentials: Credentials needed for the client to connect to Azure.
|
||||
:type credentials: :mod:`A msrestazure Credentials
|
||||
object<msrestazure.azure_active_directory>`
|
||||
:param subscription_id: Your Azure subscription ID. This is a
|
||||
GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
|
||||
:type subscription_id: str
|
||||
:param str base_url: Service URL
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self, credentials, subscription_id, base_url=None):
|
||||
|
||||
if credentials is None:
|
||||
raise ValueError("Parameter 'credentials' must not be None.")
|
||||
if subscription_id is None:
|
||||
raise ValueError("Parameter 'subscription_id' must not be None.")
|
||||
if not base_url:
|
||||
base_url = 'https://management.azure.com'
|
||||
|
||||
super(WebSiteManagementClientConfiguration, self).__init__(base_url)
|
||||
|
||||
# Starting Autorest.Python 4.0.64, make connection pool activated by default
|
||||
self.keep_alive = True
|
||||
|
||||
self.add_user_agent('azure-mgmt-web/{}'.format(VERSION))
|
||||
self.add_user_agent('Azure-SDK-For-Python')
|
||||
|
||||
self.credentials = credentials
|
||||
self.subscription_id = subscription_id
|
|
@ -0,0 +1,116 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from msrest.service_client import SDKClient
|
||||
from msrest import Serializer, Deserializer
|
||||
|
||||
from ._configuration import WebSiteManagementClientConfiguration
|
||||
from .operations import WebSiteManagementClientOperationsMixin
|
||||
from .operations import AppServiceCertificateOrdersOperations
|
||||
from .operations import CertificateRegistrationProviderOperations
|
||||
from .operations import DomainsOperations
|
||||
from .operations import TopLevelDomainsOperations
|
||||
from .operations import DomainRegistrationProviderOperations
|
||||
from .operations import CertificatesOperations
|
||||
from .operations import DeletedWebAppsOperations
|
||||
from .operations import DiagnosticsOperations
|
||||
from .operations import ProviderOperations
|
||||
from .operations import RecommendationsOperations
|
||||
from .operations import WebAppsOperations
|
||||
from .operations import AppServiceEnvironmentsOperations
|
||||
from .operations import AppServicePlansOperations
|
||||
from .operations import ResourceHealthMetadataOperations
|
||||
from . import models
|
||||
|
||||
|
||||
class WebSiteManagementClient(WebSiteManagementClientOperationsMixin, SDKClient):
|
||||
"""WebSite Management Client
|
||||
|
||||
:ivar config: Configuration for client.
|
||||
:vartype config: WebSiteManagementClientConfiguration
|
||||
|
||||
:ivar app_service_certificate_orders: AppServiceCertificateOrders operations
|
||||
:vartype app_service_certificate_orders: azure.mgmt.web.v2019_08_01.operations.AppServiceCertificateOrdersOperations
|
||||
:ivar certificate_registration_provider: CertificateRegistrationProvider operations
|
||||
:vartype certificate_registration_provider: azure.mgmt.web.v2019_08_01.operations.CertificateRegistrationProviderOperations
|
||||
:ivar domains: Domains operations
|
||||
:vartype domains: azure.mgmt.web.v2019_08_01.operations.DomainsOperations
|
||||
:ivar top_level_domains: TopLevelDomains operations
|
||||
:vartype top_level_domains: azure.mgmt.web.v2019_08_01.operations.TopLevelDomainsOperations
|
||||
:ivar domain_registration_provider: DomainRegistrationProvider operations
|
||||
:vartype domain_registration_provider: azure.mgmt.web.v2019_08_01.operations.DomainRegistrationProviderOperations
|
||||
:ivar certificates: Certificates operations
|
||||
:vartype certificates: azure.mgmt.web.v2019_08_01.operations.CertificatesOperations
|
||||
:ivar deleted_web_apps: DeletedWebApps operations
|
||||
:vartype deleted_web_apps: azure.mgmt.web.v2019_08_01.operations.DeletedWebAppsOperations
|
||||
:ivar diagnostics: Diagnostics operations
|
||||
:vartype diagnostics: azure.mgmt.web.v2019_08_01.operations.DiagnosticsOperations
|
||||
:ivar provider: Provider operations
|
||||
:vartype provider: azure.mgmt.web.v2019_08_01.operations.ProviderOperations
|
||||
:ivar recommendations: Recommendations operations
|
||||
:vartype recommendations: azure.mgmt.web.v2019_08_01.operations.RecommendationsOperations
|
||||
:ivar web_apps: WebApps operations
|
||||
:vartype web_apps: azure.mgmt.web.v2019_08_01.operations.WebAppsOperations
|
||||
:ivar app_service_environments: AppServiceEnvironments operations
|
||||
:vartype app_service_environments: azure.mgmt.web.v2019_08_01.operations.AppServiceEnvironmentsOperations
|
||||
:ivar app_service_plans: AppServicePlans operations
|
||||
:vartype app_service_plans: azure.mgmt.web.v2019_08_01.operations.AppServicePlansOperations
|
||||
:ivar resource_health_metadata: ResourceHealthMetadata operations
|
||||
:vartype resource_health_metadata: azure.mgmt.web.v2019_08_01.operations.ResourceHealthMetadataOperations
|
||||
|
||||
:param credentials: Credentials needed for the client to connect to Azure.
|
||||
:type credentials: :mod:`A msrestazure Credentials
|
||||
object<msrestazure.azure_active_directory>`
|
||||
:param subscription_id: Your Azure subscription ID. This is a
|
||||
GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
|
||||
:type subscription_id: str
|
||||
:param str base_url: Service URL
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self, credentials, subscription_id, base_url=None):
|
||||
|
||||
self.config = WebSiteManagementClientConfiguration(credentials, subscription_id, base_url)
|
||||
super(WebSiteManagementClient, self).__init__(self.config.credentials, self.config)
|
||||
|
||||
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
|
||||
self.api_version = '2019-08-01'
|
||||
self._serialize = Serializer(client_models)
|
||||
self._deserialize = Deserializer(client_models)
|
||||
|
||||
self.app_service_certificate_orders = AppServiceCertificateOrdersOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.certificate_registration_provider = CertificateRegistrationProviderOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.domains = DomainsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.top_level_domains = TopLevelDomainsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.domain_registration_provider = DomainRegistrationProviderOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.certificates = CertificatesOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.deleted_web_apps = DeletedWebAppsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.diagnostics = DiagnosticsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.provider = ProviderOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.recommendations = RecommendationsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.web_apps = WebAppsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.app_service_environments = AppServiceEnvironmentsOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.app_service_plans = AppServicePlansOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
||||
self.resource_health_metadata = ResourceHealthMetadataOperations(
|
||||
self._client, self.config, self._serialize, self._deserialize)
|
|
@ -0,0 +1,961 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
try:
|
||||
from ._models_py3 import AbnormalTimePeriod
|
||||
from ._models_py3 import Address
|
||||
from ._models_py3 import AddressResponse
|
||||
from ._models_py3 import AnalysisData
|
||||
from ._models_py3 import AnalysisDefinition
|
||||
from ._models_py3 import ApiDefinitionInfo
|
||||
from ._models_py3 import ApiKVReference
|
||||
from ._models_py3 import ApiManagementConfig
|
||||
from ._models_py3 import ApplicationLogsConfig
|
||||
from ._models_py3 import ApplicationStack
|
||||
from ._models_py3 import ApplicationStackResource
|
||||
from ._models_py3 import AppServiceCertificate
|
||||
from ._models_py3 import AppServiceCertificateOrder
|
||||
from ._models_py3 import AppServiceCertificateOrderPatchResource
|
||||
from ._models_py3 import AppServiceCertificatePatchResource
|
||||
from ._models_py3 import AppServiceCertificateResource
|
||||
from ._models_py3 import AppServiceEnvironment
|
||||
from ._models_py3 import AppServiceEnvironmentPatchResource
|
||||
from ._models_py3 import AppServiceEnvironmentResource
|
||||
from ._models_py3 import AppServicePlan
|
||||
from ._models_py3 import AppServicePlanPatchResource
|
||||
from ._models_py3 import AutoHealActions
|
||||
from ._models_py3 import AutoHealCustomAction
|
||||
from ._models_py3 import AutoHealRules
|
||||
from ._models_py3 import AutoHealTriggers
|
||||
from ._models_py3 import AzureBlobStorageApplicationLogsConfig
|
||||
from ._models_py3 import AzureBlobStorageHttpLogsConfig
|
||||
from ._models_py3 import AzureStorageInfoValue
|
||||
from ._models_py3 import AzureStoragePropertyDictionaryResource
|
||||
from ._models_py3 import AzureTableStorageApplicationLogsConfig
|
||||
from ._models_py3 import BackupItem
|
||||
from ._models_py3 import BackupRequest
|
||||
from ._models_py3 import BackupSchedule
|
||||
from ._models_py3 import BillingMeter
|
||||
from ._models_py3 import Capability
|
||||
from ._models_py3 import Certificate
|
||||
from ._models_py3 import CertificateDetails
|
||||
from ._models_py3 import CertificateEmail
|
||||
from ._models_py3 import CertificateOrderAction
|
||||
from ._models_py3 import CertificatePatchResource
|
||||
from ._models_py3 import CloningInfo
|
||||
from ._models_py3 import ConnectionStringDictionary
|
||||
from ._models_py3 import ConnStringInfo
|
||||
from ._models_py3 import ConnStringValueTypePair
|
||||
from ._models_py3 import Contact
|
||||
from ._models_py3 import ContainerCpuStatistics
|
||||
from ._models_py3 import ContainerCpuUsage
|
||||
from ._models_py3 import ContainerInfo
|
||||
from ._models_py3 import ContainerMemoryStatistics
|
||||
from ._models_py3 import ContainerNetworkInterfaceStatistics
|
||||
from ._models_py3 import ContainerThrottlingData
|
||||
from ._models_py3 import ContinuousWebJob
|
||||
from ._models_py3 import CorsSettings
|
||||
from ._models_py3 import CsmCopySlotEntity
|
||||
from ._models_py3 import CsmMoveResourceEnvelope
|
||||
from ._models_py3 import CsmOperationDescription
|
||||
from ._models_py3 import CsmOperationDescriptionProperties
|
||||
from ._models_py3 import CsmOperationDisplay
|
||||
from ._models_py3 import CsmPublishingProfileOptions
|
||||
from ._models_py3 import CsmSlotEntity
|
||||
from ._models_py3 import CsmUsageQuota
|
||||
from ._models_py3 import CustomHostnameAnalysisResult
|
||||
from ._models_py3 import DatabaseBackupSetting
|
||||
from ._models_py3 import DataSource
|
||||
from ._models_py3 import DataTableResponseColumn
|
||||
from ._models_py3 import DataTableResponseObject
|
||||
from ._models_py3 import DefaultErrorResponse, DefaultErrorResponseException
|
||||
from ._models_py3 import DefaultErrorResponseError
|
||||
from ._models_py3 import DefaultErrorResponseErrorDetailsItem
|
||||
from ._models_py3 import DeletedAppRestoreRequest
|
||||
from ._models_py3 import DeletedSite
|
||||
from ._models_py3 import Deployment
|
||||
from ._models_py3 import DeploymentLocations
|
||||
from ._models_py3 import DetectorAbnormalTimePeriod
|
||||
from ._models_py3 import DetectorDefinition
|
||||
from ._models_py3 import DetectorInfo
|
||||
from ._models_py3 import DetectorResponse
|
||||
from ._models_py3 import DiagnosticAnalysis
|
||||
from ._models_py3 import DiagnosticCategory
|
||||
from ._models_py3 import DiagnosticData
|
||||
from ._models_py3 import DiagnosticDetectorResponse
|
||||
from ._models_py3 import DiagnosticMetricSample
|
||||
from ._models_py3 import DiagnosticMetricSet
|
||||
from ._models_py3 import Dimension
|
||||
from ._models_py3 import Domain
|
||||
from ._models_py3 import DomainAvailabilityCheckResult
|
||||
from ._models_py3 import DomainControlCenterSsoRequest
|
||||
from ._models_py3 import DomainOwnershipIdentifier
|
||||
from ._models_py3 import DomainPatchResource
|
||||
from ._models_py3 import DomainPurchaseConsent
|
||||
from ._models_py3 import DomainRecommendationSearchParameters
|
||||
from ._models_py3 import EnabledConfig
|
||||
from ._models_py3 import EndpointDependency
|
||||
from ._models_py3 import EndpointDetail
|
||||
from ._models_py3 import ErrorEntity
|
||||
from ._models_py3 import Experiments
|
||||
from ._models_py3 import FileSystemApplicationLogsConfig
|
||||
from ._models_py3 import FileSystemHttpLogsConfig
|
||||
from ._models_py3 import FunctionEnvelope
|
||||
from ._models_py3 import FunctionSecrets
|
||||
from ._models_py3 import GeoRegion
|
||||
from ._models_py3 import GlobalCsmSkuDescription
|
||||
from ._models_py3 import HandlerMapping
|
||||
from ._models_py3 import HostingEnvironmentDeploymentInfo
|
||||
from ._models_py3 import HostingEnvironmentDiagnostics
|
||||
from ._models_py3 import HostingEnvironmentProfile
|
||||
from ._models_py3 import HostName
|
||||
from ._models_py3 import HostNameBinding
|
||||
from ._models_py3 import HostNameSslState
|
||||
from ._models_py3 import HttpLogsConfig
|
||||
from ._models_py3 import HybridConnection
|
||||
from ._models_py3 import HybridConnectionKey
|
||||
from ._models_py3 import HybridConnectionLimits
|
||||
from ._models_py3 import Identifier
|
||||
from ._models_py3 import InboundEnvironmentEndpoint
|
||||
from ._models_py3 import IpSecurityRestriction
|
||||
from ._models_py3 import KeyVaultReferenceCollection
|
||||
from ._models_py3 import KeyVaultReferenceResource
|
||||
from ._models_py3 import LocalizableString
|
||||
from ._models_py3 import LogSpecification
|
||||
from ._models_py3 import ManagedServiceIdentity
|
||||
from ._models_py3 import ManagedServiceIdentityUserAssignedIdentitiesValue
|
||||
from ._models_py3 import MetricAvailability
|
||||
from ._models_py3 import MetricSpecification
|
||||
from ._models_py3 import MigrateMySqlRequest
|
||||
from ._models_py3 import MigrateMySqlStatus
|
||||
from ._models_py3 import MSDeploy
|
||||
from ._models_py3 import MSDeployLog
|
||||
from ._models_py3 import MSDeployLogEntry
|
||||
from ._models_py3 import MSDeployStatus
|
||||
from ._models_py3 import NameIdentifier
|
||||
from ._models_py3 import NameValuePair
|
||||
from ._models_py3 import NetworkAccessControlEntry
|
||||
from ._models_py3 import NetworkFeatures
|
||||
from ._models_py3 import NetworkTrace
|
||||
from ._models_py3 import Operation
|
||||
from ._models_py3 import OutboundEnvironmentEndpoint
|
||||
from ._models_py3 import PerfMonResponse
|
||||
from ._models_py3 import PerfMonSample
|
||||
from ._models_py3 import PerfMonSet
|
||||
from ._models_py3 import PremierAddOn
|
||||
from ._models_py3 import PremierAddOnOffer
|
||||
from ._models_py3 import PremierAddOnPatchResource
|
||||
from ._models_py3 import PrivateAccess
|
||||
from ._models_py3 import PrivateAccessSubnet
|
||||
from ._models_py3 import PrivateAccessVirtualNetwork
|
||||
from ._models_py3 import ProcessInfo
|
||||
from ._models_py3 import ProcessModuleInfo
|
||||
from ._models_py3 import ProcessThreadInfo
|
||||
from ._models_py3 import ProxyOnlyResource
|
||||
from ._models_py3 import PublicCertificate
|
||||
from ._models_py3 import PushSettings
|
||||
from ._models_py3 import RampUpRule
|
||||
from ._models_py3 import Recommendation
|
||||
from ._models_py3 import RecommendationRule
|
||||
from ._models_py3 import ReissueCertificateOrderRequest
|
||||
from ._models_py3 import RelayServiceConnectionEntity
|
||||
from ._models_py3 import Rendering
|
||||
from ._models_py3 import RenewCertificateOrderRequest
|
||||
from ._models_py3 import RequestsBasedTrigger
|
||||
from ._models_py3 import Resource
|
||||
from ._models_py3 import ResourceHealthMetadata
|
||||
from ._models_py3 import ResourceMetricAvailability
|
||||
from ._models_py3 import ResourceMetricDefinition
|
||||
from ._models_py3 import ResourceNameAvailability
|
||||
from ._models_py3 import ResourceNameAvailabilityRequest
|
||||
from ._models_py3 import ResponseMetaData
|
||||
from ._models_py3 import RestoreRequest
|
||||
from ._models_py3 import ServiceSpecification
|
||||
from ._models_py3 import Site
|
||||
from ._models_py3 import SiteAuthSettings
|
||||
from ._models_py3 import SiteCloneability
|
||||
from ._models_py3 import SiteCloneabilityCriterion
|
||||
from ._models_py3 import SiteConfig
|
||||
from ._models_py3 import SiteConfigResource
|
||||
from ._models_py3 import SiteConfigurationSnapshotInfo
|
||||
from ._models_py3 import SiteExtensionInfo
|
||||
from ._models_py3 import SiteInstance
|
||||
from ._models_py3 import SiteLimits
|
||||
from ._models_py3 import SiteLogsConfig
|
||||
from ._models_py3 import SiteMachineKey
|
||||
from ._models_py3 import SitePatchResource
|
||||
from ._models_py3 import SitePhpErrorLogFlag
|
||||
from ._models_py3 import SiteSeal
|
||||
from ._models_py3 import SiteSealRequest
|
||||
from ._models_py3 import SiteSourceControl
|
||||
from ._models_py3 import SkuCapacity
|
||||
from ._models_py3 import SkuDescription
|
||||
from ._models_py3 import SkuInfo
|
||||
from ._models_py3 import SkuInfos
|
||||
from ._models_py3 import SlotConfigNamesResource
|
||||
from ._models_py3 import SlotDifference
|
||||
from ._models_py3 import SlotSwapStatus
|
||||
from ._models_py3 import SlowRequestsBasedTrigger
|
||||
from ._models_py3 import Snapshot
|
||||
from ._models_py3 import SnapshotRecoverySource
|
||||
from ._models_py3 import SnapshotRestoreRequest
|
||||
from ._models_py3 import Solution
|
||||
from ._models_py3 import SourceControl
|
||||
from ._models_py3 import StackMajorVersion
|
||||
from ._models_py3 import StackMinorVersion
|
||||
from ._models_py3 import StampCapacity
|
||||
from ._models_py3 import StatusCodesBasedTrigger
|
||||
from ._models_py3 import StorageMigrationOptions
|
||||
from ._models_py3 import StorageMigrationResponse
|
||||
from ._models_py3 import StringDictionary
|
||||
from ._models_py3 import SwiftVirtualNetwork
|
||||
from ._models_py3 import TldLegalAgreement
|
||||
from ._models_py3 import TopLevelDomain
|
||||
from ._models_py3 import TopLevelDomainAgreementOption
|
||||
from ._models_py3 import TriggeredJobHistory
|
||||
from ._models_py3 import TriggeredJobRun
|
||||
from ._models_py3 import TriggeredWebJob
|
||||
from ._models_py3 import Usage
|
||||
from ._models_py3 import User
|
||||
from ._models_py3 import ValidateRequest
|
||||
from ._models_py3 import ValidateResponse
|
||||
from ._models_py3 import ValidateResponseError
|
||||
from ._models_py3 import VirtualApplication
|
||||
from ._models_py3 import VirtualDirectory
|
||||
from ._models_py3 import VirtualIPMapping
|
||||
from ._models_py3 import VirtualNetworkProfile
|
||||
from ._models_py3 import VnetGateway
|
||||
from ._models_py3 import VnetInfo
|
||||
from ._models_py3 import VnetParameters
|
||||
from ._models_py3 import VnetRoute
|
||||
from ._models_py3 import VnetValidationFailureDetails
|
||||
from ._models_py3 import VnetValidationTestFailure
|
||||
from ._models_py3 import WebAppCollection
|
||||
from ._models_py3 import WebJob
|
||||
from ._models_py3 import WebSiteInstanceStatus
|
||||
from ._models_py3 import WorkerPool
|
||||
from ._models_py3 import WorkerPoolResource
|
||||
except (SyntaxError, ImportError):
|
||||
from ._models import AbnormalTimePeriod
|
||||
from ._models import Address
|
||||
from ._models import AddressResponse
|
||||
from ._models import AnalysisData
|
||||
from ._models import AnalysisDefinition
|
||||
from ._models import ApiDefinitionInfo
|
||||
from ._models import ApiKVReference
|
||||
from ._models import ApiManagementConfig
|
||||
from ._models import ApplicationLogsConfig
|
||||
from ._models import ApplicationStack
|
||||
from ._models import ApplicationStackResource
|
||||
from ._models import AppServiceCertificate
|
||||
from ._models import AppServiceCertificateOrder
|
||||
from ._models import AppServiceCertificateOrderPatchResource
|
||||
from ._models import AppServiceCertificatePatchResource
|
||||
from ._models import AppServiceCertificateResource
|
||||
from ._models import AppServiceEnvironment
|
||||
from ._models import AppServiceEnvironmentPatchResource
|
||||
from ._models import AppServiceEnvironmentResource
|
||||
from ._models import AppServicePlan
|
||||
from ._models import AppServicePlanPatchResource
|
||||
from ._models import AutoHealActions
|
||||
from ._models import AutoHealCustomAction
|
||||
from ._models import AutoHealRules
|
||||
from ._models import AutoHealTriggers
|
||||
from ._models import AzureBlobStorageApplicationLogsConfig
|
||||
from ._models import AzureBlobStorageHttpLogsConfig
|
||||
from ._models import AzureStorageInfoValue
|
||||
from ._models import AzureStoragePropertyDictionaryResource
|
||||
from ._models import AzureTableStorageApplicationLogsConfig
|
||||
from ._models import BackupItem
|
||||
from ._models import BackupRequest
|
||||
from ._models import BackupSchedule
|
||||
from ._models import BillingMeter
|
||||
from ._models import Capability
|
||||
from ._models import Certificate
|
||||
from ._models import CertificateDetails
|
||||
from ._models import CertificateEmail
|
||||
from ._models import CertificateOrderAction
|
||||
from ._models import CertificatePatchResource
|
||||
from ._models import CloningInfo
|
||||
from ._models import ConnectionStringDictionary
|
||||
from ._models import ConnStringInfo
|
||||
from ._models import ConnStringValueTypePair
|
||||
from ._models import Contact
|
||||
from ._models import ContainerCpuStatistics
|
||||
from ._models import ContainerCpuUsage
|
||||
from ._models import ContainerInfo
|
||||
from ._models import ContainerMemoryStatistics
|
||||
from ._models import ContainerNetworkInterfaceStatistics
|
||||
from ._models import ContainerThrottlingData
|
||||
from ._models import ContinuousWebJob
|
||||
from ._models import CorsSettings
|
||||
from ._models import CsmCopySlotEntity
|
||||
from ._models import CsmMoveResourceEnvelope
|
||||
from ._models import CsmOperationDescription
|
||||
from ._models import CsmOperationDescriptionProperties
|
||||
from ._models import CsmOperationDisplay
|
||||
from ._models import CsmPublishingProfileOptions
|
||||
from ._models import CsmSlotEntity
|
||||
from ._models import CsmUsageQuota
|
||||
from ._models import CustomHostnameAnalysisResult
|
||||
from ._models import DatabaseBackupSetting
|
||||
from ._models import DataSource
|
||||
from ._models import DataTableResponseColumn
|
||||
from ._models import DataTableResponseObject
|
||||
from ._models import DefaultErrorResponse, DefaultErrorResponseException
|
||||
from ._models import DefaultErrorResponseError
|
||||
from ._models import DefaultErrorResponseErrorDetailsItem
|
||||
from ._models import DeletedAppRestoreRequest
|
||||
from ._models import DeletedSite
|
||||
from ._models import Deployment
|
||||
from ._models import DeploymentLocations
|
||||
from ._models import DetectorAbnormalTimePeriod
|
||||
from ._models import DetectorDefinition
|
||||
from ._models import DetectorInfo
|
||||
from ._models import DetectorResponse
|
||||
from ._models import DiagnosticAnalysis
|
||||
from ._models import DiagnosticCategory
|
||||
from ._models import DiagnosticData
|
||||
from ._models import DiagnosticDetectorResponse
|
||||
from ._models import DiagnosticMetricSample
|
||||
from ._models import DiagnosticMetricSet
|
||||
from ._models import Dimension
|
||||
from ._models import Domain
|
||||
from ._models import DomainAvailabilityCheckResult
|
||||
from ._models import DomainControlCenterSsoRequest
|
||||
from ._models import DomainOwnershipIdentifier
|
||||
from ._models import DomainPatchResource
|
||||
from ._models import DomainPurchaseConsent
|
||||
from ._models import DomainRecommendationSearchParameters
|
||||
from ._models import EnabledConfig
|
||||
from ._models import EndpointDependency
|
||||
from ._models import EndpointDetail
|
||||
from ._models import ErrorEntity
|
||||
from ._models import Experiments
|
||||
from ._models import FileSystemApplicationLogsConfig
|
||||
from ._models import FileSystemHttpLogsConfig
|
||||
from ._models import FunctionEnvelope
|
||||
from ._models import FunctionSecrets
|
||||
from ._models import GeoRegion
|
||||
from ._models import GlobalCsmSkuDescription
|
||||
from ._models import HandlerMapping
|
||||
from ._models import HostingEnvironmentDeploymentInfo
|
||||
from ._models import HostingEnvironmentDiagnostics
|
||||
from ._models import HostingEnvironmentProfile
|
||||
from ._models import HostName
|
||||
from ._models import HostNameBinding
|
||||
from ._models import HostNameSslState
|
||||
from ._models import HttpLogsConfig
|
||||
from ._models import HybridConnection
|
||||
from ._models import HybridConnectionKey
|
||||
from ._models import HybridConnectionLimits
|
||||
from ._models import Identifier
|
||||
from ._models import InboundEnvironmentEndpoint
|
||||
from ._models import IpSecurityRestriction
|
||||
from ._models import KeyVaultReferenceCollection
|
||||
from ._models import KeyVaultReferenceResource
|
||||
from ._models import LocalizableString
|
||||
from ._models import LogSpecification
|
||||
from ._models import ManagedServiceIdentity
|
||||
from ._models import ManagedServiceIdentityUserAssignedIdentitiesValue
|
||||
from ._models import MetricAvailability
|
||||
from ._models import MetricSpecification
|
||||
from ._models import MigrateMySqlRequest
|
||||
from ._models import MigrateMySqlStatus
|
||||
from ._models import MSDeploy
|
||||
from ._models import MSDeployLog
|
||||
from ._models import MSDeployLogEntry
|
||||
from ._models import MSDeployStatus
|
||||
from ._models import NameIdentifier
|
||||
from ._models import NameValuePair
|
||||
from ._models import NetworkAccessControlEntry
|
||||
from ._models import NetworkFeatures
|
||||
from ._models import NetworkTrace
|
||||
from ._models import Operation
|
||||
from ._models import OutboundEnvironmentEndpoint
|
||||
from ._models import PerfMonResponse
|
||||
from ._models import PerfMonSample
|
||||
from ._models import PerfMonSet
|
||||
from ._models import PremierAddOn
|
||||
from ._models import PremierAddOnOffer
|
||||
from ._models import PremierAddOnPatchResource
|
||||
from ._models import PrivateAccess
|
||||
from ._models import PrivateAccessSubnet
|
||||
from ._models import PrivateAccessVirtualNetwork
|
||||
from ._models import ProcessInfo
|
||||
from ._models import ProcessModuleInfo
|
||||
from ._models import ProcessThreadInfo
|
||||
from ._models import ProxyOnlyResource
|
||||
from ._models import PublicCertificate
|
||||
from ._models import PushSettings
|
||||
from ._models import RampUpRule
|
||||
from ._models import Recommendation
|
||||
from ._models import RecommendationRule
|
||||
from ._models import ReissueCertificateOrderRequest
|
||||
from ._models import RelayServiceConnectionEntity
|
||||
from ._models import Rendering
|
||||
from ._models import RenewCertificateOrderRequest
|
||||
from ._models import RequestsBasedTrigger
|
||||
from ._models import Resource
|
||||
from ._models import ResourceHealthMetadata
|
||||
from ._models import ResourceMetricAvailability
|
||||
from ._models import ResourceMetricDefinition
|
||||
from ._models import ResourceNameAvailability
|
||||
from ._models import ResourceNameAvailabilityRequest
|
||||
from ._models import ResponseMetaData
|
||||
from ._models import RestoreRequest
|
||||
from ._models import ServiceSpecification
|
||||
from ._models import Site
|
||||
from ._models import SiteAuthSettings
|
||||
from ._models import SiteCloneability
|
||||
from ._models import SiteCloneabilityCriterion
|
||||
from ._models import SiteConfig
|
||||
from ._models import SiteConfigResource
|
||||
from ._models import SiteConfigurationSnapshotInfo
|
||||
from ._models import SiteExtensionInfo
|
||||
from ._models import SiteInstance
|
||||
from ._models import SiteLimits
|
||||
from ._models import SiteLogsConfig
|
||||
from ._models import SiteMachineKey
|
||||
from ._models import SitePatchResource
|
||||
from ._models import SitePhpErrorLogFlag
|
||||
from ._models import SiteSeal
|
||||
from ._models import SiteSealRequest
|
||||
from ._models import SiteSourceControl
|
||||
from ._models import SkuCapacity
|
||||
from ._models import SkuDescription
|
||||
from ._models import SkuInfo
|
||||
from ._models import SkuInfos
|
||||
from ._models import SlotConfigNamesResource
|
||||
from ._models import SlotDifference
|
||||
from ._models import SlotSwapStatus
|
||||
from ._models import SlowRequestsBasedTrigger
|
||||
from ._models import Snapshot
|
||||
from ._models import SnapshotRecoverySource
|
||||
from ._models import SnapshotRestoreRequest
|
||||
from ._models import Solution
|
||||
from ._models import SourceControl
|
||||
from ._models import StackMajorVersion
|
||||
from ._models import StackMinorVersion
|
||||
from ._models import StampCapacity
|
||||
from ._models import StatusCodesBasedTrigger
|
||||
from ._models import StorageMigrationOptions
|
||||
from ._models import StorageMigrationResponse
|
||||
from ._models import StringDictionary
|
||||
from ._models import SwiftVirtualNetwork
|
||||
from ._models import TldLegalAgreement
|
||||
from ._models import TopLevelDomain
|
||||
from ._models import TopLevelDomainAgreementOption
|
||||
from ._models import TriggeredJobHistory
|
||||
from ._models import TriggeredJobRun
|
||||
from ._models import TriggeredWebJob
|
||||
from ._models import Usage
|
||||
from ._models import User
|
||||
from ._models import ValidateRequest
|
||||
from ._models import ValidateResponse
|
||||
from ._models import ValidateResponseError
|
||||
from ._models import VirtualApplication
|
||||
from ._models import VirtualDirectory
|
||||
from ._models import VirtualIPMapping
|
||||
from ._models import VirtualNetworkProfile
|
||||
from ._models import VnetGateway
|
||||
from ._models import VnetInfo
|
||||
from ._models import VnetParameters
|
||||
from ._models import VnetRoute
|
||||
from ._models import VnetValidationFailureDetails
|
||||
from ._models import VnetValidationTestFailure
|
||||
from ._models import WebAppCollection
|
||||
from ._models import WebJob
|
||||
from ._models import WebSiteInstanceStatus
|
||||
from ._models import WorkerPool
|
||||
from ._models import WorkerPoolResource
|
||||
from ._paged_models import AnalysisDefinitionPaged
|
||||
from ._paged_models import ApplicationStackResourcePaged
|
||||
from ._paged_models import AppServiceCertificateOrderPaged
|
||||
from ._paged_models import AppServiceCertificateResourcePaged
|
||||
from ._paged_models import AppServiceEnvironmentResourcePaged
|
||||
from ._paged_models import AppServicePlanPaged
|
||||
from ._paged_models import BackupItemPaged
|
||||
from ._paged_models import BillingMeterPaged
|
||||
from ._paged_models import CertificatePaged
|
||||
from ._paged_models import ContinuousWebJobPaged
|
||||
from ._paged_models import CsmOperationDescriptionPaged
|
||||
from ._paged_models import CsmUsageQuotaPaged
|
||||
from ._paged_models import DeletedSitePaged
|
||||
from ._paged_models import DeploymentPaged
|
||||
from ._paged_models import DetectorDefinitionPaged
|
||||
from ._paged_models import DetectorResponsePaged
|
||||
from ._paged_models import DiagnosticCategoryPaged
|
||||
from ._paged_models import DomainOwnershipIdentifierPaged
|
||||
from ._paged_models import DomainPaged
|
||||
from ._paged_models import FunctionEnvelopePaged
|
||||
from ._paged_models import GeoRegionPaged
|
||||
from ._paged_models import HostNameBindingPaged
|
||||
from ._paged_models import HybridConnectionPaged
|
||||
from ._paged_models import IdentifierPaged
|
||||
from ._paged_models import InboundEnvironmentEndpointPaged
|
||||
from ._paged_models import NameIdentifierPaged
|
||||
from ._paged_models import OutboundEnvironmentEndpointPaged
|
||||
from ._paged_models import PerfMonResponsePaged
|
||||
from ._paged_models import PremierAddOnOfferPaged
|
||||
from ._paged_models import ProcessInfoPaged
|
||||
from ._paged_models import ProcessModuleInfoPaged
|
||||
from ._paged_models import ProcessThreadInfoPaged
|
||||
from ._paged_models import PublicCertificatePaged
|
||||
from ._paged_models import RecommendationPaged
|
||||
from ._paged_models import ResourceHealthMetadataPaged
|
||||
from ._paged_models import ResourceMetricDefinitionPaged
|
||||
from ._paged_models import SiteConfigResourcePaged
|
||||
from ._paged_models import SiteConfigurationSnapshotInfoPaged
|
||||
from ._paged_models import SiteExtensionInfoPaged
|
||||
from ._paged_models import SiteInstancePaged
|
||||
from ._paged_models import SitePaged
|
||||
from ._paged_models import SkuInfoPaged
|
||||
from ._paged_models import SlotDifferencePaged
|
||||
from ._paged_models import SnapshotPaged
|
||||
from ._paged_models import SourceControlPaged
|
||||
from ._paged_models import StampCapacityPaged
|
||||
from ._paged_models import StrPaged
|
||||
from ._paged_models import TldLegalAgreementPaged
|
||||
from ._paged_models import TopLevelDomainPaged
|
||||
from ._paged_models import TriggeredJobHistoryPaged
|
||||
from ._paged_models import TriggeredWebJobPaged
|
||||
from ._paged_models import UsagePaged
|
||||
from ._paged_models import WebJobPaged
|
||||
from ._paged_models import WorkerPoolResourcePaged
|
||||
from ._web_site_management_client_enums import (
|
||||
KeyVaultSecretStatus,
|
||||
CertificateProductType,
|
||||
ProvisioningState,
|
||||
CertificateOrderStatus,
|
||||
CertificateOrderActionType,
|
||||
RouteType,
|
||||
ManagedServiceIdentityType,
|
||||
IpFilterTag,
|
||||
AutoHealActionType,
|
||||
ConnectionStringType,
|
||||
ScmType,
|
||||
ManagedPipelineMode,
|
||||
SiteLoadBalancing,
|
||||
SupportedTlsVersions,
|
||||
FtpsState,
|
||||
SslState,
|
||||
HostType,
|
||||
UsageState,
|
||||
SiteAvailabilityState,
|
||||
RedundancyMode,
|
||||
StatusOptions,
|
||||
DomainStatus,
|
||||
AzureResourceType,
|
||||
CustomHostNameDnsRecordType,
|
||||
HostNameType,
|
||||
DnsType,
|
||||
DomainType,
|
||||
HostingEnvironmentStatus,
|
||||
InternalLoadBalancingMode,
|
||||
ComputeModeOptions,
|
||||
WorkerSizeOptions,
|
||||
AccessControlEntryAction,
|
||||
OperationStatus,
|
||||
IssueType,
|
||||
SolutionType,
|
||||
RenderingType,
|
||||
ResourceScopeType,
|
||||
NotificationLevel,
|
||||
Channels,
|
||||
AppServicePlanRestrictions,
|
||||
InAvailabilityReasonType,
|
||||
CheckNameResourceTypes,
|
||||
ValidateResourceTypes,
|
||||
ResolveStatus,
|
||||
ConfigReferenceSource,
|
||||
ConfigReferenceLocation,
|
||||
LogLevel,
|
||||
AzureStorageType,
|
||||
AzureStorageState,
|
||||
BackupItemStatus,
|
||||
DatabaseType,
|
||||
FrequencyUnit,
|
||||
ContinuousWebJobStatus,
|
||||
WebJobType,
|
||||
PublishingProfileFormat,
|
||||
DnsVerificationTestResult,
|
||||
MSDeployLogEntryType,
|
||||
MSDeployProvisioningState,
|
||||
MySqlMigrationType,
|
||||
PublicCertificateLocation,
|
||||
BackupRestoreOperationType,
|
||||
UnauthenticatedClientAction,
|
||||
BuiltInAuthenticationProvider,
|
||||
CloneAbilityResult,
|
||||
SiteExtensionType,
|
||||
TriggeredWebJobStatus,
|
||||
SiteRuntimeState,
|
||||
SkuName,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
'AbnormalTimePeriod',
|
||||
'Address',
|
||||
'AddressResponse',
|
||||
'AnalysisData',
|
||||
'AnalysisDefinition',
|
||||
'ApiDefinitionInfo',
|
||||
'ApiKVReference',
|
||||
'ApiManagementConfig',
|
||||
'ApplicationLogsConfig',
|
||||
'ApplicationStack',
|
||||
'ApplicationStackResource',
|
||||
'AppServiceCertificate',
|
||||
'AppServiceCertificateOrder',
|
||||
'AppServiceCertificateOrderPatchResource',
|
||||
'AppServiceCertificatePatchResource',
|
||||
'AppServiceCertificateResource',
|
||||
'AppServiceEnvironment',
|
||||
'AppServiceEnvironmentPatchResource',
|
||||
'AppServiceEnvironmentResource',
|
||||
'AppServicePlan',
|
||||
'AppServicePlanPatchResource',
|
||||
'AutoHealActions',
|
||||
'AutoHealCustomAction',
|
||||
'AutoHealRules',
|
||||
'AutoHealTriggers',
|
||||
'AzureBlobStorageApplicationLogsConfig',
|
||||
'AzureBlobStorageHttpLogsConfig',
|
||||
'AzureStorageInfoValue',
|
||||
'AzureStoragePropertyDictionaryResource',
|
||||
'AzureTableStorageApplicationLogsConfig',
|
||||
'BackupItem',
|
||||
'BackupRequest',
|
||||
'BackupSchedule',
|
||||
'BillingMeter',
|
||||
'Capability',
|
||||
'Certificate',
|
||||
'CertificateDetails',
|
||||
'CertificateEmail',
|
||||
'CertificateOrderAction',
|
||||
'CertificatePatchResource',
|
||||
'CloningInfo',
|
||||
'ConnectionStringDictionary',
|
||||
'ConnStringInfo',
|
||||
'ConnStringValueTypePair',
|
||||
'Contact',
|
||||
'ContainerCpuStatistics',
|
||||
'ContainerCpuUsage',
|
||||
'ContainerInfo',
|
||||
'ContainerMemoryStatistics',
|
||||
'ContainerNetworkInterfaceStatistics',
|
||||
'ContainerThrottlingData',
|
||||
'ContinuousWebJob',
|
||||
'CorsSettings',
|
||||
'CsmCopySlotEntity',
|
||||
'CsmMoveResourceEnvelope',
|
||||
'CsmOperationDescription',
|
||||
'CsmOperationDescriptionProperties',
|
||||
'CsmOperationDisplay',
|
||||
'CsmPublishingProfileOptions',
|
||||
'CsmSlotEntity',
|
||||
'CsmUsageQuota',
|
||||
'CustomHostnameAnalysisResult',
|
||||
'DatabaseBackupSetting',
|
||||
'DataSource',
|
||||
'DataTableResponseColumn',
|
||||
'DataTableResponseObject',
|
||||
'DefaultErrorResponse', 'DefaultErrorResponseException',
|
||||
'DefaultErrorResponseError',
|
||||
'DefaultErrorResponseErrorDetailsItem',
|
||||
'DeletedAppRestoreRequest',
|
||||
'DeletedSite',
|
||||
'Deployment',
|
||||
'DeploymentLocations',
|
||||
'DetectorAbnormalTimePeriod',
|
||||
'DetectorDefinition',
|
||||
'DetectorInfo',
|
||||
'DetectorResponse',
|
||||
'DiagnosticAnalysis',
|
||||
'DiagnosticCategory',
|
||||
'DiagnosticData',
|
||||
'DiagnosticDetectorResponse',
|
||||
'DiagnosticMetricSample',
|
||||
'DiagnosticMetricSet',
|
||||
'Dimension',
|
||||
'Domain',
|
||||
'DomainAvailabilityCheckResult',
|
||||
'DomainControlCenterSsoRequest',
|
||||
'DomainOwnershipIdentifier',
|
||||
'DomainPatchResource',
|
||||
'DomainPurchaseConsent',
|
||||
'DomainRecommendationSearchParameters',
|
||||
'EnabledConfig',
|
||||
'EndpointDependency',
|
||||
'EndpointDetail',
|
||||
'ErrorEntity',
|
||||
'Experiments',
|
||||
'FileSystemApplicationLogsConfig',
|
||||
'FileSystemHttpLogsConfig',
|
||||
'FunctionEnvelope',
|
||||
'FunctionSecrets',
|
||||
'GeoRegion',
|
||||
'GlobalCsmSkuDescription',
|
||||
'HandlerMapping',
|
||||
'HostingEnvironmentDeploymentInfo',
|
||||
'HostingEnvironmentDiagnostics',
|
||||
'HostingEnvironmentProfile',
|
||||
'HostName',
|
||||
'HostNameBinding',
|
||||
'HostNameSslState',
|
||||
'HttpLogsConfig',
|
||||
'HybridConnection',
|
||||
'HybridConnectionKey',
|
||||
'HybridConnectionLimits',
|
||||
'Identifier',
|
||||
'InboundEnvironmentEndpoint',
|
||||
'IpSecurityRestriction',
|
||||
'KeyVaultReferenceCollection',
|
||||
'KeyVaultReferenceResource',
|
||||
'LocalizableString',
|
||||
'LogSpecification',
|
||||
'ManagedServiceIdentity',
|
||||
'ManagedServiceIdentityUserAssignedIdentitiesValue',
|
||||
'MetricAvailability',
|
||||
'MetricSpecification',
|
||||
'MigrateMySqlRequest',
|
||||
'MigrateMySqlStatus',
|
||||
'MSDeploy',
|
||||
'MSDeployLog',
|
||||
'MSDeployLogEntry',
|
||||
'MSDeployStatus',
|
||||
'NameIdentifier',
|
||||
'NameValuePair',
|
||||
'NetworkAccessControlEntry',
|
||||
'NetworkFeatures',
|
||||
'NetworkTrace',
|
||||
'Operation',
|
||||
'OutboundEnvironmentEndpoint',
|
||||
'PerfMonResponse',
|
||||
'PerfMonSample',
|
||||
'PerfMonSet',
|
||||
'PremierAddOn',
|
||||
'PremierAddOnOffer',
|
||||
'PremierAddOnPatchResource',
|
||||
'PrivateAccess',
|
||||
'PrivateAccessSubnet',
|
||||
'PrivateAccessVirtualNetwork',
|
||||
'ProcessInfo',
|
||||
'ProcessModuleInfo',
|
||||
'ProcessThreadInfo',
|
||||
'ProxyOnlyResource',
|
||||
'PublicCertificate',
|
||||
'PushSettings',
|
||||
'RampUpRule',
|
||||
'Recommendation',
|
||||
'RecommendationRule',
|
||||
'ReissueCertificateOrderRequest',
|
||||
'RelayServiceConnectionEntity',
|
||||
'Rendering',
|
||||
'RenewCertificateOrderRequest',
|
||||
'RequestsBasedTrigger',
|
||||
'Resource',
|
||||
'ResourceHealthMetadata',
|
||||
'ResourceMetricAvailability',
|
||||
'ResourceMetricDefinition',
|
||||
'ResourceNameAvailability',
|
||||
'ResourceNameAvailabilityRequest',
|
||||
'ResponseMetaData',
|
||||
'RestoreRequest',
|
||||
'ServiceSpecification',
|
||||
'Site',
|
||||
'SiteAuthSettings',
|
||||
'SiteCloneability',
|
||||
'SiteCloneabilityCriterion',
|
||||
'SiteConfig',
|
||||
'SiteConfigResource',
|
||||
'SiteConfigurationSnapshotInfo',
|
||||
'SiteExtensionInfo',
|
||||
'SiteInstance',
|
||||
'SiteLimits',
|
||||
'SiteLogsConfig',
|
||||
'SiteMachineKey',
|
||||
'SitePatchResource',
|
||||
'SitePhpErrorLogFlag',
|
||||
'SiteSeal',
|
||||
'SiteSealRequest',
|
||||
'SiteSourceControl',
|
||||
'SkuCapacity',
|
||||
'SkuDescription',
|
||||
'SkuInfo',
|
||||
'SkuInfos',
|
||||
'SlotConfigNamesResource',
|
||||
'SlotDifference',
|
||||
'SlotSwapStatus',
|
||||
'SlowRequestsBasedTrigger',
|
||||
'Snapshot',
|
||||
'SnapshotRecoverySource',
|
||||
'SnapshotRestoreRequest',
|
||||
'Solution',
|
||||
'SourceControl',
|
||||
'StackMajorVersion',
|
||||
'StackMinorVersion',
|
||||
'StampCapacity',
|
||||
'StatusCodesBasedTrigger',
|
||||
'StorageMigrationOptions',
|
||||
'StorageMigrationResponse',
|
||||
'StringDictionary',
|
||||
'SwiftVirtualNetwork',
|
||||
'TldLegalAgreement',
|
||||
'TopLevelDomain',
|
||||
'TopLevelDomainAgreementOption',
|
||||
'TriggeredJobHistory',
|
||||
'TriggeredJobRun',
|
||||
'TriggeredWebJob',
|
||||
'Usage',
|
||||
'User',
|
||||
'ValidateRequest',
|
||||
'ValidateResponse',
|
||||
'ValidateResponseError',
|
||||
'VirtualApplication',
|
||||
'VirtualDirectory',
|
||||
'VirtualIPMapping',
|
||||
'VirtualNetworkProfile',
|
||||
'VnetGateway',
|
||||
'VnetInfo',
|
||||
'VnetParameters',
|
||||
'VnetRoute',
|
||||
'VnetValidationFailureDetails',
|
||||
'VnetValidationTestFailure',
|
||||
'WebAppCollection',
|
||||
'WebJob',
|
||||
'WebSiteInstanceStatus',
|
||||
'WorkerPool',
|
||||
'WorkerPoolResource',
|
||||
'AppServiceCertificateOrderPaged',
|
||||
'AppServiceCertificateResourcePaged',
|
||||
'CsmOperationDescriptionPaged',
|
||||
'DomainPaged',
|
||||
'NameIdentifierPaged',
|
||||
'DomainOwnershipIdentifierPaged',
|
||||
'TopLevelDomainPaged',
|
||||
'TldLegalAgreementPaged',
|
||||
'CertificatePaged',
|
||||
'DeletedSitePaged',
|
||||
'DetectorResponsePaged',
|
||||
'DiagnosticCategoryPaged',
|
||||
'AnalysisDefinitionPaged',
|
||||
'DetectorDefinitionPaged',
|
||||
'ApplicationStackResourcePaged',
|
||||
'RecommendationPaged',
|
||||
'SourceControlPaged',
|
||||
'BillingMeterPaged',
|
||||
'GeoRegionPaged',
|
||||
'IdentifierPaged',
|
||||
'PremierAddOnOfferPaged',
|
||||
'SitePaged',
|
||||
'BackupItemPaged',
|
||||
'SiteConfigResourcePaged',
|
||||
'SiteConfigurationSnapshotInfoPaged',
|
||||
'ContinuousWebJobPaged',
|
||||
'DeploymentPaged',
|
||||
'FunctionEnvelopePaged',
|
||||
'HostNameBindingPaged',
|
||||
'SiteInstancePaged',
|
||||
'ProcessInfoPaged',
|
||||
'ProcessModuleInfoPaged',
|
||||
'ProcessThreadInfoPaged',
|
||||
'PerfMonResponsePaged',
|
||||
'PublicCertificatePaged',
|
||||
'SiteExtensionInfoPaged',
|
||||
'SlotDifferencePaged',
|
||||
'SnapshotPaged',
|
||||
'TriggeredWebJobPaged',
|
||||
'TriggeredJobHistoryPaged',
|
||||
'CsmUsageQuotaPaged',
|
||||
'WebJobPaged',
|
||||
'AppServiceEnvironmentResourcePaged',
|
||||
'StampCapacityPaged',
|
||||
'InboundEnvironmentEndpointPaged',
|
||||
'WorkerPoolResourcePaged',
|
||||
'ResourceMetricDefinitionPaged',
|
||||
'SkuInfoPaged',
|
||||
'UsagePaged',
|
||||
'OutboundEnvironmentEndpointPaged',
|
||||
'AppServicePlanPaged',
|
||||
'StrPaged',
|
||||
'HybridConnectionPaged',
|
||||
'ResourceHealthMetadataPaged',
|
||||
'KeyVaultSecretStatus',
|
||||
'CertificateProductType',
|
||||
'ProvisioningState',
|
||||
'CertificateOrderStatus',
|
||||
'CertificateOrderActionType',
|
||||
'RouteType',
|
||||
'ManagedServiceIdentityType',
|
||||
'IpFilterTag',
|
||||
'AutoHealActionType',
|
||||
'ConnectionStringType',
|
||||
'ScmType',
|
||||
'ManagedPipelineMode',
|
||||
'SiteLoadBalancing',
|
||||
'SupportedTlsVersions',
|
||||
'FtpsState',
|
||||
'SslState',
|
||||
'HostType',
|
||||
'UsageState',
|
||||
'SiteAvailabilityState',
|
||||
'RedundancyMode',
|
||||
'StatusOptions',
|
||||
'DomainStatus',
|
||||
'AzureResourceType',
|
||||
'CustomHostNameDnsRecordType',
|
||||
'HostNameType',
|
||||
'DnsType',
|
||||
'DomainType',
|
||||
'HostingEnvironmentStatus',
|
||||
'InternalLoadBalancingMode',
|
||||
'ComputeModeOptions',
|
||||
'WorkerSizeOptions',
|
||||
'AccessControlEntryAction',
|
||||
'OperationStatus',
|
||||
'IssueType',
|
||||
'SolutionType',
|
||||
'RenderingType',
|
||||
'ResourceScopeType',
|
||||
'NotificationLevel',
|
||||
'Channels',
|
||||
'AppServicePlanRestrictions',
|
||||
'InAvailabilityReasonType',
|
||||
'CheckNameResourceTypes',
|
||||
'ValidateResourceTypes',
|
||||
'ResolveStatus',
|
||||
'ConfigReferenceSource',
|
||||
'ConfigReferenceLocation',
|
||||
'LogLevel',
|
||||
'AzureStorageType',
|
||||
'AzureStorageState',
|
||||
'BackupItemStatus',
|
||||
'DatabaseType',
|
||||
'FrequencyUnit',
|
||||
'ContinuousWebJobStatus',
|
||||
'WebJobType',
|
||||
'PublishingProfileFormat',
|
||||
'DnsVerificationTestResult',
|
||||
'MSDeployLogEntryType',
|
||||
'MSDeployProvisioningState',
|
||||
'MySqlMigrationType',
|
||||
'PublicCertificateLocation',
|
||||
'BackupRestoreOperationType',
|
||||
'UnauthenticatedClientAction',
|
||||
'BuiltInAuthenticationProvider',
|
||||
'CloneAbilityResult',
|
||||
'SiteExtensionType',
|
||||
'TriggeredWebJobStatus',
|
||||
'SiteRuntimeState',
|
||||
'SkuName',
|
||||
]
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,716 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from msrest.paging import Paged
|
||||
|
||||
|
||||
class AppServiceCertificateOrderPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`AppServiceCertificateOrder <azure.mgmt.web.v2019_08_01.models.AppServiceCertificateOrder>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[AppServiceCertificateOrder]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(AppServiceCertificateOrderPaged, self).__init__(*args, **kwargs)
|
||||
class AppServiceCertificateResourcePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`AppServiceCertificateResource <azure.mgmt.web.v2019_08_01.models.AppServiceCertificateResource>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[AppServiceCertificateResource]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(AppServiceCertificateResourcePaged, self).__init__(*args, **kwargs)
|
||||
class CsmOperationDescriptionPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`CsmOperationDescription <azure.mgmt.web.v2019_08_01.models.CsmOperationDescription>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[CsmOperationDescription]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(CsmOperationDescriptionPaged, self).__init__(*args, **kwargs)
|
||||
class DomainPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Domain <azure.mgmt.web.v2019_08_01.models.Domain>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Domain]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DomainPaged, self).__init__(*args, **kwargs)
|
||||
class NameIdentifierPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`NameIdentifier <azure.mgmt.web.v2019_08_01.models.NameIdentifier>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[NameIdentifier]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(NameIdentifierPaged, self).__init__(*args, **kwargs)
|
||||
class DomainOwnershipIdentifierPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`DomainOwnershipIdentifier <azure.mgmt.web.v2019_08_01.models.DomainOwnershipIdentifier>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[DomainOwnershipIdentifier]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DomainOwnershipIdentifierPaged, self).__init__(*args, **kwargs)
|
||||
class TopLevelDomainPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`TopLevelDomain <azure.mgmt.web.v2019_08_01.models.TopLevelDomain>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[TopLevelDomain]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(TopLevelDomainPaged, self).__init__(*args, **kwargs)
|
||||
class TldLegalAgreementPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`TldLegalAgreement <azure.mgmt.web.v2019_08_01.models.TldLegalAgreement>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[TldLegalAgreement]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(TldLegalAgreementPaged, self).__init__(*args, **kwargs)
|
||||
class CertificatePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Certificate <azure.mgmt.web.v2019_08_01.models.Certificate>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Certificate]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(CertificatePaged, self).__init__(*args, **kwargs)
|
||||
class DeletedSitePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`DeletedSite <azure.mgmt.web.v2019_08_01.models.DeletedSite>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[DeletedSite]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DeletedSitePaged, self).__init__(*args, **kwargs)
|
||||
class DetectorResponsePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`DetectorResponse <azure.mgmt.web.v2019_08_01.models.DetectorResponse>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[DetectorResponse]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DetectorResponsePaged, self).__init__(*args, **kwargs)
|
||||
class DiagnosticCategoryPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`DiagnosticCategory <azure.mgmt.web.v2019_08_01.models.DiagnosticCategory>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[DiagnosticCategory]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DiagnosticCategoryPaged, self).__init__(*args, **kwargs)
|
||||
class AnalysisDefinitionPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`AnalysisDefinition <azure.mgmt.web.v2019_08_01.models.AnalysisDefinition>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[AnalysisDefinition]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(AnalysisDefinitionPaged, self).__init__(*args, **kwargs)
|
||||
class DetectorDefinitionPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`DetectorDefinition <azure.mgmt.web.v2019_08_01.models.DetectorDefinition>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[DetectorDefinition]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DetectorDefinitionPaged, self).__init__(*args, **kwargs)
|
||||
class ApplicationStackResourcePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ApplicationStackResource <azure.mgmt.web.v2019_08_01.models.ApplicationStackResource>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ApplicationStackResource]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ApplicationStackResourcePaged, self).__init__(*args, **kwargs)
|
||||
class RecommendationPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Recommendation <azure.mgmt.web.v2019_08_01.models.Recommendation>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Recommendation]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(RecommendationPaged, self).__init__(*args, **kwargs)
|
||||
class SourceControlPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SourceControl <azure.mgmt.web.v2019_08_01.models.SourceControl>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SourceControl]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SourceControlPaged, self).__init__(*args, **kwargs)
|
||||
class BillingMeterPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`BillingMeter <azure.mgmt.web.v2019_08_01.models.BillingMeter>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[BillingMeter]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(BillingMeterPaged, self).__init__(*args, **kwargs)
|
||||
class GeoRegionPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`GeoRegion <azure.mgmt.web.v2019_08_01.models.GeoRegion>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[GeoRegion]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(GeoRegionPaged, self).__init__(*args, **kwargs)
|
||||
class IdentifierPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Identifier <azure.mgmt.web.v2019_08_01.models.Identifier>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Identifier]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(IdentifierPaged, self).__init__(*args, **kwargs)
|
||||
class PremierAddOnOfferPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`PremierAddOnOffer <azure.mgmt.web.v2019_08_01.models.PremierAddOnOffer>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[PremierAddOnOffer]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(PremierAddOnOfferPaged, self).__init__(*args, **kwargs)
|
||||
class SitePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Site <azure.mgmt.web.v2019_08_01.models.Site>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Site]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SitePaged, self).__init__(*args, **kwargs)
|
||||
class BackupItemPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`BackupItem <azure.mgmt.web.v2019_08_01.models.BackupItem>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[BackupItem]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(BackupItemPaged, self).__init__(*args, **kwargs)
|
||||
class SiteConfigResourcePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SiteConfigResource <azure.mgmt.web.v2019_08_01.models.SiteConfigResource>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SiteConfigResource]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SiteConfigResourcePaged, self).__init__(*args, **kwargs)
|
||||
class SiteConfigurationSnapshotInfoPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SiteConfigurationSnapshotInfo <azure.mgmt.web.v2019_08_01.models.SiteConfigurationSnapshotInfo>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SiteConfigurationSnapshotInfo]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SiteConfigurationSnapshotInfoPaged, self).__init__(*args, **kwargs)
|
||||
class ContinuousWebJobPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ContinuousWebJob <azure.mgmt.web.v2019_08_01.models.ContinuousWebJob>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ContinuousWebJob]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ContinuousWebJobPaged, self).__init__(*args, **kwargs)
|
||||
class DeploymentPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Deployment <azure.mgmt.web.v2019_08_01.models.Deployment>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Deployment]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(DeploymentPaged, self).__init__(*args, **kwargs)
|
||||
class FunctionEnvelopePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`FunctionEnvelope <azure.mgmt.web.v2019_08_01.models.FunctionEnvelope>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[FunctionEnvelope]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(FunctionEnvelopePaged, self).__init__(*args, **kwargs)
|
||||
class HostNameBindingPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`HostNameBinding <azure.mgmt.web.v2019_08_01.models.HostNameBinding>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[HostNameBinding]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(HostNameBindingPaged, self).__init__(*args, **kwargs)
|
||||
class SiteInstancePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SiteInstance <azure.mgmt.web.v2019_08_01.models.SiteInstance>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SiteInstance]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SiteInstancePaged, self).__init__(*args, **kwargs)
|
||||
class ProcessInfoPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ProcessInfo <azure.mgmt.web.v2019_08_01.models.ProcessInfo>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ProcessInfo]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ProcessInfoPaged, self).__init__(*args, **kwargs)
|
||||
class ProcessModuleInfoPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ProcessModuleInfo <azure.mgmt.web.v2019_08_01.models.ProcessModuleInfo>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ProcessModuleInfo]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ProcessModuleInfoPaged, self).__init__(*args, **kwargs)
|
||||
class ProcessThreadInfoPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ProcessThreadInfo <azure.mgmt.web.v2019_08_01.models.ProcessThreadInfo>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ProcessThreadInfo]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ProcessThreadInfoPaged, self).__init__(*args, **kwargs)
|
||||
class PerfMonResponsePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`PerfMonResponse <azure.mgmt.web.v2019_08_01.models.PerfMonResponse>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[PerfMonResponse]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(PerfMonResponsePaged, self).__init__(*args, **kwargs)
|
||||
class PublicCertificatePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`PublicCertificate <azure.mgmt.web.v2019_08_01.models.PublicCertificate>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[PublicCertificate]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(PublicCertificatePaged, self).__init__(*args, **kwargs)
|
||||
class SiteExtensionInfoPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SiteExtensionInfo <azure.mgmt.web.v2019_08_01.models.SiteExtensionInfo>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SiteExtensionInfo]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SiteExtensionInfoPaged, self).__init__(*args, **kwargs)
|
||||
class SlotDifferencePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SlotDifference <azure.mgmt.web.v2019_08_01.models.SlotDifference>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SlotDifference]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SlotDifferencePaged, self).__init__(*args, **kwargs)
|
||||
class SnapshotPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Snapshot <azure.mgmt.web.v2019_08_01.models.Snapshot>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Snapshot]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SnapshotPaged, self).__init__(*args, **kwargs)
|
||||
class TriggeredWebJobPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`TriggeredWebJob <azure.mgmt.web.v2019_08_01.models.TriggeredWebJob>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[TriggeredWebJob]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(TriggeredWebJobPaged, self).__init__(*args, **kwargs)
|
||||
class TriggeredJobHistoryPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`TriggeredJobHistory <azure.mgmt.web.v2019_08_01.models.TriggeredJobHistory>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[TriggeredJobHistory]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(TriggeredJobHistoryPaged, self).__init__(*args, **kwargs)
|
||||
class CsmUsageQuotaPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`CsmUsageQuota <azure.mgmt.web.v2019_08_01.models.CsmUsageQuota>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[CsmUsageQuota]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(CsmUsageQuotaPaged, self).__init__(*args, **kwargs)
|
||||
class WebJobPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`WebJob <azure.mgmt.web.v2019_08_01.models.WebJob>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[WebJob]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(WebJobPaged, self).__init__(*args, **kwargs)
|
||||
class AppServiceEnvironmentResourcePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`AppServiceEnvironmentResource <azure.mgmt.web.v2019_08_01.models.AppServiceEnvironmentResource>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[AppServiceEnvironmentResource]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(AppServiceEnvironmentResourcePaged, self).__init__(*args, **kwargs)
|
||||
class StampCapacityPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`StampCapacity <azure.mgmt.web.v2019_08_01.models.StampCapacity>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[StampCapacity]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(StampCapacityPaged, self).__init__(*args, **kwargs)
|
||||
class InboundEnvironmentEndpointPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`InboundEnvironmentEndpoint <azure.mgmt.web.v2019_08_01.models.InboundEnvironmentEndpoint>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[InboundEnvironmentEndpoint]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(InboundEnvironmentEndpointPaged, self).__init__(*args, **kwargs)
|
||||
class WorkerPoolResourcePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`WorkerPoolResource <azure.mgmt.web.v2019_08_01.models.WorkerPoolResource>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[WorkerPoolResource]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(WorkerPoolResourcePaged, self).__init__(*args, **kwargs)
|
||||
class ResourceMetricDefinitionPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ResourceMetricDefinition <azure.mgmt.web.v2019_08_01.models.ResourceMetricDefinition>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ResourceMetricDefinition]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ResourceMetricDefinitionPaged, self).__init__(*args, **kwargs)
|
||||
class SkuInfoPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`SkuInfo <azure.mgmt.web.v2019_08_01.models.SkuInfo>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[SkuInfo]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(SkuInfoPaged, self).__init__(*args, **kwargs)
|
||||
class UsagePaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`Usage <azure.mgmt.web.v2019_08_01.models.Usage>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[Usage]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(UsagePaged, self).__init__(*args, **kwargs)
|
||||
class OutboundEnvironmentEndpointPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`OutboundEnvironmentEndpoint <azure.mgmt.web.v2019_08_01.models.OutboundEnvironmentEndpoint>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[OutboundEnvironmentEndpoint]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(OutboundEnvironmentEndpointPaged, self).__init__(*args, **kwargs)
|
||||
class AppServicePlanPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`AppServicePlan <azure.mgmt.web.v2019_08_01.models.AppServicePlan>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[AppServicePlan]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(AppServicePlanPaged, self).__init__(*args, **kwargs)
|
||||
class StrPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of str object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[str]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(StrPaged, self).__init__(*args, **kwargs)
|
||||
class HybridConnectionPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`HybridConnection <azure.mgmt.web.v2019_08_01.models.HybridConnection>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[HybridConnection]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(HybridConnectionPaged, self).__init__(*args, **kwargs)
|
||||
class ResourceHealthMetadataPaged(Paged):
|
||||
"""
|
||||
A paging container for iterating over a list of :class:`ResourceHealthMetadata <azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata>` object
|
||||
"""
|
||||
|
||||
_attribute_map = {
|
||||
'next_link': {'key': 'nextLink', 'type': 'str'},
|
||||
'current_page': {'key': 'value', 'type': '[ResourceHealthMetadata]'}
|
||||
}
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
||||
super(ResourceHealthMetadataPaged, self).__init__(*args, **kwargs)
|
|
@ -0,0 +1,590 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class KeyVaultSecretStatus(str, Enum):
|
||||
|
||||
initialized = "Initialized"
|
||||
waiting_on_certificate_order = "WaitingOnCertificateOrder"
|
||||
succeeded = "Succeeded"
|
||||
certificate_order_failed = "CertificateOrderFailed"
|
||||
operation_not_permitted_on_key_vault = "OperationNotPermittedOnKeyVault"
|
||||
azure_service_unauthorized_to_access_key_vault = "AzureServiceUnauthorizedToAccessKeyVault"
|
||||
key_vault_does_not_exist = "KeyVaultDoesNotExist"
|
||||
key_vault_secret_does_not_exist = "KeyVaultSecretDoesNotExist"
|
||||
unknown_error = "UnknownError"
|
||||
external_private_key = "ExternalPrivateKey"
|
||||
unknown = "Unknown"
|
||||
|
||||
|
||||
class CertificateProductType(str, Enum):
|
||||
|
||||
standard_domain_validated_ssl = "StandardDomainValidatedSsl"
|
||||
standard_domain_validated_wild_card_ssl = "StandardDomainValidatedWildCardSsl"
|
||||
|
||||
|
||||
class ProvisioningState(str, Enum):
|
||||
|
||||
succeeded = "Succeeded"
|
||||
failed = "Failed"
|
||||
canceled = "Canceled"
|
||||
in_progress = "InProgress"
|
||||
deleting = "Deleting"
|
||||
|
||||
|
||||
class CertificateOrderStatus(str, Enum):
|
||||
|
||||
pendingissuance = "Pendingissuance"
|
||||
issued = "Issued"
|
||||
revoked = "Revoked"
|
||||
canceled = "Canceled"
|
||||
denied = "Denied"
|
||||
pendingrevocation = "Pendingrevocation"
|
||||
pending_rekey = "PendingRekey"
|
||||
unused = "Unused"
|
||||
expired = "Expired"
|
||||
not_submitted = "NotSubmitted"
|
||||
|
||||
|
||||
class CertificateOrderActionType(str, Enum):
|
||||
|
||||
certificate_issued = "CertificateIssued"
|
||||
certificate_order_canceled = "CertificateOrderCanceled"
|
||||
certificate_order_created = "CertificateOrderCreated"
|
||||
certificate_revoked = "CertificateRevoked"
|
||||
domain_validation_complete = "DomainValidationComplete"
|
||||
fraud_detected = "FraudDetected"
|
||||
org_name_change = "OrgNameChange"
|
||||
org_validation_complete = "OrgValidationComplete"
|
||||
san_drop = "SanDrop"
|
||||
fraud_cleared = "FraudCleared"
|
||||
certificate_expired = "CertificateExpired"
|
||||
certificate_expiration_warning = "CertificateExpirationWarning"
|
||||
fraud_documentation_required = "FraudDocumentationRequired"
|
||||
unknown = "Unknown"
|
||||
|
||||
|
||||
class RouteType(str, Enum):
|
||||
|
||||
default = "DEFAULT"
|
||||
inherited = "INHERITED"
|
||||
static = "STATIC"
|
||||
|
||||
|
||||
class ManagedServiceIdentityType(str, Enum):
|
||||
|
||||
none = "None"
|
||||
system_assigned = "SystemAssigned"
|
||||
user_assigned = "UserAssigned"
|
||||
|
||||
|
||||
class IpFilterTag(str, Enum):
|
||||
|
||||
default = "Default"
|
||||
xff_proxy = "XffProxy"
|
||||
|
||||
|
||||
class AutoHealActionType(str, Enum):
|
||||
|
||||
recycle = "Recycle"
|
||||
log_event = "LogEvent"
|
||||
custom_action = "CustomAction"
|
||||
|
||||
|
||||
class ConnectionStringType(str, Enum):
|
||||
|
||||
my_sql = "MySql"
|
||||
sql_server = "SQLServer"
|
||||
sql_azure = "SQLAzure"
|
||||
custom = "Custom"
|
||||
notification_hub = "NotificationHub"
|
||||
service_bus = "ServiceBus"
|
||||
event_hub = "EventHub"
|
||||
api_hub = "ApiHub"
|
||||
doc_db = "DocDb"
|
||||
redis_cache = "RedisCache"
|
||||
postgre_sql = "PostgreSQL"
|
||||
|
||||
|
||||
class ScmType(str, Enum):
|
||||
|
||||
none = "None"
|
||||
dropbox = "Dropbox"
|
||||
tfs = "Tfs"
|
||||
local_git = "LocalGit"
|
||||
git_hub = "GitHub"
|
||||
code_plex_git = "CodePlexGit"
|
||||
code_plex_hg = "CodePlexHg"
|
||||
bitbucket_git = "BitbucketGit"
|
||||
bitbucket_hg = "BitbucketHg"
|
||||
external_git = "ExternalGit"
|
||||
external_hg = "ExternalHg"
|
||||
one_drive = "OneDrive"
|
||||
vso = "VSO"
|
||||
vstsrm = "VSTSRM"
|
||||
|
||||
|
||||
class ManagedPipelineMode(str, Enum):
|
||||
|
||||
integrated = "Integrated"
|
||||
classic = "Classic"
|
||||
|
||||
|
||||
class SiteLoadBalancing(str, Enum):
|
||||
|
||||
weighted_round_robin = "WeightedRoundRobin"
|
||||
least_requests = "LeastRequests"
|
||||
least_response_time = "LeastResponseTime"
|
||||
weighted_total_traffic = "WeightedTotalTraffic"
|
||||
request_hash = "RequestHash"
|
||||
|
||||
|
||||
class SupportedTlsVersions(str, Enum):
|
||||
|
||||
one_full_stop_zero = "1.0"
|
||||
one_full_stop_one = "1.1"
|
||||
one_full_stop_two = "1.2"
|
||||
|
||||
|
||||
class FtpsState(str, Enum):
|
||||
|
||||
all_allowed = "AllAllowed"
|
||||
ftps_only = "FtpsOnly"
|
||||
disabled = "Disabled"
|
||||
|
||||
|
||||
class SslState(str, Enum):
|
||||
|
||||
disabled = "Disabled"
|
||||
sni_enabled = "SniEnabled"
|
||||
ip_based_enabled = "IpBasedEnabled"
|
||||
|
||||
|
||||
class HostType(str, Enum):
|
||||
|
||||
standard = "Standard"
|
||||
repository = "Repository"
|
||||
|
||||
|
||||
class UsageState(str, Enum):
|
||||
|
||||
normal = "Normal"
|
||||
exceeded = "Exceeded"
|
||||
|
||||
|
||||
class SiteAvailabilityState(str, Enum):
|
||||
|
||||
normal = "Normal"
|
||||
limited = "Limited"
|
||||
disaster_recovery_mode = "DisasterRecoveryMode"
|
||||
|
||||
|
||||
class RedundancyMode(str, Enum):
|
||||
|
||||
none = "None"
|
||||
manual = "Manual"
|
||||
failover = "Failover"
|
||||
active_active = "ActiveActive"
|
||||
geo_redundant = "GeoRedundant"
|
||||
|
||||
|
||||
class StatusOptions(str, Enum):
|
||||
|
||||
ready = "Ready"
|
||||
pending = "Pending"
|
||||
creating = "Creating"
|
||||
|
||||
|
||||
class DomainStatus(str, Enum):
|
||||
|
||||
active = "Active"
|
||||
awaiting = "Awaiting"
|
||||
cancelled = "Cancelled"
|
||||
confiscated = "Confiscated"
|
||||
disabled = "Disabled"
|
||||
excluded = "Excluded"
|
||||
expired = "Expired"
|
||||
failed = "Failed"
|
||||
held = "Held"
|
||||
locked = "Locked"
|
||||
parked = "Parked"
|
||||
pending = "Pending"
|
||||
reserved = "Reserved"
|
||||
reverted = "Reverted"
|
||||
suspended = "Suspended"
|
||||
transferred = "Transferred"
|
||||
unknown = "Unknown"
|
||||
unlocked = "Unlocked"
|
||||
unparked = "Unparked"
|
||||
updated = "Updated"
|
||||
json_converter_failed = "JsonConverterFailed"
|
||||
|
||||
|
||||
class AzureResourceType(str, Enum):
|
||||
|
||||
website = "Website"
|
||||
traffic_manager = "TrafficManager"
|
||||
|
||||
|
||||
class CustomHostNameDnsRecordType(str, Enum):
|
||||
|
||||
cname = "CName"
|
||||
a = "A"
|
||||
|
||||
|
||||
class HostNameType(str, Enum):
|
||||
|
||||
verified = "Verified"
|
||||
managed = "Managed"
|
||||
|
||||
|
||||
class DnsType(str, Enum):
|
||||
|
||||
azure_dns = "AzureDns"
|
||||
default_domain_registrar_dns = "DefaultDomainRegistrarDns"
|
||||
|
||||
|
||||
class DomainType(str, Enum):
|
||||
|
||||
regular = "Regular"
|
||||
soft_deleted = "SoftDeleted"
|
||||
|
||||
|
||||
class HostingEnvironmentStatus(str, Enum):
|
||||
|
||||
preparing = "Preparing"
|
||||
ready = "Ready"
|
||||
scaling = "Scaling"
|
||||
deleting = "Deleting"
|
||||
|
||||
|
||||
class InternalLoadBalancingMode(str, Enum):
|
||||
|
||||
none = "None"
|
||||
web = "Web"
|
||||
publishing = "Publishing"
|
||||
|
||||
|
||||
class ComputeModeOptions(str, Enum):
|
||||
|
||||
shared = "Shared"
|
||||
dedicated = "Dedicated"
|
||||
dynamic = "Dynamic"
|
||||
|
||||
|
||||
class WorkerSizeOptions(str, Enum):
|
||||
|
||||
small = "Small"
|
||||
medium = "Medium"
|
||||
large = "Large"
|
||||
d1 = "D1"
|
||||
d2 = "D2"
|
||||
d3 = "D3"
|
||||
nested_small = "NestedSmall"
|
||||
default = "Default"
|
||||
|
||||
|
||||
class AccessControlEntryAction(str, Enum):
|
||||
|
||||
permit = "Permit"
|
||||
deny = "Deny"
|
||||
|
||||
|
||||
class OperationStatus(str, Enum):
|
||||
|
||||
in_progress = "InProgress"
|
||||
failed = "Failed"
|
||||
succeeded = "Succeeded"
|
||||
timed_out = "TimedOut"
|
||||
created = "Created"
|
||||
|
||||
|
||||
class IssueType(str, Enum):
|
||||
|
||||
service_incident = "ServiceIncident"
|
||||
app_deployment = "AppDeployment"
|
||||
app_crash = "AppCrash"
|
||||
runtime_issue_detected = "RuntimeIssueDetected"
|
||||
ase_deployment = "AseDeployment"
|
||||
user_issue = "UserIssue"
|
||||
platform_issue = "PlatformIssue"
|
||||
other = "Other"
|
||||
|
||||
|
||||
class SolutionType(str, Enum):
|
||||
|
||||
quick_solution = "QuickSolution"
|
||||
deep_investigation = "DeepInvestigation"
|
||||
best_practices = "BestPractices"
|
||||
|
||||
|
||||
class RenderingType(str, Enum):
|
||||
|
||||
no_graph = "NoGraph"
|
||||
table = "Table"
|
||||
time_series = "TimeSeries"
|
||||
time_series_per_instance = "TimeSeriesPerInstance"
|
||||
|
||||
|
||||
class ResourceScopeType(str, Enum):
|
||||
|
||||
server_farm = "ServerFarm"
|
||||
subscription = "Subscription"
|
||||
web_site = "WebSite"
|
||||
|
||||
|
||||
class NotificationLevel(str, Enum):
|
||||
|
||||
critical = "Critical"
|
||||
warning = "Warning"
|
||||
information = "Information"
|
||||
non_urgent_suggestion = "NonUrgentSuggestion"
|
||||
|
||||
|
||||
class Channels(str, Enum):
|
||||
|
||||
notification = "Notification"
|
||||
api = "Api"
|
||||
email = "Email"
|
||||
webhook = "Webhook"
|
||||
all = "All"
|
||||
|
||||
|
||||
class AppServicePlanRestrictions(str, Enum):
|
||||
|
||||
none = "None"
|
||||
free = "Free"
|
||||
shared = "Shared"
|
||||
basic = "Basic"
|
||||
standard = "Standard"
|
||||
premium = "Premium"
|
||||
|
||||
|
||||
class InAvailabilityReasonType(str, Enum):
|
||||
|
||||
invalid = "Invalid"
|
||||
already_exists = "AlreadyExists"
|
||||
|
||||
|
||||
class CheckNameResourceTypes(str, Enum):
|
||||
|
||||
site = "Site"
|
||||
slot = "Slot"
|
||||
hosting_environment = "HostingEnvironment"
|
||||
publishing_user = "PublishingUser"
|
||||
microsoft_websites = "Microsoft.Web/sites"
|
||||
microsoft_websitesslots = "Microsoft.Web/sites/slots"
|
||||
microsoft_webhosting_environments = "Microsoft.Web/hostingEnvironments"
|
||||
microsoft_webpublishing_users = "Microsoft.Web/publishingUsers"
|
||||
|
||||
|
||||
class ValidateResourceTypes(str, Enum):
|
||||
|
||||
server_farm = "ServerFarm"
|
||||
site = "Site"
|
||||
|
||||
|
||||
class ResolveStatus(str, Enum):
|
||||
|
||||
initialized = "Initialized"
|
||||
resolved = "Resolved"
|
||||
invalid_syntax = "InvalidSyntax"
|
||||
msi_not_enabled = "MSINotEnabled"
|
||||
vault_not_found = "VaultNotFound"
|
||||
secret_not_found = "SecretNotFound"
|
||||
secret_version_not_found = "SecretVersionNotFound"
|
||||
access_to_key_vault_denied = "AccessToKeyVaultDenied"
|
||||
other_reasons = "OtherReasons"
|
||||
|
||||
|
||||
class ConfigReferenceSource(str, Enum):
|
||||
|
||||
key_vault = "KeyVault"
|
||||
|
||||
|
||||
class ConfigReferenceLocation(str, Enum):
|
||||
|
||||
application_setting = "ApplicationSetting"
|
||||
|
||||
|
||||
class LogLevel(str, Enum):
|
||||
|
||||
off = "Off"
|
||||
verbose = "Verbose"
|
||||
information = "Information"
|
||||
warning = "Warning"
|
||||
error = "Error"
|
||||
|
||||
|
||||
class AzureStorageType(str, Enum):
|
||||
|
||||
azure_files = "AzureFiles"
|
||||
azure_blob = "AzureBlob"
|
||||
|
||||
|
||||
class AzureStorageState(str, Enum):
|
||||
|
||||
ok = "Ok"
|
||||
invalid_credentials = "InvalidCredentials"
|
||||
invalid_share = "InvalidShare"
|
||||
|
||||
|
||||
class BackupItemStatus(str, Enum):
|
||||
|
||||
in_progress = "InProgress"
|
||||
failed = "Failed"
|
||||
succeeded = "Succeeded"
|
||||
timed_out = "TimedOut"
|
||||
created = "Created"
|
||||
skipped = "Skipped"
|
||||
partially_succeeded = "PartiallySucceeded"
|
||||
delete_in_progress = "DeleteInProgress"
|
||||
delete_failed = "DeleteFailed"
|
||||
deleted = "Deleted"
|
||||
|
||||
|
||||
class DatabaseType(str, Enum):
|
||||
|
||||
sql_azure = "SqlAzure"
|
||||
my_sql = "MySql"
|
||||
local_my_sql = "LocalMySql"
|
||||
postgre_sql = "PostgreSql"
|
||||
|
||||
|
||||
class FrequencyUnit(str, Enum):
|
||||
|
||||
day = "Day"
|
||||
hour = "Hour"
|
||||
|
||||
|
||||
class ContinuousWebJobStatus(str, Enum):
|
||||
|
||||
initializing = "Initializing"
|
||||
starting = "Starting"
|
||||
running = "Running"
|
||||
pending_restart = "PendingRestart"
|
||||
stopped = "Stopped"
|
||||
|
||||
|
||||
class WebJobType(str, Enum):
|
||||
|
||||
continuous = "Continuous"
|
||||
triggered = "Triggered"
|
||||
|
||||
|
||||
class PublishingProfileFormat(str, Enum):
|
||||
|
||||
file_zilla3 = "FileZilla3"
|
||||
web_deploy = "WebDeploy"
|
||||
ftp = "Ftp"
|
||||
|
||||
|
||||
class DnsVerificationTestResult(str, Enum):
|
||||
|
||||
passed = "Passed"
|
||||
failed = "Failed"
|
||||
skipped = "Skipped"
|
||||
|
||||
|
||||
class MSDeployLogEntryType(str, Enum):
|
||||
|
||||
message = "Message"
|
||||
warning = "Warning"
|
||||
error = "Error"
|
||||
|
||||
|
||||
class MSDeployProvisioningState(str, Enum):
|
||||
|
||||
accepted = "accepted"
|
||||
running = "running"
|
||||
succeeded = "succeeded"
|
||||
failed = "failed"
|
||||
canceled = "canceled"
|
||||
|
||||
|
||||
class MySqlMigrationType(str, Enum):
|
||||
|
||||
local_to_remote = "LocalToRemote"
|
||||
remote_to_local = "RemoteToLocal"
|
||||
|
||||
|
||||
class PublicCertificateLocation(str, Enum):
|
||||
|
||||
current_user_my = "CurrentUserMy"
|
||||
local_machine_my = "LocalMachineMy"
|
||||
unknown = "Unknown"
|
||||
|
||||
|
||||
class BackupRestoreOperationType(str, Enum):
|
||||
|
||||
default = "Default"
|
||||
clone = "Clone"
|
||||
relocation = "Relocation"
|
||||
snapshot = "Snapshot"
|
||||
cloud_fs = "CloudFS"
|
||||
|
||||
|
||||
class UnauthenticatedClientAction(str, Enum):
|
||||
|
||||
redirect_to_login_page = "RedirectToLoginPage"
|
||||
allow_anonymous = "AllowAnonymous"
|
||||
|
||||
|
||||
class BuiltInAuthenticationProvider(str, Enum):
|
||||
|
||||
azure_active_directory = "AzureActiveDirectory"
|
||||
facebook = "Facebook"
|
||||
google = "Google"
|
||||
microsoft_account = "MicrosoftAccount"
|
||||
twitter = "Twitter"
|
||||
|
||||
|
||||
class CloneAbilityResult(str, Enum):
|
||||
|
||||
cloneable = "Cloneable"
|
||||
partially_cloneable = "PartiallyCloneable"
|
||||
not_cloneable = "NotCloneable"
|
||||
|
||||
|
||||
class SiteExtensionType(str, Enum):
|
||||
|
||||
gallery = "Gallery"
|
||||
web_root = "WebRoot"
|
||||
|
||||
|
||||
class TriggeredWebJobStatus(str, Enum):
|
||||
|
||||
success = "Success"
|
||||
failed = "Failed"
|
||||
error = "Error"
|
||||
|
||||
|
||||
class SiteRuntimeState(str, Enum):
|
||||
|
||||
ready = "READY"
|
||||
stopped = "STOPPED"
|
||||
unknown = "UNKNOWN"
|
||||
|
||||
|
||||
class SkuName(str, Enum):
|
||||
|
||||
free = "Free"
|
||||
shared = "Shared"
|
||||
basic = "Basic"
|
||||
standard = "Standard"
|
||||
premium = "Premium"
|
||||
dynamic = "Dynamic"
|
||||
isolated = "Isolated"
|
||||
premium_v2 = "PremiumV2"
|
||||
elastic_premium = "ElasticPremium"
|
||||
elastic_isolated = "ElasticIsolated"
|
|
@ -0,0 +1,44 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from ._app_service_certificate_orders_operations import AppServiceCertificateOrdersOperations
|
||||
from ._certificate_registration_provider_operations import CertificateRegistrationProviderOperations
|
||||
from ._domains_operations import DomainsOperations
|
||||
from ._top_level_domains_operations import TopLevelDomainsOperations
|
||||
from ._domain_registration_provider_operations import DomainRegistrationProviderOperations
|
||||
from ._certificates_operations import CertificatesOperations
|
||||
from ._deleted_web_apps_operations import DeletedWebAppsOperations
|
||||
from ._diagnostics_operations import DiagnosticsOperations
|
||||
from ._provider_operations import ProviderOperations
|
||||
from ._recommendations_operations import RecommendationsOperations
|
||||
from ._web_apps_operations import WebAppsOperations
|
||||
from ._app_service_environments_operations import AppServiceEnvironmentsOperations
|
||||
from ._app_service_plans_operations import AppServicePlansOperations
|
||||
from ._resource_health_metadata_operations import ResourceHealthMetadataOperations
|
||||
from ._web_site_management_client_operations import WebSiteManagementClientOperationsMixin
|
||||
|
||||
__all__ = [
|
||||
'AppServiceCertificateOrdersOperations',
|
||||
'CertificateRegistrationProviderOperations',
|
||||
'DomainsOperations',
|
||||
'TopLevelDomainsOperations',
|
||||
'DomainRegistrationProviderOperations',
|
||||
'CertificatesOperations',
|
||||
'DeletedWebAppsOperations',
|
||||
'DiagnosticsOperations',
|
||||
'ProviderOperations',
|
||||
'RecommendationsOperations',
|
||||
'WebAppsOperations',
|
||||
'AppServiceEnvironmentsOperations',
|
||||
'AppServicePlansOperations',
|
||||
'ResourceHealthMetadataOperations',
|
||||
'WebSiteManagementClientOperationsMixin',
|
||||
]
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,104 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class CertificateRegistrationProviderOperations(object):
|
||||
"""CertificateRegistrationProviderOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def list_operations(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Implements Csm operations Api to exposes the list of available Csm Apis
|
||||
under the resource provider.
|
||||
|
||||
Description for Implements Csm operations Api to exposes the list of
|
||||
available Csm Apis under the resource provider.
|
||||
|
||||
: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: An iterator like instance of CsmOperationDescription
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.CsmOperationDescriptionPaged[~azure.mgmt.web.v2019_08_01.models.CsmOperationDescription]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_operations.metadata['url']
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.CsmOperationDescriptionPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_operations.metadata = {'url': '/providers/Microsoft.CertificateRegistration/operations'}
|
|
@ -0,0 +1,437 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class CertificatesOperations(object):
|
||||
"""CertificatesOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def list(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get all certificates for a subscription.
|
||||
|
||||
Description for Get all certificates for a subscription.
|
||||
|
||||
: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: An iterator like instance of Certificate
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.CertificatePaged[~azure.mgmt.web.v2019_08_01.models.Certificate]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list.metadata['url']
|
||||
path_format_arguments = {
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.CertificatePaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/certificates'}
|
||||
|
||||
def list_by_resource_group(
|
||||
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get all certificates in a resource group.
|
||||
|
||||
Description for Get all certificates in a resource group.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
: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: An iterator like instance of Certificate
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.CertificatePaged[~azure.mgmt.web.v2019_08_01.models.Certificate]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_by_resource_group.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.CertificatePaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates'}
|
||||
|
||||
def get(
|
||||
self, resource_group_name, name, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get a certificate.
|
||||
|
||||
Description for Get a certificate.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of the certificate.
|
||||
:type name: str
|
||||
: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: Certificate or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.Certificate or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.get.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('Certificate', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}'}
|
||||
|
||||
def create_or_update(
|
||||
self, resource_group_name, name, certificate_envelope, custom_headers=None, raw=False, **operation_config):
|
||||
"""Create or update a certificate.
|
||||
|
||||
Description for Create or update a certificate.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of the certificate.
|
||||
:type name: str
|
||||
:param certificate_envelope: Details of certificate, if it exists
|
||||
already.
|
||||
:type certificate_envelope:
|
||||
~azure.mgmt.web.v2019_08_01.models.Certificate
|
||||
: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: Certificate or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.Certificate or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.create_or_update.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct body
|
||||
body_content = self._serialize.body(certificate_envelope, 'Certificate')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.put(url, query_parameters, header_parameters, body_content)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('Certificate', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}'}
|
||||
|
||||
def delete(
|
||||
self, resource_group_name, name, custom_headers=None, raw=False, **operation_config):
|
||||
"""Delete a certificate.
|
||||
|
||||
Description for Delete a certificate.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of the certificate.
|
||||
:type name: str
|
||||
: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: None or ClientRawResponse if raw=true
|
||||
:rtype: None or ~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.delete.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.delete(url, query_parameters, header_parameters)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200, 204]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(None, response)
|
||||
return client_raw_response
|
||||
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}'}
|
||||
|
||||
def update(
|
||||
self, resource_group_name, name, certificate_envelope, custom_headers=None, raw=False, **operation_config):
|
||||
"""Create or update a certificate.
|
||||
|
||||
Description for Create or update a certificate.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of the certificate.
|
||||
:type name: str
|
||||
:param certificate_envelope: Details of certificate, if it exists
|
||||
already.
|
||||
:type certificate_envelope:
|
||||
~azure.mgmt.web.v2019_08_01.models.CertificatePatchResource
|
||||
: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: Certificate or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.Certificate or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.update.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct body
|
||||
body_content = self._serialize.body(certificate_envelope, 'CertificatePatchResource')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.patch(url, query_parameters, header_parameters, body_content)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('Certificate', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}'}
|
|
@ -0,0 +1,238 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class DeletedWebAppsOperations(object):
|
||||
"""DeletedWebAppsOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def list(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get all deleted apps for a subscription.
|
||||
|
||||
Description for Get all deleted apps for a subscription.
|
||||
|
||||
: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: An iterator like instance of DeletedSite
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.DeletedSitePaged[~azure.mgmt.web.v2019_08_01.models.DeletedSite]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list.metadata['url']
|
||||
path_format_arguments = {
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.DeletedSitePaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites'}
|
||||
|
||||
def list_by_location(
|
||||
self, location, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get all deleted apps for a subscription at location.
|
||||
|
||||
Description for Get all deleted apps for a subscription at location.
|
||||
|
||||
:param location:
|
||||
:type location: str
|
||||
: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: An iterator like instance of DeletedSite
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.DeletedSitePaged[~azure.mgmt.web.v2019_08_01.models.DeletedSite]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_by_location.metadata['url']
|
||||
path_format_arguments = {
|
||||
'location': self._serialize.url("location", location, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.DeletedSitePaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites'}
|
||||
|
||||
def get_deleted_web_app_by_location(
|
||||
self, location, deleted_site_id, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get deleted app for a subscription at location.
|
||||
|
||||
Description for Get deleted app for a subscription at location.
|
||||
|
||||
:param location:
|
||||
:type location: str
|
||||
:param deleted_site_id: The numeric ID of the deleted app, e.g. 12345
|
||||
:type deleted_site_id: str
|
||||
: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: DeletedSite or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.DeletedSite or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.get_deleted_web_app_by_location.metadata['url']
|
||||
path_format_arguments = {
|
||||
'location': self._serialize.url("location", location, 'str'),
|
||||
'deletedSiteId': self._serialize.url("deleted_site_id", deleted_site_id, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('DeletedSite', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
get_deleted_web_app_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/{location}/deletedSites/{deletedSiteId}'}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,104 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class DomainRegistrationProviderOperations(object):
|
||||
"""DomainRegistrationProviderOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def list_operations(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Implements Csm operations Api to exposes the list of available Csm Apis
|
||||
under the resource provider.
|
||||
|
||||
Description for Implements Csm operations Api to exposes the list of
|
||||
available Csm Apis under the resource provider.
|
||||
|
||||
: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: An iterator like instance of CsmOperationDescription
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.CsmOperationDescriptionPaged[~azure.mgmt.web.v2019_08_01.models.CsmOperationDescription]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_operations.metadata['url']
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.CsmOperationDescriptionPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_operations.metadata = {'url': '/providers/Microsoft.DomainRegistration/operations'}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,246 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class ProviderOperations(object):
|
||||
"""ProviderOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def get_available_stacks(
|
||||
self, os_type_selected=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get available application frameworks and their versions.
|
||||
|
||||
Description for Get available application frameworks and their
|
||||
versions.
|
||||
|
||||
:param os_type_selected: Possible values include: 'Windows', 'Linux',
|
||||
'WindowsFunctions', 'LinuxFunctions'
|
||||
:type os_type_selected: str
|
||||
: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: An iterator like instance of ApplicationStackResource
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.ApplicationStackResourcePaged[~azure.mgmt.web.v2019_08_01.models.ApplicationStackResource]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.get_available_stacks.metadata['url']
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
if os_type_selected is not None:
|
||||
query_parameters['osTypeSelected'] = self._serialize.query("os_type_selected", os_type_selected, 'str')
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.ApplicationStackResourcePaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
get_available_stacks.metadata = {'url': '/providers/Microsoft.Web/availableStacks'}
|
||||
|
||||
def list_operations(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets all available operations for the Microsoft.Web resource provider.
|
||||
Also exposes resource metric definitions.
|
||||
|
||||
Description for Gets all available operations for the Microsoft.Web
|
||||
resource provider. Also exposes resource metric definitions.
|
||||
|
||||
: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: An iterator like instance of CsmOperationDescription
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.CsmOperationDescriptionPaged[~azure.mgmt.web.v2019_08_01.models.CsmOperationDescription]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_operations.metadata['url']
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.CsmOperationDescriptionPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_operations.metadata = {'url': '/providers/Microsoft.Web/operations'}
|
||||
|
||||
def get_available_stacks_on_prem(
|
||||
self, os_type_selected=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get available application frameworks and their versions.
|
||||
|
||||
Description for Get available application frameworks and their
|
||||
versions.
|
||||
|
||||
:param os_type_selected: Possible values include: 'Windows', 'Linux',
|
||||
'WindowsFunctions', 'LinuxFunctions'
|
||||
:type os_type_selected: str
|
||||
: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: An iterator like instance of ApplicationStackResource
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.ApplicationStackResourcePaged[~azure.mgmt.web.v2019_08_01.models.ApplicationStackResource]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.get_available_stacks_on_prem.metadata['url']
|
||||
path_format_arguments = {
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
if os_type_selected is not None:
|
||||
query_parameters['osTypeSelected'] = self._serialize.query("os_type_selected", os_type_selected, 'str')
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.ApplicationStackResourcePaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
get_available_stacks_on_prem.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks'}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,468 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class ResourceHealthMetadataOperations(object):
|
||||
"""ResourceHealthMetadataOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def list(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""List all ResourceHealthMetadata for all sites in the subscription.
|
||||
|
||||
Description for List all ResourceHealthMetadata for all sites in the
|
||||
subscription.
|
||||
|
||||
: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: An iterator like instance of ResourceHealthMetadata
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadataPaged[~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list.metadata['url']
|
||||
path_format_arguments = {
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.ResourceHealthMetadataPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata'}
|
||||
|
||||
def list_by_resource_group(
|
||||
self, resource_group_name, custom_headers=None, raw=False, **operation_config):
|
||||
"""List all ResourceHealthMetadata for all sites in the resource group in
|
||||
the subscription.
|
||||
|
||||
Description for List all ResourceHealthMetadata for all sites in the
|
||||
resource group in the subscription.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
: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: An iterator like instance of ResourceHealthMetadata
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadataPaged[~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_by_resource_group.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.ResourceHealthMetadataPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata'}
|
||||
|
||||
def list_by_site(
|
||||
self, resource_group_name, name, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets the category of ResourceHealthMetadata to use for the given site
|
||||
as a collection.
|
||||
|
||||
Description for Gets the category of ResourceHealthMetadata to use for
|
||||
the given site as a collection.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of web app.
|
||||
:type name: str
|
||||
: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: An iterator like instance of ResourceHealthMetadata
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadataPaged[~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_by_site.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.ResourceHealthMetadataPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_by_site.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata'}
|
||||
|
||||
def get_by_site(
|
||||
self, resource_group_name, name, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets the category of ResourceHealthMetadata to use for the given site.
|
||||
|
||||
Description for Gets the category of ResourceHealthMetadata to use for
|
||||
the given site.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of web app
|
||||
:type name: str
|
||||
: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: ResourceHealthMetadata or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.get_by_site.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('ResourceHealthMetadata', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
get_by_site.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default'}
|
||||
|
||||
def list_by_site_slot(
|
||||
self, resource_group_name, name, slot, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets the category of ResourceHealthMetadata to use for the given site
|
||||
as a collection.
|
||||
|
||||
Description for Gets the category of ResourceHealthMetadata to use for
|
||||
the given site as a collection.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of web app.
|
||||
:type name: str
|
||||
:param slot: Name of web app slot. If not specified then will default
|
||||
to production slot.
|
||||
:type slot: str
|
||||
: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: An iterator like instance of ResourceHealthMetadata
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadataPaged[~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_by_site_slot.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'slot': self._serialize.url("slot", slot, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.ResourceHealthMetadataPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_by_site_slot.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata'}
|
||||
|
||||
def get_by_site_slot(
|
||||
self, resource_group_name, name, slot, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets the category of ResourceHealthMetadata to use for the given site.
|
||||
|
||||
Description for Gets the category of ResourceHealthMetadata to use for
|
||||
the given site.
|
||||
|
||||
:param resource_group_name: Name of the resource group to which the
|
||||
resource belongs.
|
||||
:type resource_group_name: str
|
||||
:param name: Name of web app
|
||||
:type name: str
|
||||
:param slot: Name of web app slot. If not specified then will default
|
||||
to production slot.
|
||||
:type slot: str
|
||||
: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: ResourceHealthMetadata or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.ResourceHealthMetadata or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.get_by_site_slot.metadata['url']
|
||||
path_format_arguments = {
|
||||
'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+[^\.]$'),
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'slot': self._serialize.url("slot", slot, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('ResourceHealthMetadata', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
get_by_site_slot.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default'}
|
|
@ -0,0 +1,251 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
import uuid
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
||||
from .. import models
|
||||
|
||||
|
||||
class TopLevelDomainsOperations(object):
|
||||
"""TopLevelDomainsOperations operations.
|
||||
|
||||
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
|
||||
|
||||
:param client: Client for service requests.
|
||||
:param config: Configuration of service client.
|
||||
:param serializer: An object model serializer.
|
||||
:param deserializer: An object model deserializer.
|
||||
:ivar api_version: API Version. Constant value: "2019-08-01".
|
||||
"""
|
||||
|
||||
models = models
|
||||
|
||||
def __init__(self, client, config, serializer, deserializer):
|
||||
|
||||
self._client = client
|
||||
self._serialize = serializer
|
||||
self._deserialize = deserializer
|
||||
self.api_version = "2019-08-01"
|
||||
|
||||
self.config = config
|
||||
|
||||
def list(
|
||||
self, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get all top-level domains supported for registration.
|
||||
|
||||
Description for Get all top-level domains supported for registration.
|
||||
|
||||
: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: An iterator like instance of TopLevelDomain
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.TopLevelDomainPaged[~azure.mgmt.web.v2019_08_01.models.TopLevelDomain]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list.metadata['url']
|
||||
path_format_arguments = {
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.TopLevelDomainPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains'}
|
||||
|
||||
def get(
|
||||
self, name, custom_headers=None, raw=False, **operation_config):
|
||||
"""Get details of a top-level domain.
|
||||
|
||||
Description for Get details of a top-level domain.
|
||||
|
||||
:param name: Name of the top-level domain.
|
||||
:type name: str
|
||||
: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: TopLevelDomain or ClientRawResponse if raw=true
|
||||
:rtype: ~azure.mgmt.web.v2019_08_01.models.TopLevelDomain or
|
||||
~msrest.pipeline.ClientRawResponse
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
# Construct URL
|
||||
url = self.get.metadata['url']
|
||||
path_format_arguments = {
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.get(url, query_parameters, header_parameters)
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
deserialized = None
|
||||
if response.status_code == 200:
|
||||
deserialized = self._deserialize('TopLevelDomain', response)
|
||||
|
||||
if raw:
|
||||
client_raw_response = ClientRawResponse(deserialized, response)
|
||||
return client_raw_response
|
||||
|
||||
return deserialized
|
||||
get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}'}
|
||||
|
||||
def list_agreements(
|
||||
self, name, include_privacy=None, for_transfer=None, custom_headers=None, raw=False, **operation_config):
|
||||
"""Gets all legal agreements that user needs to accept before purchasing a
|
||||
domain.
|
||||
|
||||
Description for Gets all legal agreements that user needs to accept
|
||||
before purchasing a domain.
|
||||
|
||||
:param name: Name of the top-level domain.
|
||||
:type name: str
|
||||
:param include_privacy: If <code>true</code>, then the list of
|
||||
agreements will include agreements for domain privacy as well;
|
||||
otherwise, <code>false</code>.
|
||||
:type include_privacy: bool
|
||||
:param for_transfer: If <code>true</code>, then the list of agreements
|
||||
will include agreements for domain transfer as well; otherwise,
|
||||
<code>false</code>.
|
||||
:type for_transfer: bool
|
||||
: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: An iterator like instance of TldLegalAgreement
|
||||
:rtype:
|
||||
~azure.mgmt.web.v2019_08_01.models.TldLegalAgreementPaged[~azure.mgmt.web.v2019_08_01.models.TldLegalAgreement]
|
||||
:raises:
|
||||
:class:`DefaultErrorResponseException<azure.mgmt.web.v2019_08_01.models.DefaultErrorResponseException>`
|
||||
"""
|
||||
agreement_option = models.TopLevelDomainAgreementOption(include_privacy=include_privacy, for_transfer=for_transfer)
|
||||
|
||||
def prepare_request(next_link=None):
|
||||
if not next_link:
|
||||
# Construct URL
|
||||
url = self.list_agreements.metadata['url']
|
||||
path_format_arguments = {
|
||||
'name': self._serialize.url("name", name, 'str'),
|
||||
'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str')
|
||||
}
|
||||
url = self._client.format_url(url, **path_format_arguments)
|
||||
|
||||
# Construct parameters
|
||||
query_parameters = {}
|
||||
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
|
||||
|
||||
else:
|
||||
url = next_link
|
||||
query_parameters = {}
|
||||
|
||||
# Construct headers
|
||||
header_parameters = {}
|
||||
header_parameters['Accept'] = 'application/json'
|
||||
header_parameters['Content-Type'] = 'application/json; charset=utf-8'
|
||||
if self.config.generate_client_request_id:
|
||||
header_parameters['x-ms-client-request-id'] = str(uuid.uuid1())
|
||||
if custom_headers:
|
||||
header_parameters.update(custom_headers)
|
||||
if self.config.accept_language is not None:
|
||||
header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str')
|
||||
|
||||
# Construct body
|
||||
body_content = self._serialize.body(agreement_option, 'TopLevelDomainAgreementOption')
|
||||
|
||||
# Construct and send request
|
||||
request = self._client.post(url, query_parameters, header_parameters, body_content)
|
||||
return request
|
||||
|
||||
def internal_paging(next_link=None):
|
||||
request = prepare_request(next_link)
|
||||
|
||||
response = self._client.send(request, stream=False, **operation_config)
|
||||
|
||||
if response.status_code not in [200]:
|
||||
raise models.DefaultErrorResponseException(self._deserialize, response)
|
||||
|
||||
return response
|
||||
|
||||
# Deserialize response
|
||||
header_dict = None
|
||||
if raw:
|
||||
header_dict = {}
|
||||
deserialized = models.TldLegalAgreementPaged(internal_paging, self._deserialize.dependencies, header_dict)
|
||||
|
||||
return deserialized
|
||||
list_agreements.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements'}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,13 @@
|
|||
# coding=utf-8
|
||||
# --------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for
|
||||
# license information.
|
||||
#
|
||||
# Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
# Changes may cause incorrect behavior and will be lost if the code is
|
||||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
VERSION = "0.42.0"
|
||||
|
|
@ -9,5 +9,5 @@
|
|||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
VERSION = "0.43.1"
|
||||
VERSION = "0.44.0"
|
||||
|
||||
|
|
|
@ -14,26 +14,26 @@ interactions:
|
|||
Content-Type:
|
||||
- application/json; charset=utf-8
|
||||
User-Agent:
|
||||
- python/3.6.8 (Linux-4.9.125-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.8
|
||||
msrest_azure/0.4.34 azure-mgmt-web/0.43.1 Azure-SDK-For-Python
|
||||
- python/3.6.8 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
|
||||
msrest_azure/0.6.2 azure-mgmt-web/0.43.1 Azure-SDK-For-Python
|
||||
accept-language:
|
||||
- en-US
|
||||
method: PUT
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_appservice_test_appservice14d70ee5/providers/Microsoft.Web/serverfarms/myapimrndxyz?api-version=2018-02-01
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_appservice_test_appservice14d70ee5/providers/Microsoft.Web/serverfarms/myapimrndxyz?api-version=2019-08-01
|
||||
response:
|
||||
body:
|
||||
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_appservice_test_appservice14d70ee5/providers/Microsoft.Web/serverfarms/myapimrndxyz","name":"myapimrndxyz","type":"Microsoft.Web/serverfarms","kind":"app","location":"East
|
||||
US","properties":{"serverFarmId":24327,"name":"myapimrndxyz","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"test_mgmt_appservice_test_appservice14d70ee5-EastUSwebspace","subscription":"00000000-0000-0000-0000-000000000000","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":20,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"East
|
||||
US","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"test_mgmt_appservice_test_appservice14d70ee5","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-blu-141_24327","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"P1","tier":"Premium","size":"P1","family":"P","capacity":1}}'
|
||||
US","properties":{"serverFarmId":6270,"name":"myapimrndxyz","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"test_mgmt_appservice_test_appservice14d70ee5-EastUSwebspace","subscription":"00000000-0000-0000-0000-000000000000","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":20,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"East
|
||||
US","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"test_mgmt_appservice_test_appservice14d70ee5","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-blu-157_6270","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"P1","tier":"Premium","size":"P1","family":"P","capacity":1}}'
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '1398'
|
||||
- '1396'
|
||||
content-type:
|
||||
- application/json
|
||||
date:
|
||||
- Wed, 23 Oct 2019 03:51:53 GMT
|
||||
- Fri, 08 Nov 2019 10:00:58 GMT
|
||||
expires:
|
||||
- '-1'
|
||||
pragma:
|
||||
|
@ -57,4 +57,45 @@ interactions:
|
|||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
Accept-Encoding:
|
||||
- gzip, deflate
|
||||
Connection:
|
||||
- keep-alive
|
||||
User-Agent:
|
||||
- python/3.6.8 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10
|
||||
msrest_azure/0.6.2 azure-mgmt-web/0.43.1 Azure-SDK-For-Python
|
||||
accept-language:
|
||||
- en-US
|
||||
method: GET
|
||||
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/skus?api-version=2019-08-01
|
||||
response:
|
||||
body:
|
||||
string: '{"value":[]}'
|
||||
headers:
|
||||
cache-control:
|
||||
- no-cache
|
||||
content-length:
|
||||
- '12'
|
||||
content-type:
|
||||
- application/json; charset=utf-8
|
||||
date:
|
||||
- Fri, 08 Nov 2019 10:00:59 GMT
|
||||
expires:
|
||||
- '-1'
|
||||
pragma:
|
||||
- no-cache
|
||||
strict-transport-security:
|
||||
- max-age=31536000; includeSubDomains
|
||||
vary:
|
||||
- Accept-Encoding
|
||||
x-content-type-options:
|
||||
- nosniff
|
||||
status:
|
||||
code: 200
|
||||
message: OK
|
||||
version: 1
|
||||
|
|
|
@ -39,6 +39,8 @@ class MgmtWebSiteTest(AzureMgmtTestCase):
|
|||
azure_operation_poller = self.mgmt_client.app_service_plans.create_or_update(resource_group.name, SERVERFARM_NAME, BODY)
|
||||
result_create = azure_operation_poller.result()
|
||||
|
||||
self.mgmt_client.list_skus()
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
if __name__ == '__main__':
|
||||
|
|
Загрузка…
Ссылка в новой задаче