pulumi-azure-native 2.79.0__py3-none-any.whl → 2.79.0a1734639794__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 +0 -46
- pulumi_azure_native/azurefleet/_enums.py +2 -2
- pulumi_azure_native/azurefleet/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20231101preview/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20231101preview/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20231101preview/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20240501preview/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20240501preview/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20240501preview/outputs.py +42 -42
- pulumi_azure_native/azurefleet/v20241101/_enums.py +2 -2
- pulumi_azure_native/azurefleet/v20241101/_inputs.py +71 -71
- pulumi_azure_native/azurefleet/v20241101/outputs.py +42 -42
- pulumi_azure_native/azurestackhci/v20240201preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240201preview/outputs.py +2 -2
- pulumi_azure_native/azurestackhci/v20240501preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240501preview/outputs.py +2 -2
- pulumi_azure_native/azurestackhci/v20240801preview/_inputs.py +3 -3
- pulumi_azure_native/azurestackhci/v20240801preview/outputs.py +2 -2
- pulumi_azure_native/compute/__init__.py +0 -3
- pulumi_azure_native/compute/cloud_service.py +1 -5
- pulumi_azure_native/compute/get_cloud_service.py +0 -4
- pulumi_azure_native/compute/v20220904/cloud_service.py +1 -1
- pulumi_azure_native/datadog/__init__.py +0 -7
- pulumi_azure_native/datadog/get_monitor.py +2 -2
- pulumi_azure_native/datadog/get_monitor_default_key.py +2 -2
- pulumi_azure_native/datadog/get_monitored_subscription.py +0 -4
- pulumi_azure_native/datadog/list_monitor_api_keys.py +2 -2
- pulumi_azure_native/datadog/list_monitor_hosts.py +2 -2
- pulumi_azure_native/datadog/list_monitor_linked_resources.py +2 -2
- pulumi_azure_native/datadog/list_monitor_monitored_resources.py +2 -2
- pulumi_azure_native/datadog/monitor.py +3 -3
- pulumi_azure_native/datadog/monitored_subscription.py +1 -5
- pulumi_azure_native/datadog/outputs.py +0 -120
- pulumi_azure_native/datadog/v20220601/monitor.py +1 -1
- pulumi_azure_native/datadog/v20220801/monitor.py +1 -1
- pulumi_azure_native/datadog/v20230101/_inputs.py +3 -3
- pulumi_azure_native/datadog/v20230101/monitor.py +1 -1
- pulumi_azure_native/datadog/v20230101/monitored_subscription.py +1 -1
- pulumi_azure_native/datadog/v20230101/outputs.py +2 -2
- pulumi_azure_native/datafactory/_inputs.py +6 -6
- pulumi_azure_native/datafactory/outputs.py +4 -4
- pulumi_azure_native/datafactory/v20180601/_inputs.py +6 -6
- pulumi_azure_native/datafactory/v20180601/outputs.py +4 -4
- pulumi_azure_native/pulumi-plugin.json +1 -1
- pulumi_azure_native/quota/__init__.py +0 -3
- pulumi_azure_native/quota/get_group_quota.py +2 -2
- pulumi_azure_native/quota/get_group_quota_subscription.py +2 -2
- pulumi_azure_native/quota/group_quota.py +3 -3
- pulumi_azure_native/quota/group_quota_subscription.py +3 -3
- pulumi_azure_native/quota/v20230601preview/group_quota.py +1 -1
- pulumi_azure_native/quota/v20230601preview/group_quota_subscription.py +1 -1
- pulumi_azure_native/quota/v20241015preview/group_quota.py +1 -1
- pulumi_azure_native/quota/v20241015preview/group_quota_subscription.py +1 -1
- pulumi_azure_native/servicenetworking/__init__.py +0 -3
- pulumi_azure_native/servicenetworking/associations_interface.py +3 -3
- pulumi_azure_native/servicenetworking/frontends_interface.py +3 -3
- pulumi_azure_native/servicenetworking/get_associations_interface.py +2 -2
- pulumi_azure_native/servicenetworking/get_frontends_interface.py +2 -2
- pulumi_azure_native/servicenetworking/get_security_policies_interface.py +0 -4
- pulumi_azure_native/servicenetworking/get_traffic_controller_interface.py +2 -2
- pulumi_azure_native/servicenetworking/security_policies_interface.py +1 -5
- pulumi_azure_native/servicenetworking/traffic_controller_interface.py +3 -3
- pulumi_azure_native/servicenetworking/v20221001preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20221001preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20221001preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20230501preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20231101/traffic_controller_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/associations_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/frontends_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/security_policies_interface.py +1 -1
- pulumi_azure_native/servicenetworking/v20240501preview/traffic_controller_interface.py +1 -1
- pulumi_azure_native/workloads/v20240901/_inputs.py +10 -10
- pulumi_azure_native/workloads/v20240901/outputs.py +8 -8
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/METADATA +1 -1
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/RECORD +82 -135
- pulumi_azure_native/compute/v20241104/__init__.py +0 -12
- pulumi_azure_native/compute/v20241104/_enums.py +0 -31
- pulumi_azure_native/compute/v20241104/_inputs.py +0 -1324
- pulumi_azure_native/compute/v20241104/cloud_service.py +0 -287
- pulumi_azure_native/compute/v20241104/get_cloud_service.py +0 -185
- pulumi_azure_native/compute/v20241104/outputs.py +0 -1082
- pulumi_azure_native/datadog/get_billing_info.py +0 -103
- pulumi_azure_native/datadog/v20230707/__init__.py +0 -19
- pulumi_azure_native/datadog/v20230707/_enums.py +0 -58
- pulumi_azure_native/datadog/v20230707/_inputs.py +0 -911
- pulumi_azure_native/datadog/v20230707/get_monitor.py +0 -182
- pulumi_azure_native/datadog/v20230707/get_monitor_default_key.py +0 -123
- pulumi_azure_native/datadog/v20230707/get_monitored_subscription.py +0 -135
- pulumi_azure_native/datadog/v20230707/list_monitor_api_keys.py +0 -101
- pulumi_azure_native/datadog/v20230707/list_monitor_hosts.py +0 -101
- pulumi_azure_native/datadog/v20230707/list_monitor_linked_resources.py +0 -101
- pulumi_azure_native/datadog/v20230707/list_monitor_monitored_resources.py +0 -101
- pulumi_azure_native/datadog/v20230707/monitor.py +0 -282
- pulumi_azure_native/datadog/v20230707/monitored_subscription.py +0 -211
- pulumi_azure_native/datadog/v20230707/outputs.py +0 -1125
- pulumi_azure_native/datadog/v20231020/__init__.py +0 -20
- pulumi_azure_native/datadog/v20231020/_enums.py +0 -58
- pulumi_azure_native/datadog/v20231020/_inputs.py +0 -911
- pulumi_azure_native/datadog/v20231020/get_billing_info.py +0 -101
- pulumi_azure_native/datadog/v20231020/get_monitor.py +0 -182
- pulumi_azure_native/datadog/v20231020/get_monitor_default_key.py +0 -123
- pulumi_azure_native/datadog/v20231020/get_monitored_subscription.py +0 -135
- pulumi_azure_native/datadog/v20231020/list_monitor_api_keys.py +0 -101
- pulumi_azure_native/datadog/v20231020/list_monitor_hosts.py +0 -101
- pulumi_azure_native/datadog/v20231020/list_monitor_linked_resources.py +0 -101
- pulumi_azure_native/datadog/v20231020/list_monitor_monitored_resources.py +0 -101
- pulumi_azure_native/datadog/v20231020/monitor.py +0 -282
- pulumi_azure_native/datadog/v20231020/monitored_subscription.py +0 -211
- pulumi_azure_native/datadog/v20231020/outputs.py +0 -1257
- pulumi_azure_native/quota/v20241218preview/__init__.py +0 -13
- pulumi_azure_native/quota/v20241218preview/_inputs.py +0 -55
- pulumi_azure_native/quota/v20241218preview/get_group_quota.py +0 -140
- pulumi_azure_native/quota/v20241218preview/get_group_quota_subscription.py +0 -140
- pulumi_azure_native/quota/v20241218preview/group_quota.py +0 -191
- pulumi_azure_native/quota/v20241218preview/group_quota_subscription.py +0 -177
- pulumi_azure_native/quota/v20241218preview/outputs.py +0 -230
- pulumi_azure_native/servicenetworking/v20250101/__init__.py +0 -18
- pulumi_azure_native/servicenetworking/v20250101/_enums.py +0 -19
- pulumi_azure_native/servicenetworking/v20250101/_inputs.py +0 -171
- pulumi_azure_native/servicenetworking/v20250101/associations_interface.py +0 -319
- pulumi_azure_native/servicenetworking/v20250101/frontends_interface.py +0 -268
- pulumi_azure_native/servicenetworking/v20250101/get_associations_interface.py +0 -205
- pulumi_azure_native/servicenetworking/v20250101/get_frontends_interface.py +0 -191
- pulumi_azure_native/servicenetworking/v20250101/get_security_policies_interface.py +0 -205
- pulumi_azure_native/servicenetworking/v20250101/get_traffic_controller_interface.py +0 -241
- pulumi_azure_native/servicenetworking/v20250101/outputs.py +0 -265
- pulumi_azure_native/servicenetworking/v20250101/security_policies_interface.py +0 -298
- pulumi_azure_native/servicenetworking/v20250101/traffic_controller_interface.py +0 -307
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/WHEEL +0 -0
- {pulumi_azure_native-2.79.0.dist-info → pulumi_azure_native-2.79.0a1734639794.dist-info}/top_level.txt +0 -0
|
@@ -1,287 +0,0 @@
|
|
|
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
|
-
from ._enums import *
|
|
18
|
-
from ._inputs import *
|
|
19
|
-
|
|
20
|
-
__all__ = ['CloudServiceArgs', 'CloudService']
|
|
21
|
-
|
|
22
|
-
@pulumi.input_type
|
|
23
|
-
class CloudServiceArgs:
|
|
24
|
-
def __init__(__self__, *,
|
|
25
|
-
resource_group_name: pulumi.Input[str],
|
|
26
|
-
cloud_service_name: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
properties: Optional[pulumi.Input['CloudServicePropertiesArgs']] = None,
|
|
29
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
30
|
-
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
31
|
-
"""
|
|
32
|
-
The set of arguments for constructing a CloudService resource.
|
|
33
|
-
:param pulumi.Input[str] resource_group_name: Name of the resource group.
|
|
34
|
-
:param pulumi.Input[str] cloud_service_name: Name of the cloud service.
|
|
35
|
-
:param pulumi.Input[str] location: Resource location.
|
|
36
|
-
:param pulumi.Input['CloudServicePropertiesArgs'] properties: Cloud service properties
|
|
37
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
38
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
|
|
39
|
-
"""
|
|
40
|
-
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
41
|
-
if cloud_service_name is not None:
|
|
42
|
-
pulumi.set(__self__, "cloud_service_name", cloud_service_name)
|
|
43
|
-
if location is not None:
|
|
44
|
-
pulumi.set(__self__, "location", location)
|
|
45
|
-
if properties is not None:
|
|
46
|
-
pulumi.set(__self__, "properties", properties)
|
|
47
|
-
if tags is not None:
|
|
48
|
-
pulumi.set(__self__, "tags", tags)
|
|
49
|
-
if zones is not None:
|
|
50
|
-
pulumi.set(__self__, "zones", zones)
|
|
51
|
-
|
|
52
|
-
@property
|
|
53
|
-
@pulumi.getter(name="resourceGroupName")
|
|
54
|
-
def resource_group_name(self) -> pulumi.Input[str]:
|
|
55
|
-
"""
|
|
56
|
-
Name of the resource group.
|
|
57
|
-
"""
|
|
58
|
-
return pulumi.get(self, "resource_group_name")
|
|
59
|
-
|
|
60
|
-
@resource_group_name.setter
|
|
61
|
-
def resource_group_name(self, value: pulumi.Input[str]):
|
|
62
|
-
pulumi.set(self, "resource_group_name", value)
|
|
63
|
-
|
|
64
|
-
@property
|
|
65
|
-
@pulumi.getter(name="cloudServiceName")
|
|
66
|
-
def cloud_service_name(self) -> Optional[pulumi.Input[str]]:
|
|
67
|
-
"""
|
|
68
|
-
Name of the cloud service.
|
|
69
|
-
"""
|
|
70
|
-
return pulumi.get(self, "cloud_service_name")
|
|
71
|
-
|
|
72
|
-
@cloud_service_name.setter
|
|
73
|
-
def cloud_service_name(self, value: Optional[pulumi.Input[str]]):
|
|
74
|
-
pulumi.set(self, "cloud_service_name", value)
|
|
75
|
-
|
|
76
|
-
@property
|
|
77
|
-
@pulumi.getter
|
|
78
|
-
def location(self) -> Optional[pulumi.Input[str]]:
|
|
79
|
-
"""
|
|
80
|
-
Resource location.
|
|
81
|
-
"""
|
|
82
|
-
return pulumi.get(self, "location")
|
|
83
|
-
|
|
84
|
-
@location.setter
|
|
85
|
-
def location(self, value: Optional[pulumi.Input[str]]):
|
|
86
|
-
pulumi.set(self, "location", value)
|
|
87
|
-
|
|
88
|
-
@property
|
|
89
|
-
@pulumi.getter
|
|
90
|
-
def properties(self) -> Optional[pulumi.Input['CloudServicePropertiesArgs']]:
|
|
91
|
-
"""
|
|
92
|
-
Cloud service properties
|
|
93
|
-
"""
|
|
94
|
-
return pulumi.get(self, "properties")
|
|
95
|
-
|
|
96
|
-
@properties.setter
|
|
97
|
-
def properties(self, value: Optional[pulumi.Input['CloudServicePropertiesArgs']]):
|
|
98
|
-
pulumi.set(self, "properties", value)
|
|
99
|
-
|
|
100
|
-
@property
|
|
101
|
-
@pulumi.getter
|
|
102
|
-
def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
103
|
-
"""
|
|
104
|
-
Resource tags.
|
|
105
|
-
"""
|
|
106
|
-
return pulumi.get(self, "tags")
|
|
107
|
-
|
|
108
|
-
@tags.setter
|
|
109
|
-
def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
110
|
-
pulumi.set(self, "tags", value)
|
|
111
|
-
|
|
112
|
-
@property
|
|
113
|
-
@pulumi.getter
|
|
114
|
-
def zones(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
115
|
-
"""
|
|
116
|
-
List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
|
|
117
|
-
"""
|
|
118
|
-
return pulumi.get(self, "zones")
|
|
119
|
-
|
|
120
|
-
@zones.setter
|
|
121
|
-
def zones(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
122
|
-
pulumi.set(self, "zones", value)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
class CloudService(pulumi.CustomResource):
|
|
126
|
-
@overload
|
|
127
|
-
def __init__(__self__,
|
|
128
|
-
resource_name: str,
|
|
129
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
130
|
-
cloud_service_name: Optional[pulumi.Input[str]] = None,
|
|
131
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
132
|
-
properties: Optional[pulumi.Input[Union['CloudServicePropertiesArgs', 'CloudServicePropertiesArgsDict']]] = None,
|
|
133
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
134
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
135
|
-
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
136
|
-
__props__=None):
|
|
137
|
-
"""
|
|
138
|
-
Describes the cloud service.
|
|
139
|
-
|
|
140
|
-
:param str resource_name: The name of the resource.
|
|
141
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
|
-
:param pulumi.Input[str] cloud_service_name: Name of the cloud service.
|
|
143
|
-
:param pulumi.Input[str] location: Resource location.
|
|
144
|
-
:param pulumi.Input[Union['CloudServicePropertiesArgs', 'CloudServicePropertiesArgsDict']] properties: Cloud service properties
|
|
145
|
-
:param pulumi.Input[str] resource_group_name: Name of the resource group.
|
|
146
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags.
|
|
147
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] zones: List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
|
|
148
|
-
"""
|
|
149
|
-
...
|
|
150
|
-
@overload
|
|
151
|
-
def __init__(__self__,
|
|
152
|
-
resource_name: str,
|
|
153
|
-
args: CloudServiceArgs,
|
|
154
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
155
|
-
"""
|
|
156
|
-
Describes the cloud service.
|
|
157
|
-
|
|
158
|
-
:param str resource_name: The name of the resource.
|
|
159
|
-
:param CloudServiceArgs args: The arguments to use to populate this resource's properties.
|
|
160
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
163
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
164
|
-
resource_args, opts = _utilities.get_resource_args_opts(CloudServiceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
165
|
-
if resource_args is not None:
|
|
166
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
167
|
-
else:
|
|
168
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
169
|
-
|
|
170
|
-
def _internal_init(__self__,
|
|
171
|
-
resource_name: str,
|
|
172
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
173
|
-
cloud_service_name: Optional[pulumi.Input[str]] = None,
|
|
174
|
-
location: Optional[pulumi.Input[str]] = None,
|
|
175
|
-
properties: Optional[pulumi.Input[Union['CloudServicePropertiesArgs', 'CloudServicePropertiesArgsDict']]] = None,
|
|
176
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
177
|
-
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
178
|
-
zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
179
|
-
__props__=None):
|
|
180
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
181
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
182
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
183
|
-
if opts.id is None:
|
|
184
|
-
if __props__ is not None:
|
|
185
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
186
|
-
__props__ = CloudServiceArgs.__new__(CloudServiceArgs)
|
|
187
|
-
|
|
188
|
-
__props__.__dict__["cloud_service_name"] = cloud_service_name
|
|
189
|
-
__props__.__dict__["location"] = location
|
|
190
|
-
__props__.__dict__["properties"] = properties
|
|
191
|
-
if resource_group_name is None and not opts.urn:
|
|
192
|
-
raise TypeError("Missing required property 'resource_group_name'")
|
|
193
|
-
__props__.__dict__["resource_group_name"] = resource_group_name
|
|
194
|
-
__props__.__dict__["tags"] = tags
|
|
195
|
-
__props__.__dict__["zones"] = zones
|
|
196
|
-
__props__.__dict__["name"] = None
|
|
197
|
-
__props__.__dict__["system_data"] = None
|
|
198
|
-
__props__.__dict__["type"] = None
|
|
199
|
-
alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:compute:CloudService"), pulumi.Alias(type_="azure-native:compute/v20201001preview:CloudService"), pulumi.Alias(type_="azure-native:compute/v20210301:CloudService"), pulumi.Alias(type_="azure-native:compute/v20220404:CloudService"), pulumi.Alias(type_="azure-native:compute/v20220904:CloudService")])
|
|
200
|
-
opts = pulumi.ResourceOptions.merge(opts, alias_opts)
|
|
201
|
-
super(CloudService, __self__).__init__(
|
|
202
|
-
'azure-native:compute/v20241104:CloudService',
|
|
203
|
-
resource_name,
|
|
204
|
-
__props__,
|
|
205
|
-
opts)
|
|
206
|
-
|
|
207
|
-
@staticmethod
|
|
208
|
-
def get(resource_name: str,
|
|
209
|
-
id: pulumi.Input[str],
|
|
210
|
-
opts: Optional[pulumi.ResourceOptions] = None) -> 'CloudService':
|
|
211
|
-
"""
|
|
212
|
-
Get an existing CloudService resource's state with the given name, id, and optional extra
|
|
213
|
-
properties used to qualify the lookup.
|
|
214
|
-
|
|
215
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
216
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
217
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
218
|
-
"""
|
|
219
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
220
|
-
|
|
221
|
-
__props__ = CloudServiceArgs.__new__(CloudServiceArgs)
|
|
222
|
-
|
|
223
|
-
__props__.__dict__["location"] = None
|
|
224
|
-
__props__.__dict__["name"] = None
|
|
225
|
-
__props__.__dict__["properties"] = None
|
|
226
|
-
__props__.__dict__["system_data"] = None
|
|
227
|
-
__props__.__dict__["tags"] = None
|
|
228
|
-
__props__.__dict__["type"] = None
|
|
229
|
-
__props__.__dict__["zones"] = None
|
|
230
|
-
return CloudService(resource_name, opts=opts, __props__=__props__)
|
|
231
|
-
|
|
232
|
-
@property
|
|
233
|
-
@pulumi.getter
|
|
234
|
-
def location(self) -> pulumi.Output[str]:
|
|
235
|
-
"""
|
|
236
|
-
Resource location.
|
|
237
|
-
"""
|
|
238
|
-
return pulumi.get(self, "location")
|
|
239
|
-
|
|
240
|
-
@property
|
|
241
|
-
@pulumi.getter
|
|
242
|
-
def name(self) -> pulumi.Output[str]:
|
|
243
|
-
"""
|
|
244
|
-
Resource name.
|
|
245
|
-
"""
|
|
246
|
-
return pulumi.get(self, "name")
|
|
247
|
-
|
|
248
|
-
@property
|
|
249
|
-
@pulumi.getter
|
|
250
|
-
def properties(self) -> pulumi.Output['outputs.CloudServicePropertiesResponse']:
|
|
251
|
-
"""
|
|
252
|
-
Cloud service properties
|
|
253
|
-
"""
|
|
254
|
-
return pulumi.get(self, "properties")
|
|
255
|
-
|
|
256
|
-
@property
|
|
257
|
-
@pulumi.getter(name="systemData")
|
|
258
|
-
def system_data(self) -> pulumi.Output[Optional['outputs.SystemDataResponse']]:
|
|
259
|
-
"""
|
|
260
|
-
The system meta data relating to this resource.
|
|
261
|
-
"""
|
|
262
|
-
return pulumi.get(self, "system_data")
|
|
263
|
-
|
|
264
|
-
@property
|
|
265
|
-
@pulumi.getter
|
|
266
|
-
def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
267
|
-
"""
|
|
268
|
-
Resource tags.
|
|
269
|
-
"""
|
|
270
|
-
return pulumi.get(self, "tags")
|
|
271
|
-
|
|
272
|
-
@property
|
|
273
|
-
@pulumi.getter
|
|
274
|
-
def type(self) -> pulumi.Output[str]:
|
|
275
|
-
"""
|
|
276
|
-
Resource type.
|
|
277
|
-
"""
|
|
278
|
-
return pulumi.get(self, "type")
|
|
279
|
-
|
|
280
|
-
@property
|
|
281
|
-
@pulumi.getter
|
|
282
|
-
def zones(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
283
|
-
"""
|
|
284
|
-
List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
|
|
285
|
-
"""
|
|
286
|
-
return pulumi.get(self, "zones")
|
|
287
|
-
|
|
@@ -1,185 +0,0 @@
|
|
|
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
|
-
'GetCloudServiceResult',
|
|
20
|
-
'AwaitableGetCloudServiceResult',
|
|
21
|
-
'get_cloud_service',
|
|
22
|
-
'get_cloud_service_output',
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
@pulumi.output_type
|
|
26
|
-
class GetCloudServiceResult:
|
|
27
|
-
"""
|
|
28
|
-
Describes the cloud service.
|
|
29
|
-
"""
|
|
30
|
-
def __init__(__self__, id=None, location=None, name=None, properties=None, system_data=None, tags=None, type=None, zones=None):
|
|
31
|
-
if id and not isinstance(id, str):
|
|
32
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
-
pulumi.set(__self__, "id", id)
|
|
34
|
-
if location and not isinstance(location, str):
|
|
35
|
-
raise TypeError("Expected argument 'location' to be a str")
|
|
36
|
-
pulumi.set(__self__, "location", location)
|
|
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 properties and not isinstance(properties, dict):
|
|
41
|
-
raise TypeError("Expected argument 'properties' to be a dict")
|
|
42
|
-
pulumi.set(__self__, "properties", properties)
|
|
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 tags and not isinstance(tags, dict):
|
|
47
|
-
raise TypeError("Expected argument 'tags' to be a dict")
|
|
48
|
-
pulumi.set(__self__, "tags", tags)
|
|
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
|
-
if zones and not isinstance(zones, list):
|
|
53
|
-
raise TypeError("Expected argument 'zones' to be a list")
|
|
54
|
-
pulumi.set(__self__, "zones", zones)
|
|
55
|
-
|
|
56
|
-
@property
|
|
57
|
-
@pulumi.getter
|
|
58
|
-
def id(self) -> str:
|
|
59
|
-
"""
|
|
60
|
-
Resource Id.
|
|
61
|
-
"""
|
|
62
|
-
return pulumi.get(self, "id")
|
|
63
|
-
|
|
64
|
-
@property
|
|
65
|
-
@pulumi.getter
|
|
66
|
-
def location(self) -> str:
|
|
67
|
-
"""
|
|
68
|
-
Resource location.
|
|
69
|
-
"""
|
|
70
|
-
return pulumi.get(self, "location")
|
|
71
|
-
|
|
72
|
-
@property
|
|
73
|
-
@pulumi.getter
|
|
74
|
-
def name(self) -> str:
|
|
75
|
-
"""
|
|
76
|
-
Resource name.
|
|
77
|
-
"""
|
|
78
|
-
return pulumi.get(self, "name")
|
|
79
|
-
|
|
80
|
-
@property
|
|
81
|
-
@pulumi.getter
|
|
82
|
-
def properties(self) -> 'outputs.CloudServicePropertiesResponse':
|
|
83
|
-
"""
|
|
84
|
-
Cloud service properties
|
|
85
|
-
"""
|
|
86
|
-
return pulumi.get(self, "properties")
|
|
87
|
-
|
|
88
|
-
@property
|
|
89
|
-
@pulumi.getter(name="systemData")
|
|
90
|
-
def system_data(self) -> Optional['outputs.SystemDataResponse']:
|
|
91
|
-
"""
|
|
92
|
-
The system meta data relating to this resource.
|
|
93
|
-
"""
|
|
94
|
-
return pulumi.get(self, "system_data")
|
|
95
|
-
|
|
96
|
-
@property
|
|
97
|
-
@pulumi.getter
|
|
98
|
-
def tags(self) -> Optional[Mapping[str, str]]:
|
|
99
|
-
"""
|
|
100
|
-
Resource tags.
|
|
101
|
-
"""
|
|
102
|
-
return pulumi.get(self, "tags")
|
|
103
|
-
|
|
104
|
-
@property
|
|
105
|
-
@pulumi.getter
|
|
106
|
-
def type(self) -> str:
|
|
107
|
-
"""
|
|
108
|
-
Resource type.
|
|
109
|
-
"""
|
|
110
|
-
return pulumi.get(self, "type")
|
|
111
|
-
|
|
112
|
-
@property
|
|
113
|
-
@pulumi.getter
|
|
114
|
-
def zones(self) -> Optional[Sequence[str]]:
|
|
115
|
-
"""
|
|
116
|
-
List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
|
|
117
|
-
"""
|
|
118
|
-
return pulumi.get(self, "zones")
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
class AwaitableGetCloudServiceResult(GetCloudServiceResult):
|
|
122
|
-
# pylint: disable=using-constant-test
|
|
123
|
-
def __await__(self):
|
|
124
|
-
if False:
|
|
125
|
-
yield self
|
|
126
|
-
return GetCloudServiceResult(
|
|
127
|
-
id=self.id,
|
|
128
|
-
location=self.location,
|
|
129
|
-
name=self.name,
|
|
130
|
-
properties=self.properties,
|
|
131
|
-
system_data=self.system_data,
|
|
132
|
-
tags=self.tags,
|
|
133
|
-
type=self.type,
|
|
134
|
-
zones=self.zones)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
def get_cloud_service(cloud_service_name: Optional[str] = None,
|
|
138
|
-
resource_group_name: Optional[str] = None,
|
|
139
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCloudServiceResult:
|
|
140
|
-
"""
|
|
141
|
-
Display information about a cloud service.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
:param str cloud_service_name: Name of the cloud service.
|
|
145
|
-
:param str resource_group_name: Name of the resource group.
|
|
146
|
-
"""
|
|
147
|
-
__args__ = dict()
|
|
148
|
-
__args__['cloudServiceName'] = cloud_service_name
|
|
149
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
150
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
151
|
-
__ret__ = pulumi.runtime.invoke('azure-native:compute/v20241104:getCloudService', __args__, opts=opts, typ=GetCloudServiceResult).value
|
|
152
|
-
|
|
153
|
-
return AwaitableGetCloudServiceResult(
|
|
154
|
-
id=pulumi.get(__ret__, 'id'),
|
|
155
|
-
location=pulumi.get(__ret__, 'location'),
|
|
156
|
-
name=pulumi.get(__ret__, 'name'),
|
|
157
|
-
properties=pulumi.get(__ret__, 'properties'),
|
|
158
|
-
system_data=pulumi.get(__ret__, 'system_data'),
|
|
159
|
-
tags=pulumi.get(__ret__, 'tags'),
|
|
160
|
-
type=pulumi.get(__ret__, 'type'),
|
|
161
|
-
zones=pulumi.get(__ret__, 'zones'))
|
|
162
|
-
def get_cloud_service_output(cloud_service_name: Optional[pulumi.Input[str]] = None,
|
|
163
|
-
resource_group_name: Optional[pulumi.Input[str]] = None,
|
|
164
|
-
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudServiceResult]:
|
|
165
|
-
"""
|
|
166
|
-
Display information about a cloud service.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
:param str cloud_service_name: Name of the cloud service.
|
|
170
|
-
:param str resource_group_name: Name of the resource group.
|
|
171
|
-
"""
|
|
172
|
-
__args__ = dict()
|
|
173
|
-
__args__['cloudServiceName'] = cloud_service_name
|
|
174
|
-
__args__['resourceGroupName'] = resource_group_name
|
|
175
|
-
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
176
|
-
__ret__ = pulumi.runtime.invoke_output('azure-native:compute/v20241104:getCloudService', __args__, opts=opts, typ=GetCloudServiceResult)
|
|
177
|
-
return __ret__.apply(lambda __response__: GetCloudServiceResult(
|
|
178
|
-
id=pulumi.get(__response__, 'id'),
|
|
179
|
-
location=pulumi.get(__response__, 'location'),
|
|
180
|
-
name=pulumi.get(__response__, 'name'),
|
|
181
|
-
properties=pulumi.get(__response__, 'properties'),
|
|
182
|
-
system_data=pulumi.get(__response__, 'system_data'),
|
|
183
|
-
tags=pulumi.get(__response__, 'tags'),
|
|
184
|
-
type=pulumi.get(__response__, 'type'),
|
|
185
|
-
zones=pulumi.get(__response__, 'zones')))
|