azure.mgmt.web.v2015_04_01.models module

exception azure.mgmt.web.v2015_04_01.models.ErrorResponseException(deserialize, response, *args)[source]

Bases: msrest.exceptions.HttpOperationError

Server responsed with exception of type: ‘ErrorResponse’.

Parameters
  • deserialize – A deserializer

  • response – Server response to be deserialized.

class azure.mgmt.web.v2015_04_01.models.Address(*, address1: str, city: str, country: str, postal_code: str, state: str, address2: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Address information for domain registration.

All required parameters must be populated in order to send to Azure.

Parameters
  • address1 (str) – Required. First line of an Address.

  • address2 (str) – The second line of the Address. Optional.

  • city (str) – Required. The city for the address.

  • country (str) – Required. The country for the address.

  • postal_code (str) – Required. The postal code for the address.

  • state (str) – Required. The state or province for the address.

class azure.mgmt.web.v2015_04_01.models.ApiDefinitionInfo(*, url: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information about the formal API definition for the app.

Parameters

url (str) – The URL of the API definition.

class azure.mgmt.web.v2015_04_01.models.AppServicePlan(*, location: str, app_service_plan_name: str, kind: str = None, tags=None, worker_tier_name: str = None, admin_site_name: str = None, hosting_environment_profile=None, per_site_scaling: bool = False, is_spot: bool = None, spot_expiration_time=None, reserved: bool = False, target_worker_count: int = None, target_worker_size_id: int = None, sku=None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.Resource

App Service plan.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • status (str or StatusOptions) – App Service plan status. Possible values include: ‘Ready’, ‘Pending’, ‘Creating’

  • subscription (str) – App Service plan subscription.

  • maximum_number_of_workers (int) – Maximum number of instances that can be assigned to this App Service plan.

  • geo_region (str) – Geographical location for the App Service plan.

  • number_of_sites (int) – Number of apps assigned to this App Service plan.

  • resource_group (str) – Resource group of the App Service plan.

  • provisioning_state (str or ProvisioningState) – Provisioning state of the App Service Environment. Possible values include: ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘InProgress’, ‘Deleting’

Parameters
  • kind (str) – Kind of resource.

  • location (str) – Required. Resource Location.

  • tags (dict[str, str]) – Resource tags.

  • app_service_plan_name (str) – Required. Name for the App Service plan.

  • worker_tier_name (str) – Target worker tier assigned to the App Service plan.

  • admin_site_name (str) – App Service plan administration site.

  • hosting_environment_profile (HostingEnvironmentProfile) – Specification for the App Service Environment to use for the App Service plan.

  • per_site_scaling (bool) – If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. Default value: False .

  • is_spot (bool) – If <code>true</code>, this App Service Plan owns spot instances.

  • spot_expiration_time (datetime) – The time when the server farm expires. Valid only if it is a spot server farm.

  • reserved (bool) – If Linux app service plan <code>true</code>, <code>false</code> otherwise. Default value: False .

  • target_worker_count (int) – Scaling worker count.

  • target_worker_size_id (int) – Scaling worker size ID.

  • sku (SkuDescription) –

class azure.mgmt.web.v2015_04_01.models.AutoHealActions(*, action_type=None, custom_action=None, min_process_execution_time: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Actions which to take by the auto-heal module when a rule is triggered.

Parameters
  • action_type (str or AutoHealActionType) – Predefined action to be taken. Possible values include: ‘Recycle’, ‘LogEvent’, ‘CustomAction’

  • custom_action (AutoHealCustomAction) – Custom action to be taken.

  • min_process_execution_time (str) – Minimum time the process must execute before taking the action

class azure.mgmt.web.v2015_04_01.models.AutoHealCustomAction(*, exe: str = None, parameters: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Custom action to be executed when an auto heal rule is triggered.

Parameters
  • exe (str) – Executable to be run.

  • parameters (str) – Parameters for the executable.

class azure.mgmt.web.v2015_04_01.models.AutoHealRules(*, triggers=None, actions=None, **kwargs)[source]

Bases: msrest.serialization.Model

Rules that can be defined for auto-heal.

Parameters
  • triggers (AutoHealTriggers) – Conditions that describe when to execute the auto-heal actions.

  • actions (AutoHealActions) – Actions to be executed when a rule is triggered.

class azure.mgmt.web.v2015_04_01.models.AutoHealTriggers(*, requests=None, private_bytes_in_kb: int = None, status_codes=None, slow_requests=None, **kwargs)[source]

Bases: msrest.serialization.Model

Triggers for auto-heal.

Parameters
class azure.mgmt.web.v2015_04_01.models.Capability(*, name: str = None, value: str = None, reason: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Describes the capabilities/features allowed for a specific SKU.

Parameters
  • name (str) – Name of the SKU capability.

  • value (str) – Value of the SKU capability.

  • reason (str) – Reason of the SKU capability.

class azure.mgmt.web.v2015_04_01.models.CloningInfo(*, source_web_app_id: str, correlation_id: str = None, overwrite: bool = None, clone_custom_host_names: bool = None, clone_source_control: bool = None, hosting_environment: str = None, app_settings_overrides=None, configure_load_balancing: bool = None, traffic_manager_profile_id: str = None, traffic_manager_profile_name: str = None, ignore_quotas: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

Information needed for cloning operation.

All required parameters must be populated in order to send to Azure.

Parameters
  • correlation_id (str) – Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot.

  • overwrite (bool) – <code>true</code> to overwrite destination app; otherwise, <code>false</code>.

  • clone_custom_host_names (bool) – <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>.

  • clone_source_control (bool) – <code>true</code> to clone source control from source app; otherwise, <code>false</code>.

  • source_web_app_id (str) – Required. ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.

  • hosting_environment (str) – App Service Environment.

  • app_settings_overrides (dict[str, str]) – Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.

  • configure_load_balancing (bool) – <code>true</code> to configure load balancing for source and destination app.

  • traffic_manager_profile_id (str) – ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.

  • traffic_manager_profile_name (str) – Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.

  • ignore_quotas (bool) – <code>true</code> if quotas should be ignored; otherwise, <code>false</code>.

class azure.mgmt.web.v2015_04_01.models.ConnStringInfo(*, name: str = None, connection_string: str = None, type=None, **kwargs)[source]

Bases: msrest.serialization.Model

Database connection string information.

Parameters
  • name (str) – Name of connection string.

  • connection_string (str) – Connection string value.

  • type (str or ConnectionStringType) – Type of database. Possible values include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’

class azure.mgmt.web.v2015_04_01.models.Contact(*, email: str, name_first: str, name_last: str, phone: str, address_mailing=None, fax: str = None, job_title: str = None, name_middle: str = None, organization: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Contact information for domain registration. If ‘Domain Privacy’ option is not selected then the contact information is made publicly available through the Whois directories as per ICANN requirements.

All required parameters must be populated in order to send to Azure.

Parameters
  • address_mailing (Address) – Mailing address.

  • email (str) – Required. Email address.

  • fax (str) – Fax number.

  • job_title (str) – Job title.

  • name_first (str) – Required. First name.

  • name_last (str) – Required. Last name.

  • name_middle (str) – Middle name.

  • organization (str) – Organization contact belongs to.

  • phone (str) – Required. Phone number.

class azure.mgmt.web.v2015_04_01.models.CorsSettings(*, allowed_origins=None, **kwargs)[source]

Bases: msrest.serialization.Model

Cross-Origin Resource Sharing (CORS) settings for the app.

Parameters

allowed_origins (list[str]) – Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use “*” to allow all.

class azure.mgmt.web.v2015_04_01.models.CsmOperationDescription(*, name: str = None, display=None, origin: str = None, properties=None, **kwargs)[source]

Bases: msrest.serialization.Model

Description of an operation available for Microsoft.Web resource provider.

Parameters
class azure.mgmt.web.v2015_04_01.models.CsmOperationDescriptionProperties(*, service_specification=None, **kwargs)[source]

Bases: msrest.serialization.Model

Properties available for a Microsoft.Web resource provider operation.

Parameters

service_specification (ServiceSpecification) –

class azure.mgmt.web.v2015_04_01.models.CsmOperationDisplay(*, provider: str = None, resource: str = None, operation: str = None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Meta data about operation used for display in portal.

Parameters
  • provider (str) –

  • resource (str) –

  • operation (str) –

  • description (str) –

class azure.mgmt.web.v2015_04_01.models.Dimension(*, name: str = None, display_name: str = None, internal_name: str = None, to_be_exported_for_shoebox: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, where instance name is dimension of the metric HTTP request.

Parameters
  • name (str) –

  • display_name (str) –

  • internal_name (str) –

  • to_be_exported_for_shoebox (bool) –

class azure.mgmt.web.v2015_04_01.models.Domain(*, location: str, contact_admin, contact_billing, contact_registrant, contact_tech, consent, kind: str = None, tags=None, privacy: bool = None, auto_renew: bool = True, dns_type=None, dns_zone_id: str = None, target_dns_type=None, auth_code: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.Resource

Information about a domain.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • registration_status (str or DomainStatus) – Domain registration status. Possible values include: ‘Active’, ‘Awaiting’, ‘Cancelled’, ‘Confiscated’, ‘Disabled’, ‘Excluded’, ‘Expired’, ‘Failed’, ‘Held’, ‘Locked’, ‘Parked’, ‘Pending’, ‘Reserved’, ‘Reverted’, ‘Suspended’, ‘Transferred’, ‘Unknown’, ‘Unlocked’, ‘Unparked’, ‘Updated’, ‘JsonConverterFailed’

  • provisioning_state (str or ProvisioningState) – Domain provisioning state. Possible values include: ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘InProgress’, ‘Deleting’

  • name_servers (list[str]) – Name servers.

  • created_time (datetime) – Domain creation timestamp.

  • expiration_time (datetime) – Domain expiration timestamp.

  • last_renewed_time (datetime) – Timestamp when the domain was renewed last time.

  • ready_for_dns_record_management (bool) – <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and it is hosted on name servers Azure has programmatic access to.

  • managed_host_names (list[HostName]) – All hostnames derived from the domain and assigned to Azure resources.

  • domain_not_renewable_reasons (list[str]) – Reasons why domain is not renewable.

Parameters
  • kind (str) – Kind of resource.

  • location (str) – Required. Resource Location.

  • tags (dict[str, str]) – Resource tags.

  • contact_admin (Contact) – Required. Administrative contact.

  • contact_billing (Contact) – Required. Billing contact.

  • contact_registrant (Contact) – Required. Registrant contact.

  • contact_tech (Contact) – Required. Technical contact.

  • privacy (bool) – <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.

  • auto_renew (bool) – <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. Default value: True .

  • consent (DomainPurchaseConsent) – Required. Legal agreement consent.

  • dns_type (str or DnsType) – Current DNS type. Possible values include: ‘AzureDns’, ‘DefaultDomainRegistrarDns’

  • dns_zone_id (str) – Azure DNS Zone to use

  • target_dns_type (str or DnsType) – Target DNS type (would be used for migration). Possible values include: ‘AzureDns’, ‘DefaultDomainRegistrarDns’

  • auth_code (str) –

class azure.mgmt.web.v2015_04_01.models.DomainAvailablilityCheckResult(*, name: str = None, available: bool = None, domain_type=None, **kwargs)[source]

Bases: msrest.serialization.Model

Domain availability check result.

Parameters
  • name (str) – Name of the domain.

  • available (bool) – <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>.

  • domain_type (str or DomainType) – Valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: ‘Regular’, ‘SoftDeleted’

class azure.mgmt.web.v2015_04_01.models.DomainControlCenterSsoRequest(**kwargs)[source]

Bases: msrest.serialization.Model

Single sign-on request information for domain management.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • url (str) – URL where the single sign-on request is to be made.

  • post_parameter_key (str) – Post parameter key.

  • post_parameter_value (str) – Post parameter value. Client should use ‘application/x-www-form-urlencoded’ encoding for this value.

class azure.mgmt.web.v2015_04_01.models.DomainOwnershipIdentifier(*, kind: str = None, ownership_id: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Domain ownership Identifier.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • ownership_id (str) – Ownership Id.

class azure.mgmt.web.v2015_04_01.models.DomainPatchResource(*, contact_admin, contact_billing, contact_registrant, contact_tech, consent, kind: str = None, privacy: bool = None, auto_renew: bool = True, dns_type=None, dns_zone_id: str = None, target_dns_type=None, auth_code: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

ARM resource for a domain.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • registration_status (str or DomainStatus) – Domain registration status. Possible values include: ‘Active’, ‘Awaiting’, ‘Cancelled’, ‘Confiscated’, ‘Disabled’, ‘Excluded’, ‘Expired’, ‘Failed’, ‘Held’, ‘Locked’, ‘Parked’, ‘Pending’, ‘Reserved’, ‘Reverted’, ‘Suspended’, ‘Transferred’, ‘Unknown’, ‘Unlocked’, ‘Unparked’, ‘Updated’, ‘JsonConverterFailed’

  • provisioning_state (str or ProvisioningState) – Domain provisioning state. Possible values include: ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘InProgress’, ‘Deleting’

  • name_servers (list[str]) – Name servers.

  • created_time (datetime) – Domain creation timestamp.

  • expiration_time (datetime) – Domain expiration timestamp.

  • last_renewed_time (datetime) – Timestamp when the domain was renewed last time.

  • ready_for_dns_record_management (bool) – <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and it is hosted on name servers Azure has programmatic access to.

  • managed_host_names (list[HostName]) – All hostnames derived from the domain and assigned to Azure resources.

  • domain_not_renewable_reasons (list[str]) – Reasons why domain is not renewable.

Parameters
  • kind (str) – Kind of resource.

  • contact_admin (Contact) – Required. Administrative contact.

  • contact_billing (Contact) – Required. Billing contact.

  • contact_registrant (Contact) – Required. Registrant contact.

  • contact_tech (Contact) – Required. Technical contact.

  • privacy (bool) – <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.

  • auto_renew (bool) – <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. Default value: True .

  • consent (DomainPurchaseConsent) – Required. Legal agreement consent.

  • dns_type (str or DnsType) – Current DNS type. Possible values include: ‘AzureDns’, ‘DefaultDomainRegistrarDns’

  • dns_zone_id (str) – Azure DNS Zone to use

  • target_dns_type (str or DnsType) – Target DNS type (would be used for migration). Possible values include: ‘AzureDns’, ‘DefaultDomainRegistrarDns’

  • auth_code (str) –

class azure.mgmt.web.v2015_04_01.models.DomainPurchaseConsent(*, agreement_keys=None, agreed_by: str = None, agreed_at=None, **kwargs)[source]

Bases: msrest.serialization.Model

Domain purchase consent object, representing acceptance of applicable legal agreements.

Parameters
  • agreement_keys (list[str]) – List of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource.

  • agreed_by (str) – Client IP address.

  • agreed_at (datetime) – Timestamp when the agreements were accepted.

class azure.mgmt.web.v2015_04_01.models.DomainRecommendationSearchParameters(*, keywords: str = None, max_domain_recommendations: int = None, **kwargs)[source]

Bases: msrest.serialization.Model

Domain recommendation search parameters.

Parameters
  • keywords (str) – Keywords to be used for generating domain recommendations.

  • max_domain_recommendations (int) – Maximum number of recommendations.

class azure.mgmt.web.v2015_04_01.models.ErrorResponse(*, code: str = None, message: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Error Response.

Parameters
  • code (str) – Error code.

  • message (str) – Error message indicating why the operation failed.

class azure.mgmt.web.v2015_04_01.models.Experiments(*, ramp_up_rules=None, **kwargs)[source]

Bases: msrest.serialization.Model

Routing rules in production experiments.

Parameters

ramp_up_rules (list[RampUpRule]) – List of ramp-up rules.

class azure.mgmt.web.v2015_04_01.models.HandlerMapping(*, extension: str = None, script_processor: str = None, arguments: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The IIS handler mappings used to define which handler processes HTTP requests with certain extension. For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.

Parameters
  • extension (str) – Requests with this extension will be handled using the specified FastCGI application.

  • script_processor (str) – The absolute path to the FastCGI application.

  • arguments (str) – Command-line arguments to be passed to the script processor.

class azure.mgmt.web.v2015_04_01.models.HostingEnvironmentProfile(*, id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Specification for an App Service Environment to use for this resource.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

id (str) – Resource ID of the App Service Environment.

Variables
  • name (str) – Name of the App Service Environment.

  • type (str) – Resource type of the App Service Environment.

class azure.mgmt.web.v2015_04_01.models.HostName(*, name: str = None, site_names=None, azure_resource_name: str = None, azure_resource_type=None, custom_host_name_dns_record_type=None, host_name_type=None, **kwargs)[source]

Bases: msrest.serialization.Model

Details of a hostname derived from a domain.

Parameters
  • name (str) – Name of the hostname.

  • site_names (list[str]) – List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.

  • azure_resource_name (str) – Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.

  • azure_resource_type (str or AzureResourceType) – Type of the Azure resource the hostname is assigned to. Possible values include: ‘Website’, ‘TrafficManager’

  • custom_host_name_dns_record_type (str or CustomHostNameDnsRecordType) – Type of the DNS record. Possible values include: ‘CName’, ‘A’

  • host_name_type (str or HostNameType) – Type of the hostname. Possible values include: ‘Verified’, ‘Managed’

class azure.mgmt.web.v2015_04_01.models.HostNameSslState(*, name: str = None, ssl_state=None, virtual_ip: str = None, thumbprint: str = None, to_update: bool = None, host_type=None, **kwargs)[source]

Bases: msrest.serialization.Model

SSL-enabled hostname.

Parameters
  • name (str) – Hostname.

  • ssl_state (str or SslState) – SSL type. Possible values include: ‘Disabled’, ‘SniEnabled’, ‘IpBasedEnabled’

  • virtual_ip (str) – Virtual IP address assigned to the hostname if IP based SSL is enabled.

  • thumbprint (str) – SSL certificate thumbprint.

  • to_update (bool) – Set to <code>true</code> to update existing hostname.

  • host_type (str or HostType) – Indicates whether the hostname is a standard or repository hostname. Possible values include: ‘Standard’, ‘Repository’

class azure.mgmt.web.v2015_04_01.models.HybridConnection(*, kind: str = None, service_bus_namespace: str = None, relay_name: str = None, relay_arm_uri: str = None, hostname: str = None, port: int = None, send_key_name: str = None, send_key_value: str = None, service_bus_suffix: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Hybrid Connection contract. This is used to configure a Hybrid Connection.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • service_bus_namespace (str) – The name of the Service Bus namespace.

  • relay_name (str) – The name of the Service Bus relay.

  • relay_arm_uri (str) – The ARM URI to the Service Bus relay.

  • hostname (str) – The hostname of the endpoint.

  • port (int) – The port of the endpoint.

  • send_key_name (str) – The name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus.

  • send_key_value (str) – The value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned normally, use the POST /listKeys API instead.

  • service_bus_suffix (str) – The suffix for the service bus endpoint. By default this is .servicebus.windows.net

class azure.mgmt.web.v2015_04_01.models.HybridConnectionKey(*, kind: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • send_key_name (str) – The name of the send key.

  • send_key_value (str) – The value of the send key.

Parameters

kind (str) – Kind of resource.

class azure.mgmt.web.v2015_04_01.models.Identifier(*, kind: str = None, identifier_id: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

A domain specific resource identifier.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • identifier_id (str) – String representation of the identity.

class azure.mgmt.web.v2015_04_01.models.IpSecurityRestriction(*, ip_address: str, subnet_mask: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

IP security restriction on an app.

All required parameters must be populated in order to send to Azure.

Parameters
  • ip_address (str) – Required. IP address the security restriction is valid for.

  • subnet_mask (str) – Subnet mask for the range of IP addresses the restriction is valid for.

class azure.mgmt.web.v2015_04_01.models.ManagedServiceIdentity(*, type=None, **kwargs)[source]

Bases: msrest.serialization.Model

Managed service identity.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters

type (str or ManagedServiceIdentityType) – Type of managed service identity. Possible values include: ‘SystemAssigned’

Variables
  • tenant_id (str) – Tenant of managed service identity.

  • principal_id (str) – Principal Id of managed service identity.

class azure.mgmt.web.v2015_04_01.models.MetricAvailability(*, time_grain: str = None, blob_duration: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Retention policy of a resource metric.

Parameters
  • time_grain (str) –

  • blob_duration (str) –

class azure.mgmt.web.v2015_04_01.models.MetricSpecification(*, name: str = None, display_name: str = None, display_description: str = None, unit: str = None, aggregation_type: str = None, supports_instance_level_aggregation: bool = None, enable_regional_mdm_account: bool = None, source_mdm_account: str = None, source_mdm_namespace: str = None, metric_filter_pattern: str = None, fill_gap_with_zero: bool = None, is_internal: bool = None, dimensions=None, category: str = None, availabilities=None, **kwargs)[source]

Bases: msrest.serialization.Model

Definition of a single resource metric.

Parameters
  • name (str) –

  • display_name (str) –

  • display_description (str) –

  • unit (str) –

  • aggregation_type (str) –

  • supports_instance_level_aggregation (bool) –

  • enable_regional_mdm_account (bool) –

  • source_mdm_account (str) –

  • source_mdm_namespace (str) –

  • metric_filter_pattern (str) –

  • fill_gap_with_zero (bool) –

  • is_internal (bool) –

  • dimensions (list[Dimension]) –

  • category (str) –

  • availabilities (list[MetricAvailability]) –

class azure.mgmt.web.v2015_04_01.models.NameIdentifier(*, name: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Identifies an object.

Parameters

name (str) – Name of the object.

class azure.mgmt.web.v2015_04_01.models.NameValuePair(*, name: str = None, value: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Name value pair.

Parameters
  • name (str) – Pair name.

  • value (str) – Pair value.

class azure.mgmt.web.v2015_04_01.models.ProxyOnlyResource(*, kind: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Azure proxy only resource. This resource is not tracked by Azure Resource Manager.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters

kind (str) – Kind of resource.

class azure.mgmt.web.v2015_04_01.models.PushSettings(*, is_push_enabled: bool, kind: str = None, tag_whitelist_json: str = None, tags_requiring_auth: str = None, dynamic_tags_json: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Push settings for the App.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • is_push_enabled (bool) – Required. Gets or sets a flag indicating whether the Push endpoint is enabled.

  • tag_whitelist_json (str) – Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.

  • tags_requiring_auth (str) – Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: ‘_’, ‘@’, ‘#’, ‘.’, ‘:’, ‘-‘. Validation should be performed at the PushRequestHandler.

  • dynamic_tags_json (str) – Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.

class azure.mgmt.web.v2015_04_01.models.RampUpRule(*, action_host_name: str = None, reroute_percentage: float = None, change_step: float = None, change_interval_in_minutes: int = None, min_reroute_percentage: float = None, max_reroute_percentage: float = None, change_decision_callback_url: str = None, name: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.

Parameters
  • action_host_name (str) – Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.

  • reroute_percentage (float) – Percentage of the traffic which will be redirected to <code>ActionHostName</code>.

  • change_step (float) – In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>.

  • change_interval_in_minutes (int) – Specifies interval in minutes to reevaluate ReroutePercentage.

  • min_reroute_percentage (float) – Specifies lower boundary above which ReroutePercentage will stay.

  • max_reroute_percentage (float) – Specifies upper boundary below which ReroutePercentage will stay.

  • change_decision_callback_url (str) – Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/

  • name (str) – Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.

class azure.mgmt.web.v2015_04_01.models.RequestsBasedTrigger(*, count: int = None, time_interval: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Trigger based on total requests.

Parameters
  • count (int) – Request Count.

  • time_interval (str) – Time interval.

class azure.mgmt.web.v2015_04_01.models.Resource(*, location: str, kind: str = None, tags=None, **kwargs)[source]

Bases: msrest.serialization.Model

Azure resource. This resource is tracked in Azure Resource Manager.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • location (str) – Required. Resource Location.

  • tags (dict[str, str]) – Resource tags.

class azure.mgmt.web.v2015_04_01.models.ResourceMetricAvailability(**kwargs)[source]

Bases: msrest.serialization.Model

Metrics availability and retention.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • time_grain (str) – Time grain .

  • retention (str) – Retention period for the current time grain.

class azure.mgmt.web.v2015_04_01.models.ResourceMetricDefinition(*, kind: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Metadata for the metrics.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • resource_metric_definition_name (ResourceMetricName) – Name of the metric.

  • unit (str) – Unit of the metric.

  • primary_aggregation_type (str) – Primary aggregation type.

  • metric_availabilities (list[ResourceMetricAvailability]) – List of time grains supported for the metric together with retention period.

  • resource_uri (str) – Resource URI.

  • resource_metric_definition_id (str) – Resource ID.

  • properties (dict[str, str]) – Resource metric definition properties.

Parameters

kind (str) – Kind of resource.

class azure.mgmt.web.v2015_04_01.models.ResourceMetricName(**kwargs)[source]

Bases: msrest.serialization.Model

Name of a metric for any resource .

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • value (str) – metric name value.

  • localized_value (str) – Localized metric name value.

class azure.mgmt.web.v2015_04_01.models.ServiceSpecification(*, metric_specifications=None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource metrics service provided by Microsoft.Insights resource provider.

Parameters

metric_specifications (list[MetricSpecification]) –

class azure.mgmt.web.v2015_04_01.models.Site(*, location: str, kind: str = None, tags=None, enabled: bool = None, host_name_ssl_states=None, server_farm_id: str = None, reserved: bool = False, site_config=None, scm_site_also_stopped: bool = False, hosting_environment_profile=None, client_affinity_enabled: bool = None, client_cert_enabled: bool = None, host_names_disabled: bool = None, container_size: int = None, daily_memory_time_quota: int = None, cloning_info=None, snapshot_info=None, https_only: bool = None, identity=None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.Resource

A web app, a mobile app backend, or an API app.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • state (str) – Current state of the app.

  • host_names (list[str]) – Hostnames associated with the app.

  • repository_site_name (str) – Name of the repository site.

  • usage_state (str or UsageState) – State indicating whether the app has exceeded its quota usage. Read-only. Possible values include: ‘Normal’, ‘Exceeded’

  • enabled_host_names (list[str]) – Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.

  • availability_state (str or SiteAvailabilityState) – Management information availability state for the app. Possible values include: ‘Normal’, ‘Limited’, ‘DisasterRecoveryMode’

  • last_modified_time_utc (datetime) – Last time the app was modified, in UTC. Read-only.

  • traffic_manager_host_names (list[str]) – Azure Traffic Manager hostnames associated with the app. Read-only.

  • target_swap_slot (str) – Specifies which deployment slot this app will swap into. Read-only.

  • outbound_ip_addresses (str) – List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.

  • possible_outbound_ip_addresses (str) – List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.

  • suspended_till (datetime) – App suspended till in case memory-time quota is exceeded.

  • max_number_of_workers (int) – Maximum number of workers. This only applies to Functions container.

  • resource_group (str) – Name of the resource group the app belongs to. Read-only.

  • is_default_container (bool) – <code>true</code> if the app is a default container; otherwise, <code>false</code>.

  • default_host_name (str) – Default hostname of the app. Read-only.

  • slot_swap_status (SlotSwapStatus) – Status of the last deployment slot swap operation.

Parameters
  • kind (str) – Kind of resource.

  • location (str) – Required. Resource Location.

  • tags (dict[str, str]) – Resource tags.

  • enabled (bool) – <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline).

  • host_name_ssl_states (list[HostNameSslState]) – Hostname SSL states are used to manage the SSL bindings for app’s hostnames.

  • server_farm_id (str) – Resource ID of the associated App Service plan, formatted as: “/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”.

  • reserved (bool) – <code>true</code> if reserved; otherwise, <code>false</code>. Default value: False .

  • site_config (SiteConfig) – Configuration of the app.

  • scm_site_also_stopped (bool) – <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. Default value: False .

  • hosting_environment_profile (HostingEnvironmentProfile) – App Service Environment to use for the app.

  • client_affinity_enabled (bool) – <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>.

  • client_cert_enabled (bool) – <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>.

  • host_names_disabled (bool) – <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process.

  • container_size (int) – Size of the function container.

  • daily_memory_time_quota (int) – Maximum allowed daily memory-time quota (applicable on dynamic apps only).

  • cloning_info (CloningInfo) – If specified during app creation, the app is cloned from a source app.

  • snapshot_info (SnapshotRecoveryRequest) – If specified during app creation, the app is created from a previous snapshot.

  • https_only (bool) – HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests

  • identity (ManagedServiceIdentity) –

class azure.mgmt.web.v2015_04_01.models.SiteConfig(*, number_of_workers: int = None, default_documents=None, net_framework_version: str = 'v4.6', php_version: str = None, python_version: str = None, node_version: str = None, linux_fx_version: str = None, request_tracing_enabled: bool = None, request_tracing_expiration_time=None, remote_debugging_enabled: bool = None, remote_debugging_version: str = None, http_logging_enabled: bool = None, logs_directory_size_limit: int = None, detailed_error_logging_enabled: bool = None, publishing_username: str = None, app_settings=None, connection_strings=None, handler_mappings=None, document_root: str = None, scm_type=None, use32_bit_worker_process: bool = None, web_sockets_enabled: bool = None, always_on: bool = None, java_version: str = None, java_container: str = None, java_container_version: str = None, app_command_line: str = None, managed_pipeline_mode=None, virtual_applications=None, load_balancing=None, experiments=None, limits=None, auto_heal_enabled: bool = None, auto_heal_rules=None, tracing_options: str = None, vnet_name: str = None, cors=None, push=None, api_definition=None, auto_swap_slot_name: str = None, local_my_sql_enabled: bool = False, ip_security_restrictions=None, http20_enabled: bool = True, min_tls_version=None, **kwargs)[source]

Bases: msrest.serialization.Model

Configuration of an App Service app.

Variables are only populated by the server, and will be ignored when sending a request.

Parameters
  • number_of_workers (int) – Number of workers.

  • default_documents (list[str]) – Default documents.

  • net_framework_version (str) – .NET Framework version. Default value: “v4.6” .

  • php_version (str) – Version of PHP.

  • python_version (str) – Version of Python.

  • node_version (str) – Version of Node.js.

  • linux_fx_version (str) – Linux App Framework and version

  • request_tracing_enabled (bool) – <code>true</code> if request tracing is enabled; otherwise, <code>false</code>.

  • request_tracing_expiration_time (datetime) – Request tracing expiration time.

  • remote_debugging_enabled (bool) – <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>.

  • remote_debugging_version (str) – Remote debugging version.

  • http_logging_enabled (bool) – <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>.

  • logs_directory_size_limit (int) – HTTP logs directory size limit.

  • detailed_error_logging_enabled (bool) – <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>.

  • publishing_username (str) – Publishing user name.

  • app_settings (list[NameValuePair]) – Application settings.

  • connection_strings (list[ConnStringInfo]) – Connection strings.

  • handler_mappings (list[HandlerMapping]) – Handler mappings.

  • document_root (str) – Document root.

  • scm_type (str or ScmType) – SCM type. Possible values include: ‘None’, ‘Dropbox’, ‘Tfs’, ‘LocalGit’, ‘GitHub’, ‘CodePlexGit’, ‘CodePlexHg’, ‘BitbucketGit’, ‘BitbucketHg’, ‘ExternalGit’, ‘ExternalHg’, ‘OneDrive’, ‘VSO’

  • use32_bit_worker_process (bool) – <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>.

  • web_sockets_enabled (bool) – <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>.

  • always_on (bool) – <code>true</code> if Always On is enabled; otherwise, <code>false</code>.

  • java_version (str) – Java version.

  • java_container (str) – Java container.

  • java_container_version (str) – Java container version.

  • app_command_line (str) – App command line to launch.

  • managed_pipeline_mode (str or ManagedPipelineMode) – Managed pipeline mode. Possible values include: ‘Integrated’, ‘Classic’

  • virtual_applications (list[VirtualApplication]) – Virtual applications.

  • load_balancing (str or SiteLoadBalancing) – Site load balancing. Possible values include: ‘WeightedRoundRobin’, ‘LeastRequests’, ‘LeastResponseTime’, ‘WeightedTotalTraffic’, ‘RequestHash’

  • experiments (Experiments) – This is work around for polymorphic types.

  • limits (SiteLimits) – Site limits.

  • auto_heal_enabled (bool) – <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>.

  • auto_heal_rules (AutoHealRules) – Auto Heal rules.

  • tracing_options (str) – Tracing options.

  • vnet_name (str) – Virtual Network name.

  • cors (CorsSettings) – Cross-Origin Resource Sharing (CORS) settings.

  • push (PushSettings) – Push endpoint settings.

  • api_definition (ApiDefinitionInfo) – Information about the formal API definition for the app.

  • auto_swap_slot_name (str) – Auto-swap slot name.

  • local_my_sql_enabled (bool) – <code>true</code> to enable local MySQL; otherwise, <code>false</code>. Default value: False .

  • ip_security_restrictions (list[IpSecurityRestriction]) – IP security restrictions.

  • http20_enabled (bool) – Http20Enabled: configures a web site to allow clients to connect over http2.0. Default value: True .

  • min_tls_version (str or SupportedTlsVersions) – MinTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: ‘1.0’, ‘1.1’, ‘1.2’

Variables

machine_key (SiteMachineKey) – Site MachineKey.

class azure.mgmt.web.v2015_04_01.models.SiteLimits(*, max_percentage_cpu: float = None, max_memory_in_mb: int = None, max_disk_size_in_mb: int = None, **kwargs)[source]

Bases: msrest.serialization.Model

Metric limits set on an app.

Parameters
  • max_percentage_cpu (float) – Maximum allowed CPU usage percentage.

  • max_memory_in_mb (long) – Maximum allowed memory usage in MB.

  • max_disk_size_in_mb (long) – Maximum allowed disk size usage in MB.

class azure.mgmt.web.v2015_04_01.models.SiteMachineKey(*, validation: str = None, validation_key: str = None, decryption: str = None, decryption_key: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

MachineKey of an app.

Parameters
  • validation (str) – MachineKey validation.

  • validation_key (str) – Validation key.

  • decryption (str) – Algorithm used for decryption.

  • decryption_key (str) – Decryption key.

class azure.mgmt.web.v2015_04_01.models.SkuCapacity(*, minimum: int = None, maximum: int = None, default: int = None, scale_type: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Description of the App Service plan scale options.

Parameters
  • minimum (int) – Minimum number of workers for this App Service plan SKU.

  • maximum (int) – Maximum number of workers for this App Service plan SKU.

  • default (int) – Default number of workers for this App Service plan SKU.

  • scale_type (str) – Available scale configurations for an App Service plan.

class azure.mgmt.web.v2015_04_01.models.SkuDescription(*, name: str = None, tier: str = None, size: str = None, family: str = None, capacity: int = None, sku_capacity=None, locations=None, capabilities=None, **kwargs)[source]

Bases: msrest.serialization.Model

Description of a SKU for a scalable resource.

Parameters
  • name (str) – Name of the resource SKU.

  • tier (str) – Service tier of the resource SKU.

  • size (str) – Size specifier of the resource SKU.

  • family (str) – Family code of the resource SKU.

  • capacity (int) – Current number of instances assigned to the resource.

  • sku_capacity (SkuCapacity) – Min, max, and default scale values of the SKU.

  • locations (list[str]) – Locations of the SKU.

  • capabilities (list[Capability]) – Capabilities of the SKU, e.g., is traffic manager enabled?

class azure.mgmt.web.v2015_04_01.models.SlotSwapStatus(**kwargs)[source]

Bases: msrest.serialization.Model

The status of the last successful slot swap operation.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • timestamp_utc (datetime) – The time the last successful slot swap completed.

  • source_slot_name (str) – The source slot of the last swap operation.

  • destination_slot_name (str) – The destination slot of the last swap operation.

class azure.mgmt.web.v2015_04_01.models.SlowRequestsBasedTrigger(*, time_taken: str = None, count: int = None, time_interval: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Trigger based on request execution time.

Parameters
  • time_taken (str) – Time taken.

  • count (int) – Request Count.

  • time_interval (str) – Time interval.

class azure.mgmt.web.v2015_04_01.models.SnapshotRecoveryRequest(*, overwrite: bool, kind: str = None, snapshot_time: str = None, recovery_target=None, recover_configuration: bool = None, ignore_conflicting_host_names: bool = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Details about app recovery operation.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • snapshot_time (str) – Point in time in which the app recovery should be attempted, formatted as a DateTime string.

  • recovery_target (SnapshotRecoveryTarget) – Specifies the web app that snapshot contents will be written to.

  • overwrite (bool) – Required. If <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>.

  • recover_configuration (bool) – If true, site configuration, in addition to content, will be reverted.

  • ignore_conflicting_host_names (bool) – If true, custom hostname conflicts will be ignored when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.

class azure.mgmt.web.v2015_04_01.models.SnapshotRecoveryTarget(*, location: str = None, id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Specifies the web app that snapshot contents will be written to.

Parameters
  • location (str) – Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS

  • id (str) – ARM resource ID of the target app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.

class azure.mgmt.web.v2015_04_01.models.StatusCodesBasedTrigger(*, status: int = None, sub_status: int = None, win32_status: int = None, count: int = None, time_interval: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Trigger based on status code.

Parameters
  • status (int) – HTTP status code.

  • sub_status (int) – Request Sub Status.

  • win32_status (int) – Win32 error code.

  • count (int) – Request Count.

  • time_interval (str) – Time interval.

class azure.mgmt.web.v2015_04_01.models.TldLegalAgreement(*, agreement_key: str, title: str, content: str, url: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Legal agreement for a top level domain.

All required parameters must be populated in order to send to Azure.

Parameters
  • agreement_key (str) – Required. Unique identifier for the agreement.

  • title (str) – Required. Agreement title.

  • content (str) – Required. Agreement details.

  • url (str) – URL where a copy of the agreement details is hosted.

class azure.mgmt.web.v2015_04_01.models.TopLevelDomain(*, kind: str = None, privacy: bool = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

A top level domain object.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • domain_name (str) – Name of the top level domain.

Parameters
  • kind (str) – Kind of resource.

  • privacy (bool) – If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>.

class azure.mgmt.web.v2015_04_01.models.TopLevelDomainAgreementOption(*, include_privacy: bool = None, for_transfer: bool = None, **kwargs)[source]

Bases: msrest.serialization.Model

Options for retrieving the list of top level domain legal agreements.

Parameters
  • include_privacy (bool) – If <code>true</code>, then the list of agreements will include agreements for domain privacy as well; otherwise, <code>false</code>.

  • for_transfer (bool) – If <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>.

class azure.mgmt.web.v2015_04_01.models.User(*, publishing_user_name: str, kind: str = None, user_name: str = None, publishing_password: str = None, publishing_password_hash: str = None, publishing_password_hash_salt: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

User credentials used for publishing activity.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • user_name (str) – Username

  • publishing_user_name (str) – Required. Username used for publishing.

  • publishing_password (str) – Password used for publishing.

  • publishing_password_hash (str) – Password hash used for publishing.

  • publishing_password_hash_salt (str) – Password hash salt used for publishing.

class azure.mgmt.web.v2015_04_01.models.VirtualApplication(*, virtual_path: str = None, physical_path: str = None, preload_enabled: bool = None, virtual_directories=None, **kwargs)[source]

Bases: msrest.serialization.Model

Virtual application in an app.

Parameters
  • virtual_path (str) – Virtual path.

  • physical_path (str) – Physical path.

  • preload_enabled (bool) – <code>true</code> if preloading is enabled; otherwise, <code>false</code>.

  • virtual_directories (list[VirtualDirectory]) – Virtual directories for virtual application.

class azure.mgmt.web.v2015_04_01.models.VirtualDirectory(*, virtual_path: str = None, physical_path: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Directory for virtual application.

Parameters
  • virtual_path (str) – Path to virtual application.

  • physical_path (str) – Physical path.

class azure.mgmt.web.v2015_04_01.models.VnetGateway(*, vpn_package_uri: str, kind: str = None, vnet_name: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • vnet_name (str) – The Virtual Network name.

  • vpn_package_uri (str) – Required. The URI where the VPN package can be downloaded.

class azure.mgmt.web.v2015_04_01.models.VnetInfo(*, kind: str = None, vnet_resource_id: str = None, cert_blob: bytearray = None, dns_servers: str = None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Virtual Network information contract.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

  • cert_thumbprint (str) – The client certificate thumbprint.

  • routes (list[VnetRoute]) – The routes that this Virtual Network connection uses.

  • resync_required (bool) – <code>true</code> if a resync is required; otherwise, <code>false</code>.

Parameters
  • kind (str) – Kind of resource.

  • vnet_resource_id (str) – The Virtual Network’s resource ID.

  • cert_blob (bytearray) – A certificate file (.cer) blob containing the public key of the private key used to authenticate a Point-To-Site VPN connection.

  • dns_servers (str) – DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses.

class azure.mgmt.web.v2015_04_01.models.VnetRoute(*, kind: str = None, vnet_route_name: str = None, start_address: str = None, end_address: str = None, route_type=None, **kwargs)[source]

Bases: azure.mgmt.web.v2015_04_01.models._models_py3.ProxyOnlyResource

Virtual Network route contract used to pass routing information for a Virtual Network.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – Resource Id.

  • name (str) – Resource Name.

  • type (str) – Resource type.

Parameters
  • kind (str) – Kind of resource.

  • vnet_route_name (str) – The name of this route. This is only returned by the server and does not need to be set by the client.

  • start_address (str) – The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.

  • end_address (str) – The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.

  • route_type (str or RouteType) – The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only These values will be used for syncing an app’s routes with those from a Virtual Network. Possible values include: ‘DEFAULT’, ‘INHERITED’, ‘STATIC’

class azure.mgmt.web.v2015_04_01.models.DomainPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Domain object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.web.v2015_04_01.models.NameIdentifierPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of NameIdentifier object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.web.v2015_04_01.models.DomainOwnershipIdentifierPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of DomainOwnershipIdentifier object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.web.v2015_04_01.models.TopLevelDomainPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of TopLevelDomain object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.web.v2015_04_01.models.TldLegalAgreementPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of TldLegalAgreement object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.web.v2015_04_01.models.CsmOperationDescriptionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of CsmOperationDescription object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.

class azure.mgmt.web.v2015_04_01.models.DomainStatus[source]

Bases: str, enum.Enum

An enumeration.

active = 'Active'
awaiting = 'Awaiting'
cancelled = 'Cancelled'
confiscated = 'Confiscated'
disabled = 'Disabled'
excluded = 'Excluded'
expired = 'Expired'
failed = 'Failed'
held = 'Held'
json_converter_failed = 'JsonConverterFailed'
locked = 'Locked'
parked = 'Parked'
pending = 'Pending'
reserved = 'Reserved'
reverted = 'Reverted'
suspended = 'Suspended'
transferred = 'Transferred'
unknown = 'Unknown'
unlocked = 'Unlocked'
unparked = 'Unparked'
updated = 'Updated'
class azure.mgmt.web.v2015_04_01.models.ProvisioningState[source]

Bases: str, enum.Enum

An enumeration.

canceled = 'Canceled'
deleting = 'Deleting'
failed = 'Failed'
in_progress = 'InProgress'
succeeded = 'Succeeded'
class azure.mgmt.web.v2015_04_01.models.AzureResourceType[source]

Bases: str, enum.Enum

An enumeration.

traffic_manager = 'TrafficManager'
website = 'Website'
class azure.mgmt.web.v2015_04_01.models.CustomHostNameDnsRecordType[source]

Bases: str, enum.Enum

An enumeration.

a = 'A'
cname = 'CName'
class azure.mgmt.web.v2015_04_01.models.HostNameType[source]

Bases: str, enum.Enum

An enumeration.

managed = 'Managed'
verified = 'Verified'
class azure.mgmt.web.v2015_04_01.models.DnsType[source]

Bases: str, enum.Enum

An enumeration.

azure_dns = 'AzureDns'
default_domain_registrar_dns = 'DefaultDomainRegistrarDns'
class azure.mgmt.web.v2015_04_01.models.DomainType[source]

Bases: str, enum.Enum

An enumeration.

regular = 'Regular'
soft_deleted = 'SoftDeleted'
class azure.mgmt.web.v2015_04_01.models.RouteType[source]

Bases: str, enum.Enum

An enumeration.

default = 'DEFAULT'
inherited = 'INHERITED'
static = 'STATIC'
class azure.mgmt.web.v2015_04_01.models.ManagedServiceIdentityType[source]

Bases: str, enum.Enum

An enumeration.

system_assigned = 'SystemAssigned'
class azure.mgmt.web.v2015_04_01.models.AutoHealActionType[source]

Bases: str, enum.Enum

An enumeration.

custom_action = 'CustomAction'
log_event = 'LogEvent'
recycle = 'Recycle'
class azure.mgmt.web.v2015_04_01.models.ConnectionStringType[source]

Bases: str, enum.Enum

An enumeration.

api_hub = 'ApiHub'
custom = 'Custom'
doc_db = 'DocDb'
event_hub = 'EventHub'
my_sql = 'MySql'
notification_hub = 'NotificationHub'
postgre_sql = 'PostgreSQL'
redis_cache = 'RedisCache'
service_bus = 'ServiceBus'
sql_azure = 'SQLAzure'
sql_server = 'SQLServer'
class azure.mgmt.web.v2015_04_01.models.ScmType[source]

Bases: str, enum.Enum

An enumeration.

bitbucket_git = 'BitbucketGit'
bitbucket_hg = 'BitbucketHg'
code_plex_git = 'CodePlexGit'
code_plex_hg = 'CodePlexHg'
dropbox = 'Dropbox'
external_git = 'ExternalGit'
external_hg = 'ExternalHg'
git_hub = 'GitHub'
local_git = 'LocalGit'
none = 'None'
one_drive = 'OneDrive'
tfs = 'Tfs'
vso = 'VSO'
class azure.mgmt.web.v2015_04_01.models.ManagedPipelineMode[source]

Bases: str, enum.Enum

An enumeration.

classic = 'Classic'
integrated = 'Integrated'
class azure.mgmt.web.v2015_04_01.models.SiteLoadBalancing[source]

Bases: str, enum.Enum

An enumeration.

least_requests = 'LeastRequests'
least_response_time = 'LeastResponseTime'
request_hash = 'RequestHash'
weighted_round_robin = 'WeightedRoundRobin'
weighted_total_traffic = 'WeightedTotalTraffic'
class azure.mgmt.web.v2015_04_01.models.SupportedTlsVersions[source]

Bases: str, enum.Enum

An enumeration.

one_full_stop_one = '1.1'
one_full_stop_two = '1.2'
one_full_stop_zero = '1.0'
class azure.mgmt.web.v2015_04_01.models.SslState[source]

Bases: str, enum.Enum

An enumeration.

disabled = 'Disabled'
ip_based_enabled = 'IpBasedEnabled'
sni_enabled = 'SniEnabled'
class azure.mgmt.web.v2015_04_01.models.HostType[source]

Bases: str, enum.Enum

An enumeration.

repository = 'Repository'
standard = 'Standard'
class azure.mgmt.web.v2015_04_01.models.UsageState[source]

Bases: str, enum.Enum

An enumeration.

exceeded = 'Exceeded'
normal = 'Normal'
class azure.mgmt.web.v2015_04_01.models.SiteAvailabilityState[source]

Bases: str, enum.Enum

An enumeration.

disaster_recovery_mode = 'DisasterRecoveryMode'
limited = 'Limited'
normal = 'Normal'
class azure.mgmt.web.v2015_04_01.models.StatusOptions[source]

Bases: str, enum.Enum

An enumeration.

creating = 'Creating'
pending = 'Pending'
ready = 'Ready'