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,299 @@
|
|
|
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
|
+
'GetAFDOriginResult',
|
|
20
|
+
'AwaitableGetAFDOriginResult',
|
|
21
|
+
'get_afd_origin',
|
|
22
|
+
'get_afd_origin_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAFDOriginResult:
|
|
27
|
+
"""
|
|
28
|
+
Azure Front Door origin is the source of the content being delivered via Azure Front Door. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, azure_origin=None, deployment_status=None, enabled_state=None, enforce_certificate_name_check=None, host_name=None, http_port=None, https_port=None, id=None, name=None, origin_group_name=None, origin_host_header=None, priority=None, provisioning_state=None, shared_private_link_resource=None, system_data=None, type=None, weight=None):
|
|
31
|
+
if azure_origin and not isinstance(azure_origin, dict):
|
|
32
|
+
raise TypeError("Expected argument 'azure_origin' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "azure_origin", azure_origin)
|
|
34
|
+
if deployment_status and not isinstance(deployment_status, str):
|
|
35
|
+
raise TypeError("Expected argument 'deployment_status' to be a str")
|
|
36
|
+
pulumi.set(__self__, "deployment_status", deployment_status)
|
|
37
|
+
if enabled_state and not isinstance(enabled_state, str):
|
|
38
|
+
raise TypeError("Expected argument 'enabled_state' to be a str")
|
|
39
|
+
pulumi.set(__self__, "enabled_state", enabled_state)
|
|
40
|
+
if enforce_certificate_name_check and not isinstance(enforce_certificate_name_check, bool):
|
|
41
|
+
raise TypeError("Expected argument 'enforce_certificate_name_check' to be a bool")
|
|
42
|
+
pulumi.set(__self__, "enforce_certificate_name_check", enforce_certificate_name_check)
|
|
43
|
+
if host_name and not isinstance(host_name, str):
|
|
44
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
|
45
|
+
pulumi.set(__self__, "host_name", host_name)
|
|
46
|
+
if http_port and not isinstance(http_port, int):
|
|
47
|
+
raise TypeError("Expected argument 'http_port' to be a int")
|
|
48
|
+
pulumi.set(__self__, "http_port", http_port)
|
|
49
|
+
if https_port and not isinstance(https_port, int):
|
|
50
|
+
raise TypeError("Expected argument 'https_port' to be a int")
|
|
51
|
+
pulumi.set(__self__, "https_port", https_port)
|
|
52
|
+
if id and not isinstance(id, str):
|
|
53
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
54
|
+
pulumi.set(__self__, "id", id)
|
|
55
|
+
if name and not isinstance(name, str):
|
|
56
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
57
|
+
pulumi.set(__self__, "name", name)
|
|
58
|
+
if origin_group_name and not isinstance(origin_group_name, str):
|
|
59
|
+
raise TypeError("Expected argument 'origin_group_name' to be a str")
|
|
60
|
+
pulumi.set(__self__, "origin_group_name", origin_group_name)
|
|
61
|
+
if origin_host_header and not isinstance(origin_host_header, str):
|
|
62
|
+
raise TypeError("Expected argument 'origin_host_header' to be a str")
|
|
63
|
+
pulumi.set(__self__, "origin_host_header", origin_host_header)
|
|
64
|
+
if priority and not isinstance(priority, int):
|
|
65
|
+
raise TypeError("Expected argument 'priority' to be a int")
|
|
66
|
+
pulumi.set(__self__, "priority", priority)
|
|
67
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
68
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
69
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
70
|
+
if shared_private_link_resource and not isinstance(shared_private_link_resource, dict):
|
|
71
|
+
raise TypeError("Expected argument 'shared_private_link_resource' to be a dict")
|
|
72
|
+
pulumi.set(__self__, "shared_private_link_resource", shared_private_link_resource)
|
|
73
|
+
if system_data and not isinstance(system_data, dict):
|
|
74
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
75
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
76
|
+
if type and not isinstance(type, str):
|
|
77
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
78
|
+
pulumi.set(__self__, "type", type)
|
|
79
|
+
if weight and not isinstance(weight, int):
|
|
80
|
+
raise TypeError("Expected argument 'weight' to be a int")
|
|
81
|
+
pulumi.set(__self__, "weight", weight)
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
@pulumi.getter(name="azureOrigin")
|
|
85
|
+
def azure_origin(self) -> Optional['outputs.ResourceReferenceResponse']:
|
|
86
|
+
"""
|
|
87
|
+
Resource reference to the Azure origin resource.
|
|
88
|
+
"""
|
|
89
|
+
return pulumi.get(self, "azure_origin")
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="deploymentStatus")
|
|
93
|
+
def deployment_status(self) -> str:
|
|
94
|
+
return pulumi.get(self, "deployment_status")
|
|
95
|
+
|
|
96
|
+
@property
|
|
97
|
+
@pulumi.getter(name="enabledState")
|
|
98
|
+
def enabled_state(self) -> Optional[str]:
|
|
99
|
+
"""
|
|
100
|
+
Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.
|
|
101
|
+
"""
|
|
102
|
+
return pulumi.get(self, "enabled_state")
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
@pulumi.getter(name="enforceCertificateNameCheck")
|
|
106
|
+
def enforce_certificate_name_check(self) -> Optional[bool]:
|
|
107
|
+
"""
|
|
108
|
+
Whether to enable certificate name check at origin level
|
|
109
|
+
"""
|
|
110
|
+
return pulumi.get(self, "enforce_certificate_name_check")
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
@pulumi.getter(name="hostName")
|
|
114
|
+
def host_name(self) -> str:
|
|
115
|
+
"""
|
|
116
|
+
The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
|
|
117
|
+
"""
|
|
118
|
+
return pulumi.get(self, "host_name")
|
|
119
|
+
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter(name="httpPort")
|
|
122
|
+
def http_port(self) -> Optional[int]:
|
|
123
|
+
"""
|
|
124
|
+
The value of the HTTP port. Must be between 1 and 65535.
|
|
125
|
+
"""
|
|
126
|
+
return pulumi.get(self, "http_port")
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
@pulumi.getter(name="httpsPort")
|
|
130
|
+
def https_port(self) -> Optional[int]:
|
|
131
|
+
"""
|
|
132
|
+
The value of the HTTPS port. Must be between 1 and 65535.
|
|
133
|
+
"""
|
|
134
|
+
return pulumi.get(self, "https_port")
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter
|
|
138
|
+
def id(self) -> str:
|
|
139
|
+
"""
|
|
140
|
+
Resource ID.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "id")
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter
|
|
146
|
+
def name(self) -> str:
|
|
147
|
+
"""
|
|
148
|
+
Resource name.
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "name")
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter(name="originGroupName")
|
|
154
|
+
def origin_group_name(self) -> str:
|
|
155
|
+
"""
|
|
156
|
+
The name of the origin group which contains this origin.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "origin_group_name")
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter(name="originHostHeader")
|
|
162
|
+
def origin_host_header(self) -> Optional[str]:
|
|
163
|
+
"""
|
|
164
|
+
The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure Front Door origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. This overrides the host header defined at Endpoint
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "origin_host_header")
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter
|
|
170
|
+
def priority(self) -> Optional[int]:
|
|
171
|
+
"""
|
|
172
|
+
Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "priority")
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@pulumi.getter(name="provisioningState")
|
|
178
|
+
def provisioning_state(self) -> str:
|
|
179
|
+
"""
|
|
180
|
+
Provisioning status
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "provisioning_state")
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter(name="sharedPrivateLinkResource")
|
|
186
|
+
def shared_private_link_resource(self) -> Optional['outputs.SharedPrivateLinkResourcePropertiesResponse']:
|
|
187
|
+
"""
|
|
188
|
+
The properties of the private link resource for private origin.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "shared_private_link_resource")
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
@pulumi.getter(name="systemData")
|
|
194
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
195
|
+
"""
|
|
196
|
+
Read only system data
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "system_data")
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter
|
|
202
|
+
def type(self) -> str:
|
|
203
|
+
"""
|
|
204
|
+
Resource type.
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "type")
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
@pulumi.getter
|
|
210
|
+
def weight(self) -> Optional[int]:
|
|
211
|
+
"""
|
|
212
|
+
Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "weight")
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
class AwaitableGetAFDOriginResult(GetAFDOriginResult):
|
|
218
|
+
# pylint: disable=using-constant-test
|
|
219
|
+
def __await__(self):
|
|
220
|
+
if False:
|
|
221
|
+
yield self
|
|
222
|
+
return GetAFDOriginResult(
|
|
223
|
+
azure_origin=self.azure_origin,
|
|
224
|
+
deployment_status=self.deployment_status,
|
|
225
|
+
enabled_state=self.enabled_state,
|
|
226
|
+
enforce_certificate_name_check=self.enforce_certificate_name_check,
|
|
227
|
+
host_name=self.host_name,
|
|
228
|
+
http_port=self.http_port,
|
|
229
|
+
https_port=self.https_port,
|
|
230
|
+
id=self.id,
|
|
231
|
+
name=self.name,
|
|
232
|
+
origin_group_name=self.origin_group_name,
|
|
233
|
+
origin_host_header=self.origin_host_header,
|
|
234
|
+
priority=self.priority,
|
|
235
|
+
provisioning_state=self.provisioning_state,
|
|
236
|
+
shared_private_link_resource=self.shared_private_link_resource,
|
|
237
|
+
system_data=self.system_data,
|
|
238
|
+
type=self.type,
|
|
239
|
+
weight=self.weight)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
def get_afd_origin(origin_group_name: Optional[str] = None,
|
|
243
|
+
origin_name: Optional[str] = None,
|
|
244
|
+
profile_name: Optional[str] = None,
|
|
245
|
+
resource_group_name: Optional[str] = None,
|
|
246
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDOriginResult:
|
|
247
|
+
"""
|
|
248
|
+
Gets an existing origin within an origin group.
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
:param str origin_group_name: Name of the origin group which is unique within the profile.
|
|
252
|
+
:param str origin_name: Name of the origin which is unique within the profile.
|
|
253
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
|
|
254
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
255
|
+
"""
|
|
256
|
+
__args__ = dict()
|
|
257
|
+
__args__['originGroupName'] = origin_group_name
|
|
258
|
+
__args__['originName'] = origin_name
|
|
259
|
+
__args__['profileName'] = profile_name
|
|
260
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
261
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
262
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getAFDOrigin', __args__, opts=opts, typ=GetAFDOriginResult).value
|
|
263
|
+
|
|
264
|
+
return AwaitableGetAFDOriginResult(
|
|
265
|
+
azure_origin=pulumi.get(__ret__, 'azure_origin'),
|
|
266
|
+
deployment_status=pulumi.get(__ret__, 'deployment_status'),
|
|
267
|
+
enabled_state=pulumi.get(__ret__, 'enabled_state'),
|
|
268
|
+
enforce_certificate_name_check=pulumi.get(__ret__, 'enforce_certificate_name_check'),
|
|
269
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
|
270
|
+
http_port=pulumi.get(__ret__, 'http_port'),
|
|
271
|
+
https_port=pulumi.get(__ret__, 'https_port'),
|
|
272
|
+
id=pulumi.get(__ret__, 'id'),
|
|
273
|
+
name=pulumi.get(__ret__, 'name'),
|
|
274
|
+
origin_group_name=pulumi.get(__ret__, 'origin_group_name'),
|
|
275
|
+
origin_host_header=pulumi.get(__ret__, 'origin_host_header'),
|
|
276
|
+
priority=pulumi.get(__ret__, 'priority'),
|
|
277
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
278
|
+
shared_private_link_resource=pulumi.get(__ret__, 'shared_private_link_resource'),
|
|
279
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
280
|
+
type=pulumi.get(__ret__, 'type'),
|
|
281
|
+
weight=pulumi.get(__ret__, 'weight'))
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
@_utilities.lift_output_func(get_afd_origin)
|
|
285
|
+
def get_afd_origin_output(origin_group_name: Optional[pulumi.Input[str]] = None,
|
|
286
|
+
origin_name: Optional[pulumi.Input[str]] = None,
|
|
287
|
+
profile_name: Optional[pulumi.Input[str]] = None,
|
|
288
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
289
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDOriginResult]:
|
|
290
|
+
"""
|
|
291
|
+
Gets an existing origin within an origin group.
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
:param str origin_group_name: Name of the origin group which is unique within the profile.
|
|
295
|
+
:param str origin_name: Name of the origin which is unique within the profile.
|
|
296
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
|
|
297
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
298
|
+
"""
|
|
299
|
+
...
|
|
@@ -0,0 +1,216 @@
|
|
|
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
|
+
'GetAFDOriginGroupResult',
|
|
20
|
+
'AwaitableGetAFDOriginGroupResult',
|
|
21
|
+
'get_afd_origin_group',
|
|
22
|
+
'get_afd_origin_group_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAFDOriginGroupResult:
|
|
27
|
+
"""
|
|
28
|
+
AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from Azure Front Door.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, deployment_status=None, health_probe_settings=None, id=None, load_balancing_settings=None, name=None, profile_name=None, provisioning_state=None, session_affinity_state=None, system_data=None, traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=None, type=None):
|
|
31
|
+
if deployment_status and not isinstance(deployment_status, str):
|
|
32
|
+
raise TypeError("Expected argument 'deployment_status' to be a str")
|
|
33
|
+
pulumi.set(__self__, "deployment_status", deployment_status)
|
|
34
|
+
if health_probe_settings and not isinstance(health_probe_settings, dict):
|
|
35
|
+
raise TypeError("Expected argument 'health_probe_settings' to be a dict")
|
|
36
|
+
pulumi.set(__self__, "health_probe_settings", health_probe_settings)
|
|
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 load_balancing_settings and not isinstance(load_balancing_settings, dict):
|
|
41
|
+
raise TypeError("Expected argument 'load_balancing_settings' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "load_balancing_settings", load_balancing_settings)
|
|
43
|
+
if name and not isinstance(name, str):
|
|
44
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
45
|
+
pulumi.set(__self__, "name", name)
|
|
46
|
+
if profile_name and not isinstance(profile_name, str):
|
|
47
|
+
raise TypeError("Expected argument 'profile_name' to be a str")
|
|
48
|
+
pulumi.set(__self__, "profile_name", profile_name)
|
|
49
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
50
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
51
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
52
|
+
if session_affinity_state and not isinstance(session_affinity_state, str):
|
|
53
|
+
raise TypeError("Expected argument 'session_affinity_state' to be a str")
|
|
54
|
+
pulumi.set(__self__, "session_affinity_state", session_affinity_state)
|
|
55
|
+
if system_data and not isinstance(system_data, dict):
|
|
56
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
57
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
58
|
+
if traffic_restoration_time_to_healed_or_new_endpoints_in_minutes and not isinstance(traffic_restoration_time_to_healed_or_new_endpoints_in_minutes, int):
|
|
59
|
+
raise TypeError("Expected argument 'traffic_restoration_time_to_healed_or_new_endpoints_in_minutes' to be a int")
|
|
60
|
+
pulumi.set(__self__, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes", traffic_restoration_time_to_healed_or_new_endpoints_in_minutes)
|
|
61
|
+
if type and not isinstance(type, str):
|
|
62
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
63
|
+
pulumi.set(__self__, "type", type)
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter(name="deploymentStatus")
|
|
67
|
+
def deployment_status(self) -> str:
|
|
68
|
+
return pulumi.get(self, "deployment_status")
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="healthProbeSettings")
|
|
72
|
+
def health_probe_settings(self) -> Optional['outputs.HealthProbeParametersResponse']:
|
|
73
|
+
"""
|
|
74
|
+
Health probe settings to the origin that is used to determine the health of the origin.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "health_probe_settings")
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter
|
|
80
|
+
def id(self) -> str:
|
|
81
|
+
"""
|
|
82
|
+
Resource ID.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "id")
|
|
85
|
+
|
|
86
|
+
@property
|
|
87
|
+
@pulumi.getter(name="loadBalancingSettings")
|
|
88
|
+
def load_balancing_settings(self) -> Optional['outputs.LoadBalancingSettingsParametersResponse']:
|
|
89
|
+
"""
|
|
90
|
+
Load balancing settings for a backend pool
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "load_balancing_settings")
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def name(self) -> str:
|
|
97
|
+
"""
|
|
98
|
+
Resource name.
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "name")
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="profileName")
|
|
104
|
+
def profile_name(self) -> str:
|
|
105
|
+
"""
|
|
106
|
+
The name of the profile which holds the origin group.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "profile_name")
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="provisioningState")
|
|
112
|
+
def provisioning_state(self) -> str:
|
|
113
|
+
"""
|
|
114
|
+
Provisioning status
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "provisioning_state")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter(name="sessionAffinityState")
|
|
120
|
+
def session_affinity_state(self) -> Optional[str]:
|
|
121
|
+
"""
|
|
122
|
+
Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "session_affinity_state")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter(name="systemData")
|
|
128
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
129
|
+
"""
|
|
130
|
+
Read only system data
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "system_data")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes")
|
|
136
|
+
def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes(self) -> Optional[int]:
|
|
137
|
+
"""
|
|
138
|
+
Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "traffic_restoration_time_to_healed_or_new_endpoints_in_minutes")
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter
|
|
144
|
+
def type(self) -> str:
|
|
145
|
+
"""
|
|
146
|
+
Resource type.
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "type")
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class AwaitableGetAFDOriginGroupResult(GetAFDOriginGroupResult):
|
|
152
|
+
# pylint: disable=using-constant-test
|
|
153
|
+
def __await__(self):
|
|
154
|
+
if False:
|
|
155
|
+
yield self
|
|
156
|
+
return GetAFDOriginGroupResult(
|
|
157
|
+
deployment_status=self.deployment_status,
|
|
158
|
+
health_probe_settings=self.health_probe_settings,
|
|
159
|
+
id=self.id,
|
|
160
|
+
load_balancing_settings=self.load_balancing_settings,
|
|
161
|
+
name=self.name,
|
|
162
|
+
profile_name=self.profile_name,
|
|
163
|
+
provisioning_state=self.provisioning_state,
|
|
164
|
+
session_affinity_state=self.session_affinity_state,
|
|
165
|
+
system_data=self.system_data,
|
|
166
|
+
traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=self.traffic_restoration_time_to_healed_or_new_endpoints_in_minutes,
|
|
167
|
+
type=self.type)
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
def get_afd_origin_group(origin_group_name: Optional[str] = None,
|
|
171
|
+
profile_name: Optional[str] = None,
|
|
172
|
+
resource_group_name: Optional[str] = None,
|
|
173
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDOriginGroupResult:
|
|
174
|
+
"""
|
|
175
|
+
Gets an existing origin group within a profile.
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
:param str origin_group_name: Name of the origin group which is unique within the endpoint.
|
|
179
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
|
|
180
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
181
|
+
"""
|
|
182
|
+
__args__ = dict()
|
|
183
|
+
__args__['originGroupName'] = origin_group_name
|
|
184
|
+
__args__['profileName'] = profile_name
|
|
185
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
186
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
187
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getAFDOriginGroup', __args__, opts=opts, typ=GetAFDOriginGroupResult).value
|
|
188
|
+
|
|
189
|
+
return AwaitableGetAFDOriginGroupResult(
|
|
190
|
+
deployment_status=pulumi.get(__ret__, 'deployment_status'),
|
|
191
|
+
health_probe_settings=pulumi.get(__ret__, 'health_probe_settings'),
|
|
192
|
+
id=pulumi.get(__ret__, 'id'),
|
|
193
|
+
load_balancing_settings=pulumi.get(__ret__, 'load_balancing_settings'),
|
|
194
|
+
name=pulumi.get(__ret__, 'name'),
|
|
195
|
+
profile_name=pulumi.get(__ret__, 'profile_name'),
|
|
196
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
197
|
+
session_affinity_state=pulumi.get(__ret__, 'session_affinity_state'),
|
|
198
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
199
|
+
traffic_restoration_time_to_healed_or_new_endpoints_in_minutes=pulumi.get(__ret__, 'traffic_restoration_time_to_healed_or_new_endpoints_in_minutes'),
|
|
200
|
+
type=pulumi.get(__ret__, 'type'))
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
@_utilities.lift_output_func(get_afd_origin_group)
|
|
204
|
+
def get_afd_origin_group_output(origin_group_name: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
profile_name: Optional[pulumi.Input[str]] = None,
|
|
206
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
207
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDOriginGroupResult]:
|
|
208
|
+
"""
|
|
209
|
+
Gets an existing origin group within a profile.
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
:param str origin_group_name: Name of the origin group which is unique within the endpoint.
|
|
213
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium profile which is unique within the resource group.
|
|
214
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
215
|
+
"""
|
|
216
|
+
...
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
'GetAFDTargetGroupResult',
|
|
20
|
+
'AwaitableGetAFDTargetGroupResult',
|
|
21
|
+
'get_afd_target_group',
|
|
22
|
+
'get_afd_target_group_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAFDTargetGroupResult:
|
|
27
|
+
"""
|
|
28
|
+
AFDTargetGroup comprises a list of Endpoints that is used for tunnelling protocols to allow certain traffic.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, deployment_status=None, id=None, name=None, provisioning_state=None, system_data=None, target_endpoints=None, type=None):
|
|
31
|
+
if deployment_status and not isinstance(deployment_status, str):
|
|
32
|
+
raise TypeError("Expected argument 'deployment_status' to be a str")
|
|
33
|
+
pulumi.set(__self__, "deployment_status", deployment_status)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if name and not isinstance(name, str):
|
|
38
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "name", name)
|
|
40
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
41
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
42
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
43
|
+
if system_data and not isinstance(system_data, dict):
|
|
44
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
46
|
+
if target_endpoints and not isinstance(target_endpoints, list):
|
|
47
|
+
raise TypeError("Expected argument 'target_endpoints' to be a list")
|
|
48
|
+
pulumi.set(__self__, "target_endpoints", target_endpoints)
|
|
49
|
+
if type and not isinstance(type, str):
|
|
50
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
51
|
+
pulumi.set(__self__, "type", type)
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
@pulumi.getter(name="deploymentStatus")
|
|
55
|
+
def deployment_status(self) -> str:
|
|
56
|
+
return pulumi.get(self, "deployment_status")
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def id(self) -> str:
|
|
61
|
+
"""
|
|
62
|
+
Resource ID.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "id")
|
|
65
|
+
|
|
66
|
+
@property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def name(self) -> str:
|
|
69
|
+
"""
|
|
70
|
+
Resource name.
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "name")
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
@pulumi.getter(name="provisioningState")
|
|
76
|
+
def provisioning_state(self) -> str:
|
|
77
|
+
"""
|
|
78
|
+
Provisioning status
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "provisioning_state")
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="systemData")
|
|
84
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
85
|
+
"""
|
|
86
|
+
Read only system data
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "system_data")
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
@pulumi.getter(name="targetEndpoints")
|
|
92
|
+
def target_endpoints(self) -> Sequence['outputs.TargetEndpointResponse']:
|
|
93
|
+
"""
|
|
94
|
+
TargetEndpoint list referenced by this target group.
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "target_endpoints")
|
|
97
|
+
|
|
98
|
+
@property
|
|
99
|
+
@pulumi.getter
|
|
100
|
+
def type(self) -> str:
|
|
101
|
+
"""
|
|
102
|
+
Resource type.
|
|
103
|
+
"""
|
|
104
|
+
return pulumi.get(self, "type")
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class AwaitableGetAFDTargetGroupResult(GetAFDTargetGroupResult):
|
|
108
|
+
# pylint: disable=using-constant-test
|
|
109
|
+
def __await__(self):
|
|
110
|
+
if False:
|
|
111
|
+
yield self
|
|
112
|
+
return GetAFDTargetGroupResult(
|
|
113
|
+
deployment_status=self.deployment_status,
|
|
114
|
+
id=self.id,
|
|
115
|
+
name=self.name,
|
|
116
|
+
provisioning_state=self.provisioning_state,
|
|
117
|
+
system_data=self.system_data,
|
|
118
|
+
target_endpoints=self.target_endpoints,
|
|
119
|
+
type=self.type)
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
def get_afd_target_group(profile_name: Optional[str] = None,
|
|
123
|
+
resource_group_name: Optional[str] = None,
|
|
124
|
+
target_group_name: Optional[str] = None,
|
|
125
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAFDTargetGroupResult:
|
|
126
|
+
"""
|
|
127
|
+
Gets an existing target group within a profile.
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
|
|
131
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
132
|
+
:param str target_group_name: Name of the Target Group under the profile.
|
|
133
|
+
"""
|
|
134
|
+
__args__ = dict()
|
|
135
|
+
__args__['profileName'] = profile_name
|
|
136
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
137
|
+
__args__['targetGroupName'] = target_group_name
|
|
138
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
139
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getAFDTargetGroup', __args__, opts=opts, typ=GetAFDTargetGroupResult).value
|
|
140
|
+
|
|
141
|
+
return AwaitableGetAFDTargetGroupResult(
|
|
142
|
+
deployment_status=pulumi.get(__ret__, 'deployment_status'),
|
|
143
|
+
id=pulumi.get(__ret__, 'id'),
|
|
144
|
+
name=pulumi.get(__ret__, 'name'),
|
|
145
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
146
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
147
|
+
target_endpoints=pulumi.get(__ret__, 'target_endpoints'),
|
|
148
|
+
type=pulumi.get(__ret__, 'type'))
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
@_utilities.lift_output_func(get_afd_target_group)
|
|
152
|
+
def get_afd_target_group_output(profile_name: Optional[pulumi.Input[str]] = None,
|
|
153
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
154
|
+
target_group_name: Optional[pulumi.Input[str]] = None,
|
|
155
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAFDTargetGroupResult]:
|
|
156
|
+
"""
|
|
157
|
+
Gets an existing target group within a profile.
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
:param str profile_name: Name of the Azure Front Door Standard or Azure Front Door Premium which is unique within the resource group.
|
|
161
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
162
|
+
:param str target_group_name: Name of the Target Group under the profile.
|
|
163
|
+
"""
|
|
164
|
+
...
|