pulumi-azure-native 2.43.0a1717057472__py3-none-any.whl → 2.44.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.
Potentially problematic release.
This version of pulumi-azure-native might be problematic. Click here for more details.
- pulumi_azure_native/__init__.py +69 -2
- pulumi_azure_native/appcomplianceautomation/__init__.py +14 -0
- pulumi_azure_native/appcomplianceautomation/_enums.py +125 -0
- pulumi_azure_native/appcomplianceautomation/_inputs.py +40 -0
- pulumi_azure_native/appcomplianceautomation/evidence.py +363 -0
- pulumi_azure_native/appcomplianceautomation/get_evidence.py +198 -0
- pulumi_azure_native/appcomplianceautomation/get_provider_action_collection_count.py +75 -0
- pulumi_azure_native/appcomplianceautomation/get_provider_action_overview_status.py +76 -0
- pulumi_azure_native/appcomplianceautomation/get_report.py +4 -0
- pulumi_azure_native/appcomplianceautomation/get_report_scoping_questions.py +76 -0
- pulumi_azure_native/appcomplianceautomation/get_scoping_configuration.py +146 -0
- pulumi_azure_native/appcomplianceautomation/get_webhook.py +289 -0
- pulumi_azure_native/appcomplianceautomation/list_provider_action_in_use_storage_accounts.py +76 -0
- pulumi_azure_native/appcomplianceautomation/outputs.py +226 -0
- pulumi_azure_native/appcomplianceautomation/report.py +5 -1
- pulumi_azure_native/appcomplianceautomation/scoping_configuration.py +206 -0
- pulumi_azure_native/appcomplianceautomation/v20221116preview/report.py +1 -1
- pulumi_azure_native/appcomplianceautomation/v20240627/__init__.py +22 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/_enums.py +144 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/_inputs.py +215 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/evidence.py +361 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_evidence.py +196 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_collection_count.py +73 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_provider_action_overview_status.py +74 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_report.py +296 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_report_scoping_questions.py +74 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_scoping_configuration.py +144 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/get_webhook.py +287 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/list_provider_action_in_use_storage_accounts.py +74 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/outputs.py +720 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/report.py +387 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/scoping_configuration.py +204 -0
- pulumi_azure_native/appcomplianceautomation/v20240627/webhook.py +447 -0
- pulumi_azure_native/appcomplianceautomation/webhook.py +449 -0
- pulumi_azure_native/devhub/__init__.py +5 -0
- pulumi_azure_native/devhub/_inputs.py +190 -0
- pulumi_azure_native/devhub/get_git_hub_o_auth.py +2 -2
- pulumi_azure_native/devhub/get_iac_profile.py +322 -0
- pulumi_azure_native/devhub/get_workflow.py +2 -2
- pulumi_azure_native/devhub/iac_profile.py +539 -0
- pulumi_azure_native/devhub/outputs.py +229 -0
- pulumi_azure_native/devhub/v20221011preview/workflow.py +1 -1
- pulumi_azure_native/devhub/v20230801/workflow.py +1 -1
- pulumi_azure_native/devhub/v20240501preview/__init__.py +15 -0
- pulumi_azure_native/devhub/v20240501preview/_enums.py +146 -0
- pulumi_azure_native/devhub/v20240501preview/_inputs.py +427 -0
- pulumi_azure_native/devhub/v20240501preview/get_git_hub_o_auth.py +91 -0
- pulumi_azure_native/devhub/v20240501preview/get_iac_profile.py +320 -0
- pulumi_azure_native/devhub/v20240501preview/get_workflow.py +489 -0
- pulumi_azure_native/devhub/v20240501preview/iac_profile.py +537 -0
- pulumi_azure_native/devhub/v20240501preview/outputs.py +654 -0
- pulumi_azure_native/devhub/v20240501preview/workflow.py +915 -0
- pulumi_azure_native/devhub/workflow.py +3 -3
- pulumi_azure_native/hybridcompute/__init__.py +3 -0
- pulumi_azure_native/hybridcompute/gateway.py +5 -1
- pulumi_azure_native/hybridcompute/get_gateway.py +4 -0
- pulumi_azure_native/hybridcompute/get_license.py +2 -2
- pulumi_azure_native/hybridcompute/get_license_profile.py +2 -2
- pulumi_azure_native/hybridcompute/get_machine.py +2 -2
- pulumi_azure_native/hybridcompute/get_machine_extension.py +2 -2
- pulumi_azure_native/hybridcompute/get_machine_run_command.py +2 -2
- pulumi_azure_native/hybridcompute/get_private_endpoint_connection.py +2 -2
- pulumi_azure_native/hybridcompute/get_private_link_scope.py +2 -2
- pulumi_azure_native/hybridcompute/license.py +3 -3
- pulumi_azure_native/hybridcompute/license_profile.py +3 -3
- pulumi_azure_native/hybridcompute/machine.py +3 -3
- pulumi_azure_native/hybridcompute/machine_extension.py +3 -3
- pulumi_azure_native/hybridcompute/machine_run_command.py +3 -3
- pulumi_azure_native/hybridcompute/private_endpoint_connection.py +3 -3
- pulumi_azure_native/hybridcompute/private_link_scope.py +3 -3
- pulumi_azure_native/hybridcompute/v20200802/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20200815preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20220510preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20220510preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20221227/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/license.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/license_profile.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20230620preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/license.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/license_profile.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/machine_run_command.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20231003preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/gateway.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/license.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/license_profile.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/machine.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/machine_extension.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/machine_run_command.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/private_endpoint_connection.py +1 -1
- pulumi_azure_native/hybridcompute/v20240331preview/private_link_scope.py +1 -1
- pulumi_azure_native/hybridcompute/v20240520preview/__init__.py +26 -0
- pulumi_azure_native/hybridcompute/v20240520preview/_enums.py +172 -0
- pulumi_azure_native/hybridcompute/v20240520preview/_inputs.py +1408 -0
- pulumi_azure_native/hybridcompute/v20240520preview/gateway.py +311 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_gateway.py +209 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_license.py +196 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_license_profile.py +357 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_machine.py +591 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_machine_extension.py +162 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_machine_run_command.py +318 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_private_endpoint_connection.py +136 -0
- pulumi_azure_native/hybridcompute/v20240520preview/get_private_link_scope.py +157 -0
- pulumi_azure_native/hybridcompute/v20240520preview/license.py +321 -0
- pulumi_azure_native/hybridcompute/v20240520preview/license_profile.py +500 -0
- pulumi_azure_native/hybridcompute/v20240520preview/machine.py +850 -0
- pulumi_azure_native/hybridcompute/v20240520preview/machine_extension.py +274 -0
- pulumi_azure_native/hybridcompute/v20240520preview/machine_run_command.py +587 -0
- pulumi_azure_native/hybridcompute/v20240520preview/outputs.py +3204 -0
- pulumi_azure_native/hybridcompute/v20240520preview/private_endpoint_connection.py +215 -0
- pulumi_azure_native/hybridcompute/v20240520preview/private_link_scope.py +253 -0
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/scvmm/get_guest_agent.py +2 -2
- pulumi_azure_native/scvmm/get_vm_instance_guest_agent.py +0 -4
- pulumi_azure_native/scvmm/guest_agent.py +2 -2
- pulumi_azure_native/scvmm/v20231007/__init__.py +2 -2
- pulumi_azure_native/scvmm/v20231007/_enums.py +49 -4
- pulumi_azure_native/scvmm/v20231007/_inputs.py +56 -145
- pulumi_azure_native/scvmm/v20231007/cloud.py +6 -6
- pulumi_azure_native/scvmm/v20231007/get_cloud.py +10 -10
- pulumi_azure_native/scvmm/v20231007/{get_vm_instance_guest_agent.py → get_guest_agent.py} +16 -16
- pulumi_azure_native/scvmm/v20231007/get_inventory_item.py +4 -4
- pulumi_azure_native/scvmm/v20231007/get_virtual_machine_instance.py +4 -4
- pulumi_azure_native/scvmm/v20231007/get_vmm_server.py +6 -6
- pulumi_azure_native/scvmm/v20231007/{vm_instance_guest_agent.py → guest_agent.py} +18 -18
- pulumi_azure_native/scvmm/v20231007/inventory_item.py +5 -5
- pulumi_azure_native/scvmm/v20231007/outputs.py +96 -100
- pulumi_azure_native/scvmm/v20231007/virtual_machine_instance.py +19 -19
- pulumi_azure_native/scvmm/v20231007/vmm_server.py +13 -13
- pulumi_azure_native/scvmm/vm_instance_guest_agent.py +0 -4
- pulumi_azure_native/storage/v20230501/_enums.py +2 -0
- pulumi_azure_native/verifiedid/__init__.py +18 -0
- pulumi_azure_native/verifiedid/authority.py +234 -0
- pulumi_azure_native/verifiedid/get_authority.py +159 -0
- pulumi_azure_native/verifiedid/outputs.py +125 -0
- pulumi_azure_native/verifiedid/v20240126preview/__init__.py +10 -0
- pulumi_azure_native/verifiedid/v20240126preview/authority.py +232 -0
- pulumi_azure_native/verifiedid/v20240126preview/get_authority.py +157 -0
- pulumi_azure_native/verifiedid/v20240126preview/outputs.py +125 -0
- pulumi_azure_native/virtualmachineimages/__init__.py +3 -0
- pulumi_azure_native/virtualmachineimages/get_trigger.py +2 -2
- pulumi_azure_native/virtualmachineimages/get_virtual_machine_image_template.py +2 -2
- pulumi_azure_native/virtualmachineimages/trigger.py +3 -3
- pulumi_azure_native/virtualmachineimages/v20220701/trigger.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20220701/virtual_machine_image_template.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20230701/trigger.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20230701/virtual_machine_image_template.py +1 -1
- pulumi_azure_native/virtualmachineimages/v20240201/__init__.py +14 -0
- pulumi_azure_native/virtualmachineimages/v20240201/_enums.py +60 -0
- pulumi_azure_native/virtualmachineimages/v20240201/_inputs.py +1895 -0
- pulumi_azure_native/virtualmachineimages/v20240201/get_trigger.py +162 -0
- pulumi_azure_native/virtualmachineimages/v20240201/get_virtual_machine_image_template.py +352 -0
- pulumi_azure_native/virtualmachineimages/v20240201/outputs.py +2401 -0
- pulumi_azure_native/virtualmachineimages/v20240201/trigger.py +235 -0
- pulumi_azure_native/virtualmachineimages/v20240201/virtual_machine_image_template.py +619 -0
- pulumi_azure_native/virtualmachineimages/virtual_machine_image_template.py +3 -3
- {pulumi_azure_native-2.43.0a1717057472.dist-info → pulumi_azure_native-2.44.0.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.43.0a1717057472.dist-info → pulumi_azure_native-2.44.0.dist-info}/RECORD +171 -97
- {pulumi_azure_native-2.43.0a1717057472.dist-info → pulumi_azure_native-2.44.0.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.43.0a1717057472.dist-info → pulumi_azure_native-2.44.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,311 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._enums import *
|
|
13
|
+
|
|
14
|
+
__all__ = ['GatewayArgs', 'Gateway']
|
|
15
|
+
|
|
16
|
+
@pulumi.input_type
|
|
17
|
+
class GatewayArgs:
|
|
18
|
+
def __init__(__self__, *,
|
|
19
|
+
resource_group_name: pulumi.Input[str],
|
|
20
|
+
allowed_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
21
|
+
gateway_name: Optional[pulumi.Input[str]] = None,
|
|
22
|
+
gateway_type: Optional[pulumi.Input[Union[str, 'GatewayType']]] = None,
|
|
23
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
|
25
|
+
"""
|
|
26
|
+
The set of arguments for constructing a Gateway resource.
|
|
27
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
28
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_features: Specifies the list of features that are enabled for this Gateway.
|
|
29
|
+
:param pulumi.Input[str] gateway_name: The name of the Gateway.
|
|
30
|
+
:param pulumi.Input[Union[str, 'GatewayType']] gateway_type: The type of the Gateway resource.
|
|
31
|
+
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
32
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
33
|
+
"""
|
|
34
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
35
|
+
if allowed_features is not None:
|
|
36
|
+
pulumi.set(__self__, "allowed_features", allowed_features)
|
|
37
|
+
if gateway_name is not None:
|
|
38
|
+
pulumi.set(__self__, "gateway_name", gateway_name)
|
|
39
|
+
if gateway_type is not None:
|
|
40
|
+
pulumi.set(__self__, "gateway_type", gateway_type)
|
|
41
|
+
if location is not None:
|
|
42
|
+
pulumi.set(__self__, "location", location)
|
|
43
|
+
if tags is not None:
|
|
44
|
+
pulumi.set(__self__, "tags", tags)
|
|
45
|
+
|
|
46
|
+
@property
|
|
47
|
+
@pulumi.getter(name="resourceGroupName")
|
|
48
|
+
def resource_group_name(self) -> pulumi.Input[str]:
|
|
49
|
+
"""
|
|
50
|
+
The name of the resource group. The name is case insensitive.
|
|
51
|
+
"""
|
|
52
|
+
return pulumi.get(self, "resource_group_name")
|
|
53
|
+
|
|
54
|
+
@resource_group_name.setter
|
|
55
|
+
def resource_group_name(self, value: pulumi.Input[str]):
|
|
56
|
+
pulumi.set(self, "resource_group_name", value)
|
|
57
|
+
|
|
58
|
+
@property
|
|
59
|
+
@pulumi.getter(name="allowedFeatures")
|
|
60
|
+
def allowed_features(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
61
|
+
"""
|
|
62
|
+
Specifies the list of features that are enabled for this Gateway.
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "allowed_features")
|
|
65
|
+
|
|
66
|
+
@allowed_features.setter
|
|
67
|
+
def allowed_features(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
68
|
+
pulumi.set(self, "allowed_features", value)
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
@pulumi.getter(name="gatewayName")
|
|
72
|
+
def gateway_name(self) -> Optional[pulumi.Input[str]]:
|
|
73
|
+
"""
|
|
74
|
+
The name of the Gateway.
|
|
75
|
+
"""
|
|
76
|
+
return pulumi.get(self, "gateway_name")
|
|
77
|
+
|
|
78
|
+
@gateway_name.setter
|
|
79
|
+
def gateway_name(self, value: Optional[pulumi.Input[str]]):
|
|
80
|
+
pulumi.set(self, "gateway_name", value)
|
|
81
|
+
|
|
82
|
+
@property
|
|
83
|
+
@pulumi.getter(name="gatewayType")
|
|
84
|
+
def gateway_type(self) -> Optional[pulumi.Input[Union[str, 'GatewayType']]]:
|
|
85
|
+
"""
|
|
86
|
+
The type of the Gateway resource.
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "gateway_type")
|
|
89
|
+
|
|
90
|
+
@gateway_type.setter
|
|
91
|
+
def gateway_type(self, value: Optional[pulumi.Input[Union[str, 'GatewayType']]]):
|
|
92
|
+
pulumi.set(self, "gateway_type", value)
|
|
93
|
+
|
|
94
|
+
@property
|
|
95
|
+
@pulumi.getter
|
|
96
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
|
97
|
+
"""
|
|
98
|
+
The geo-location where the resource lives
|
|
99
|
+
"""
|
|
100
|
+
return pulumi.get(self, "location")
|
|
101
|
+
|
|
102
|
+
@location.setter
|
|
103
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
|
104
|
+
pulumi.set(self, "location", value)
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
@pulumi.getter
|
|
108
|
+
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
109
|
+
"""
|
|
110
|
+
Resource tags.
|
|
111
|
+
"""
|
|
112
|
+
return pulumi.get(self, "tags")
|
|
113
|
+
|
|
114
|
+
@tags.setter
|
|
115
|
+
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
116
|
+
pulumi.set(self, "tags", value)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
class Gateway(pulumi.CustomResource):
|
|
120
|
+
@overload
|
|
121
|
+
def __init__(__self__,
|
|
122
|
+
resource_name: str,
|
|
123
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
124
|
+
allowed_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
125
|
+
gateway_name: Optional[pulumi.Input[str]] = None,
|
|
126
|
+
gateway_type: Optional[pulumi.Input[Union[str, 'GatewayType']]] = None,
|
|
127
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
128
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
129
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
130
|
+
__props__=None):
|
|
131
|
+
"""
|
|
132
|
+
Describes an Arc Gateway.
|
|
133
|
+
|
|
134
|
+
:param str resource_name: The name of the resource.
|
|
135
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
136
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_features: Specifies the list of features that are enabled for this Gateway.
|
|
137
|
+
:param pulumi.Input[str] gateway_name: The name of the Gateway.
|
|
138
|
+
:param pulumi.Input[Union[str, 'GatewayType']] gateway_type: The type of the Gateway resource.
|
|
139
|
+
:param pulumi.Input[str] location: The geo-location where the resource lives
|
|
140
|
+
:param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive.
|
|
141
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
142
|
+
"""
|
|
143
|
+
...
|
|
144
|
+
@overload
|
|
145
|
+
def __init__(__self__,
|
|
146
|
+
resource_name: str,
|
|
147
|
+
args: GatewayArgs,
|
|
148
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
149
|
+
"""
|
|
150
|
+
Describes an Arc Gateway.
|
|
151
|
+
|
|
152
|
+
:param str resource_name: The name of the resource.
|
|
153
|
+
:param GatewayArgs args: The arguments to use to populate this resource's properties.
|
|
154
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
155
|
+
"""
|
|
156
|
+
...
|
|
157
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
158
|
+
resource_args, opts = _utilities.get_resource_args_opts(GatewayArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
159
|
+
if resource_args is not None:
|
|
160
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
161
|
+
else:
|
|
162
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
163
|
+
|
|
164
|
+
def _internal_init(__self__,
|
|
165
|
+
resource_name: str,
|
|
166
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
167
|
+
allowed_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
168
|
+
gateway_name: Optional[pulumi.Input[str]] = None,
|
|
169
|
+
gateway_type: Optional[pulumi.Input[Union[str, 'GatewayType']]] = None,
|
|
170
|
+
location: Optional[pulumi.Input[str]] = None,
|
|
171
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
172
|
+
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
173
|
+
__props__=None):
|
|
174
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
175
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
176
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
177
|
+
if opts.id is None:
|
|
178
|
+
if __props__ is not None:
|
|
179
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
180
|
+
__props__ = GatewayArgs.__new__(GatewayArgs)
|
|
181
|
+
|
|
182
|
+
__props__.__dict__["allowed_features"] = allowed_features
|
|
183
|
+
__props__.__dict__["gateway_name"] = gateway_name
|
|
184
|
+
__props__.__dict__["gateway_type"] = gateway_type
|
|
185
|
+
__props__.__dict__["location"] = location
|
|
186
|
+
if resource_group_name is None and not opts.urn:
|
|
187
|
+
raise TypeError("Missing required property 'resource_group_name'")
|
|
188
|
+
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
189
|
+
__props__.__dict__["tags"] = tags
|
|
190
|
+
__props__.__dict__["gateway_endpoint"] = None
|
|
191
|
+
__props__.__dict__["gateway_id"] = None
|
|
192
|
+
__props__.__dict__["name"] = None
|
|
193
|
+
__props__.__dict__["provisioning_state"] = None
|
|
194
|
+
__props__.__dict__["system_data"] = None
|
|
195
|
+
__props__.__dict__["type"] = None
|
|
196
|
+
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:hybridcompute:Gateway"), pulumi.Alias(type_="azure-native:hybridcompute/v20240331preview:Gateway")])
|
|
197
|
+
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
198
|
+
super(Gateway, __self__).__init__(
|
|
199
|
+
'azure-native:hybridcompute/v20240520preview:Gateway',
|
|
200
|
+
resource_name,
|
|
201
|
+
__props__,
|
|
202
|
+
opts)
|
|
203
|
+
|
|
204
|
+
@staticmethod
|
|
205
|
+
def get(resource_name: str,
|
|
206
|
+
id: pulumi.Input[str],
|
|
207
|
+
opts: Optional[pulumi.ResourceOptions] = None) -> 'Gateway':
|
|
208
|
+
"""
|
|
209
|
+
Get an existing Gateway resource's state with the given name, id, and optional extra
|
|
210
|
+
properties used to qualify the lookup.
|
|
211
|
+
|
|
212
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
213
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
214
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
215
|
+
"""
|
|
216
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
217
|
+
|
|
218
|
+
__props__ = GatewayArgs.__new__(GatewayArgs)
|
|
219
|
+
|
|
220
|
+
__props__.__dict__["allowed_features"] = None
|
|
221
|
+
__props__.__dict__["gateway_endpoint"] = None
|
|
222
|
+
__props__.__dict__["gateway_id"] = None
|
|
223
|
+
__props__.__dict__["gateway_type"] = None
|
|
224
|
+
__props__.__dict__["location"] = None
|
|
225
|
+
__props__.__dict__["name"] = None
|
|
226
|
+
__props__.__dict__["provisioning_state"] = None
|
|
227
|
+
__props__.__dict__["system_data"] = None
|
|
228
|
+
__props__.__dict__["tags"] = None
|
|
229
|
+
__props__.__dict__["type"] = None
|
|
230
|
+
return Gateway(resource_name, opts=opts, __props__=__props__)
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
@pulumi.getter(name="allowedFeatures")
|
|
234
|
+
def allowed_features(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
235
|
+
"""
|
|
236
|
+
Specifies the list of features that are enabled for this Gateway.
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "allowed_features")
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
@pulumi.getter(name="gatewayEndpoint")
|
|
242
|
+
def gateway_endpoint(self) -> pulumi.Output[str]:
|
|
243
|
+
"""
|
|
244
|
+
The endpoint fqdn for the Gateway.
|
|
245
|
+
"""
|
|
246
|
+
return pulumi.get(self, "gateway_endpoint")
|
|
247
|
+
|
|
248
|
+
@property
|
|
249
|
+
@pulumi.getter(name="gatewayId")
|
|
250
|
+
def gateway_id(self) -> pulumi.Output[str]:
|
|
251
|
+
"""
|
|
252
|
+
A unique, immutable, identifier for the Gateway.
|
|
253
|
+
"""
|
|
254
|
+
return pulumi.get(self, "gateway_id")
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
@pulumi.getter(name="gatewayType")
|
|
258
|
+
def gateway_type(self) -> pulumi.Output[Optional[str]]:
|
|
259
|
+
"""
|
|
260
|
+
The type of the Gateway resource.
|
|
261
|
+
"""
|
|
262
|
+
return pulumi.get(self, "gateway_type")
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
@pulumi.getter
|
|
266
|
+
def location(self) -> pulumi.Output[str]:
|
|
267
|
+
"""
|
|
268
|
+
The geo-location where the resource lives
|
|
269
|
+
"""
|
|
270
|
+
return pulumi.get(self, "location")
|
|
271
|
+
|
|
272
|
+
@property
|
|
273
|
+
@pulumi.getter
|
|
274
|
+
def name(self) -> pulumi.Output[str]:
|
|
275
|
+
"""
|
|
276
|
+
The name of the resource
|
|
277
|
+
"""
|
|
278
|
+
return pulumi.get(self, "name")
|
|
279
|
+
|
|
280
|
+
@property
|
|
281
|
+
@pulumi.getter(name="provisioningState")
|
|
282
|
+
def provisioning_state(self) -> pulumi.Output[str]:
|
|
283
|
+
"""
|
|
284
|
+
The provisioning state, which only appears in the response.
|
|
285
|
+
"""
|
|
286
|
+
return pulumi.get(self, "provisioning_state")
|
|
287
|
+
|
|
288
|
+
@property
|
|
289
|
+
@pulumi.getter(name="systemData")
|
|
290
|
+
def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']:
|
|
291
|
+
"""
|
|
292
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
293
|
+
"""
|
|
294
|
+
return pulumi.get(self, "system_data")
|
|
295
|
+
|
|
296
|
+
@property
|
|
297
|
+
@pulumi.getter
|
|
298
|
+
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
299
|
+
"""
|
|
300
|
+
Resource tags.
|
|
301
|
+
"""
|
|
302
|
+
return pulumi.get(self, "tags")
|
|
303
|
+
|
|
304
|
+
@property
|
|
305
|
+
@pulumi.getter
|
|
306
|
+
def type(self) -> pulumi.Output[str]:
|
|
307
|
+
"""
|
|
308
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
309
|
+
"""
|
|
310
|
+
return pulumi.get(self, "type")
|
|
311
|
+
|
|
@@ -0,0 +1,209 @@
|
|
|
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 pulumi
|
|
8
|
+
import pulumi.runtime
|
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
+
from ... import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
'GetGatewayResult',
|
|
15
|
+
'AwaitableGetGatewayResult',
|
|
16
|
+
'get_gateway',
|
|
17
|
+
'get_gateway_output',
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
@pulumi.output_type
|
|
21
|
+
class GetGatewayResult:
|
|
22
|
+
"""
|
|
23
|
+
Describes an Arc Gateway.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(__self__, allowed_features=None, gateway_endpoint=None, gateway_id=None, gateway_type=None, id=None, location=None, name=None, provisioning_state=None, system_data=None, tags=None, type=None):
|
|
26
|
+
if allowed_features and not isinstance(allowed_features, list):
|
|
27
|
+
raise TypeError("Expected argument 'allowed_features' to be a list")
|
|
28
|
+
pulumi.set(__self__, "allowed_features", allowed_features)
|
|
29
|
+
if gateway_endpoint and not isinstance(gateway_endpoint, str):
|
|
30
|
+
raise TypeError("Expected argument 'gateway_endpoint' to be a str")
|
|
31
|
+
pulumi.set(__self__, "gateway_endpoint", gateway_endpoint)
|
|
32
|
+
if gateway_id and not isinstance(gateway_id, str):
|
|
33
|
+
raise TypeError("Expected argument 'gateway_id' to be a str")
|
|
34
|
+
pulumi.set(__self__, "gateway_id", gateway_id)
|
|
35
|
+
if gateway_type and not isinstance(gateway_type, str):
|
|
36
|
+
raise TypeError("Expected argument 'gateway_type' to be a str")
|
|
37
|
+
pulumi.set(__self__, "gateway_type", gateway_type)
|
|
38
|
+
if id and not isinstance(id, str):
|
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
40
|
+
pulumi.set(__self__, "id", id)
|
|
41
|
+
if location and not isinstance(location, str):
|
|
42
|
+
raise TypeError("Expected argument 'location' to be a str")
|
|
43
|
+
pulumi.set(__self__, "location", location)
|
|
44
|
+
if name and not isinstance(name, str):
|
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
46
|
+
pulumi.set(__self__, "name", name)
|
|
47
|
+
if provisioning_state and not isinstance(provisioning_state, str):
|
|
48
|
+
raise TypeError("Expected argument 'provisioning_state' to be a str")
|
|
49
|
+
pulumi.set(__self__, "provisioning_state", provisioning_state)
|
|
50
|
+
if system_data and not isinstance(system_data, dict):
|
|
51
|
+
raise TypeError("Expected argument 'system_data' to be a dict")
|
|
52
|
+
pulumi.set(__self__, "system_data", system_data)
|
|
53
|
+
if tags and not isinstance(tags, dict):
|
|
54
|
+
raise TypeError("Expected argument 'tags' to be a dict")
|
|
55
|
+
pulumi.set(__self__, "tags", tags)
|
|
56
|
+
if type and not isinstance(type, str):
|
|
57
|
+
raise TypeError("Expected argument 'type' to be a str")
|
|
58
|
+
pulumi.set(__self__, "type", type)
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
@pulumi.getter(name="allowedFeatures")
|
|
62
|
+
def allowed_features(self) -> Optional[Sequence[str]]:
|
|
63
|
+
"""
|
|
64
|
+
Specifies the list of features that are enabled for this Gateway.
|
|
65
|
+
"""
|
|
66
|
+
return pulumi.get(self, "allowed_features")
|
|
67
|
+
|
|
68
|
+
@property
|
|
69
|
+
@pulumi.getter(name="gatewayEndpoint")
|
|
70
|
+
def gateway_endpoint(self) -> str:
|
|
71
|
+
"""
|
|
72
|
+
The endpoint fqdn for the Gateway.
|
|
73
|
+
"""
|
|
74
|
+
return pulumi.get(self, "gateway_endpoint")
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter(name="gatewayId")
|
|
78
|
+
def gateway_id(self) -> str:
|
|
79
|
+
"""
|
|
80
|
+
A unique, immutable, identifier for the Gateway.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "gateway_id")
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
@pulumi.getter(name="gatewayType")
|
|
86
|
+
def gateway_type(self) -> Optional[str]:
|
|
87
|
+
"""
|
|
88
|
+
The type of the Gateway resource.
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "gateway_type")
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
@pulumi.getter
|
|
94
|
+
def id(self) -> str:
|
|
95
|
+
"""
|
|
96
|
+
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
|
|
97
|
+
"""
|
|
98
|
+
return pulumi.get(self, "id")
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
@pulumi.getter
|
|
102
|
+
def location(self) -> str:
|
|
103
|
+
"""
|
|
104
|
+
The geo-location where the resource lives
|
|
105
|
+
"""
|
|
106
|
+
return pulumi.get(self, "location")
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
@pulumi.getter
|
|
110
|
+
def name(self) -> str:
|
|
111
|
+
"""
|
|
112
|
+
The name of the resource
|
|
113
|
+
"""
|
|
114
|
+
return pulumi.get(self, "name")
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
@pulumi.getter(name="provisioningState")
|
|
118
|
+
def provisioning_state(self) -> str:
|
|
119
|
+
"""
|
|
120
|
+
The provisioning state, which only appears in the response.
|
|
121
|
+
"""
|
|
122
|
+
return pulumi.get(self, "provisioning_state")
|
|
123
|
+
|
|
124
|
+
@property
|
|
125
|
+
@pulumi.getter(name="systemData")
|
|
126
|
+
def system_data(self) -> 'outputs.SystemDataResponse':
|
|
127
|
+
"""
|
|
128
|
+
Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
129
|
+
"""
|
|
130
|
+
return pulumi.get(self, "system_data")
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
@pulumi.getter
|
|
134
|
+
def tags(self) -> Optional[Mapping[str, str]]:
|
|
135
|
+
"""
|
|
136
|
+
Resource tags.
|
|
137
|
+
"""
|
|
138
|
+
return pulumi.get(self, "tags")
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
@pulumi.getter
|
|
142
|
+
def type(self) -> str:
|
|
143
|
+
"""
|
|
144
|
+
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
|
|
145
|
+
"""
|
|
146
|
+
return pulumi.get(self, "type")
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
class AwaitableGetGatewayResult(GetGatewayResult):
|
|
150
|
+
# pylint: disable=using-constant-test
|
|
151
|
+
def __await__(self):
|
|
152
|
+
if False:
|
|
153
|
+
yield self
|
|
154
|
+
return GetGatewayResult(
|
|
155
|
+
allowed_features=self.allowed_features,
|
|
156
|
+
gateway_endpoint=self.gateway_endpoint,
|
|
157
|
+
gateway_id=self.gateway_id,
|
|
158
|
+
gateway_type=self.gateway_type,
|
|
159
|
+
id=self.id,
|
|
160
|
+
location=self.location,
|
|
161
|
+
name=self.name,
|
|
162
|
+
provisioning_state=self.provisioning_state,
|
|
163
|
+
system_data=self.system_data,
|
|
164
|
+
tags=self.tags,
|
|
165
|
+
type=self.type)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def get_gateway(gateway_name: Optional[str] = None,
|
|
169
|
+
resource_group_name: Optional[str] = None,
|
|
170
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGatewayResult:
|
|
171
|
+
"""
|
|
172
|
+
Retrieves information about the view of a gateway.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
:param str gateway_name: The name of the Gateway.
|
|
176
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
177
|
+
"""
|
|
178
|
+
__args__ = dict()
|
|
179
|
+
__args__['gatewayName'] = gateway_name
|
|
180
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
181
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
|
+
__ret__ = pulumi.runtime.invoke('azure-native:hybridcompute/v20240520preview:getGateway', __args__, opts=opts, typ=GetGatewayResult).value
|
|
183
|
+
|
|
184
|
+
return AwaitableGetGatewayResult(
|
|
185
|
+
allowed_features=pulumi.get(__ret__, 'allowed_features'),
|
|
186
|
+
gateway_endpoint=pulumi.get(__ret__, 'gateway_endpoint'),
|
|
187
|
+
gateway_id=pulumi.get(__ret__, 'gateway_id'),
|
|
188
|
+
gateway_type=pulumi.get(__ret__, 'gateway_type'),
|
|
189
|
+
id=pulumi.get(__ret__, 'id'),
|
|
190
|
+
location=pulumi.get(__ret__, 'location'),
|
|
191
|
+
name=pulumi.get(__ret__, 'name'),
|
|
192
|
+
provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
|
|
193
|
+
system_data=pulumi.get(__ret__, 'system_data'),
|
|
194
|
+
tags=pulumi.get(__ret__, 'tags'),
|
|
195
|
+
type=pulumi.get(__ret__, 'type'))
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
@_utilities.lift_output_func(get_gateway)
|
|
199
|
+
def get_gateway_output(gateway_name: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
201
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGatewayResult]:
|
|
202
|
+
"""
|
|
203
|
+
Retrieves information about the view of a gateway.
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
:param str gateway_name: The name of the Gateway.
|
|
207
|
+
:param str resource_group_name: The name of the resource group. The name is case insensitive.
|
|
208
|
+
"""
|
|
209
|
+
...
|