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