pulumi-azure-native 2.55.0a1723193023__py3-none-any.whl → 2.56.0a1723657983__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.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +52 -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/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.0a1723193023.dist-info → pulumi_azure_native-2.56.0a1723657983.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.55.0a1723193023.dist-info → pulumi_azure_native-2.56.0a1723657983.dist-info}/RECORD +234 -161
- {pulumi_azure_native-2.55.0a1723193023.dist-info → pulumi_azure_native-2.56.0a1723657983.dist-info}/WHEEL +1 -1
- {pulumi_azure_native-2.55.0a1723193023.dist-info → pulumi_azure_native-2.56.0a1723657983.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,224 @@
|
|
|
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
|
+
'GetCustomDomainResult',
|
|
20
|
+
'AwaitableGetCustomDomainResult',
|
|
21
|
+
'get_custom_domain',
|
|
22
|
+
'get_custom_domain_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetCustomDomainResult:
|
|
27
|
+
"""
|
|
28
|
+
Friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, custom_https_parameters=None, custom_https_provisioning_state=None, custom_https_provisioning_substate=None, host_name=None, id=None, name=None, provisioning_state=None, resource_state=None, system_data=None, type=None, validation_data=None):
|
|
31
|
+
if custom_https_parameters and not isinstance(custom_https_parameters, dict):
|
|
32
|
+
raise TypeError("Expected argument 'custom_https_parameters' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "custom_https_parameters", custom_https_parameters)
|
|
34
|
+
if custom_https_provisioning_state and not isinstance(custom_https_provisioning_state, str):
|
|
35
|
+
raise TypeError("Expected argument 'custom_https_provisioning_state' to be a str")
|
|
36
|
+
pulumi.set(__self__, "custom_https_provisioning_state", custom_https_provisioning_state)
|
|
37
|
+
if custom_https_provisioning_substate and not isinstance(custom_https_provisioning_substate, str):
|
|
38
|
+
raise TypeError("Expected argument 'custom_https_provisioning_substate' to be a str")
|
|
39
|
+
pulumi.set(__self__, "custom_https_provisioning_substate", custom_https_provisioning_substate)
|
|
40
|
+
if host_name and not isinstance(host_name, str):
|
|
41
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
|
42
|
+
pulumi.set(__self__, "host_name", host_name)
|
|
43
|
+
if id and not isinstance(id, str):
|
|
44
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
45
|
+
pulumi.set(__self__, "id", id)
|
|
46
|
+
if name and not isinstance(name, str):
|
|
47
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
48
|
+
pulumi.set(__self__, "name", 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 resource_state and not isinstance(resource_state, str):
|
|
53
|
+
raise TypeError("Expected argument 'resource_state' to be a str")
|
|
54
|
+
pulumi.set(__self__, "resource_state", resource_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 type and not isinstance(type, str):
|
|
59
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
60
|
+
pulumi.set(__self__, "type", type)
|
|
61
|
+
if validation_data and not isinstance(validation_data, str):
|
|
62
|
+
raise TypeError("Expected argument 'validation_data' to be a str")
|
|
63
|
+
pulumi.set(__self__, "validation_data", validation_data)
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter(name="customHttpsParameters")
|
|
67
|
+
def custom_https_parameters(self) -> Optional[Any]:
|
|
68
|
+
"""
|
|
69
|
+
Certificate parameters for securing custom HTTPS
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "custom_https_parameters")
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="customHttpsProvisioningState")
|
|
75
|
+
def custom_https_provisioning_state(self) -> str:
|
|
76
|
+
"""
|
|
77
|
+
Provisioning status of the custom domain.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "custom_https_provisioning_state")
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
@pulumi.getter(name="customHttpsProvisioningSubstate")
|
|
83
|
+
def custom_https_provisioning_substate(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
|
|
86
|
+
"""
|
|
87
|
+
return pulumi.get(self, "custom_https_provisioning_substate")
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
@pulumi.getter(name="hostName")
|
|
91
|
+
def host_name(self) -> str:
|
|
92
|
+
"""
|
|
93
|
+
The host name of the custom domain. Must be a domain name.
|
|
94
|
+
"""
|
|
95
|
+
return pulumi.get(self, "host_name")
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
@pulumi.getter
|
|
99
|
+
def id(self) -> str:
|
|
100
|
+
"""
|
|
101
|
+
Resource ID.
|
|
102
|
+
"""
|
|
103
|
+
return pulumi.get(self, "id")
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
@pulumi.getter
|
|
107
|
+
def name(self) -> str:
|
|
108
|
+
"""
|
|
109
|
+
Resource name.
|
|
110
|
+
"""
|
|
111
|
+
return pulumi.get(self, "name")
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
@pulumi.getter(name="provisioningState")
|
|
115
|
+
def provisioning_state(self) -> str:
|
|
116
|
+
"""
|
|
117
|
+
Provisioning status of Custom Https of the custom domain.
|
|
118
|
+
"""
|
|
119
|
+
return pulumi.get(self, "provisioning_state")
|
|
120
|
+
|
|
121
|
+
@property
|
|
122
|
+
@pulumi.getter(name="resourceState")
|
|
123
|
+
def resource_state(self) -> str:
|
|
124
|
+
"""
|
|
125
|
+
Resource status of the custom domain.
|
|
126
|
+
"""
|
|
127
|
+
return pulumi.get(self, "resource_state")
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
@pulumi.getter(name="systemData")
|
|
131
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
132
|
+
"""
|
|
133
|
+
Read only system data
|
|
134
|
+
"""
|
|
135
|
+
return pulumi.get(self, "system_data")
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
@pulumi.getter
|
|
139
|
+
def type(self) -> str:
|
|
140
|
+
"""
|
|
141
|
+
Resource type.
|
|
142
|
+
"""
|
|
143
|
+
return pulumi.get(self, "type")
|
|
144
|
+
|
|
145
|
+
@property
|
|
146
|
+
@pulumi.getter(name="validationData")
|
|
147
|
+
def validation_data(self) -> Optional[str]:
|
|
148
|
+
"""
|
|
149
|
+
Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
|
|
150
|
+
"""
|
|
151
|
+
return pulumi.get(self, "validation_data")
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
class AwaitableGetCustomDomainResult(GetCustomDomainResult):
|
|
155
|
+
# pylint: disable=using-constant-test
|
|
156
|
+
def __await__(self):
|
|
157
|
+
if False:
|
|
158
|
+
yield self
|
|
159
|
+
return GetCustomDomainResult(
|
|
160
|
+
custom_https_parameters=self.custom_https_parameters,
|
|
161
|
+
custom_https_provisioning_state=self.custom_https_provisioning_state,
|
|
162
|
+
custom_https_provisioning_substate=self.custom_https_provisioning_substate,
|
|
163
|
+
host_name=self.host_name,
|
|
164
|
+
id=self.id,
|
|
165
|
+
name=self.name,
|
|
166
|
+
provisioning_state=self.provisioning_state,
|
|
167
|
+
resource_state=self.resource_state,
|
|
168
|
+
system_data=self.system_data,
|
|
169
|
+
type=self.type,
|
|
170
|
+
validation_data=self.validation_data)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
def get_custom_domain(custom_domain_name: Optional[str] = None,
|
|
174
|
+
endpoint_name: Optional[str] = None,
|
|
175
|
+
profile_name: Optional[str] = None,
|
|
176
|
+
resource_group_name: Optional[str] = None,
|
|
177
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomDomainResult:
|
|
178
|
+
"""
|
|
179
|
+
Gets an existing custom domain within an endpoint.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
:param str custom_domain_name: Name of the custom domain within an endpoint.
|
|
183
|
+
:param str endpoint_name: Name of the endpoint under the profile which is unique globally.
|
|
184
|
+
:param str profile_name: Name of the CDN profile which is unique within the resource group.
|
|
185
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
186
|
+
"""
|
|
187
|
+
__args__ = dict()
|
|
188
|
+
__args__['customDomainName'] = custom_domain_name
|
|
189
|
+
__args__['endpointName'] = endpoint_name
|
|
190
|
+
__args__['profileName'] = profile_name
|
|
191
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
192
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
193
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getCustomDomain', __args__, opts=opts, typ=GetCustomDomainResult).value
|
|
194
|
+
|
|
195
|
+
return AwaitableGetCustomDomainResult(
|
|
196
|
+
custom_https_parameters=pulumi.get(__ret__, 'custom_https_parameters'),
|
|
197
|
+
custom_https_provisioning_state=pulumi.get(__ret__, 'custom_https_provisioning_state'),
|
|
198
|
+
custom_https_provisioning_substate=pulumi.get(__ret__, 'custom_https_provisioning_substate'),
|
|
199
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
|
200
|
+
id=pulumi.get(__ret__, 'id'),
|
|
201
|
+
name=pulumi.get(__ret__, 'name'),
|
|
202
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
203
|
+
resource_state=pulumi.get(__ret__, 'resource_state'),
|
|
204
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
205
|
+
type=pulumi.get(__ret__, 'type'),
|
|
206
|
+
validation_data=pulumi.get(__ret__, 'validation_data'))
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
@_utilities.lift_output_func(get_custom_domain)
|
|
210
|
+
def get_custom_domain_output(custom_domain_name: Optional[pulumi.Input[str]] = None,
|
|
211
|
+
endpoint_name: Optional[pulumi.Input[str]] = None,
|
|
212
|
+
profile_name: Optional[pulumi.Input[str]] = None,
|
|
213
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
214
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCustomDomainResult]:
|
|
215
|
+
"""
|
|
216
|
+
Gets an existing custom domain within an endpoint.
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
:param str custom_domain_name: Name of the custom domain within an endpoint.
|
|
220
|
+
:param str endpoint_name: Name of the endpoint under the profile which is unique globally.
|
|
221
|
+
:param str profile_name: Name of the CDN profile which is unique within the resource group.
|
|
222
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
223
|
+
"""
|
|
224
|
+
...
|
|
@@ -0,0 +1,414 @@
|
|
|
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
|
+
'GetEndpointResult',
|
|
20
|
+
'AwaitableGetEndpointResult',
|
|
21
|
+
'get_endpoint',
|
|
22
|
+
'get_endpoint_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetEndpointResult:
|
|
27
|
+
"""
|
|
28
|
+
CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format <endpointname>.azureedge.net.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, content_types_to_compress=None, custom_domains=None, default_origin_group=None, delivery_policy=None, geo_filters=None, host_name=None, id=None, is_compression_enabled=None, is_http_allowed=None, is_https_allowed=None, location=None, name=None, optimization_type=None, origin_groups=None, origin_host_header=None, origin_path=None, origins=None, probe_path=None, provisioning_state=None, query_string_caching_behavior=None, resource_state=None, system_data=None, tags=None, type=None, url_signing_keys=None, web_application_firewall_policy_link=None):
|
|
31
|
+
if content_types_to_compress and not isinstance(content_types_to_compress, list):
|
|
32
|
+
raise TypeError("Expected argument 'content_types_to_compress' to be a list")
|
|
33
|
+
pulumi.set(__self__, "content_types_to_compress", content_types_to_compress)
|
|
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 default_origin_group and not isinstance(default_origin_group, dict):
|
|
38
|
+
raise TypeError("Expected argument 'default_origin_group' to be a dict")
|
|
39
|
+
pulumi.set(__self__, "default_origin_group", default_origin_group)
|
|
40
|
+
if delivery_policy and not isinstance(delivery_policy, dict):
|
|
41
|
+
raise TypeError("Expected argument 'delivery_policy' to be a dict")
|
|
42
|
+
pulumi.set(__self__, "delivery_policy", delivery_policy)
|
|
43
|
+
if geo_filters and not isinstance(geo_filters, list):
|
|
44
|
+
raise TypeError("Expected argument 'geo_filters' to be a list")
|
|
45
|
+
pulumi.set(__self__, "geo_filters", geo_filters)
|
|
46
|
+
if host_name and not isinstance(host_name, str):
|
|
47
|
+
raise TypeError("Expected argument 'host_name' to be a str")
|
|
48
|
+
pulumi.set(__self__, "host_name", host_name)
|
|
49
|
+
if id and not isinstance(id, str):
|
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
51
|
+
pulumi.set(__self__, "id", id)
|
|
52
|
+
if is_compression_enabled and not isinstance(is_compression_enabled, bool):
|
|
53
|
+
raise TypeError("Expected argument 'is_compression_enabled' to be a bool")
|
|
54
|
+
pulumi.set(__self__, "is_compression_enabled", is_compression_enabled)
|
|
55
|
+
if is_http_allowed and not isinstance(is_http_allowed, bool):
|
|
56
|
+
raise TypeError("Expected argument 'is_http_allowed' to be a bool")
|
|
57
|
+
pulumi.set(__self__, "is_http_allowed", is_http_allowed)
|
|
58
|
+
if is_https_allowed and not isinstance(is_https_allowed, bool):
|
|
59
|
+
raise TypeError("Expected argument 'is_https_allowed' to be a bool")
|
|
60
|
+
pulumi.set(__self__, "is_https_allowed", is_https_allowed)
|
|
61
|
+
if location and not isinstance(location, str):
|
|
62
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
63
|
+
pulumi.set(__self__, "location", location)
|
|
64
|
+
if name and not isinstance(name, str):
|
|
65
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
66
|
+
pulumi.set(__self__, "name", name)
|
|
67
|
+
if optimization_type and not isinstance(optimization_type, str):
|
|
68
|
+
raise TypeError("Expected argument 'optimization_type' to be a str")
|
|
69
|
+
pulumi.set(__self__, "optimization_type", optimization_type)
|
|
70
|
+
if origin_groups and not isinstance(origin_groups, list):
|
|
71
|
+
raise TypeError("Expected argument 'origin_groups' to be a list")
|
|
72
|
+
pulumi.set(__self__, "origin_groups", origin_groups)
|
|
73
|
+
if origin_host_header and not isinstance(origin_host_header, str):
|
|
74
|
+
raise TypeError("Expected argument 'origin_host_header' to be a str")
|
|
75
|
+
pulumi.set(__self__, "origin_host_header", origin_host_header)
|
|
76
|
+
if origin_path and not isinstance(origin_path, str):
|
|
77
|
+
raise TypeError("Expected argument 'origin_path' to be a str")
|
|
78
|
+
pulumi.set(__self__, "origin_path", origin_path)
|
|
79
|
+
if origins and not isinstance(origins, list):
|
|
80
|
+
raise TypeError("Expected argument 'origins' to be a list")
|
|
81
|
+
pulumi.set(__self__, "origins", origins)
|
|
82
|
+
if probe_path and not isinstance(probe_path, str):
|
|
83
|
+
raise TypeError("Expected argument 'probe_path' to be a str")
|
|
84
|
+
pulumi.set(__self__, "probe_path", probe_path)
|
|
85
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
86
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
87
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
88
|
+
if query_string_caching_behavior and not isinstance(query_string_caching_behavior, str):
|
|
89
|
+
raise TypeError("Expected argument 'query_string_caching_behavior' to be a str")
|
|
90
|
+
pulumi.set(__self__, "query_string_caching_behavior", query_string_caching_behavior)
|
|
91
|
+
if resource_state and not isinstance(resource_state, str):
|
|
92
|
+
raise TypeError("Expected argument 'resource_state' to be a str")
|
|
93
|
+
pulumi.set(__self__, "resource_state", resource_state)
|
|
94
|
+
if system_data and not isinstance(system_data, dict):
|
|
95
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
96
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
97
|
+
if tags and not isinstance(tags, dict):
|
|
98
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
99
|
+
pulumi.set(__self__, "tags", tags)
|
|
100
|
+
if type and not isinstance(type, str):
|
|
101
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
102
|
+
pulumi.set(__self__, "type", type)
|
|
103
|
+
if url_signing_keys and not isinstance(url_signing_keys, list):
|
|
104
|
+
raise TypeError("Expected argument 'url_signing_keys' to be a list")
|
|
105
|
+
pulumi.set(__self__, "url_signing_keys", url_signing_keys)
|
|
106
|
+
if web_application_firewall_policy_link and not isinstance(web_application_firewall_policy_link, dict):
|
|
107
|
+
raise TypeError("Expected argument 'web_application_firewall_policy_link' to be a dict")
|
|
108
|
+
pulumi.set(__self__, "web_application_firewall_policy_link", web_application_firewall_policy_link)
|
|
109
|
+
|
|
110
|
+
@property
|
|
111
|
+
@pulumi.getter(name="contentTypesToCompress")
|
|
112
|
+
def content_types_to_compress(self) -> Optional[Sequence[str]]:
|
|
113
|
+
"""
|
|
114
|
+
List of content types on which compression applies. The value should be a valid MIME type.
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "content_types_to_compress")
|
|
117
|
+
|
|
118
|
+
@property
|
|
119
|
+
@pulumi.getter(name="customDomains")
|
|
120
|
+
def custom_domains(self) -> Sequence['outputs.DeepCreatedCustomDomainResponse']:
|
|
121
|
+
"""
|
|
122
|
+
The custom domains under the endpoint.
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "custom_domains")
|
|
125
|
+
|
|
126
|
+
@property
|
|
127
|
+
@pulumi.getter(name="defaultOriginGroup")
|
|
128
|
+
def default_origin_group(self) -> Optional['outputs.ResourceReferenceResponse']:
|
|
129
|
+
"""
|
|
130
|
+
A reference to the origin group.
|
|
131
|
+
"""
|
|
132
|
+
return pulumi.get(self, "default_origin_group")
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="deliveryPolicy")
|
|
136
|
+
def delivery_policy(self) -> Optional['outputs.EndpointPropertiesUpdateParametersResponseDeliveryPolicy']:
|
|
137
|
+
"""
|
|
138
|
+
A policy that specifies the delivery rules to be used for an endpoint.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "delivery_policy")
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
@pulumi.getter(name="geoFilters")
|
|
144
|
+
def geo_filters(self) -> Optional[Sequence['outputs.GeoFilterResponse']]:
|
|
145
|
+
"""
|
|
146
|
+
List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
|
|
147
|
+
"""
|
|
148
|
+
return pulumi.get(self, "geo_filters")
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
@pulumi.getter(name="hostName")
|
|
152
|
+
def host_name(self) -> str:
|
|
153
|
+
"""
|
|
154
|
+
The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
|
|
155
|
+
"""
|
|
156
|
+
return pulumi.get(self, "host_name")
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
@pulumi.getter
|
|
160
|
+
def id(self) -> str:
|
|
161
|
+
"""
|
|
162
|
+
Resource ID.
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "id")
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
@pulumi.getter(name="isCompressionEnabled")
|
|
168
|
+
def is_compression_enabled(self) -> Optional[bool]:
|
|
169
|
+
"""
|
|
170
|
+
Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
|
|
171
|
+
"""
|
|
172
|
+
return pulumi.get(self, "is_compression_enabled")
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
@pulumi.getter(name="isHttpAllowed")
|
|
176
|
+
def is_http_allowed(self) -> Optional[bool]:
|
|
177
|
+
"""
|
|
178
|
+
Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "is_http_allowed")
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
@pulumi.getter(name="isHttpsAllowed")
|
|
184
|
+
def is_https_allowed(self) -> Optional[bool]:
|
|
185
|
+
"""
|
|
186
|
+
Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "is_https_allowed")
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
@pulumi.getter
|
|
192
|
+
def location(self) -> str:
|
|
193
|
+
"""
|
|
194
|
+
Resource location.
|
|
195
|
+
"""
|
|
196
|
+
return pulumi.get(self, "location")
|
|
197
|
+
|
|
198
|
+
@property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def name(self) -> str:
|
|
201
|
+
"""
|
|
202
|
+
Resource name.
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "name")
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
@pulumi.getter(name="optimizationType")
|
|
208
|
+
def optimization_type(self) -> Optional[str]:
|
|
209
|
+
"""
|
|
210
|
+
Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "optimization_type")
|
|
213
|
+
|
|
214
|
+
@property
|
|
215
|
+
@pulumi.getter(name="originGroups")
|
|
216
|
+
def origin_groups(self) -> Optional[Sequence['outputs.DeepCreatedOriginGroupResponse']]:
|
|
217
|
+
"""
|
|
218
|
+
The origin groups comprising of origins that are used for load balancing the traffic based on availability.
|
|
219
|
+
"""
|
|
220
|
+
return pulumi.get(self, "origin_groups")
|
|
221
|
+
|
|
222
|
+
@property
|
|
223
|
+
@pulumi.getter(name="originHostHeader")
|
|
224
|
+
def origin_host_header(self) -> Optional[str]:
|
|
225
|
+
"""
|
|
226
|
+
The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
|
|
227
|
+
"""
|
|
228
|
+
return pulumi.get(self, "origin_host_header")
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter(name="originPath")
|
|
232
|
+
def origin_path(self) -> Optional[str]:
|
|
233
|
+
"""
|
|
234
|
+
A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "origin_path")
|
|
237
|
+
|
|
238
|
+
@property
|
|
239
|
+
@pulumi.getter
|
|
240
|
+
def origins(self) -> Sequence['outputs.DeepCreatedOriginResponse']:
|
|
241
|
+
"""
|
|
242
|
+
The source of the content being delivered via CDN.
|
|
243
|
+
"""
|
|
244
|
+
return pulumi.get(self, "origins")
|
|
245
|
+
|
|
246
|
+
@property
|
|
247
|
+
@pulumi.getter(name="probePath")
|
|
248
|
+
def probe_path(self) -> Optional[str]:
|
|
249
|
+
"""
|
|
250
|
+
Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. This property is only relevant when using a single origin.
|
|
251
|
+
"""
|
|
252
|
+
return pulumi.get(self, "probe_path")
|
|
253
|
+
|
|
254
|
+
@property
|
|
255
|
+
@pulumi.getter(name="provisioningState")
|
|
256
|
+
def provisioning_state(self) -> str:
|
|
257
|
+
"""
|
|
258
|
+
Provisioning status of the endpoint.
|
|
259
|
+
"""
|
|
260
|
+
return pulumi.get(self, "provisioning_state")
|
|
261
|
+
|
|
262
|
+
@property
|
|
263
|
+
@pulumi.getter(name="queryStringCachingBehavior")
|
|
264
|
+
def query_string_caching_behavior(self) -> Optional[str]:
|
|
265
|
+
"""
|
|
266
|
+
Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.
|
|
267
|
+
"""
|
|
268
|
+
return pulumi.get(self, "query_string_caching_behavior")
|
|
269
|
+
|
|
270
|
+
@property
|
|
271
|
+
@pulumi.getter(name="resourceState")
|
|
272
|
+
def resource_state(self) -> str:
|
|
273
|
+
"""
|
|
274
|
+
Resource status of the endpoint.
|
|
275
|
+
"""
|
|
276
|
+
return pulumi.get(self, "resource_state")
|
|
277
|
+
|
|
278
|
+
@property
|
|
279
|
+
@pulumi.getter(name="systemData")
|
|
280
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
281
|
+
"""
|
|
282
|
+
Read only system data
|
|
283
|
+
"""
|
|
284
|
+
return pulumi.get(self, "system_data")
|
|
285
|
+
|
|
286
|
+
@property
|
|
287
|
+
@pulumi.getter
|
|
288
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
289
|
+
"""
|
|
290
|
+
Resource tags.
|
|
291
|
+
"""
|
|
292
|
+
return pulumi.get(self, "tags")
|
|
293
|
+
|
|
294
|
+
@property
|
|
295
|
+
@pulumi.getter
|
|
296
|
+
def type(self) -> str:
|
|
297
|
+
"""
|
|
298
|
+
Resource type.
|
|
299
|
+
"""
|
|
300
|
+
return pulumi.get(self, "type")
|
|
301
|
+
|
|
302
|
+
@property
|
|
303
|
+
@pulumi.getter(name="urlSigningKeys")
|
|
304
|
+
def url_signing_keys(self) -> Optional[Sequence['outputs.UrlSigningKeyResponse']]:
|
|
305
|
+
"""
|
|
306
|
+
List of keys used to validate the signed URL hashes.
|
|
307
|
+
"""
|
|
308
|
+
return pulumi.get(self, "url_signing_keys")
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
@pulumi.getter(name="webApplicationFirewallPolicyLink")
|
|
312
|
+
def web_application_firewall_policy_link(self) -> Optional['outputs.EndpointPropertiesUpdateParametersResponseWebApplicationFirewallPolicyLink']:
|
|
313
|
+
"""
|
|
314
|
+
Defines the Web Application Firewall policy for the endpoint (if applicable)
|
|
315
|
+
"""
|
|
316
|
+
return pulumi.get(self, "web_application_firewall_policy_link")
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class AwaitableGetEndpointResult(GetEndpointResult):
|
|
320
|
+
# pylint: disable=using-constant-test
|
|
321
|
+
def __await__(self):
|
|
322
|
+
if False:
|
|
323
|
+
yield self
|
|
324
|
+
return GetEndpointResult(
|
|
325
|
+
content_types_to_compress=self.content_types_to_compress,
|
|
326
|
+
custom_domains=self.custom_domains,
|
|
327
|
+
default_origin_group=self.default_origin_group,
|
|
328
|
+
delivery_policy=self.delivery_policy,
|
|
329
|
+
geo_filters=self.geo_filters,
|
|
330
|
+
host_name=self.host_name,
|
|
331
|
+
id=self.id,
|
|
332
|
+
is_compression_enabled=self.is_compression_enabled,
|
|
333
|
+
is_http_allowed=self.is_http_allowed,
|
|
334
|
+
is_https_allowed=self.is_https_allowed,
|
|
335
|
+
location=self.location,
|
|
336
|
+
name=self.name,
|
|
337
|
+
optimization_type=self.optimization_type,
|
|
338
|
+
origin_groups=self.origin_groups,
|
|
339
|
+
origin_host_header=self.origin_host_header,
|
|
340
|
+
origin_path=self.origin_path,
|
|
341
|
+
origins=self.origins,
|
|
342
|
+
probe_path=self.probe_path,
|
|
343
|
+
provisioning_state=self.provisioning_state,
|
|
344
|
+
query_string_caching_behavior=self.query_string_caching_behavior,
|
|
345
|
+
resource_state=self.resource_state,
|
|
346
|
+
system_data=self.system_data,
|
|
347
|
+
tags=self.tags,
|
|
348
|
+
type=self.type,
|
|
349
|
+
url_signing_keys=self.url_signing_keys,
|
|
350
|
+
web_application_firewall_policy_link=self.web_application_firewall_policy_link)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
def get_endpoint(endpoint_name: Optional[str] = None,
|
|
354
|
+
profile_name: Optional[str] = None,
|
|
355
|
+
resource_group_name: Optional[str] = None,
|
|
356
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEndpointResult:
|
|
357
|
+
"""
|
|
358
|
+
Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
:param str endpoint_name: Name of the endpoint under the profile which is unique globally.
|
|
362
|
+
:param str profile_name: Name of the CDN profile which is unique within the resource group.
|
|
363
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
364
|
+
"""
|
|
365
|
+
__args__ = dict()
|
|
366
|
+
__args__['endpointName'] = endpoint_name
|
|
367
|
+
__args__['profileName'] = profile_name
|
|
368
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
369
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
370
|
+
__ret__ = pulumi.runtime.invoke('azure-native:cdn/v20240601preview:getEndpoint', __args__, opts=opts, typ=GetEndpointResult).value
|
|
371
|
+
|
|
372
|
+
return AwaitableGetEndpointResult(
|
|
373
|
+
content_types_to_compress=pulumi.get(__ret__, 'content_types_to_compress'),
|
|
374
|
+
custom_domains=pulumi.get(__ret__, 'custom_domains'),
|
|
375
|
+
default_origin_group=pulumi.get(__ret__, 'default_origin_group'),
|
|
376
|
+
delivery_policy=pulumi.get(__ret__, 'delivery_policy'),
|
|
377
|
+
geo_filters=pulumi.get(__ret__, 'geo_filters'),
|
|
378
|
+
host_name=pulumi.get(__ret__, 'host_name'),
|
|
379
|
+
id=pulumi.get(__ret__, 'id'),
|
|
380
|
+
is_compression_enabled=pulumi.get(__ret__, 'is_compression_enabled'),
|
|
381
|
+
is_http_allowed=pulumi.get(__ret__, 'is_http_allowed'),
|
|
382
|
+
is_https_allowed=pulumi.get(__ret__, 'is_https_allowed'),
|
|
383
|
+
location=pulumi.get(__ret__, 'location'),
|
|
384
|
+
name=pulumi.get(__ret__, 'name'),
|
|
385
|
+
optimization_type=pulumi.get(__ret__, 'optimization_type'),
|
|
386
|
+
origin_groups=pulumi.get(__ret__, 'origin_groups'),
|
|
387
|
+
origin_host_header=pulumi.get(__ret__, 'origin_host_header'),
|
|
388
|
+
origin_path=pulumi.get(__ret__, 'origin_path'),
|
|
389
|
+
origins=pulumi.get(__ret__, 'origins'),
|
|
390
|
+
probe_path=pulumi.get(__ret__, 'probe_path'),
|
|
391
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
392
|
+
query_string_caching_behavior=pulumi.get(__ret__, 'query_string_caching_behavior'),
|
|
393
|
+
resource_state=pulumi.get(__ret__, 'resource_state'),
|
|
394
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
395
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
396
|
+
type=pulumi.get(__ret__, 'type'),
|
|
397
|
+
url_signing_keys=pulumi.get(__ret__, 'url_signing_keys'),
|
|
398
|
+
web_application_firewall_policy_link=pulumi.get(__ret__, 'web_application_firewall_policy_link'))
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
@_utilities.lift_output_func(get_endpoint)
|
|
402
|
+
def get_endpoint_output(endpoint_name: Optional[pulumi.Input[str]] = None,
|
|
403
|
+
profile_name: Optional[pulumi.Input[str]] = None,
|
|
404
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
405
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEndpointResult]:
|
|
406
|
+
"""
|
|
407
|
+
Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
:param str endpoint_name: Name of the endpoint under the profile which is unique globally.
|
|
411
|
+
:param str profile_name: Name of the CDN profile which is unique within the resource group.
|
|
412
|
+
:param str resource_group_name: Name of the Resource group within the Azure subscription.
|
|
413
|
+
"""
|
|
414
|
+
...
|