azure.mgmt.web.v2016_03_01.models module¶
-
exception
azure.mgmt.web.v2016_03_01.models.
DefaultErrorResponseException
(deserialize, response, *args)[source]¶ Bases:
msrest.exceptions.HttpOperationError
Server responsed with exception of type: ‘DefaultErrorResponse’.
- Parameters
deserialize – A deserializer
response – Server response to be deserialized.
-
class
azure.mgmt.web.v2016_03_01.models.
AbnormalTimePeriod
(*, start_time=None, end_time=None, events=None, solutions=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class representing Abnormal Time Period identified in diagnosis.
- Parameters
start_time (datetime) – Start time of the downtime
end_time (datetime) – End time of the downtime
events (list[DetectorAbnormalTimePeriod]) – List of Possible Cause of downtime
-
class
azure.mgmt.web.v2016_03_01.models.
AnalysisData
(*, source: str = None, detector_definition=None, metrics=None, data=None, detector_meta_data=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class Representing Detector Evidence used for analysis.
- Parameters
source (str) – Name of the Detector
detector_definition (DetectorDefinition) – Detector Definition
metrics (list[DiagnosticMetricSet]) – Source Metrics
data (list[list[NameValuePair]]) – Additional Source Data
detector_meta_data (ResponseMetaData) – Detector Meta Data
-
class
azure.mgmt.web.v2016_03_01.models.
AnalysisDefinition
(*, kind: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Definition of Analysis.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_01.models.
ApplicationStack
(*, name: str = None, display: str = None, dependency: str = None, major_versions=None, frameworks=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Application stack.
- Parameters
name (str) – Application stack name.
display (str) – Application stack display name.
dependency (str) – Application stack dependency.
major_versions (list[StackMajorVersion]) – List of major versions available.
frameworks (list[ApplicationStack]) – List of frameworks associated with application stack.
-
class
azure.mgmt.web.v2016_03_01.models.
AppServiceEnvironment
(*, name: str, location: str, virtual_network, worker_pools, vnet_name: str = None, vnet_resource_group_name: str = None, vnet_subnet_name: str = None, internal_load_balancing_mode=None, multi_size: str = None, multi_role_count: int = None, ipssl_address_count: int = None, dns_suffix: str = None, network_access_control_list=None, front_end_scale_factor: int = None, api_management_account_id: str = None, suspended: bool = None, dynamic_cache_enabled: bool = None, cluster_settings=None, user_whitelisted_ip_ranges=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Description of an App Service Environment.
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.
- Parameters
name (str) – Required. Name of the App Service Environment.
location (str) – Required. Location of the App Service Environment, e.g. “West US”.
vnet_name (str) – Name of the Virtual Network for the App Service Environment.
vnet_resource_group_name (str) – Resource group of the Virtual Network.
vnet_subnet_name (str) – Subnet of the Virtual Network.
virtual_network (VirtualNetworkProfile) – Required. Description of the Virtual Network.
internal_load_balancing_mode (str or InternalLoadBalancingMode) – Specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: ‘None’, ‘Web’, ‘Publishing’
multi_size (str) – Front-end VM size, e.g. “Medium”, “Large”.
multi_role_count (int) – Number of front-end instances.
worker_pools (list[WorkerPool]) – Required. Description of worker pools with worker size IDs, VM sizes, and number of workers in each pool.
ipssl_address_count (int) – Number of IP SSL addresses reserved for the App Service Environment.
dns_suffix (str) – DNS suffix of the App Service Environment.
network_access_control_list (list[NetworkAccessControlEntry]) – Access control list for controlling traffic to the App Service Environment.
front_end_scale_factor (int) – Scale factor for front-ends.
api_management_account_id (str) – API Management Account associated with the App Service Environment.
suspended (bool) – <code>true</code> if the App Service Environment is suspended; otherwise, <code>false</code>. The environment can be suspended, e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic).
dynamic_cache_enabled (bool) – True/false indicating whether the App Service Environment is suspended. The environment can be suspended e.g. when the management endpoint is no longer available (most likely because NSG blocked the incoming traffic).
cluster_settings (list[NameValuePair]) – Custom settings for changing the behavior of the App Service Environment.
user_whitelisted_ip_ranges (list[str]) – User added ip ranges to whitelist on ASE db
- Variables
provisioning_state (str or ProvisioningState) – Provisioning state of the App Service Environment. Possible values include: ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘InProgress’, ‘Deleting’
status (str or HostingEnvironmentStatus) – Current status of the App Service Environment. Possible values include: ‘Preparing’, ‘Ready’, ‘Scaling’, ‘Deleting’
database_edition (str) – Edition of the metadata database for the App Service Environment, e.g. “Standard”.
database_service_objective (str) – Service objective of the metadata database for the App Service Environment, e.g. “S0”.
upgrade_domains (int) – Number of upgrade domains of the App Service Environment.
subscription_id (str) – Subscription of the App Service Environment.
last_action (str) – Last deployment action on the App Service Environment.
last_action_result (str) – Result of the last deployment action on the App Service Environment.
allowed_multi_sizes (str) – List of comma separated strings describing which VM sizes are allowed for front-ends.
allowed_worker_sizes (str) – List of comma separated strings describing which VM sizes are allowed for workers.
maximum_number_of_machines (int) – Maximum number of VMs in the App Service Environment.
vip_mappings (list[VirtualIPMapping]) – Description of IP SSL mapping for the App Service Environment.
environment_capacities (list[StampCapacity]) – Current total, used, and available worker capacities.
environment_is_healthy (bool) – True/false indicating whether the App Service Environment is healthy.
environment_status (str) – Detailed message about with results of the last check of the App Service Environment.
resource_group (str) – Resource group of the App Service Environment.
default_front_end_scale_factor (int) – Default Scale Factor for FrontEnds.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
name (str) – Resource Name.
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.
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.v2016_03_01.models.
AppServicePlanCollection
(*, value, next_link: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Collection of App Service plans.
All required parameters must be populated in order to send to Azure.
- Parameters
value (list[AppServicePlan]) – Required. Collection of resources.
next_link (str) – Link to next page of resources.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
requests (RequestsBasedTrigger) – A rule based on total requests.
private_bytes_in_kb (int) – A rule based on private bytes.
status_codes (list[StatusCodesBasedTrigger]) – A rule based on status codes.
slow_requests (SlowRequestsBasedTrigger) – A rule based on request execution time.
-
class
azure.mgmt.web.v2016_03_01.models.
BillingMeter
(*, kind: str = None, meter_id: str = None, billing_location: str = None, short_name: str = None, friendly_name: str = None, resource_type: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
meter_id (str) – Meter GUID onboarded in Commerce
billing_location (str) – Azure Location of billable resource
short_name (str) – Short Name from App Service Azure pricing Page
friendly_name (str) – Friendly name of the meter
resource_type (str) – App Service resource type meter used for
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
Certificate
(*, location: str, password: str, kind: str = None, tags=None, host_names=None, pfx_blob: bytearray = None, key_vault_id: str = None, key_vault_secret_name: str = None, server_farm_id: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.Resource
SSL certificate for an 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
name (str) – Resource Name.
friendly_name (str) – Friendly name of the certificate.
subject_name (str) – Subject name of the certificate.
site_name (str) – App name.
self_link (str) – Self link.
issuer (str) – Certificate issuer.
issue_date (datetime) – Certificate issue Date.
expiration_date (datetime) – Certificate expiration date.
thumbprint (str) – Certificate thumbprint.
valid (bool) – Is the certificate valid?.
cer_blob (bytearray) – Raw bytes of .cer file
public_key_hash (str) – Public key hash.
hosting_environment_profile (HostingEnvironmentProfile) – Specification for the App Service Environment to use for the certificate.
key_vault_secret_status (str or KeyVaultSecretStatus) – Status of the Key Vault secret. Possible values include: ‘Initialized’, ‘WaitingOnCertificateOrder’, ‘Succeeded’, ‘CertificateOrderFailed’, ‘OperationNotPermittedOnKeyVault’, ‘AzureServiceUnauthorizedToAccessKeyVault’, ‘KeyVaultDoesNotExist’, ‘KeyVaultSecretDoesNotExist’, ‘UnknownError’, ‘ExternalPrivateKey’, ‘Unknown’
geo_region (str) – Region of the certificate.
- Parameters
kind (str) – Kind of resource.
location (str) – Required. Resource Location.
host_names (list[str]) – Host names the certificate applies to.
pfx_blob (bytearray) – Pfx blob.
password (str) – Required. Certificate password.
key_vault_id (str) – Key Vault Csm resource Id.
key_vault_secret_name (str) – Key Vault secret name.
server_farm_id (str) – Resource ID of the associated App Service plan, formatted as: “/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”.
-
class
azure.mgmt.web.v2016_03_01.models.
CertificatePatchResource
(*, password: str, kind: str = None, host_names=None, pfx_blob: bytearray = None, key_vault_id: str = None, key_vault_secret_name: str = None, server_farm_id: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
ARM resource for a certificate.
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
name (str) – Resource Name.
friendly_name (str) – Friendly name of the certificate.
subject_name (str) – Subject name of the certificate.
site_name (str) – App name.
self_link (str) – Self link.
issuer (str) – Certificate issuer.
issue_date (datetime) – Certificate issue Date.
expiration_date (datetime) – Certificate expiration date.
thumbprint (str) – Certificate thumbprint.
valid (bool) – Is the certificate valid?.
cer_blob (bytearray) – Raw bytes of .cer file
public_key_hash (str) – Public key hash.
hosting_environment_profile (HostingEnvironmentProfile) – Specification for the App Service Environment to use for the certificate.
key_vault_secret_status (str or KeyVaultSecretStatus) – Status of the Key Vault secret. Possible values include: ‘Initialized’, ‘WaitingOnCertificateOrder’, ‘Succeeded’, ‘CertificateOrderFailed’, ‘OperationNotPermittedOnKeyVault’, ‘AzureServiceUnauthorizedToAccessKeyVault’, ‘KeyVaultDoesNotExist’, ‘KeyVaultSecretDoesNotExist’, ‘UnknownError’, ‘ExternalPrivateKey’, ‘Unknown’
geo_region (str) – Region of the certificate.
- Parameters
kind (str) – Kind of resource.
host_names (list[str]) – Host names the certificate applies to.
pfx_blob (bytearray) – Pfx blob.
password (str) – Required. Certificate password.
key_vault_id (str) – Key Vault Csm resource Id.
key_vault_secret_name (str) – Key Vault secret name.
server_farm_id (str) – Resource ID of the associated App Service plan, formatted as: “/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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.v2016_03_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.v2016_03_01.models.
CsmMoveResourceEnvelope
(*, target_resource_group: str = None, resources=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Object with a list of the resources that need to be moved and the resource group they should be moved to.
-
class
azure.mgmt.web.v2016_03_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
name (str) –
display (CsmOperationDisplay) –
origin (str) –
properties (CsmOperationDescriptionProperties) –
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
CsmUsageQuota
(*, unit: str = None, next_reset_time=None, current_value: int = None, limit: int = None, name=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Usage of the quota resource.
- Parameters
unit (str) – Units of measurement for the quota resource.
next_reset_time (datetime) – Next reset time for the resource counter.
current_value (long) – The current value of the resource counter.
limit (long) – The resource limit.
name (LocalizableString) – Quota name.
-
class
azure.mgmt.web.v2016_03_01.models.
CsmUsageQuotaCollection
(*, value, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Collection of CSM usage quotas.
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.
- Parameters
value (list[CsmUsageQuota]) – Required. Collection of resources.
- Variables
next_link (str) – Link to next page of resources.
-
class
azure.mgmt.web.v2016_03_01.models.
DataSource
(*, instructions=None, data_source_uri=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class representing data source used by the detectors.
- Parameters
instructions (list[str]) – Instructions if any for the data source
data_source_uri (list[NameValuePair]) – Datasource Uri Links
-
class
azure.mgmt.web.v2016_03_01.models.
DataTableResponseColumn
(*, column_name: str = None, data_type: str = None, column_type: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Column definition.
-
class
azure.mgmt.web.v2016_03_01.models.
DataTableResponseObject
(*, table_name: str = None, columns=None, rows=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Data Table which defines columns and raw row values.
-
class
azure.mgmt.web.v2016_03_01.models.
DefaultErrorResponse
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
App Service error response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
error (DefaultErrorResponseError) – Error model.
-
class
azure.mgmt.web.v2016_03_01.models.
DefaultErrorResponseError
(*, details=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
details (list[DefaultErrorResponseErrorDetailsItem]) –
-
class
azure.mgmt.web.v2016_03_01.models.
DefaultErrorResponseErrorDetailsItem
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Detailed errors.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
DeletedSite
(*, id: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A deleted app.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
id (int) – Numeric id for the deleted site
- Variables
-
class
azure.mgmt.web.v2016_03_01.models.
DeploymentLocations
(*, locations=None, hosting_environments=None, hosting_environment_deployment_infos=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
List of available locations (regions or App Service Environments) for deployment of App Service resources.
- Parameters
hosting_environments (list[AppServiceEnvironment]) – Available App Service Environments with full descriptions of the environments.
hosting_environment_deployment_infos (list[HostingEnvironmentDeploymentInfo]) – Available App Service Environments with basic information.
-
class
azure.mgmt.web.v2016_03_01.models.
DetectorAbnormalTimePeriod
(*, start_time=None, end_time=None, message: str = None, source: str = None, priority: float = None, meta_data=None, type=None, solutions=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class representing Abnormal Time Period detected.
- Parameters
start_time (datetime) – Start time of the correlated event
end_time (datetime) – End time of the correlated event
message (str) – Message describing the event
source (str) – Represents the name of the Detector
priority (float) – Represents the rank of the Detector
meta_data (list[list[NameValuePair]]) – Downtime metadata
type (str or IssueType) – Represents the type of the Detector. Possible values include: ‘ServiceIncident’, ‘AppDeployment’, ‘AppCrash’, ‘RuntimeIssueDetected’, ‘AseDeployment’, ‘UserIssue’, ‘PlatformIssue’, ‘Other’
-
class
azure.mgmt.web.v2016_03_01.models.
DetectorDefinition
(*, kind: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Class representing detector definition.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
-
class
azure.mgmt.web.v2016_03_01.models.
DetectorInfo
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Definition of Detector.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
DetectorResponse
(*, kind: str = None, metadata=None, dataset=None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Class representing Response from Detector.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
metadata (DetectorInfo) – metadata for the detector
dataset (list[DiagnosticData]) – Data Set
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticAnalysis
(*, kind: str = None, start_time=None, end_time=None, abnormal_time_periods=None, payload=None, non_correlated_detectors=None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Class representing a diagnostic analysis done on an application.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
start_time (datetime) – Start time of the period
end_time (datetime) – End time of the period
abnormal_time_periods (list[AbnormalTimePeriod]) – List of time periods.
payload (list[AnalysisData]) – Data by each detector
non_correlated_detectors (list[DetectorDefinition]) – Data by each detector for detectors that did not corelate
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticCategory
(*, kind: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Class representing detector definition.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticData
(*, table=None, rendering_properties=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Set of data with rendering instructions.
- Parameters
table (DataTableResponseObject) – Data in table form
rendering_properties (Rendering) – Properties that describe how the table should be rendered
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticDetectorResponse
(*, kind: str = None, start_time=None, end_time=None, issue_detected: bool = None, detector_definition=None, metrics=None, abnormal_time_periods=None, data=None, response_meta_data=None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Class representing Response from Diagnostic Detectors.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
start_time (datetime) – Start time of the period
end_time (datetime) – End time of the period
issue_detected (bool) – Flag representing Issue was detected.
detector_definition (DetectorDefinition) – Detector’s definition
metrics (list[DiagnosticMetricSet]) – Metrics provided by the detector
abnormal_time_periods (list[DetectorAbnormalTimePeriod]) – List of Correlated events found by the detector
data (list[list[NameValuePair]]) – Additional Data that detector wants to send.
response_meta_data (ResponseMetaData) – Meta Data
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticMetricSample
(*, timestamp=None, role_instance: str = None, total: float = None, maximum: float = None, minimum: float = None, is_aggregated: bool = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class representing Diagnostic Metric.
- Parameters
timestamp (datetime) – Time at which metric is measured
role_instance (str) – Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed…_IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis
total (float) – Total value of the metric. If multiple measurements are made this will have sum of all.
maximum (float) – Maximum of the metric sampled during the time period
minimum (float) – Minimum of the metric sampled during the time period
is_aggregated (bool) – Whether the values are aggregates across all workers or not
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticMetricSet
(*, name: str = None, unit: str = None, start_time=None, end_time=None, time_grain: str = None, values=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class representing Diagnostic Metric information.
- Parameters
name (str) – Name of the metric
unit (str) – Metric’s unit
start_time (datetime) – Start time of the period
end_time (datetime) – End time of the period
time_grain (str) – Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D
values (list[DiagnosticMetricSample]) – Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
ErrorEntity
(*, extended_code: str = None, message_template: str = None, parameters=None, inner_errors=None, code: str = None, message: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Body of the error response returned from the API.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_01.models.
GeoRegion
(*, kind: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Geographical region.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
GlobalCsmSkuDescription
(*, name: str = None, tier: str = None, size: str = None, family: str = None, capacity=None, locations=None, capabilities=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A Global SKU Description.
- 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 (SkuCapacity) – Min, max, and default scale values of the SKU.
capabilities (list[Capability]) – Capabilities of the SKU, e.g., is traffic manager enabled?
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
HostingEnvironmentDeploymentInfo
(*, name: str = None, location: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Information needed to create resources on an App Service Environment.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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.v2016_03_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
- 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.v2016_03_01.models.
HybridConnectionKey
(*, kind: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
Identifier
(*, kind: str = None, identifier_id: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
LocalizableString
(*, value: str = None, localized_value: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Localizable string object containing the name and a localized value.
-
class
azure.mgmt.web.v2016_03_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
-
class
azure.mgmt.web.v2016_03_01.models.
MetricAvailability
(*, time_grain: str = None, blob_duration: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Retention policy of a resource metric.
-
class
azure.mgmt.web.v2016_03_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) –
category (str) –
availabilities (list[MetricAvailability]) –
-
class
azure.mgmt.web.v2016_03_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.v2016_03_01.models.
NameValuePair
(*, name: str = None, value: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Name value pair.
-
class
azure.mgmt.web.v2016_03_01.models.
NetworkAccessControlEntry
(*, action=None, description: str = None, order: int = None, remote_subnet: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Network access control entry.
- Parameters
action (str or AccessControlEntryAction) – Action object. Possible values include: ‘Permit’, ‘Deny’
description (str) – Description of network access control entry.
order (int) – Order of precedence.
remote_subnet (str) – Remote subnet.
-
class
azure.mgmt.web.v2016_03_01.models.
Operation
(*, id: str = None, name: str = None, status=None, errors=None, created_time=None, modified_time=None, expiration_time=None, geo_master_operation_id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An operation on a resource.
- Parameters
id (str) – Operation ID.
name (str) – Operation name.
status (str or OperationStatus) – The current status of the operation. Possible values include: ‘InProgress’, ‘Failed’, ‘Succeeded’, ‘TimedOut’, ‘Created’
errors (list[ErrorEntity]) – Any errors associate with the operation.
created_time (datetime) – Time when operation has started.
modified_time (datetime) – Time when operation has been updated.
expiration_time (datetime) – Time when operation will expire.
geo_master_operation_id (str) – Applicable only for stamp operation ids.
-
class
azure.mgmt.web.v2016_03_01.models.
PremierAddOnOffer
(*, kind: str = None, sku: str = None, product: str = None, vendor: str = None, premier_add_on_offer_name: str = None, promo_code_required: bool = None, quota: int = None, web_hosting_plan_restrictions=None, privacy_policy_url: str = None, legal_terms_url: str = None, marketplace_publisher: str = None, marketplace_offer: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Premier add-on offer.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
sku (str) – Premier add on SKU.
product (str) – Premier add on offer Product.
vendor (str) – Premier add on offer Vendor.
premier_add_on_offer_name (str) – Premier add on offer Name.
promo_code_required (bool) – <code>true</code> if promotion code is required; otherwise, <code>false</code>.
quota (int) – Premier add on offer Quota.
web_hosting_plan_restrictions (str or AppServicePlanRestrictions) – App Service plans this offer is restricted to. Possible values include: ‘None’, ‘Free’, ‘Shared’, ‘Basic’, ‘Standard’, ‘Premium’
privacy_policy_url (str) – Privacy policy URL.
legal_terms_url (str) – Legal terms URL.
marketplace_publisher (str) – Marketplace publisher.
marketplace_offer (str) – Marketplace offer.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
- 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.v2016_03_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.v2016_03_01.models.
Recommendation
(*, kind: str = None, creation_time=None, recommendation_id: str = None, resource_id: str = None, resource_scope=None, rule_name: str = None, display_name: str = None, message: str = None, level=None, channels=None, tags=None, action_name: str = None, start_time=None, end_time=None, next_notification_time=None, notification_expiration_time=None, notified_time=None, score: float = None, is_dynamic: bool = None, extension_name: str = None, blade_name: str = None, forward_link: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Represents a recommendation result generated by the recommendation engine.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
creation_time (datetime) – Timestamp when this instance was created.
recommendation_id (str) – A GUID value that each recommendation object is associated with.
resource_id (str) – Full ARM resource ID string that this recommendation object is associated with.
resource_scope (str or ResourceScopeType) – Name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: ‘ServerFarm’, ‘Subscription’, ‘WebSite’
rule_name (str) – Unique name of the rule.
display_name (str) – UI friendly name of the rule (may not be unique).
message (str) – Recommendation text.
level (str or NotificationLevel) – Level indicating how critical this recommendation can impact. Possible values include: ‘Critical’, ‘Warning’, ‘Information’, ‘NonUrgentSuggestion’
channels (str or Channels) – List of channels that this recommendation can apply. Possible values include: ‘Notification’, ‘Api’, ‘Email’, ‘Webhook’, ‘All’
tags (list[str]) – The list of category tags that this recommendation belongs to.
action_name (str) – Name of action recommended by this object.
start_time (datetime) – The beginning time in UTC of a range that the recommendation refers to.
end_time (datetime) – The end time in UTC of a range that the recommendation refers to.
next_notification_time (datetime) – When to notify this recommendation next in UTC. Null means that this will never be notified anymore.
notification_expiration_time (datetime) – Date and time in UTC when this notification expires.
notified_time (datetime) – Last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn’t been notified yet.
score (float) – A metric value measured by the rule.
is_dynamic (bool) – True if this is associated with a dynamically added rule
extension_name (str) – Extension name of the portal if exists.
blade_name (str) – Deep link to a blade on the portal.
forward_link (str) – Forward link to an external document associated with the rule.
-
class
azure.mgmt.web.v2016_03_01.models.
RecommendationRule
(*, kind: str = None, recommendation_rule_name: str = None, display_name: str = None, message: str = None, recommendation_id: str = None, description: str = None, action_name: str = None, level=None, channels=None, tags=None, is_dynamic: bool = None, extension_name: str = None, blade_name: str = None, forward_link: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Represents a recommendation rule that the recommendation engine can perform.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
kind (str) – Kind of resource.
recommendation_rule_name (str) – Unique name of the rule.
display_name (str) – UI friendly name of the rule.
message (str) – Localized name of the rule (Good for UI).
recommendation_id (str) – Recommendation ID of an associated recommendation object tied to the rule, if exists. If such an object doesn’t exist, it is set to null.
description (str) – Localized detailed description of the rule.
action_name (str) – Name of action that is recommended by this rule in string.
level (str or NotificationLevel) – Level of impact indicating how critical this rule is. Possible values include: ‘Critical’, ‘Warning’, ‘Information’, ‘NonUrgentSuggestion’
channels (str or Channels) – List of available channels that this rule applies. Possible values include: ‘Notification’, ‘Api’, ‘Email’, ‘Webhook’, ‘All’
tags (list[str]) – An array of category tags that the rule contains.
is_dynamic (bool) – True if this is associated with a dynamically added rule
extension_name (str) – Extension name of the portal if exists. Applicable to dynamic rule only.
blade_name (str) – Deep link to a blade on the portal. Applicable to dynamic rule only.
forward_link (str) – Forward link to an external document associated with the rule. Applicable to dynamic rule only.
-
class
azure.mgmt.web.v2016_03_01.models.
Rendering
(*, rendering_type=None, title: str = None, description: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Instructions for rendering the data.
- Parameters
rendering_type (str or RenderingType) – Rendering Type. Possible values include: ‘NoGraph’, ‘Table’, ‘TimeSeries’, ‘TimeSeriesPerInstance’
title (str) – Title of data
description (str) – Description of the data that will help it be interpreted
-
class
azure.mgmt.web.v2016_03_01.models.
RequestsBasedTrigger
(*, count: int = None, time_interval: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Trigger based on total requests.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceHealthMetadata
(*, kind: str = None, category: str = None, signal_availability: bool = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
Used for getting ResourceHealthCheck settings.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceMetric
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Object representing a metric for any resource .
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (ResourceMetricName) – Name of metric.
unit (str) – Metric unit.
time_grain (str) – Metric granularity. E.g PT1H, PT5M, P1D
start_time (datetime) – Metric start time.
end_time (datetime) – Metric end time.
resource_id (str) – Metric resource Id.
metric_values (list[ResourceMetricValue]) – Metric values.
properties (list[ResourceMetricProperty]) – Resource metric properties collection.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceMetricCollection
(*, value, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Collection of metric responses.
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.
- Parameters
value (list[ResourceMetric]) – Required. Collection of resources.
- Variables
next_link (str) – Link to next page of resources.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceMetricDefinition
(*, kind: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_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
name (str) – Resource Name.
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.v2016_03_01.models.
ResourceMetricDefinitionCollection
(*, value, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Collection of metric definitions.
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.
- Parameters
value (list[ResourceMetricDefinition]) – Required. Collection of resources.
- Variables
next_link (str) – Link to next page of resources.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceMetricProperty
(*, key: str = None, value: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource metric property.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceMetricValue
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Value of resource metric.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceNameAvailability
(*, name_available: bool = None, reason=None, message: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Information regarding availability of a resource name.
- Parameters
name_available (bool) – <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.
reason (str or InAvailabilityReasonType) – <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: ‘Invalid’, ‘AlreadyExists’
message (str) – If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceNameAvailabilityRequest
(*, name: str, type, is_fqdn: bool = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource name availability request content.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. Resource name to verify.
type (str or CheckNameResourceTypes) – Required. Resource type used for verification. Possible values include: ‘Site’, ‘Slot’, ‘HostingEnvironment’, ‘PublishingUser’, ‘Microsoft.Web/sites’, ‘Microsoft.Web/sites/slots’, ‘Microsoft.Web/hostingEnvironments’, ‘Microsoft.Web/publishingUsers’
is_fqdn (bool) – Is fully qualified domain name.
-
class
azure.mgmt.web.v2016_03_01.models.
ResponseMetaData
(*, data_source=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
ResponseMetaData.
- Parameters
data_source (DataSource) – Source of the Data
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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.v2016_03_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
name (str) – Resource Name.
state (str) – Current state of 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.
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.v2016_03_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.
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.v2016_03_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.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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
-
class
azure.mgmt.web.v2016_03_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.
capabilities (list[Capability]) – Capabilities of the SKU, e.g., is traffic manager enabled?
-
class
azure.mgmt.web.v2016_03_01.models.
SkuInfos
(*, resource_type: str = None, skus=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Collection of SKU information.
- Parameters
resource_type (str) – Resource type that this SKU applies to.
skus (list[GlobalCsmSkuDescription]) – List of SKUs the subscription is able to use.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
- 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.v2016_03_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.v2016_03_01.models.
Solution
(*, id: float = None, display_name: str = None, order: float = None, description: str = None, type=None, data=None, metadata=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Class Representing Solution for problems detected.
- Parameters
id (float) – Solution Id.
display_name (str) – Display Name of the solution
order (float) – Order of the solution.
description (str) – Description of the solution
type (str or SolutionType) – Type of Solution. Possible values include: ‘QuickSolution’, ‘DeepInvestigation’, ‘BestPractices’
data (list[list[NameValuePair]]) – Solution Data.
metadata (list[list[NameValuePair]]) – Solution Metadata.
-
class
azure.mgmt.web.v2016_03_01.models.
SourceControl
(*, kind: str = None, source_control_name: str = None, token: str = None, token_secret: str = None, refresh_token: str = None, expiration_time=None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
The source control OAuth token.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
-
class
azure.mgmt.web.v2016_03_01.models.
StackMajorVersion
(*, display_version: str = None, runtime_version: str = None, is_default: bool = None, minor_versions=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Application stack major version.
- Parameters
display_version (str) – Application stack major version (display only).
runtime_version (str) – Application stack major version (runtime only).
is_default (bool) – <code>true</code> if this is the default major version; otherwise, <code>false</code>.
minor_versions (list[StackMinorVersion]) – Minor versions associated with the major version.
-
class
azure.mgmt.web.v2016_03_01.models.
StackMinorVersion
(*, display_version: str = None, runtime_version: str = None, is_default: bool = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Application stack minor version.
-
class
azure.mgmt.web.v2016_03_01.models.
StampCapacity
(*, name: str = None, available_capacity: int = None, total_capacity: int = None, unit: str = None, compute_mode=None, worker_size=None, worker_size_id: int = None, exclude_from_capacity_allocation: bool = None, is_applicable_for_all_compute_modes: bool = None, site_mode: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Stamp capacity information.
- Parameters
name (str) – Name of the stamp.
available_capacity (long) – Available capacity (# of machines, bytes of storage etc…).
total_capacity (long) – Total capacity (# of machines, bytes of storage etc…).
unit (str) – Name of the unit.
compute_mode (str or ComputeModeOptions) – Shared/dedicated workers. Possible values include: ‘Shared’, ‘Dedicated’, ‘Dynamic’
worker_size (str or WorkerSizeOptions) – Size of the machines. Possible values include: ‘Default’, ‘Small’, ‘Medium’, ‘Large’, ‘D1’, ‘D2’, ‘D3’
worker_size_id (int) – Size ID of machines: 0 - Small 1 - Medium 2 - Large
exclude_from_capacity_allocation (bool) – If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.
is_applicable_for_all_compute_modes (bool) – <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.
site_mode (str) – Shared or Dedicated.
-
class
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
- 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.v2016_03_01.models.
ValidateRequest
(*, name: str, type, location: str, server_farm_id: str = None, sku_name: str = None, need_linux_workers: bool = None, is_spot: bool = None, capacity: int = None, hosting_environment: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource validation request content.
All required parameters must be populated in order to send to Azure.
- Parameters
name (str) – Required. Resource name to verify.
type (str or ValidateResourceTypes) – Required. Resource type used for verification. Possible values include: ‘ServerFarm’, ‘Site’
location (str) – Required. Expected location of the resource.
server_farm_id (str) – ARM resource ID of an App Service plan that would host the app.
sku_name (str) – Name of the target SKU for the App Service plan.
need_linux_workers (bool) – <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>.
is_spot (bool) – <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>.
capacity (int) – Target capacity of the App Service plan (number of VMs).
hosting_environment (str) – Name of App Service Environment where app or App Service plan should be created.
-
class
azure.mgmt.web.v2016_03_01.models.
ValidateResponse
(*, status: str = None, error=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Describes the result of resource validation.
- Parameters
status (str) – Result of validation.
error (ValidateResponseError) – Error details for the case when validation fails.
-
class
azure.mgmt.web.v2016_03_01.models.
ValidateResponseError
(*, code: str = None, message: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Error details for when validation fails.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_01.models.
VirtualDirectory
(*, virtual_path: str = None, physical_path: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Directory for virtual application.
-
class
azure.mgmt.web.v2016_03_01.models.
VirtualIPMapping
(*, virtual_ip: str = None, internal_http_port: int = None, internal_https_port: int = None, in_use: bool = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Virtual IP mapping.
-
class
azure.mgmt.web.v2016_03_01.models.
VirtualNetworkProfile
(*, id: str = None, subnet: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Specification for using a Virtual Network.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
VnetGateway
(*, vpn_package_uri: str, kind: str = None, vnet_name: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_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.
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
- 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.v2016_03_01.models.
VnetParameters
(*, kind: str = None, vnet_resource_group: str = None, vnet_name: str = None, vnet_subnet_name: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
The required set of inputs to validate a VNET.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- Parameters
-
class
azure.mgmt.web.v2016_03_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.v2016_03_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
- 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.v2016_03_01.models.
VnetValidationFailureDetails
(*, kind: str = None, failed: bool = None, failed_tests=None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
A class that describes the reason for a validation failure.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
VnetValidationTestFailure
(*, kind: str = None, test_name: str = None, details: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.web.v2016_03_01.models._models_py3.ProxyOnlyResource
A class that describes a test that failed during NSG and UDR validation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.web.v2016_03_01.models.
WebAppCollection
(*, value, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Collection of App Service apps.
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.
-
class
azure.mgmt.web.v2016_03_01.models.
WorkerPool
(*, worker_size_id: int = None, compute_mode=None, worker_size: str = None, worker_count: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Worker pool of an App Service Environment.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
worker_size_id (int) – Worker size ID for referencing this worker pool.
compute_mode (str or ComputeModeOptions) – Shared or dedicated app hosting. Possible values include: ‘Shared’, ‘Dedicated’, ‘Dynamic’
worker_size (str) – VM size of the worker pool instances.
worker_count (int) – Number of instances in the worker pool.
- Variables
instance_names (list[str]) – Names of all instances in the worker pool (read only).
-
class
azure.mgmt.web.v2016_03_01.models.
CertificatePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Certificate
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
DeletedSitePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
DeletedSite
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
DetectorResponsePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
DetectorResponse
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
DiagnosticCategoryPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
DiagnosticCategory
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
AnalysisDefinitionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
AnalysisDefinition
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
DetectorDefinitionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
DetectorDefinition
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
ApplicationStackPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
ApplicationStack
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
CsmOperationDescriptionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
CsmOperationDescription
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
RecommendationPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Recommendation
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceHealthMetadataPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
ResourceHealthMetadata
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
SourceControlPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
SourceControl
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
GeoRegionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
GeoRegion
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
IdentifierPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Identifier
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
PremierAddOnOfferPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PremierAddOnOffer
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
BillingMeterPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
BillingMeter
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.web.v2016_03_01.models.
KeyVaultSecretStatus
[source]¶ -
An enumeration.
-
certificate_order_failed
= 'CertificateOrderFailed'¶
-
external_private_key
= 'ExternalPrivateKey'¶
-
initialized
= 'Initialized'¶
-
key_vault_does_not_exist
= 'KeyVaultDoesNotExist'¶
-
key_vault_secret_does_not_exist
= 'KeyVaultSecretDoesNotExist'¶
-
operation_not_permitted_on_key_vault
= 'OperationNotPermittedOnKeyVault'¶
-
succeeded
= 'Succeeded'¶
-
unknown
= 'Unknown'¶
-
unknown_error
= 'UnknownError'¶
-
waiting_on_certificate_order
= 'WaitingOnCertificateOrder'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
RouteType
[source]¶ -
An enumeration.
-
default
= 'DEFAULT'¶
-
inherited
= 'INHERITED'¶
-
static
= 'STATIC'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
ManagedServiceIdentityType
[source]¶ -
An enumeration.
-
system_assigned
= 'SystemAssigned'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
AutoHealActionType
[source]¶ -
An enumeration.
-
custom_action
= 'CustomAction'¶
-
log_event
= 'LogEvent'¶
-
recycle
= 'Recycle'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
ConnectionStringType
[source]¶ -
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.v2016_03_01.models.
ScmType
[source]¶ -
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.v2016_03_01.models.
ManagedPipelineMode
[source]¶ -
An enumeration.
-
classic
= 'Classic'¶
-
integrated
= 'Integrated'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
SiteLoadBalancing
[source]¶ -
An enumeration.
-
least_requests
= 'LeastRequests'¶
-
least_response_time
= 'LeastResponseTime'¶
-
request_hash
= 'RequestHash'¶
-
weighted_round_robin
= 'WeightedRoundRobin'¶
-
weighted_total_traffic
= 'WeightedTotalTraffic'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
SupportedTlsVersions
[source]¶ -
An enumeration.
-
one_full_stop_one
= '1.1'¶
-
one_full_stop_two
= '1.2'¶
-
one_full_stop_zero
= '1.0'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
SslState
[source]¶ -
An enumeration.
-
disabled
= 'Disabled'¶
-
ip_based_enabled
= 'IpBasedEnabled'¶
-
sni_enabled
= 'SniEnabled'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
HostType
[source]¶ -
An enumeration.
-
repository
= 'Repository'¶
-
standard
= 'Standard'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
UsageState
[source]¶ -
An enumeration.
-
exceeded
= 'Exceeded'¶
-
normal
= 'Normal'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
SiteAvailabilityState
[source]¶ -
An enumeration.
-
disaster_recovery_mode
= 'DisasterRecoveryMode'¶
-
limited
= 'Limited'¶
-
normal
= 'Normal'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
StatusOptions
[source]¶ -
An enumeration.
-
creating
= 'Creating'¶
-
pending
= 'Pending'¶
-
ready
= 'Ready'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
ProvisioningState
[source]¶ -
An enumeration.
-
canceled
= 'Canceled'¶
-
deleting
= 'Deleting'¶
-
failed
= 'Failed'¶
-
in_progress
= 'InProgress'¶
-
succeeded
= 'Succeeded'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
HostingEnvironmentStatus
[source]¶ -
An enumeration.
-
deleting
= 'Deleting'¶
-
preparing
= 'Preparing'¶
-
ready
= 'Ready'¶
-
scaling
= 'Scaling'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
InternalLoadBalancingMode
[source]¶ -
An enumeration.
-
none
= 'None'¶
-
publishing
= 'Publishing'¶
-
web
= 'Web'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
ComputeModeOptions
[source]¶ -
An enumeration.
-
dedicated
= 'Dedicated'¶
-
dynamic
= 'Dynamic'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
WorkerSizeOptions
[source]¶ -
An enumeration.
-
d1
= 'D1'¶
-
d2
= 'D2'¶
-
d3
= 'D3'¶
-
default
= 'Default'¶
-
large
= 'Large'¶
-
medium
= 'Medium'¶
-
small
= 'Small'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
AccessControlEntryAction
[source]¶ -
An enumeration.
-
deny
= 'Deny'¶
-
permit
= 'Permit'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
OperationStatus
[source]¶ -
An enumeration.
-
created
= 'Created'¶
-
failed
= 'Failed'¶
-
in_progress
= 'InProgress'¶
-
succeeded
= 'Succeeded'¶
-
timed_out
= 'TimedOut'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
IssueType
[source]¶ -
An enumeration.
-
app_crash
= 'AppCrash'¶
-
app_deployment
= 'AppDeployment'¶
-
ase_deployment
= 'AseDeployment'¶
-
other
= 'Other'¶
-
platform_issue
= 'PlatformIssue'¶
-
runtime_issue_detected
= 'RuntimeIssueDetected'¶
-
service_incident
= 'ServiceIncident'¶
-
user_issue
= 'UserIssue'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
SolutionType
[source]¶ -
An enumeration.
-
best_practices
= 'BestPractices'¶
-
deep_investigation
= 'DeepInvestigation'¶
-
quick_solution
= 'QuickSolution'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
RenderingType
[source]¶ -
An enumeration.
-
no_graph
= 'NoGraph'¶
-
table
= 'Table'¶
-
time_series
= 'TimeSeries'¶
-
time_series_per_instance
= 'TimeSeriesPerInstance'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
ResourceScopeType
[source]¶ -
An enumeration.
-
server_farm
= 'ServerFarm'¶
-
subscription
= 'Subscription'¶
-
web_site
= 'WebSite'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
NotificationLevel
[source]¶ -
An enumeration.
-
critical
= 'Critical'¶
-
information
= 'Information'¶
-
non_urgent_suggestion
= 'NonUrgentSuggestion'¶
-
warning
= 'Warning'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
Channels
[source]¶ -
An enumeration.
-
all
= 'All'¶
-
api
= 'Api'¶
-
email
= 'Email'¶
-
notification
= 'Notification'¶
-
webhook
= 'Webhook'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
AppServicePlanRestrictions
[source]¶ -
An enumeration.
-
basic
= 'Basic'¶
-
free
= 'Free'¶
-
none
= 'None'¶
-
standard
= 'Standard'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
InAvailabilityReasonType
[source]¶ -
An enumeration.
-
already_exists
= 'AlreadyExists'¶
-
invalid
= 'Invalid'¶
-
-
class
azure.mgmt.web.v2016_03_01.models.
CheckNameResourceTypes
[source]¶ -
An enumeration.
-
hosting_environment
= 'HostingEnvironment'¶
-
microsoft_webhosting_environments
= 'Microsoft.Web/hostingEnvironments'¶
-
microsoft_webpublishing_users
= 'Microsoft.Web/publishingUsers'¶
-
microsoft_websites
= 'Microsoft.Web/sites'¶
-
microsoft_websitesslots
= 'Microsoft.Web/sites/slots'¶
-
publishing_user
= 'PublishingUser'¶
-
site
= 'Site'¶
-
slot
= 'Slot'¶
-