pulumi-azure-native 2.55.0a1723186763__py3-none-any.whl → 2.56.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_azure_native/__init__.py +62 -1
- pulumi_azure_native/cdn/__init__.py +7 -0
- pulumi_azure_native/cdn/_enums.py +8 -0
- pulumi_azure_native/cdn/_inputs.py +58 -0
- pulumi_azure_native/cdn/afd_custom_domain.py +3 -3
- pulumi_azure_native/cdn/afd_endpoint.py +3 -3
- pulumi_azure_native/cdn/afd_origin.py +3 -3
- pulumi_azure_native/cdn/afd_origin_group.py +3 -3
- pulumi_azure_native/cdn/afd_target_group.py +240 -0
- pulumi_azure_native/cdn/custom_domain.py +3 -3
- pulumi_azure_native/cdn/endpoint.py +3 -3
- pulumi_azure_native/cdn/get_afd_custom_domain.py +2 -2
- pulumi_azure_native/cdn/get_afd_endpoint.py +2 -2
- pulumi_azure_native/cdn/get_afd_origin.py +2 -2
- pulumi_azure_native/cdn/get_afd_origin_group.py +2 -2
- pulumi_azure_native/cdn/get_afd_target_group.py +166 -0
- pulumi_azure_native/cdn/get_custom_domain.py +2 -2
- pulumi_azure_native/cdn/get_endpoint.py +2 -2
- pulumi_azure_native/cdn/get_key_group.py +2 -2
- pulumi_azure_native/cdn/get_origin.py +2 -2
- pulumi_azure_native/cdn/get_origin_group.py +2 -2
- pulumi_azure_native/cdn/get_policy.py +2 -2
- pulumi_azure_native/cdn/get_profile.py +2 -2
- pulumi_azure_native/cdn/get_profile_supported_optimization_types.py +2 -2
- pulumi_azure_native/cdn/get_route.py +2 -2
- pulumi_azure_native/cdn/get_rule.py +2 -2
- pulumi_azure_native/cdn/get_rule_set.py +2 -2
- pulumi_azure_native/cdn/get_secret.py +2 -2
- pulumi_azure_native/cdn/get_security_policy.py +2 -2
- pulumi_azure_native/cdn/get_tunnel_policy.py +192 -0
- pulumi_azure_native/cdn/key_group.py +3 -3
- pulumi_azure_native/cdn/origin.py +3 -3
- pulumi_azure_native/cdn/origin_group.py +3 -3
- pulumi_azure_native/cdn/outputs.py +53 -0
- pulumi_azure_native/cdn/policy.py +3 -3
- pulumi_azure_native/cdn/profile.py +3 -3
- pulumi_azure_native/cdn/route.py +3 -3
- pulumi_azure_native/cdn/rule.py +3 -3
- pulumi_azure_native/cdn/rule_set.py +3 -3
- pulumi_azure_native/cdn/secret.py +3 -3
- pulumi_azure_native/cdn/security_policy.py +3 -3
- pulumi_azure_native/cdn/tunnel_policy.py +299 -0
- pulumi_azure_native/cdn/v20200901/afd_endpoint.py +1 -1
- pulumi_azure_native/cdn/v20200901/afd_origin_group.py +1 -1
- pulumi_azure_native/cdn/v20200901/profile.py +1 -1
- pulumi_azure_native/cdn/v20200901/route.py +1 -1
- pulumi_azure_native/cdn/v20230501/afd_custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20230501/afd_endpoint.py +1 -1
- pulumi_azure_native/cdn/v20230501/afd_origin.py +1 -1
- pulumi_azure_native/cdn/v20230501/afd_origin_group.py +1 -1
- pulumi_azure_native/cdn/v20230501/custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20230501/endpoint.py +1 -1
- pulumi_azure_native/cdn/v20230501/origin.py +1 -1
- pulumi_azure_native/cdn/v20230501/origin_group.py +1 -1
- pulumi_azure_native/cdn/v20230501/policy.py +1 -1
- pulumi_azure_native/cdn/v20230501/profile.py +1 -1
- pulumi_azure_native/cdn/v20230501/route.py +1 -1
- pulumi_azure_native/cdn/v20230501/rule.py +1 -1
- pulumi_azure_native/cdn/v20230501/rule_set.py +1 -1
- pulumi_azure_native/cdn/v20230501/secret.py +1 -1
- pulumi_azure_native/cdn/v20230501/security_policy.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/afd_custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/afd_endpoint.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/afd_origin.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/afd_origin_group.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/endpoint.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/key_group.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/origin.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/origin_group.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/policy.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/profile.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/route.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/rule.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/rule_set.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/secret.py +1 -1
- pulumi_azure_native/cdn/v20230701preview/security_policy.py +1 -1
- pulumi_azure_native/cdn/v20240201/afd_custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20240201/afd_endpoint.py +1 -1
- pulumi_azure_native/cdn/v20240201/afd_origin.py +1 -1
- pulumi_azure_native/cdn/v20240201/afd_origin_group.py +1 -1
- pulumi_azure_native/cdn/v20240201/custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20240201/endpoint.py +1 -1
- pulumi_azure_native/cdn/v20240201/origin.py +1 -1
- pulumi_azure_native/cdn/v20240201/origin_group.py +1 -1
- pulumi_azure_native/cdn/v20240201/policy.py +1 -1
- pulumi_azure_native/cdn/v20240201/profile.py +1 -1
- pulumi_azure_native/cdn/v20240201/route.py +1 -1
- pulumi_azure_native/cdn/v20240201/rule.py +1 -1
- pulumi_azure_native/cdn/v20240201/rule_set.py +1 -1
- pulumi_azure_native/cdn/v20240201/secret.py +1 -1
- pulumi_azure_native/cdn/v20240201/security_policy.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/afd_custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/afd_endpoint.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/afd_origin.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/afd_origin_group.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/custom_domain.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/endpoint.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/key_group.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/origin.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/origin_group.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/policy.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/profile.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/route.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/rule.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/rule_set.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/secret.py +1 -1
- pulumi_azure_native/cdn/v20240501preview/security_policy.py +1 -1
- pulumi_azure_native/cdn/v20240601preview/__init__.py +47 -0
- pulumi_azure_native/cdn/v20240601preview/_enums.py +910 -0
- pulumi_azure_native/cdn/v20240601preview/_inputs.py +8517 -0
- pulumi_azure_native/cdn/v20240601preview/afd_custom_domain.py +423 -0
- pulumi_azure_native/cdn/v20240601preview/afd_endpoint.py +343 -0
- pulumi_azure_native/cdn/v20240601preview/afd_origin.py +542 -0
- pulumi_azure_native/cdn/v20240601preview/afd_origin_group.py +334 -0
- pulumi_azure_native/cdn/v20240601preview/afd_target_group.py +238 -0
- pulumi_azure_native/cdn/v20240601preview/custom_domain.py +301 -0
- pulumi_azure_native/cdn/v20240601preview/endpoint.py +767 -0
- pulumi_azure_native/cdn/v20240601preview/get_afd_custom_domain.py +281 -0
- pulumi_azure_native/cdn/v20240601preview/get_afd_endpoint.py +229 -0
- pulumi_azure_native/cdn/v20240601preview/get_afd_origin.py +299 -0
- pulumi_azure_native/cdn/v20240601preview/get_afd_origin_group.py +216 -0
- pulumi_azure_native/cdn/v20240601preview/get_afd_target_group.py +164 -0
- pulumi_azure_native/cdn/v20240601preview/get_custom_domain.py +224 -0
- pulumi_azure_native/cdn/v20240601preview/get_endpoint.py +414 -0
- pulumi_azure_native/cdn/v20240601preview/get_key_group.py +164 -0
- pulumi_azure_native/cdn/v20240601preview/get_origin.py +315 -0
- pulumi_azure_native/cdn/v20240601preview/get_origin_group.py +211 -0
- pulumi_azure_native/cdn/v20240601preview/get_policy.py +276 -0
- pulumi_azure_native/cdn/v20240601preview/get_profile.py +266 -0
- pulumi_azure_native/cdn/v20240601preview/get_profile_supported_optimization_types.py +83 -0
- pulumi_azure_native/cdn/v20240601preview/get_route.py +325 -0
- pulumi_azure_native/cdn/v20240601preview/get_rule.py +221 -0
- pulumi_azure_native/cdn/v20240601preview/get_rule_set.py +164 -0
- pulumi_azure_native/cdn/v20240601preview/get_secret.py +177 -0
- pulumi_azure_native/cdn/v20240601preview/get_security_policy.py +177 -0
- pulumi_azure_native/cdn/v20240601preview/get_tunnel_policy.py +190 -0
- pulumi_azure_native/cdn/v20240601preview/key_group.py +237 -0
- pulumi_azure_native/cdn/v20240601preview/origin.py +561 -0
- pulumi_azure_native/cdn/v20240601preview/origin_group.py +350 -0
- pulumi_azure_native/cdn/v20240601preview/outputs.py +7442 -0
- pulumi_azure_native/cdn/v20240601preview/policy.py +441 -0
- pulumi_azure_native/cdn/v20240601preview/profile.py +396 -0
- pulumi_azure_native/cdn/v20240601preview/route.py +600 -0
- pulumi_azure_native/cdn/v20240601preview/rule.py +361 -0
- pulumi_azure_native/cdn/v20240601preview/rule_set.py +216 -0
- pulumi_azure_native/cdn/v20240601preview/secret.py +246 -0
- pulumi_azure_native/cdn/v20240601preview/security_policy.py +246 -0
- pulumi_azure_native/cdn/v20240601preview/tunnel_policy.py +297 -0
- pulumi_azure_native/confidentialledger/__init__.py +3 -0
- pulumi_azure_native/confidentialledger/get_ledger.py +2 -2
- pulumi_azure_native/confidentialledger/get_managed_ccf.py +2 -2
- pulumi_azure_native/confidentialledger/ledger.py +3 -3
- pulumi_azure_native/confidentialledger/managed_ccf.py +3 -3
- pulumi_azure_native/confidentialledger/v20220513/ledger.py +1 -1
- pulumi_azure_native/confidentialledger/v20230126preview/ledger.py +1 -1
- pulumi_azure_native/confidentialledger/v20230126preview/managed_ccf.py +1 -1
- pulumi_azure_native/confidentialledger/v20230628preview/ledger.py +1 -1
- pulumi_azure_native/confidentialledger/v20230628preview/managed_ccf.py +1 -1
- pulumi_azure_native/confidentialledger/v20240709preview/__init__.py +14 -0
- pulumi_azure_native/confidentialledger/v20240709preview/_enums.py +59 -0
- pulumi_azure_native/confidentialledger/v20240709preview/_inputs.py +621 -0
- pulumi_azure_native/confidentialledger/v20240709preview/get_ledger.py +162 -0
- pulumi_azure_native/confidentialledger/v20240709preview/get_managed_ccf.py +162 -0
- pulumi_azure_native/confidentialledger/v20240709preview/ledger.py +258 -0
- pulumi_azure_native/confidentialledger/v20240709preview/managed_ccf.py +258 -0
- pulumi_azure_native/confidentialledger/v20240709preview/outputs.py +730 -0
- pulumi_azure_native/documentdb/__init__.py +3 -0
- pulumi_azure_native/documentdb/firewall_rule.py +5 -1
- pulumi_azure_native/documentdb/get_firewall_rule.py +4 -0
- pulumi_azure_native/documentdb/get_mongo_cluster.py +2 -2
- pulumi_azure_native/documentdb/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/documentdb/list_mongo_cluster_connection_strings.py +2 -2
- pulumi_azure_native/documentdb/mongo_cluster.py +3 -3
- pulumi_azure_native/documentdb/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/private_endpoint_connection.py +2 -2
- pulumi_azure_native/documentdb/v20230315preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20230315preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20230915preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20230915preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20231115preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20231115preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20240215preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20240215preview/mongo_cluster_firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20240301preview/firewall_rule.py +1 -1
- pulumi_azure_native/documentdb/v20240301preview/mongo_cluster.py +1 -1
- pulumi_azure_native/documentdb/v20240301preview/private_endpoint_connection.py +2 -0
- pulumi_azure_native/documentdb/v20240601preview/__init__.py +17 -0
- pulumi_azure_native/documentdb/v20240601preview/_enums.py +78 -0
- pulumi_azure_native/documentdb/v20240601preview/_inputs.py +332 -0
- pulumi_azure_native/documentdb/v20240601preview/firewall_rule.py +260 -0
- pulumi_azure_native/documentdb/v20240601preview/get_firewall_rule.py +167 -0
- pulumi_azure_native/documentdb/v20240601preview/get_mongo_cluster.py +305 -0
- pulumi_azure_native/documentdb/v20240601preview/get_private_endpoint_connection.py +180 -0
- pulumi_azure_native/documentdb/v20240601preview/list_mongo_cluster_connection_strings.py +84 -0
- pulumi_azure_native/documentdb/v20240601preview/mongo_cluster.py +524 -0
- pulumi_azure_native/documentdb/v20240601preview/outputs.py +537 -0
- pulumi_azure_native/documentdb/v20240601preview/private_endpoint_connection.py +252 -0
- pulumi_azure_native/machinelearningservices/v20240401preview/outputs.py +55 -11
- pulumi_azure_native/machinelearningservices/v20240701preview/_inputs.py +10 -10
- pulumi_azure_native/machinelearningservices/v20240701preview/outputs.py +60 -18
- pulumi_azure_native/monitor/_enums.py +6 -2
- pulumi_azure_native/monitor/_inputs.py +56 -56
- pulumi_azure_native/monitor/get_pipeline_group.py +1 -1
- pulumi_azure_native/monitor/outputs.py +34 -34
- pulumi_azure_native/monitor/pipeline_group.py +8 -8
- pulumi_azure_native/monitor/v20231001preview/_enums.py +6 -2
- pulumi_azure_native/monitor/v20231001preview/_inputs.py +56 -56
- pulumi_azure_native/monitor/v20231001preview/get_pipeline_group.py +1 -1
- pulumi_azure_native/monitor/v20231001preview/outputs.py +34 -34
- pulumi_azure_native/monitor/v20231001preview/pipeline_group.py +8 -8
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/resources/__init__.py +3 -0
- pulumi_azure_native/resources/deployment.py +3 -3
- pulumi_azure_native/resources/deployment_at_management_group_scope.py +3 -3
- pulumi_azure_native/resources/deployment_at_scope.py +3 -3
- pulumi_azure_native/resources/deployment_at_subscription_scope.py +3 -3
- pulumi_azure_native/resources/deployment_at_tenant_scope.py +3 -3
- pulumi_azure_native/resources/get_deployment.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_management_group_scope.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_scope.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_subscription_scope.py +2 -2
- pulumi_azure_native/resources/get_deployment_at_tenant_scope.py +2 -2
- pulumi_azure_native/resources/get_resource.py +2 -2
- pulumi_azure_native/resources/get_resource_group.py +2 -2
- pulumi_azure_native/resources/get_tag_at_scope.py +2 -2
- pulumi_azure_native/resources/resource.py +3 -3
- pulumi_azure_native/resources/resource_group.py +3 -3
- pulumi_azure_native/resources/tag_at_scope.py +3 -3
- pulumi_azure_native/resources/v20220901/deployment.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_management_group_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_subscription_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/deployment_at_tenant_scope.py +1 -1
- pulumi_azure_native/resources/v20220901/resource.py +1 -1
- pulumi_azure_native/resources/v20220901/resource_group.py +1 -1
- pulumi_azure_native/resources/v20220901/tag_at_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_management_group_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_subscription_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/deployment_at_tenant_scope.py +1 -1
- pulumi_azure_native/resources/v20230701/resource.py +1 -1
- pulumi_azure_native/resources/v20230701/resource_group.py +1 -1
- pulumi_azure_native/resources/v20230701/tag_at_scope.py +1 -1
- pulumi_azure_native/resources/v20240301/deployment.py +1 -1
- pulumi_azure_native/resources/v20240301/deployment_at_management_group_scope.py +1 -1
- pulumi_azure_native/resources/v20240301/deployment_at_scope.py +1 -1
- pulumi_azure_native/resources/v20240301/deployment_at_subscription_scope.py +1 -1
- pulumi_azure_native/resources/v20240301/deployment_at_tenant_scope.py +1 -1
- pulumi_azure_native/resources/v20240301/resource.py +1 -1
- pulumi_azure_native/resources/v20240301/resource_group.py +1 -1
- pulumi_azure_native/resources/v20240301/tag_at_scope.py +1 -1
- pulumi_azure_native/resources/v20240701/__init__.py +26 -0
- pulumi_azure_native/resources/v20240701/_enums.py +55 -0
- pulumi_azure_native/resources/v20240701/_inputs.py +1082 -0
- pulumi_azure_native/resources/v20240701/deployment.py +249 -0
- pulumi_azure_native/resources/v20240701/deployment_at_management_group_scope.py +249 -0
- pulumi_azure_native/resources/v20240701/deployment_at_scope.py +249 -0
- pulumi_azure_native/resources/v20240701/deployment_at_subscription_scope.py +228 -0
- pulumi_azure_native/resources/v20240701/deployment_at_tenant_scope.py +228 -0
- pulumi_azure_native/resources/v20240701/get_deployment.py +149 -0
- pulumi_azure_native/resources/v20240701/get_deployment_at_management_group_scope.py +149 -0
- pulumi_azure_native/resources/v20240701/get_deployment_at_scope.py +149 -0
- pulumi_azure_native/resources/v20240701/get_deployment_at_subscription_scope.py +144 -0
- pulumi_azure_native/resources/v20240701/get_deployment_at_tenant_scope.py +144 -0
- pulumi_azure_native/resources/v20240701/get_resource.py +242 -0
- pulumi_azure_native/resources/v20240701/get_resource_group.py +157 -0
- pulumi_azure_native/resources/v20240701/get_tag_at_scope.py +118 -0
- pulumi_azure_native/resources/v20240701/outputs.py +1938 -0
- pulumi_azure_native/resources/v20240701/resource.py +485 -0
- pulumi_azure_native/resources/v20240701/resource_group.py +235 -0
- pulumi_azure_native/resources/v20240701/tag_at_scope.py +170 -0
- pulumi_azure_native/storage/blob.py +3 -3
- {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.56.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.56.0.dist-info}/RECORD +278 -194
- {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.56.0.dist-info}/WHEEL +1 -1
- {pulumi_azure_native-2.55.0a1723186763.dist-info → pulumi_azure_native-2.56.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetProfileResult',
|
|
20
|
+
'AwaitableGetProfileResult',
|
|
21
|
+
'get_profile',
|
|
22
|
+
'get_profile_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetProfileResult:
|
|
27
|
+
"""
|
|
28
|
+
A profile is a logical grouping of endpoints that share the same settings.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, extended_properties=None, front_door_id=None, id=None, identity=None, kind=None, location=None, log_scrubbing=None, name=None, origin_response_timeout_seconds=None, provisioning_state=None, resource_state=None, sku=None, system_data=None, tags=None, type=None):
|
|
31
|
+
if extended_properties and not isinstance(extended_properties, dict):
|
|
32
|
+
raise TypeError("Expected argument 'extended_properties' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "extended_properties", extended_properties)
|
|
34
|
+
if front_door_id and not isinstance(front_door_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'front_door_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "front_door_id", front_door_id)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if identity and not isinstance(identity, dict):
|
|
41
|
+
raise TypeError("Expected argument 'identity' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "identity", identity)
|
|
43
|
+
if kind and not isinstance(kind, str):
|
|
44
|
+
raise TypeError("Expected argument 'kind' to be a str")
|
|
45
|
+
pulumi.set(__self__, "kind", kind)
|
|
46
|
+
if location and not isinstance(location, str):
|
|
47
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
48
|
+
pulumi.set(__self__, "location", location)
|
|
49
|
+
if log_scrubbing and not isinstance(log_scrubbing, dict):
|
|
50
|
+
raise TypeError("Expected argument 'log_scrubbing' to be a dict")
|
|
51
|
+
pulumi.set(__self__, "log_scrubbing", log_scrubbing)
|
|
52
|
+
if name and not isinstance(name, str):
|
|
53
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
54
|
+
pulumi.set(__self__, "name", name)
|
|
55
|
+
if origin_response_timeout_seconds and not isinstance(origin_response_timeout_seconds, int):
|
|
56
|
+
raise TypeError("Expected argument 'origin_response_timeout_seconds' to be a int")
|
|
57
|
+
pulumi.set(__self__, "origin_response_timeout_seconds", origin_response_timeout_seconds)
|
|
58
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
59
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
60
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
61
|
+
if resource_state and not isinstance(resource_state, str):
|
|
62
|
+
raise TypeError("Expected argument 'resource_state' to be a str")
|
|
63
|
+
pulumi.set(__self__, "resource_state", resource_state)
|
|
64
|
+
if sku and not isinstance(sku, dict):
|
|
65
|
+
raise TypeError("Expected argument 'sku' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "sku", sku)
|
|
67
|
+
if system_data and not isinstance(system_data, dict):
|
|
68
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
69
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
70
|
+
if tags and not isinstance(tags, dict):
|
|
71
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
72
|
+
pulumi.set(__self__, "tags", tags)
|
|
73
|
+
if type and not isinstance(type, str):
|
|
74
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
75
|
+
pulumi.set(__self__, "type", type)
|
|
76
|
+
|
|
77
|
+
@property
|
|
78
|
+
@pulumi.getter(name="extendedProperties")
|
|
79
|
+
def extended_properties(self) -> Mapping[str, str]:
|
|
80
|
+
"""
|
|
81
|
+
Key-Value pair representing additional properties for profiles.
|
|
82
|
+
"""
|
|
83
|
+
return pulumi.get(self, "extended_properties")
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
@pulumi.getter(name="frontDoorId")
|
|
87
|
+
def front_door_id(self) -> str:
|
|
88
|
+
"""
|
|
89
|
+
The Id of the frontdoor.
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "front_door_id")
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def id(self) -> str:
|
|
96
|
+
"""
|
|
97
|
+
Resource ID.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "id")
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
@pulumi.getter
|
|
103
|
+
def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']:
|
|
104
|
+
"""
|
|
105
|
+
Managed service identity (system assigned and/or user assigned identities).
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "identity")
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
@pulumi.getter
|
|
111
|
+
def kind(self) -> str:
|
|
112
|
+
"""
|
|
113
|
+
Kind of the profile. Used by portal to differentiate traditional CDN profile and new AFD profile.
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "kind")
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
@pulumi.getter
|
|
119
|
+
def location(self) -> str:
|
|
120
|
+
"""
|
|
121
|
+
Resource location.
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "location")
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
@pulumi.getter(name="logScrubbing")
|
|
127
|
+
def log_scrubbing(self) -> Optional['outputs.ProfileLogScrubbingResponse']:
|
|
128
|
+
"""
|
|
129
|
+
Defines rules that scrub sensitive fields in the Azure Front Door profile logs.
|
|
130
|
+
"""
|
|
131
|
+
return pulumi.get(self, "log_scrubbing")
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
@pulumi.getter
|
|
135
|
+
def name(self) -> str:
|
|
136
|
+
"""
|
|
137
|
+
Resource name.
|
|
138
|
+
"""
|
|
139
|
+
return pulumi.get(self, "name")
|
|
140
|
+
|
|
141
|
+
@property
|
|
142
|
+
@pulumi.getter(name="originResponseTimeoutSeconds")
|
|
143
|
+
def origin_response_timeout_seconds(self) -> Optional[int]:
|
|
144
|
+
"""
|
|
145
|
+
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
|
|
146
|
+
"""
|
|
147
|
+
return pulumi.get(self, "origin_response_timeout_seconds")
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
@pulumi.getter(name="provisioningState")
|
|
151
|
+
def provisioning_state(self) -> str:
|
|
152
|
+
"""
|
|
153
|
+
Provisioning status of the profile.
|
|
154
|
+
"""
|
|
155
|
+
return pulumi.get(self, "provisioning_state")
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
@pulumi.getter(name="resourceState")
|
|
159
|
+
def resource_state(self) -> str:
|
|
160
|
+
"""
|
|
161
|
+
Resource status of the profile.
|
|
162
|
+
"""
|
|
163
|
+
return pulumi.get(self, "resource_state")
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
@pulumi.getter
|
|
167
|
+
def sku(self) -> 'outputs.SkuResponse':
|
|
168
|
+
"""
|
|
169
|
+
The pricing tier (defines Azure Front Door Standard or Premium or a CDN provider, feature list and rate) of the profile.
|
|
170
|
+
"""
|
|
171
|
+
return pulumi.get(self, "sku")
|
|
172
|
+
|
|
173
|
+
@property
|
|
174
|
+
@pulumi.getter(name="systemData")
|
|
175
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
176
|
+
"""
|
|
177
|
+
Read only system data
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "system_data")
|
|
180
|
+
|
|
181
|
+
@property
|
|
182
|
+
@pulumi.getter
|
|
183
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
184
|
+
"""
|
|
185
|
+
Resource tags.
|
|
186
|
+
"""
|
|
187
|
+
return pulumi.get(self, "tags")
|
|
188
|
+
|
|
189
|
+
@property
|
|
190
|
+
@pulumi.getter
|
|
191
|
+
def type(self) -> str:
|
|
192
|
+
"""
|
|
193
|
+
Resource type.
|
|
194
|
+
"""
|
|
195
|
+
return pulumi.get(self, "type")
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
class AwaitableGetProfileResult(GetProfileResult):
|
|
199
|
+
# pylint: disable=using-constant-test
|
|
200
|
+
def __await__(self):
|
|
201
|
+
if False:
|
|
202
|
+
yield self
|
|
203
|
+
return GetProfileResult(
|
|
204
|
+
extended_properties=self.extended_properties,
|
|
205
|
+
front_door_id=self.front_door_id,
|
|
206
|
+
id=self.id,
|
|
207
|
+
identity=self.identity,
|
|
208
|
+
kind=self.kind,
|
|
209
|
+
location=self.location,
|
|
210
|
+
log_scrubbing=self.log_scrubbing,
|
|
211
|
+
name=self.name,
|
|
212
|
+
origin_response_timeout_seconds=self.origin_response_timeout_seconds,
|
|
213
|
+
provisioning_state=self.provisioning_state,
|
|
214
|
+
resource_state=self.resource_state,
|
|
215
|
+
sku=self.sku,
|
|
216
|
+
system_data=self.system_data,
|
|
217
|
+
tags=self.tags,
|
|
218
|
+
type=self.type)
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def get_profile(profile_name: Optional[str] = None,
|
|
222
|
+
resource_group_name: Optional[str] = None,
|
|
223
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProfileResult:
|
|
224
|
+
"""
|
|
225
|
+
Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
|
|
229
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
230
|
+
"""
|
|
231
|
+
__args__ = dict()
|
|
232
|
+
__args__['profileName'] = profile_name
|
|
233
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
234
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
235
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getProfile', __args__, opts=opts, typ=GetProfileResult).value
|
|
236
|
+
|
|
237
|
+
return AwaitableGetProfileResult(
|
|
238
|
+
extended_properties=pulumi.get(__ret__, 'extended_properties'),
|
|
239
|
+
front_door_id=pulumi.get(__ret__, 'front_door_id'),
|
|
240
|
+
id=pulumi.get(__ret__, 'id'),
|
|
241
|
+
identity=pulumi.get(__ret__, 'identity'),
|
|
242
|
+
kind=pulumi.get(__ret__, 'kind'),
|
|
243
|
+
location=pulumi.get(__ret__, 'location'),
|
|
244
|
+
log_scrubbing=pulumi.get(__ret__, 'log_scrubbing'),
|
|
245
|
+
name=pulumi.get(__ret__, 'name'),
|
|
246
|
+
origin_response_timeout_seconds=pulumi.get(__ret__, 'origin_response_timeout_seconds'),
|
|
247
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
248
|
+
resource_state=pulumi.get(__ret__, 'resource_state'),
|
|
249
|
+
sku=pulumi.get(__ret__, 'sku'),
|
|
250
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
251
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
252
|
+
type=pulumi.get(__ret__, 'type'))
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
@_utilities.lift_output_func(get_profile)
|
|
256
|
+
def get_profile_output(profile_name: Optional[pulumi.Input[str]] = None,
|
|
257
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
258
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileResult]:
|
|
259
|
+
"""
|
|
260
|
+
Gets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource group.
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
|
|
264
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
265
|
+
"""
|
|
266
|
+
...
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetProfileSupportedOptimizationTypesResult',
|
|
19
|
+
'AwaitableGetProfileSupportedOptimizationTypesResult',
|
|
20
|
+
'get_profile_supported_optimization_types',
|
|
21
|
+
'get_profile_supported_optimization_types_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetProfileSupportedOptimizationTypesResult:
|
|
26
|
+
"""
|
|
27
|
+
The result of the GetSupportedOptimizationTypes API
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, supported_optimization_types=None):
|
|
30
|
+
if supported_optimization_types and not isinstance(supported_optimization_types, list):
|
|
31
|
+
raise TypeError("Expected argument 'supported_optimization_types' to be a list")
|
|
32
|
+
pulumi.set(__self__, "supported_optimization_types", supported_optimization_types)
|
|
33
|
+
|
|
34
|
+
@property
|
|
35
|
+
@pulumi.getter(name="supportedOptimizationTypes")
|
|
36
|
+
def supported_optimization_types(self) -> Sequence[str]:
|
|
37
|
+
"""
|
|
38
|
+
Supported optimization types for a profile.
|
|
39
|
+
"""
|
|
40
|
+
return pulumi.get(self, "supported_optimization_types")
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class AwaitableGetProfileSupportedOptimizationTypesResult(GetProfileSupportedOptimizationTypesResult):
|
|
44
|
+
# pylint: disable=using-constant-test
|
|
45
|
+
def __await__(self):
|
|
46
|
+
if False:
|
|
47
|
+
yield self
|
|
48
|
+
return GetProfileSupportedOptimizationTypesResult(
|
|
49
|
+
supported_optimization_types=self.supported_optimization_types)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def get_profile_supported_optimization_types(profile_name: Optional[str] = None,
|
|
53
|
+
resource_group_name: Optional[str] = None,
|
|
54
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProfileSupportedOptimizationTypesResult:
|
|
55
|
+
"""
|
|
56
|
+
Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
|
|
60
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
61
|
+
"""
|
|
62
|
+
__args__ = dict()
|
|
63
|
+
__args__['profileName'] = profile_name
|
|
64
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
65
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
66
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getProfileSupportedOptimizationTypes', __args__, opts=opts, typ=GetProfileSupportedOptimizationTypesResult).value
|
|
67
|
+
|
|
68
|
+
return AwaitableGetProfileSupportedOptimizationTypesResult(
|
|
69
|
+
supported_optimization_types=pulumi.get(__ret__, 'supported_optimization_types'))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@_utilities.lift_output_func(get_profile_supported_optimization_types)
|
|
73
|
+
def get_profile_supported_optimization_types_output(profile_name: Optional[pulumi.Input[str]] = None,
|
|
74
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
75
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProfileSupportedOptimizationTypesResult]:
|
|
76
|
+
"""
|
|
77
|
+
Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.
|
|
81
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
82
|
+
"""
|
|
83
|
+
...
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from ... import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetRouteResult',
|
|
20
|
+
'AwaitableGetRouteResult',
|
|
21
|
+
'get_route',
|
|
22
|
+
'get_route_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetRouteResult:
|
|
27
|
+
"""
|
|
28
|
+
Friendly Routes name mapping to the any Routes or secret related information.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, cache_configuration=None, custom_domains=None, deployment_status=None, enabled_state=None, endpoint_name=None, forwarding_protocol=None, grpc_state=None, https_redirect=None, id=None, link_to_default_domain=None, name=None, origin_group=None, origin_path=None, patterns_to_match=None, provisioning_state=None, rule_sets=None, supported_protocols=None, system_data=None, type=None):
|
|
31
|
+
if cache_configuration and not isinstance(cache_configuration, dict):
|
|
32
|
+
raise TypeError("Expected argument 'cache_configuration' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "cache_configuration", cache_configuration)
|
|
34
|
+
if custom_domains and not isinstance(custom_domains, list):
|
|
35
|
+
raise TypeError("Expected argument 'custom_domains' to be a list")
|
|
36
|
+
pulumi.set(__self__, "custom_domains", custom_domains)
|
|
37
|
+
if deployment_status and not isinstance(deployment_status, str):
|
|
38
|
+
raise TypeError("Expected argument 'deployment_status' to be a str")
|
|
39
|
+
pulumi.set(__self__, "deployment_status", deployment_status)
|
|
40
|
+
if enabled_state and not isinstance(enabled_state, str):
|
|
41
|
+
raise TypeError("Expected argument 'enabled_state' to be a str")
|
|
42
|
+
pulumi.set(__self__, "enabled_state", enabled_state)
|
|
43
|
+
if endpoint_name and not isinstance(endpoint_name, str):
|
|
44
|
+
raise TypeError("Expected argument 'endpoint_name' to be a str")
|
|
45
|
+
pulumi.set(__self__, "endpoint_name", endpoint_name)
|
|
46
|
+
if forwarding_protocol and not isinstance(forwarding_protocol, str):
|
|
47
|
+
raise TypeError("Expected argument 'forwarding_protocol' to be a str")
|
|
48
|
+
pulumi.set(__self__, "forwarding_protocol", forwarding_protocol)
|
|
49
|
+
if grpc_state and not isinstance(grpc_state, str):
|
|
50
|
+
raise TypeError("Expected argument 'grpc_state' to be a str")
|
|
51
|
+
pulumi.set(__self__, "grpc_state", grpc_state)
|
|
52
|
+
if https_redirect and not isinstance(https_redirect, str):
|
|
53
|
+
raise TypeError("Expected argument 'https_redirect' to be a str")
|
|
54
|
+
pulumi.set(__self__, "https_redirect", https_redirect)
|
|
55
|
+
if id and not isinstance(id, str):
|
|
56
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
57
|
+
pulumi.set(__self__, "id", id)
|
|
58
|
+
if link_to_default_domain and not isinstance(link_to_default_domain, str):
|
|
59
|
+
raise TypeError("Expected argument 'link_to_default_domain' to be a str")
|
|
60
|
+
pulumi.set(__self__, "link_to_default_domain", link_to_default_domain)
|
|
61
|
+
if name and not isinstance(name, str):
|
|
62
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
63
|
+
pulumi.set(__self__, "name", name)
|
|
64
|
+
if origin_group and not isinstance(origin_group, dict):
|
|
65
|
+
raise TypeError("Expected argument 'origin_group' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "origin_group", origin_group)
|
|
67
|
+
if origin_path and not isinstance(origin_path, str):
|
|
68
|
+
raise TypeError("Expected argument 'origin_path' to be a str")
|
|
69
|
+
pulumi.set(__self__, "origin_path", origin_path)
|
|
70
|
+
if patterns_to_match and not isinstance(patterns_to_match, list):
|
|
71
|
+
raise TypeError("Expected argument 'patterns_to_match' to be a list")
|
|
72
|
+
pulumi.set(__self__, "patterns_to_match", patterns_to_match)
|
|
73
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
74
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
75
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
76
|
+
if rule_sets and not isinstance(rule_sets, list):
|
|
77
|
+
raise TypeError("Expected argument 'rule_sets' to be a list")
|
|
78
|
+
pulumi.set(__self__, "rule_sets", rule_sets)
|
|
79
|
+
if supported_protocols and not isinstance(supported_protocols, list):
|
|
80
|
+
raise TypeError("Expected argument 'supported_protocols' to be a list")
|
|
81
|
+
pulumi.set(__self__, "supported_protocols", supported_protocols)
|
|
82
|
+
if system_data and not isinstance(system_data, dict):
|
|
83
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
84
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
85
|
+
if type and not isinstance(type, str):
|
|
86
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
87
|
+
pulumi.set(__self__, "type", type)
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="cacheConfiguration")
|
|
91
|
+
def cache_configuration(self) -> Optional['outputs.AfdRouteCacheConfigurationResponse']:
|
|
92
|
+
"""
|
|
93
|
+
The caching configuration for this route. To disable caching, do not provide a cacheConfiguration object.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "cache_configuration")
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter(name="customDomains")
|
|
99
|
+
def custom_domains(self) -> Optional[Sequence['outputs.ActivatedResourceReferenceResponse']]:
|
|
100
|
+
"""
|
|
101
|
+
Domains referenced by this endpoint.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "custom_domains")
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
@pulumi.getter(name="deploymentStatus")
|
|
107
|
+
def deployment_status(self) -> str:
|
|
108
|
+
return pulumi.get(self, "deployment_status")
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="enabledState")
|
|
112
|
+
def enabled_state(self) -> Optional[str]:
|
|
113
|
+
"""
|
|
114
|
+
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "enabled_state")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter(name="endpointName")
|
|
120
|
+
def endpoint_name(self) -> str:
|
|
121
|
+
"""
|
|
122
|
+
The name of the endpoint which holds the route.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "endpoint_name")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter(name="forwardingProtocol")
|
|
128
|
+
def forwarding_protocol(self) -> Optional[str]:
|
|
129
|
+
"""
|
|
130
|
+
Protocol this rule will use when forwarding traffic to backends.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "forwarding_protocol")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="grpcState")
|
|
136
|
+
def grpc_state(self) -> Optional[str]:
|
|
137
|
+
"""
|
|
138
|
+
Whether or not gRPC is enabled on this route. Permitted values are 'Enabled' or 'Disabled'
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "grpc_state")
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter(name="httpsRedirect")
|
|
144
|
+
def https_redirect(self) -> Optional[str]:
|
|
145
|
+
"""
|
|
146
|
+
Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "https_redirect")
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
@pulumi.getter
|
|
152
|
+
def id(self) -> str:
|
|
153
|
+
"""
|
|
154
|
+
Resource ID.
|
|
155
|
+
"""
|
|
156
|
+
return pulumi.get(self, "id")
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
@pulumi.getter(name="linkToDefaultDomain")
|
|
160
|
+
def link_to_default_domain(self) -> Optional[str]:
|
|
161
|
+
"""
|
|
162
|
+
whether this route will be linked to the default endpoint domain.
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "link_to_default_domain")
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
@pulumi.getter
|
|
168
|
+
def name(self) -> str:
|
|
169
|
+
"""
|
|
170
|
+
Resource name.
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "name")
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
@pulumi.getter(name="originGroup")
|
|
176
|
+
def origin_group(self) -> 'outputs.ResourceReferenceResponse':
|
|
177
|
+
"""
|
|
178
|
+
A reference to the origin group.
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "origin_group")
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
@pulumi.getter(name="originPath")
|
|
184
|
+
def origin_path(self) -> Optional[str]:
|
|
185
|
+
"""
|
|
186
|
+
A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "origin_path")
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
@pulumi.getter(name="patternsToMatch")
|
|
192
|
+
def patterns_to_match(self) -> Optional[Sequence[str]]:
|
|
193
|
+
"""
|
|
194
|
+
The route patterns of the rule.
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "patterns_to_match")
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
@pulumi.getter(name="provisioningState")
|
|
200
|
+
def provisioning_state(self) -> str:
|
|
201
|
+
"""
|
|
202
|
+
Provisioning status
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "provisioning_state")
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
@pulumi.getter(name="ruleSets")
|
|
208
|
+
def rule_sets(self) -> Optional[Sequence['outputs.ResourceReferenceResponse']]:
|
|
209
|
+
"""
|
|
210
|
+
rule sets referenced by this endpoint.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "rule_sets")
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter(name="supportedProtocols")
|
|
216
|
+
def supported_protocols(self) -> Optional[Sequence[str]]:
|
|
217
|
+
"""
|
|
218
|
+
List of supported protocols for this route.
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "supported_protocols")
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
@pulumi.getter(name="systemData")
|
|
224
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
225
|
+
"""
|
|
226
|
+
Read only system data
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "system_data")
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter
|
|
232
|
+
def type(self) -> str:
|
|
233
|
+
"""
|
|
234
|
+
Resource type.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "type")
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class AwaitableGetRouteResult(GetRouteResult):
|
|
240
|
+
# pylint: disable=using-constant-test
|
|
241
|
+
def __await__(self):
|
|
242
|
+
if False:
|
|
243
|
+
yield self
|
|
244
|
+
return GetRouteResult(
|
|
245
|
+
cache_configuration=self.cache_configuration,
|
|
246
|
+
custom_domains=self.custom_domains,
|
|
247
|
+
deployment_status=self.deployment_status,
|
|
248
|
+
enabled_state=self.enabled_state,
|
|
249
|
+
endpoint_name=self.endpoint_name,
|
|
250
|
+
forwarding_protocol=self.forwarding_protocol,
|
|
251
|
+
grpc_state=self.grpc_state,
|
|
252
|
+
https_redirect=self.https_redirect,
|
|
253
|
+
id=self.id,
|
|
254
|
+
link_to_default_domain=self.link_to_default_domain,
|
|
255
|
+
name=self.name,
|
|
256
|
+
origin_group=self.origin_group,
|
|
257
|
+
origin_path=self.origin_path,
|
|
258
|
+
patterns_to_match=self.patterns_to_match,
|
|
259
|
+
provisioning_state=self.provisioning_state,
|
|
260
|
+
rule_sets=self.rule_sets,
|
|
261
|
+
supported_protocols=self.supported_protocols,
|
|
262
|
+
system_data=self.system_data,
|
|
263
|
+
type=self.type)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
def get_route(endpoint_name: Optional[str] = None,
|
|
267
|
+
profile_name: Optional[str] = None,
|
|
268
|
+
resource_group_name: Optional[str] = None,
|
|
269
|
+
route_name: Optional[str] = None,
|
|
270
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRouteResult:
|
|
271
|
+
"""
|
|
272
|
+
Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
:param str endpoint_name: Name of the endpoint under the profile which is unique globally.
|
|
276
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
|
|
277
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
278
|
+
:param str route_name: Name of the routing rule.
|
|
279
|
+
"""
|
|
280
|
+
__args__ = dict()
|
|
281
|
+
__args__['endpointName'] = endpoint_name
|
|
282
|
+
__args__['profileName'] = profile_name
|
|
283
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
284
|
+
__args__['routeName'] = route_name
|
|
285
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
286
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getRoute', __args__, opts=opts, typ=GetRouteResult).value
|
|
287
|
+
|
|
288
|
+
return AwaitableGetRouteResult(
|
|
289
|
+
cache_configuration=pulumi.get(__ret__, 'cache_configuration'),
|
|
290
|
+
custom_domains=pulumi.get(__ret__, 'custom_domains'),
|
|
291
|
+
deployment_status=pulumi.get(__ret__, 'deployment_status'),
|
|
292
|
+
enabled_state=pulumi.get(__ret__, 'enabled_state'),
|
|
293
|
+
endpoint_name=pulumi.get(__ret__, 'endpoint_name'),
|
|
294
|
+
forwarding_protocol=pulumi.get(__ret__, 'forwarding_protocol'),
|
|
295
|
+
grpc_state=pulumi.get(__ret__, 'grpc_state'),
|
|
296
|
+
https_redirect=pulumi.get(__ret__, 'https_redirect'),
|
|
297
|
+
id=pulumi.get(__ret__, 'id'),
|
|
298
|
+
link_to_default_domain=pulumi.get(__ret__, 'link_to_default_domain'),
|
|
299
|
+
name=pulumi.get(__ret__, 'name'),
|
|
300
|
+
origin_group=pulumi.get(__ret__, 'origin_group'),
|
|
301
|
+
origin_path=pulumi.get(__ret__, 'origin_path'),
|
|
302
|
+
patterns_to_match=pulumi.get(__ret__, 'patterns_to_match'),
|
|
303
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
304
|
+
rule_sets=pulumi.get(__ret__, 'rule_sets'),
|
|
305
|
+
supported_protocols=pulumi.get(__ret__, 'supported_protocols'),
|
|
306
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
307
|
+
type=pulumi.get(__ret__, 'type'))
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
@_utilities.lift_output_func(get_route)
|
|
311
|
+
def get_route_output(endpoint_name: Optional[pulumi.Input[str]] = None,
|
|
312
|
+
profile_name: Optional[pulumi.Input[str]] = None,
|
|
313
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
314
|
+
route_name: Optional[pulumi.Input[str]] = None,
|
|
315
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRouteResult]:
|
|
316
|
+
"""
|
|
317
|
+
Gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor endpoint.
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
:param str endpoint_name: Name of the endpoint under the profile which is unique globally.
|
|
321
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
|
|
322
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
323
|
+
:param str route_name: Name of the routing rule.
|
|
324
|
+
"""
|
|
325
|
+
...
|