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
- Python 3.10+ is required to use this package.
- Azure subscription
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_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor 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:
- Search Front Door Service on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
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
FrontDoorManagementClientadded parametercloud_settingin method__init__ - Client
FrontDoorManagementClientadded methodsend_request - Enum
ActionTypeadded memberCAPTCHA - Model
ManagedRuleDefinitionadded propertydefault_sensitivity - Model
ManagedRuleOverrideadded propertysensitivity - Enum
Operatoradded memberSERVICE_TAG_MATCH - Model
PolicySettingsadded propertycaptcha_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
BackendPoolmoved instance variablebackends,load_balancing_settings,health_probe_settingsandresource_stateunder propertypropertieswhose type isBackendPoolProperties - Model
CustomHttpsConfigurationmoved instance variablecertificate_typeunder propertyfront_door_certificate_source_parameterswhose type isFrontDoorCertificateSourceParameters - Model
CustomHttpsConfigurationmoved instance variablevault,secret_nameandsecret_versionunder propertykey_vault_certificate_source_parameterswhose type isKeyVaultCertificateSourceParameters - Model
Experimentmoved instance variabledescription,endpoint_a,endpoint_b,enabled_state,resource_state,statusandscript_file_uriunder propertypropertieswhose type isExperimentProperties - Model
ExperimentUpdateModelmoved instance variabledescriptionandenabled_stateunder propertypropertieswhose type isExperimentUpdateProperties - Model
FrontDoormoved instance variablefriendly_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_enginesandextended_propertiesunder propertypropertieswhose type isFrontDoorProperties - Model
FrontendEndpointmoved instance variablehost_name,session_affinity_enabled_state,session_affinity_ttl_seconds,web_application_firewall_policy_link,resource_state,custom_https_provisioning_state,custom_https_provisioning_substateandcustom_https_configurationunder propertypropertieswhose type isFrontendEndpointProperties - Model
HealthProbeSettingsModelmoved instance variablepath,protocol,interval_in_seconds,health_probe_method,enabled_stateandresource_stateunder propertypropertieswhose type isHealthProbeSettingsProperties - Model
LatencyScorecardmoved instance variableid_properties_id,name_properties_name,description,endpoint_a,endpoint_b,start_date_time_utc,end_date_time_utc,countryandlatency_metricsunder propertypropertieswhose type isLatencyScorecardProperties - Model
LoadBalancingSettingsModelmoved instance variablesample_size,successful_samples_required,additional_latency_millisecondsandresource_stateunder propertypropertieswhose type isLoadBalancingSettingsProperties - Model
ManagedRuleSetDefinitionmoved instance variableprovisioning_state,rule_set_id,rule_set_type,rule_set_versionandrule_groupsunder propertypropertieswhose type isManagedRuleSetDefinitionProperties - Model
PolicySettingsmoved instance variablestateandscrubbing_rulesunder propertylog_scrubbingwhose type isPolicySettingsLogScrubbing - Model
PreconfiguredEndpointmoved instance variabledescription,endpoint,endpoint_typeandbackendunder propertypropertieswhose type isPreconfiguredEndpointProperties - Model
Profilemoved instance variableresource_stateandenabled_stateunder propertypropertieswhose type isProfileProperties - Model
ProfileUpdateModelmoved instance variableenabled_stateunder propertypropertieswhose type isProfileUpdateProperties - Model
RoutingRulemoved instance variablefrontend_endpoints,accepted_protocols,patterns_to_match,enabled_state,route_configuration,rules_engine,web_application_firewall_policy_linkandresource_stateunder propertypropertieswhose type isRoutingRuleProperties - Model
RulesEnginemoved instance variablerulesandresource_stateunder propertypropertieswhose type isRulesEngineProperties - Model
Timeseriesmoved instance variableendpoint,start_date_time_utc,end_date_time_utc,aggregation_interval,timeseries_type,countryandtimeseries_dataunder propertypropertieswhose type isTimeseriesProperties - Model
WebApplicationFirewallPolicymoved instance variablepolicy_settings,custom_rules,managed_rules,frontend_endpoint_links,routing_rule_links,security_policy_links,provisioning_stateandresource_stateunder propertypropertieswhose type isWebApplicationFirewallPolicyProperties - Method
ReportsOperations.get_latency_scorecardschanged its parameteraggregation_interval/end_date_time_utc/countryfrompositional_or_keywordtokeyword_only - Method
ReportsOperations.get_timeserieschanged its parameterstart_date_time_utc/end_date_time_utc/aggregation_interval/timeseries_type/endpoint/countryfrompositional_or_keywordtokeyword_only
Other Changes
- Deleted model
AzureAsyncOperationResult/BackendPoolListResult/Error/ErrorDetails/ExperimentList/FrontDoorListResult/FrontendEndpointsListResult/HealthProbeSettingsListResult/LoadBalancingSettingsListResult/ManagedRuleSetDefinitionList/PreconfiguredEndpointList/ProfileList/RoutingRuleListResult/RulesEngineListResult/WebApplicationFirewallPolicyListwhich actually were not used by SDK users - Deleted enum
NetworkOperationStatuswhich actually were not used by SDK users
2.0.0b1 (2026-03-24)
Features Added
- Model
FrontDoorManagementClientadded parametercloud_settingin method__init__ - Client
FrontDoorManagementClientadded methodsend_request - Enum
ActionTypeadded memberCAPTCHA - Model
CustomHttpsConfigurationadded propertykey_vault_certificate_source_parameters - Model
CustomHttpsConfigurationadded propertyfront_door_certificate_source_parameters - Model
ManagedRuleDefinitionadded propertydefault_sensitivity - Model
ManagedRuleOverrideadded propertysensitivity - Enum
Operatoradded memberSERVICE_TAG_MATCH - Model
PolicySettingsadded propertycaptcha_expiration_in_minutes - Model
PolicySettingsadded propertylog_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
BackendPoolmoved instance variablebackends,load_balancing_settings,health_probe_settingsandresource_stateunder propertyproperties - Model
CustomHttpsConfigurationmoved instance variablecertificate_typeunder propertyfront_door_certificate_source_parameters - Model
CustomHttpsConfigurationmoved instance variablevault,secret_nameandsecret_versionunder propertykey_vault_certificate_source_parameters - Model
ExperimentUpdateModelmoved instance variabledescriptionandenabled_stateunder propertyproperties - Model
FrontDoormoved instance variablefriendly_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_enginesandextended_propertiesunder propertyproperties - Model
FrontendEndpointmoved instance variablehost_name,session_affinity_enabled_state,session_affinity_ttl_seconds,web_application_firewall_policy_link,resource_state,custom_https_provisioning_state,custom_https_provisioning_substateandcustom_https_configurationunder propertyproperties - Model
HealthProbeSettingsModelmoved instance variablepath,protocol,interval_in_seconds,health_probe_method,enabled_stateandresource_stateunder propertyproperties - Model
LoadBalancingSettingsModelmoved instance variablesample_size,successful_samples_required,additional_latency_millisecondsandresource_stateunder propertyproperties - Model
PolicySettingsmoved instance variablestateandscrubbing_rulesunder propertylog_scrubbing - Model
ProfileUpdateModelmoved instance variableenabled_stateunder propertyproperties - Model
RoutingRulemoved instance variablefrontend_endpoints,accepted_protocols,patterns_to_match,enabled_state,route_configuration,rules_engine,web_application_firewall_policy_linkandresource_stateunder propertyproperties - Model
RulesEnginemoved instance variablerulesandresource_stateunder propertyproperties - Deleted or renamed model
AzureAsyncOperationResult - Deleted or renamed model
Error - Deleted or renamed model
ErrorDetails - Deleted or renamed model
NetworkOperationStatus - Method
ReportsOperations.get_latency_scorecardschanged its parameteraggregation_interval/end_date_time_utc/countryfrompositional_or_keywordtokeyword_only - Method
ReportsOperations.get_timeserieschanged its parameterstart_date_time_utc/end_date_time_utc/aggregation_interval/timeseries_type/endpoint/countryfrompositional_or_keywordtokeyword_only
Other Changes
- Deleted model
ExperimentList/ManagedRuleSetDefinitionList/PreconfiguredEndpointList/ProfileList/WebApplicationFirewallPolicyListwhich 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.credentialsormsrestazure.azure_active_directoryinstances are no longer supported, use theazure-identityclasses instead: https://pypi.org/project/azure-identity/credentialsparameter has been renamedcredential
-
The
configattribute 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
versionmodule anymore, use__version__instead -
Operations that used to return a
msrest.polling.LROPollernow returns aazure.core.polling.LROPollerand are prefixed withbegin_. -
Exceptions tree have been simplified and most exceptions are now
azure.core.exceptions.HttpResponseError(CloudErrorhas been removed). -
Most of the operation kwarg have changed. Some of the most noticeable:
rawhas been removed. Equivalent feature can be found usingcls, a callback that will give access to internal HTTP response for advanced user- For a complete set of supported options, see the parameters accept in Request documentation of azure-core
General new features
- Type annotations support using
typing. SDKs are mypy ready. - This client has now stable and official support for async. Check the
aionamespace 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62c601df7281f84a48bcab400d39fab10d13afc36c27fab72ec15ad5eff21909
|
|
| MD5 |
3239ca43a5efb20b03c3984bcb12ed00
|
|
| BLAKE2b-256 |
236c4a8f9e3ac818b573a7b02180b6cf36afa99137f9861d0859fd9aaea2e73e
|
File details
Details for the file azure_mgmt_frontdoor-2.0.0-py3-none-any.whl.
File metadata
- Download URL: azure_mgmt_frontdoor-2.0.0-py3-none-any.whl
- Upload date:
- Size: 114.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce4da7099f8f58f5ce3fb375724892452ef92e31962bcc3fdbf81aee447a82f6
|
|
| MD5 |
ed9199c805b61887db60689bf041c325
|
|
| BLAKE2b-256 |
273f1664da3c2d6519714aebd8e0439f6abd4f572857f3ecbc999f5be882c4c6
|