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.

Files changed (147) hide show
  1. pulumi_azure_native/__init__.py +46 -16
  2. pulumi_azure_native/alertsmanagement/__init__.py +0 -6
  3. pulumi_azure_native/alertsmanagement/action_rule_by_name.py +1 -1
  4. pulumi_azure_native/alertsmanagement/alert_processing_rule_by_name.py +1 -5
  5. pulumi_azure_native/alertsmanagement/get_alert_processing_rule_by_name.py +0 -4
  6. pulumi_azure_native/alertsmanagement/v20190505preview/action_rule_by_name.py +1 -1
  7. pulumi_azure_native/alertsmanagement/v20210808/alert_processing_rule_by_name.py +1 -1
  8. pulumi_azure_native/azurefleet/_enums.py +2 -2
  9. pulumi_azure_native/azurefleet/_inputs.py +71 -71
  10. pulumi_azure_native/azurefleet/outputs.py +42 -42
  11. pulumi_azure_native/azurefleet/v20231101preview/_enums.py +2 -2
  12. pulumi_azure_native/azurefleet/v20231101preview/_inputs.py +71 -71
  13. pulumi_azure_native/azurefleet/v20231101preview/outputs.py +42 -42
  14. pulumi_azure_native/azurefleet/v20240501preview/_enums.py +2 -2
  15. pulumi_azure_native/azurefleet/v20240501preview/_inputs.py +71 -71
  16. pulumi_azure_native/azurefleet/v20240501preview/outputs.py +42 -42
  17. pulumi_azure_native/azurefleet/v20241101/_enums.py +2 -2
  18. pulumi_azure_native/azurefleet/v20241101/_inputs.py +71 -71
  19. pulumi_azure_native/azurefleet/v20241101/outputs.py +42 -42
  20. pulumi_azure_native/azurestackhci/v20240201preview/_inputs.py +3 -3
  21. pulumi_azure_native/azurestackhci/v20240201preview/outputs.py +2 -2
  22. pulumi_azure_native/azurestackhci/v20240501preview/_inputs.py +3 -3
  23. pulumi_azure_native/azurestackhci/v20240501preview/outputs.py +2 -2
  24. pulumi_azure_native/azurestackhci/v20240801preview/_inputs.py +3 -3
  25. pulumi_azure_native/azurestackhci/v20240801preview/outputs.py +2 -2
  26. pulumi_azure_native/compute/__init__.py +3 -0
  27. pulumi_azure_native/compute/cloud_service.py +5 -1
  28. pulumi_azure_native/compute/get_cloud_service.py +4 -0
  29. pulumi_azure_native/compute/v20220904/cloud_service.py +1 -1
  30. pulumi_azure_native/{alertsmanagement/v20230501preview → compute/v20241104}/__init__.py +2 -2
  31. pulumi_azure_native/compute/v20241104/_enums.py +31 -0
  32. pulumi_azure_native/compute/v20241104/_inputs.py +1324 -0
  33. pulumi_azure_native/{alertsmanagement/v20240301preview/alert_processing_rule_by_name.py → compute/v20241104/cloud_service.py} +87 -58
  34. pulumi_azure_native/{alertsmanagement/v20240301preview/get_alert_processing_rule_by_name.py → compute/v20241104/get_cloud_service.py} +53 -39
  35. pulumi_azure_native/compute/v20241104/outputs.py +1082 -0
  36. pulumi_azure_native/datadog/__init__.py +7 -0
  37. pulumi_azure_native/datadog/get_billing_info.py +103 -0
  38. pulumi_azure_native/datadog/get_monitor.py +2 -2
  39. pulumi_azure_native/datadog/get_monitor_default_key.py +2 -2
  40. pulumi_azure_native/datadog/get_monitored_subscription.py +4 -0
  41. pulumi_azure_native/datadog/list_monitor_api_keys.py +2 -2
  42. pulumi_azure_native/datadog/list_monitor_hosts.py +2 -2
  43. pulumi_azure_native/datadog/list_monitor_linked_resources.py +2 -2
  44. pulumi_azure_native/datadog/list_monitor_monitored_resources.py +2 -2
  45. pulumi_azure_native/datadog/monitor.py +3 -3
  46. pulumi_azure_native/datadog/monitored_subscription.py +5 -1
  47. pulumi_azure_native/datadog/outputs.py +120 -0
  48. pulumi_azure_native/datadog/v20220601/monitor.py +1 -1
  49. pulumi_azure_native/datadog/v20220801/monitor.py +1 -1
  50. pulumi_azure_native/datadog/v20230101/_inputs.py +3 -3
  51. pulumi_azure_native/datadog/v20230101/monitor.py +1 -1
  52. pulumi_azure_native/datadog/v20230101/monitored_subscription.py +1 -1
  53. pulumi_azure_native/datadog/v20230101/outputs.py +2 -2
  54. pulumi_azure_native/datadog/v20230707/__init__.py +19 -0
  55. pulumi_azure_native/datadog/v20230707/_enums.py +58 -0
  56. pulumi_azure_native/datadog/v20230707/_inputs.py +911 -0
  57. pulumi_azure_native/{alertsmanagement/v20230501preview/get_alert_processing_rule_by_name.py → datadog/v20230707/get_monitor.py} +54 -43
  58. pulumi_azure_native/datadog/v20230707/get_monitor_default_key.py +123 -0
  59. pulumi_azure_native/datadog/v20230707/get_monitored_subscription.py +135 -0
  60. pulumi_azure_native/datadog/v20230707/list_monitor_api_keys.py +101 -0
  61. pulumi_azure_native/datadog/v20230707/list_monitor_hosts.py +101 -0
  62. pulumi_azure_native/datadog/v20230707/list_monitor_linked_resources.py +101 -0
  63. pulumi_azure_native/datadog/v20230707/list_monitor_monitored_resources.py +101 -0
  64. pulumi_azure_native/datadog/v20230707/monitor.py +282 -0
  65. pulumi_azure_native/datadog/v20230707/monitored_subscription.py +211 -0
  66. pulumi_azure_native/datadog/v20230707/outputs.py +1125 -0
  67. pulumi_azure_native/datadog/v20231020/__init__.py +20 -0
  68. pulumi_azure_native/datadog/v20231020/_enums.py +58 -0
  69. pulumi_azure_native/datadog/v20231020/_inputs.py +911 -0
  70. pulumi_azure_native/datadog/v20231020/get_billing_info.py +101 -0
  71. pulumi_azure_native/datadog/v20231020/get_monitor.py +182 -0
  72. pulumi_azure_native/datadog/v20231020/get_monitor_default_key.py +123 -0
  73. pulumi_azure_native/datadog/v20231020/get_monitored_subscription.py +135 -0
  74. pulumi_azure_native/datadog/v20231020/list_monitor_api_keys.py +101 -0
  75. pulumi_azure_native/datadog/v20231020/list_monitor_hosts.py +101 -0
  76. pulumi_azure_native/datadog/v20231020/list_monitor_linked_resources.py +101 -0
  77. pulumi_azure_native/datadog/v20231020/list_monitor_monitored_resources.py +101 -0
  78. pulumi_azure_native/datadog/v20231020/monitor.py +282 -0
  79. pulumi_azure_native/datadog/v20231020/monitored_subscription.py +211 -0
  80. pulumi_azure_native/datadog/v20231020/outputs.py +1257 -0
  81. pulumi_azure_native/datafactory/_inputs.py +6 -6
  82. pulumi_azure_native/datafactory/outputs.py +4 -4
  83. pulumi_azure_native/datafactory/v20180601/_inputs.py +6 -6
  84. pulumi_azure_native/datafactory/v20180601/outputs.py +4 -4
  85. pulumi_azure_native/pulumi-plugin.json +1 -1
  86. pulumi_azure_native/quota/__init__.py +3 -0
  87. pulumi_azure_native/quota/get_group_quota.py +2 -2
  88. pulumi_azure_native/quota/get_group_quota_subscription.py +2 -2
  89. pulumi_azure_native/quota/group_quota.py +3 -3
  90. pulumi_azure_native/quota/group_quota_subscription.py +3 -3
  91. pulumi_azure_native/quota/v20230601preview/group_quota.py +1 -1
  92. pulumi_azure_native/quota/v20230601preview/group_quota_subscription.py +1 -1
  93. pulumi_azure_native/quota/v20241015preview/group_quota.py +1 -1
  94. pulumi_azure_native/quota/v20241015preview/group_quota_subscription.py +1 -1
  95. pulumi_azure_native/{alertsmanagement/v20240301preview → quota/v20241218preview}/__init__.py +4 -3
  96. pulumi_azure_native/quota/v20241218preview/_inputs.py +55 -0
  97. pulumi_azure_native/quota/v20241218preview/get_group_quota.py +140 -0
  98. pulumi_azure_native/quota/v20241218preview/get_group_quota_subscription.py +140 -0
  99. pulumi_azure_native/quota/v20241218preview/group_quota.py +191 -0
  100. pulumi_azure_native/quota/v20241218preview/group_quota_subscription.py +177 -0
  101. pulumi_azure_native/quota/v20241218preview/outputs.py +230 -0
  102. pulumi_azure_native/servicenetworking/__init__.py +3 -0
  103. pulumi_azure_native/servicenetworking/associations_interface.py +3 -3
  104. pulumi_azure_native/servicenetworking/frontends_interface.py +3 -3
  105. pulumi_azure_native/servicenetworking/get_associations_interface.py +2 -2
  106. pulumi_azure_native/servicenetworking/get_frontends_interface.py +2 -2
  107. pulumi_azure_native/servicenetworking/get_security_policies_interface.py +4 -0
  108. pulumi_azure_native/servicenetworking/get_traffic_controller_interface.py +2 -2
  109. pulumi_azure_native/servicenetworking/security_policies_interface.py +5 -1
  110. pulumi_azure_native/servicenetworking/traffic_controller_interface.py +3 -3
  111. pulumi_azure_native/servicenetworking/v20221001preview/associations_interface.py +1 -1
  112. pulumi_azure_native/servicenetworking/v20221001preview/frontends_interface.py +1 -1
  113. pulumi_azure_native/servicenetworking/v20221001preview/traffic_controller_interface.py +1 -1
  114. pulumi_azure_native/servicenetworking/v20230501preview/associations_interface.py +1 -1
  115. pulumi_azure_native/servicenetworking/v20230501preview/frontends_interface.py +1 -1
  116. pulumi_azure_native/servicenetworking/v20230501preview/traffic_controller_interface.py +1 -1
  117. pulumi_azure_native/servicenetworking/v20231101/associations_interface.py +1 -1
  118. pulumi_azure_native/servicenetworking/v20231101/frontends_interface.py +1 -1
  119. pulumi_azure_native/servicenetworking/v20231101/traffic_controller_interface.py +1 -1
  120. pulumi_azure_native/servicenetworking/v20240501preview/associations_interface.py +1 -1
  121. pulumi_azure_native/servicenetworking/v20240501preview/frontends_interface.py +1 -1
  122. pulumi_azure_native/servicenetworking/v20240501preview/security_policies_interface.py +1 -1
  123. pulumi_azure_native/servicenetworking/v20240501preview/traffic_controller_interface.py +1 -1
  124. pulumi_azure_native/servicenetworking/v20250101/__init__.py +18 -0
  125. pulumi_azure_native/servicenetworking/v20250101/_enums.py +19 -0
  126. pulumi_azure_native/servicenetworking/v20250101/_inputs.py +171 -0
  127. pulumi_azure_native/servicenetworking/v20250101/associations_interface.py +319 -0
  128. pulumi_azure_native/{alertsmanagement/v20230501preview/alert_processing_rule_by_name.py → servicenetworking/v20250101/frontends_interface.py} +83 -73
  129. pulumi_azure_native/servicenetworking/v20250101/get_associations_interface.py +205 -0
  130. pulumi_azure_native/servicenetworking/v20250101/get_frontends_interface.py +191 -0
  131. pulumi_azure_native/servicenetworking/v20250101/get_security_policies_interface.py +205 -0
  132. pulumi_azure_native/servicenetworking/v20250101/get_traffic_controller_interface.py +241 -0
  133. pulumi_azure_native/servicenetworking/v20250101/outputs.py +265 -0
  134. pulumi_azure_native/servicenetworking/v20250101/security_policies_interface.py +298 -0
  135. pulumi_azure_native/servicenetworking/v20250101/traffic_controller_interface.py +307 -0
  136. pulumi_azure_native/workloads/v20240901/_inputs.py +10 -10
  137. pulumi_azure_native/workloads/v20240901/outputs.py +8 -8
  138. {pulumi_azure_native-2.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/METADATA +1 -1
  139. {pulumi_azure_native-2.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/RECORD +141 -100
  140. pulumi_azure_native/alertsmanagement/v20230501preview/_enums.py +0 -80
  141. pulumi_azure_native/alertsmanagement/v20230501preview/_inputs.py +0 -868
  142. pulumi_azure_native/alertsmanagement/v20230501preview/outputs.py +0 -795
  143. pulumi_azure_native/alertsmanagement/v20240301preview/_enums.py +0 -88
  144. pulumi_azure_native/alertsmanagement/v20240301preview/_inputs.py +0 -965
  145. pulumi_azure_native/alertsmanagement/v20240301preview/outputs.py +0 -877
  146. {pulumi_azure_native-2.78.0a1734184513.dist-info → pulumi_azure_native-2.79.0.dist-info}/WHEEL +0 -0
  147. {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__ = ['AlertProcessingRuleByNameArgs', 'AlertProcessingRuleByName']
20
+ __all__ = ['CloudServiceArgs', 'CloudService']
21
21
 
22
22
  @pulumi.input_type
23
- class AlertProcessingRuleByNameArgs:
23
+ class CloudServiceArgs:
24
24
  def __init__(__self__, *,
25
25
  resource_group_name: pulumi.Input[str],
26
- alert_processing_rule_name: Optional[pulumi.Input[str]] = None,
26
+ cloud_service_name: Optional[pulumi.Input[str]] = None,
27
27
  location: Optional[pulumi.Input[str]] = None,
28
- properties: Optional[pulumi.Input['AlertProcessingRulePropertiesArgs']] = None,
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 AlertProcessingRuleByName resource.
32
- :param pulumi.Input[str] resource_group_name: Resource group name where the resource is created.
33
- :param pulumi.Input[str] alert_processing_rule_name: The name of the alert processing rule that needs to be created/updated.
34
- :param pulumi.Input[str] location: Resource location
35
- :param pulumi.Input['AlertProcessingRulePropertiesArgs'] properties: Alert processing rule properties.
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 alert_processing_rule_name is not None:
40
- pulumi.set(__self__, "alert_processing_rule_name", alert_processing_rule_name)
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
- Resource group name where the resource is created.
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="alertProcessingRuleName")
62
- def alert_processing_rule_name(self) -> Optional[pulumi.Input[str]]:
65
+ @pulumi.getter(name="cloudServiceName")
66
+ def cloud_service_name(self) -> Optional[pulumi.Input[str]]:
63
67
  """
64
- The name of the alert processing rule that needs to be created/updated.
68
+ Name of the cloud service.
65
69
  """
66
- return pulumi.get(self, "alert_processing_rule_name")
70
+ return pulumi.get(self, "cloud_service_name")
67
71
 
68
- @alert_processing_rule_name.setter
69
- def alert_processing_rule_name(self, value: Optional[pulumi.Input[str]]):
70
- pulumi.set(self, "alert_processing_rule_name", value)
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['AlertProcessingRulePropertiesArgs']]:
90
+ def properties(self) -> Optional[pulumi.Input['CloudServicePropertiesArgs']]:
87
91
  """
88
- Alert processing rule properties.
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['AlertProcessingRulePropertiesArgs']]):
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
- class AlertProcessingRuleByName(pulumi.CustomResource):
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
- alert_processing_rule_name: Optional[pulumi.Input[str]] = None,
130
+ cloud_service_name: Optional[pulumi.Input[str]] = None,
115
131
  location: Optional[pulumi.Input[str]] = None,
116
- properties: Optional[pulumi.Input[Union['AlertProcessingRulePropertiesArgs', 'AlertProcessingRulePropertiesArgsDict']]] = None,
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
- Alert processing rule object containing target scopes, conditions and scheduling logic.
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] alert_processing_rule_name: The name of the alert processing rule that needs to be created/updated.
126
- :param pulumi.Input[str] location: Resource location
127
- :param pulumi.Input[Union['AlertProcessingRulePropertiesArgs', 'AlertProcessingRulePropertiesArgsDict']] properties: Alert processing rule properties.
128
- :param pulumi.Input[str] resource_group_name: Resource group name where the resource is created.
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: AlertProcessingRuleByNameArgs,
153
+ args: CloudServiceArgs,
136
154
  opts: Optional[pulumi.ResourceOptions] = None):
137
155
  """
138
- Alert processing rule object containing target scopes, conditions and scheduling logic.
156
+ Describes the cloud service.
139
157
 
140
158
  :param str resource_name: The name of the resource.
141
- :param AlertProcessingRuleByNameArgs args: The arguments to use to populate this resource's properties.
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(AlertProcessingRuleByNameArgs, pulumi.ResourceOptions, *args, **kwargs)
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
- alert_processing_rule_name: Optional[pulumi.Input[str]] = None,
173
+ cloud_service_name: Optional[pulumi.Input[str]] = None,
156
174
  location: Optional[pulumi.Input[str]] = None,
157
- properties: Optional[pulumi.Input[Union['AlertProcessingRulePropertiesArgs', 'AlertProcessingRulePropertiesArgsDict']]] = None,
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__ = AlertProcessingRuleByNameArgs.__new__(AlertProcessingRuleByNameArgs)
186
+ __props__ = CloudServiceArgs.__new__(CloudServiceArgs)
168
187
 
169
- __props__.__dict__["alert_processing_rule_name"] = alert_processing_rule_name
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:alertsmanagement:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20181102privatepreview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20190505preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20210808preview:AlertProcessingRuleByName"), pulumi.Alias(type_="azure-native:alertsmanagement/v20230501preview:AlertProcessingRuleByName")])
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(AlertProcessingRuleByName, __self__).__init__(
182
- 'azure-native:alertsmanagement/v20240301preview:AlertProcessingRuleByName',
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) -> 'AlertProcessingRuleByName':
210
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'CloudService':
191
211
  """
192
- Get an existing AlertProcessingRuleByName resource's state with the given name, id, and optional extra
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__ = AlertProcessingRuleByNameArgs.__new__(AlertProcessingRuleByNameArgs)
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
- return AlertProcessingRuleByName(resource_name, opts=opts, __props__=__props__)
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
- Azure resource name
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.AlertProcessingRulePropertiesResponse']:
250
+ def properties(self) -> pulumi.Output['outputs.CloudServicePropertiesResponse']:
230
251
  """
231
- Alert processing rule properties.
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
- Alert processing rule system data.
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
- Azure resource type
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
- 'GetAlertProcessingRuleByNameResult',
20
- 'AwaitableGetAlertProcessingRuleByNameResult',
21
- 'get_alert_processing_rule_by_name',
22
- 'get_alert_processing_rule_by_name_output',
19
+ 'GetCloudServiceResult',
20
+ 'AwaitableGetCloudServiceResult',
21
+ 'get_cloud_service',
22
+ 'get_cloud_service_output',
23
23
  ]
24
24
 
25
25
  @pulumi.output_type
26
- class GetAlertProcessingRuleByNameResult:
26
+ class GetCloudServiceResult:
27
27
  """
28
- Alert processing rule object containing target scopes, conditions and scheduling logic.
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
- Azure resource Id
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
- Azure resource name
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.AlertProcessingRulePropertiesResponse':
82
+ def properties(self) -> 'outputs.CloudServicePropertiesResponse':
80
83
  """
81
- Alert processing rule properties.
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
- Alert processing rule system data.
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
- Azure resource type
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 AwaitableGetAlertProcessingRuleByNameResult(GetAlertProcessingRuleByNameResult):
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 GetAlertProcessingRuleByNameResult(
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 get_alert_processing_rule_by_name(alert_processing_rule_name: Optional[str] = None,
126
- resource_group_name: Optional[str] = None,
127
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertProcessingRuleByNameResult:
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
- Get an alert processing rule by name.
141
+ Display information about a cloud service.
130
142
 
131
143
 
132
- :param str alert_processing_rule_name: The name of the alert processing rule that needs to be fetched.
133
- :param str resource_group_name: Resource group name where the resource is created.
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__['alertProcessingRuleName'] = alert_processing_rule_name
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:alertsmanagement/v20240301preview:getAlertProcessingRuleByName', __args__, opts=opts, typ=GetAlertProcessingRuleByNameResult).value
151
+ __ret__ = pulumi.runtime.invoke('azure-native:compute/v20241104:getCloudService', __args__, opts=opts, typ=GetCloudServiceResult).value
140
152
 
141
- return AwaitableGetAlertProcessingRuleByNameResult(
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
- def get_alert_processing_rule_by_name_output(alert_processing_rule_name: Optional[pulumi.Input[str]] = None,
150
- resource_group_name: Optional[pulumi.Input[str]] = None,
151
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertProcessingRuleByNameResult]:
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
- Get an alert processing rule by name.
166
+ Display information about a cloud service.
154
167
 
155
168
 
156
- :param str alert_processing_rule_name: The name of the alert processing rule that needs to be fetched.
157
- :param str resource_group_name: Resource group name where the resource is created.
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__['alertProcessingRuleName'] = alert_processing_rule_name
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:alertsmanagement/v20240301preview:getAlertProcessingRuleByName', __args__, opts=opts, typ=GetAlertProcessingRuleByNameResult)
164
- return __ret__.apply(lambda __response__: GetAlertProcessingRuleByNameResult(
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')))