Skip to main content

Microsoft Azure Frontdoor Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Front Door Service Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-frontdoor
pip install azure-identity

Authentication

By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.frontdoor import FrontDoorManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = FrontDoorManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

2.0.0 (2026-06-30)

Features Added

  • Client FrontDoorManagementClient added parameter cloud_setting in method __init__
  • Client FrontDoorManagementClient added method send_request
  • Enum ActionType added member CAPTCHA
  • Model ManagedRuleDefinition added property default_sensitivity
  • Model ManagedRuleOverride added property sensitivity
  • Enum Operator added member SERVICE_TAG_MATCH
  • Model PolicySettings added property captcha_expiration_in_minutes
  • Added model BasicResource
  • Added model BasicResourceWithSettableIDName
  • Added model ResourcewithSettableName
  • Added enum SensitivityType

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
  • For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
  • Model BackendPool moved instance variable backends, load_balancing_settings, health_probe_settings and resource_state under property properties whose type is BackendPoolProperties
  • Model CustomHttpsConfiguration moved instance variable certificate_type under property front_door_certificate_source_parameters whose type is FrontDoorCertificateSourceParameters
  • Model CustomHttpsConfiguration moved instance variable vault, secret_name and secret_version under property key_vault_certificate_source_parameters whose type is KeyVaultCertificateSourceParameters
  • Model Experiment moved instance variable description, endpoint_a, endpoint_b, enabled_state, resource_state, status and script_file_uri under property properties whose type is ExperimentProperties
  • Model ExperimentUpdateModel moved instance variable description and enabled_state under property properties whose type is ExperimentUpdateProperties
  • Model FrontDoor moved instance variable friendly_name, routing_rules, load_balancing_settings, health_probe_settings, backend_pools, frontend_endpoints, backend_pools_settings, enabled_state, resource_state, provisioning_state, cname, frontdoor_id, rules_engines and extended_properties under property properties whose type is FrontDoorProperties
  • Model FrontendEndpoint moved instance variable host_name, session_affinity_enabled_state, session_affinity_ttl_seconds, web_application_firewall_policy_link, resource_state, custom_https_provisioning_state, custom_https_provisioning_substate and custom_https_configuration under property properties whose type is FrontendEndpointProperties
  • Model HealthProbeSettingsModel moved instance variable path, protocol, interval_in_seconds, health_probe_method, enabled_state and resource_state under property properties whose type is HealthProbeSettingsProperties
  • Model LatencyScorecard moved instance variable id_properties_id, name_properties_name, description, endpoint_a, endpoint_b, start_date_time_utc, end_date_time_utc, country and latency_metrics under property properties whose type is LatencyScorecardProperties
  • Model LoadBalancingSettingsModel moved instance variable sample_size, successful_samples_required, additional_latency_milliseconds and resource_state under property properties whose type is LoadBalancingSettingsProperties
  • Model ManagedRuleSetDefinition moved instance variable provisioning_state, rule_set_id, rule_set_type, rule_set_version and rule_groups under property properties whose type is ManagedRuleSetDefinitionProperties
  • Model PolicySettings moved instance variable state and scrubbing_rules under property log_scrubbing whose type is PolicySettingsLogScrubbing
  • Model PreconfiguredEndpoint moved instance variable description, endpoint, endpoint_type and backend under property properties whose type is PreconfiguredEndpointProperties
  • Model Profile moved instance variable resource_state and enabled_state under property properties whose type is ProfileProperties
  • Model ProfileUpdateModel moved instance variable enabled_state under property properties whose type is ProfileUpdateProperties
  • Model RoutingRule moved instance variable frontend_endpoints, accepted_protocols, patterns_to_match, enabled_state, route_configuration, rules_engine, web_application_firewall_policy_link and resource_state under property properties whose type is RoutingRuleProperties
  • Model RulesEngine moved instance variable rules and resource_state under property properties whose type is RulesEngineProperties
  • Model Timeseries moved instance variable endpoint, start_date_time_utc, end_date_time_utc, aggregation_interval, timeseries_type, country and timeseries_data under property properties whose type is TimeseriesProperties
  • Model WebApplicationFirewallPolicy moved instance variable policy_settings, custom_rules, managed_rules, frontend_endpoint_links, routing_rule_links, security_policy_links, provisioning_state and resource_state under property properties whose type is WebApplicationFirewallPolicyProperties
  • Method ReportsOperations.get_latency_scorecards changed its parameter aggregation_interval/end_date_time_utc/country from positional_or_keyword to keyword_only
  • Method ReportsOperations.get_timeseries changed its parameter start_date_time_utc/end_date_time_utc/aggregation_interval/timeseries_type/endpoint/country from positional_or_keyword to keyword_only

Other Changes

  • Deleted model AzureAsyncOperationResult/BackendPoolListResult/Error/ErrorDetails/ExperimentList/FrontDoorListResult/FrontendEndpointsListResult/HealthProbeSettingsListResult/LoadBalancingSettingsListResult/ManagedRuleSetDefinitionList/PreconfiguredEndpointList/ProfileList/RoutingRuleListResult/RulesEngineListResult/WebApplicationFirewallPolicyList which actually were not used by SDK users
  • Deleted enum NetworkOperationStatus which actually were not used by SDK users

2.0.0b1 (2026-03-24)

Features Added

  • Model FrontDoorManagementClient added parameter cloud_setting in method __init__
  • Client FrontDoorManagementClient added method send_request
  • Enum ActionType added member CAPTCHA
  • Model CustomHttpsConfiguration added property key_vault_certificate_source_parameters
  • Model CustomHttpsConfiguration added property front_door_certificate_source_parameters
  • Model ManagedRuleDefinition added property default_sensitivity
  • Model ManagedRuleOverride added property sensitivity
  • Enum Operator added member SERVICE_TAG_MATCH
  • Model PolicySettings added property captcha_expiration_in_minutes
  • Model PolicySettings added property log_scrubbing
  • Added model BasicResource
  • Added model BasicResourceWithSettableIDName
  • Added model ExperimentUpdateProperties
  • Added model FrontDoorCertificateSourceParameters
  • Added model KeyVaultCertificateSourceParameters
  • Added model PolicySettingsLogScrubbing
  • Added model ProfileUpdateProperties
  • Added model ResourcewithSettableName
  • Added enum SensitivityType

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
  • For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
  • Model BackendPool moved instance variable backends, load_balancing_settings, health_probe_settings and resource_state under property properties
  • Model CustomHttpsConfiguration moved instance variable certificate_type under property front_door_certificate_source_parameters
  • Model CustomHttpsConfiguration moved instance variable vault, secret_name and secret_version under property key_vault_certificate_source_parameters
  • Model ExperimentUpdateModel moved instance variable description and enabled_state under property properties
  • Model FrontDoor moved instance variable friendly_name, routing_rules, load_balancing_settings, health_probe_settings, backend_pools, frontend_endpoints, backend_pools_settings, enabled_state, resource_state, provisioning_state, cname, frontdoor_id, rules_engines and extended_properties under property properties
  • Model FrontendEndpoint moved instance variable host_name, session_affinity_enabled_state, session_affinity_ttl_seconds, web_application_firewall_policy_link, resource_state, custom_https_provisioning_state, custom_https_provisioning_substate and custom_https_configuration under property properties
  • Model HealthProbeSettingsModel moved instance variable path, protocol, interval_in_seconds, health_probe_method, enabled_state and resource_state under property properties
  • Model LoadBalancingSettingsModel moved instance variable sample_size, successful_samples_required, additional_latency_milliseconds and resource_state under property properties
  • Model PolicySettings moved instance variable state and scrubbing_rules under property log_scrubbing
  • Model ProfileUpdateModel moved instance variable enabled_state under property properties
  • Model RoutingRule moved instance variable frontend_endpoints, accepted_protocols, patterns_to_match, enabled_state, route_configuration, rules_engine, web_application_firewall_policy_link and resource_state under property properties
  • Model RulesEngine moved instance variable rules and resource_state under property properties
  • Deleted or renamed model AzureAsyncOperationResult
  • Deleted or renamed model Error
  • Deleted or renamed model ErrorDetails
  • Deleted or renamed model NetworkOperationStatus
  • Method ReportsOperations.get_latency_scorecards changed its parameter aggregation_interval/end_date_time_utc/country from positional_or_keyword to keyword_only
  • Method ReportsOperations.get_timeseries changed its parameter start_date_time_utc/end_date_time_utc/aggregation_interval/timeseries_type/endpoint/country from positional_or_keyword to keyword_only

Other Changes

  • Deleted model ExperimentList/ManagedRuleSetDefinitionList/PreconfiguredEndpointList/ProfileList/WebApplicationFirewallPolicyList which actually were not used by SDK users

1.2.0 (2024-04-15)

Features Added

  • Model CustomRule has a new parameter group_by
  • Model PolicySettings has a new parameter javascript_challenge_expiration_in_minutes
  • Model PolicySettings has a new parameter scrubbing_rules
  • Model PolicySettings has a new parameter state

1.1.0 (2023-05-19)

Features Added

  • Added operation PoliciesOperations.begin_update
  • Added operation PoliciesOperations.list_by_subscription
  • Model FrontDoor has a new parameter extended_properties
  • Model FrontDoorProperties has a new parameter extended_properties

1.1.0b1 (2022-11-22)

Features Added

  • Added operation PoliciesOperations.begin_update
  • Model FrontDoor has a new parameter extended_properties
  • Model FrontDoorProperties has a new parameter extended_properties

1.0.1 (2022-03-29)

Fixes

  • Fix duplicated description in annotation

1.0.0 (2021-03-26)

  • GA release

1.0.0b1 (2021-02-09)

This is beta preview version. For detailed changelog please refer to equivalent stable version 10.2.0 (https://pypi.org/project/azure-mgmt-network/10.2.0/)

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

General breaking changes

  • Credential system has been completly revamped:

    • azure.common.credentials or msrestazure.azure_active_directory instances are no longer supported, use the azure-identity classes instead: https://pypi.org/project/azure-identity/
    • credentials parameter has been renamed credential
  • The config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of supported options, see the parameters accept in init documentation of azure-core

  • You can't import a version module anymore, use __version__ instead

  • Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.

  • Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).

  • Most of the operation kwarg have changed. Some of the most noticeable:

General new features

  • Type annotations support using typing. SDKs are mypy ready.
  • This client has now stable and official support for async. Check the aio namespace of your package to find the async client.
  • This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.

0.3.0 (2019-10-11)

  • Fixed new network experiment SDK structure

0.2.0 (2019-10-09)

Features

  • Model RoutingRule has a new parameter route_configuration
  • Model PolicySettings has a new parameter redirect_url
  • Model PolicySettings has a new parameter custom_block_response_body
  • Model PolicySettings has a new parameter custom_block_response_status_code
  • Model HealthProbeSettingsModel has a new parameter enabled_state
  • Model HealthProbeSettingsModel has a new parameter health_probe_method
  • Model HealthProbeSettingsUpdateParameters has a new parameter enabled_state
  • Model HealthProbeSettingsUpdateParameters has a new parameter health_probe_method
  • Model FrontDoorUpdateParameters has a new parameter backend_pools_settings
  • Model CustomRule has a new parameter enabled_state
  • Model FrontDoor has a new parameter backend_pools_settings
  • Model RoutingRuleUpdateParameters has a new parameter route_configuration
  • Added operation group ProfilesOperations
  • Added operation group ExperimentsOperations
  • Added operation group PreconfiguredEndpointsOperations
  • Added operation group ManagedRuleSetsOperations
  • Added operation group FrontDoorManagementClientOperationsMixin

Breaking changes

  • Parameter certificate_source of model CustomHttpsConfiguration is now required
  • Parameter protocol_type of model CustomHttpsConfiguration is now required
  • Model RoutingRule no longer has parameter custom_forwarding_path
  • Model RoutingRule no longer has parameter forwarding_protocol
  • Model RoutingRule no longer has parameter cache_configuration
  • Model RoutingRule no longer has parameter backend_pool
  • Model CustomRule no longer has parameter etag
  • Model CustomRule no longer has parameter transforms
  • Model CustomHttpsConfiguration has a new required parameter minimum_tls_version
  • Model RoutingRuleUpdateParameters no longer has parameter custom_forwarding_path
  • Model RoutingRuleUpdateParameters no longer has parameter forwarding_protocol
  • Model RoutingRuleUpdateParameters no longer has parameter cache_configuration
  • Model RoutingRuleUpdateParameters no longer has parameter backend_pool
  • Removed operation FrontendEndpointsOperations.delete
  • Removed operation FrontendEndpointsOperations.create_or_update
  • Model ManagedRuleSet has a new signature
  • Removed operation group LoadBalancingSettingsOperations
  • Removed operation group RoutingRulesOperations
  • Removed operation group HealthProbeSettingsOperations
  • Removed operation group BackendPoolsOperations

0.1.0 (2019-03-11)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_frontdoor-2.0.0.tar.gz (119.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_frontdoor-2.0.0-py3-none-any.whl (114.8 kB view details)

Uploaded Python 3

File details

Details for the file azure_mgmt_frontdoor-2.0.0.tar.gz.

File metadata

  • Download URL: azure_mgmt_frontdoor-2.0.0.tar.gz
  • Upload date:
  • Size: 119.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for azure_mgmt_frontdoor-2.0.0.tar.gz
Algorithm Hash digest
SHA256 62c601df7281f84a48bcab400d39fab10d13afc36c27fab72ec15ad5eff21909
MD5 3239ca43a5efb20b03c3984bcb12ed00
BLAKE2b-256 236c4a8f9e3ac818b573a7b02180b6cf36afa99137f9861d0859fd9aaea2e73e

See more details on using hashes here.

File details

Details for the file azure_mgmt_frontdoor-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_frontdoor-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce4da7099f8f58f5ce3fb375724892452ef92e31962bcc3fdbf81aee447a82f6
MD5 ed9199c805b61887db60689bf041c325
BLAKE2b-256 273f1664da3c2d6519714aebd8e0439f6abd4f572857f3ecbc999f5be882c4c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page