pulumi-azure-native 2.59.0a1724845184__py3-none-any.whl → 2.59.0a1725033095__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 (104) hide show
  1. pulumi_azure_native/__init__.py +25 -0
  2. pulumi_azure_native/azureplaywrightservice/__init__.py +3 -0
  3. pulumi_azure_native/azureplaywrightservice/account.py +3 -3
  4. pulumi_azure_native/azureplaywrightservice/get_account.py +2 -2
  5. pulumi_azure_native/azureplaywrightservice/v20231001preview/account.py +1 -1
  6. pulumi_azure_native/azureplaywrightservice/v20240201preview/account.py +1 -1
  7. pulumi_azure_native/azureplaywrightservice/v20240801preview/__init__.py +11 -0
  8. pulumi_azure_native/azureplaywrightservice/v20240801preview/_enums.py +23 -0
  9. pulumi_azure_native/azureplaywrightservice/v20240801preview/account.py +380 -0
  10. pulumi_azure_native/azureplaywrightservice/v20240801preview/get_account.py +227 -0
  11. pulumi_azure_native/azureplaywrightservice/v20240801preview/outputs.py +131 -0
  12. pulumi_azure_native/azurestackhci/__init__.py +3 -0
  13. pulumi_azure_native/azurestackhci/gallery_image.py +3 -3
  14. pulumi_azure_native/azurestackhci/get_gallery_image.py +2 -2
  15. pulumi_azure_native/azurestackhci/get_guest_agent.py +2 -2
  16. pulumi_azure_native/azurestackhci/get_logical_network.py +2 -2
  17. pulumi_azure_native/azurestackhci/get_marketplace_gallery_image.py +2 -2
  18. pulumi_azure_native/azurestackhci/get_network_interface.py +2 -2
  19. pulumi_azure_native/azurestackhci/get_network_security_group.py +4 -0
  20. pulumi_azure_native/azurestackhci/get_security_rule.py +4 -0
  21. pulumi_azure_native/azurestackhci/get_storage_container.py +2 -2
  22. pulumi_azure_native/azurestackhci/get_virtual_hard_disk.py +2 -2
  23. pulumi_azure_native/azurestackhci/get_virtual_machine_instance.py +2 -2
  24. pulumi_azure_native/azurestackhci/guest_agent.py +2 -2
  25. pulumi_azure_native/azurestackhci/logical_network.py +3 -3
  26. pulumi_azure_native/azurestackhci/marketplace_gallery_image.py +3 -3
  27. pulumi_azure_native/azurestackhci/network_interface.py +3 -3
  28. pulumi_azure_native/azurestackhci/network_security_group.py +5 -1
  29. pulumi_azure_native/azurestackhci/security_rule.py +5 -1
  30. pulumi_azure_native/azurestackhci/storage_container.py +3 -3
  31. pulumi_azure_native/azurestackhci/v20210901preview/galleryimage_retrieve.py +1 -1
  32. pulumi_azure_native/azurestackhci/v20210901preview/marketplacegalleryimage.py +1 -1
  33. pulumi_azure_native/azurestackhci/v20210901preview/networkinterface_retrieve.py +1 -1
  34. pulumi_azure_native/azurestackhci/v20210901preview/storagecontainer_retrieve.py +1 -1
  35. pulumi_azure_native/azurestackhci/v20210901preview/virtualharddisk_retrieve.py +1 -1
  36. pulumi_azure_native/azurestackhci/v20221215preview/gallery_image.py +1 -1
  37. pulumi_azure_native/azurestackhci/v20221215preview/marketplace_gallery_image.py +1 -1
  38. pulumi_azure_native/azurestackhci/v20221215preview/network_interface.py +1 -1
  39. pulumi_azure_native/azurestackhci/v20221215preview/storage_container.py +1 -1
  40. pulumi_azure_native/azurestackhci/v20221215preview/virtual_hard_disk.py +1 -1
  41. pulumi_azure_native/azurestackhci/v20230701preview/gallery_image.py +1 -1
  42. pulumi_azure_native/azurestackhci/v20230701preview/guest_agent.py +1 -1
  43. pulumi_azure_native/azurestackhci/v20230701preview/marketplace_gallery_image.py +1 -1
  44. pulumi_azure_native/azurestackhci/v20230701preview/network_interface.py +1 -1
  45. pulumi_azure_native/azurestackhci/v20230701preview/storage_container.py +1 -1
  46. pulumi_azure_native/azurestackhci/v20230701preview/virtual_hard_disk.py +1 -1
  47. pulumi_azure_native/azurestackhci/v20230701preview/virtual_machine_instance.py +1 -1
  48. pulumi_azure_native/azurestackhci/v20230901preview/gallery_image.py +1 -1
  49. pulumi_azure_native/azurestackhci/v20230901preview/guest_agent.py +1 -1
  50. pulumi_azure_native/azurestackhci/v20230901preview/logical_network.py +1 -1
  51. pulumi_azure_native/azurestackhci/v20230901preview/marketplace_gallery_image.py +1 -1
  52. pulumi_azure_native/azurestackhci/v20230901preview/network_interface.py +1 -1
  53. pulumi_azure_native/azurestackhci/v20230901preview/storage_container.py +1 -1
  54. pulumi_azure_native/azurestackhci/v20230901preview/virtual_hard_disk.py +1 -1
  55. pulumi_azure_native/azurestackhci/v20230901preview/virtual_machine_instance.py +1 -1
  56. pulumi_azure_native/azurestackhci/v20240101/gallery_image.py +1 -1
  57. pulumi_azure_native/azurestackhci/v20240101/guest_agent.py +1 -1
  58. pulumi_azure_native/azurestackhci/v20240101/logical_network.py +1 -1
  59. pulumi_azure_native/azurestackhci/v20240101/marketplace_gallery_image.py +1 -1
  60. pulumi_azure_native/azurestackhci/v20240101/network_interface.py +1 -1
  61. pulumi_azure_native/azurestackhci/v20240101/storage_container.py +1 -1
  62. pulumi_azure_native/azurestackhci/v20240101/virtual_hard_disk.py +1 -1
  63. pulumi_azure_native/azurestackhci/v20240101/virtual_machine_instance.py +1 -1
  64. pulumi_azure_native/azurestackhci/v20240201preview/gallery_image.py +1 -1
  65. pulumi_azure_native/azurestackhci/v20240201preview/guest_agent.py +1 -1
  66. pulumi_azure_native/azurestackhci/v20240201preview/logical_network.py +1 -1
  67. pulumi_azure_native/azurestackhci/v20240201preview/marketplace_gallery_image.py +1 -1
  68. pulumi_azure_native/azurestackhci/v20240201preview/network_interface.py +1 -1
  69. pulumi_azure_native/azurestackhci/v20240201preview/network_security_group.py +1 -1
  70. pulumi_azure_native/azurestackhci/v20240201preview/security_rule.py +1 -1
  71. pulumi_azure_native/azurestackhci/v20240201preview/storage_container.py +1 -1
  72. pulumi_azure_native/azurestackhci/v20240201preview/virtual_hard_disk.py +1 -1
  73. pulumi_azure_native/azurestackhci/v20240201preview/virtual_machine_instance.py +1 -1
  74. pulumi_azure_native/azurestackhci/v20240501preview/__init__.py +30 -0
  75. pulumi_azure_native/azurestackhci/v20240501preview/_enums.py +321 -0
  76. pulumi_azure_native/azurestackhci/v20240501preview/_inputs.py +2265 -0
  77. pulumi_azure_native/azurestackhci/v20240501preview/gallery_image.py +511 -0
  78. pulumi_azure_native/azurestackhci/v20240501preview/get_gallery_image.py +292 -0
  79. pulumi_azure_native/azurestackhci/v20240501preview/get_guest_agent.py +170 -0
  80. pulumi_azure_native/azurestackhci/v20240501preview/get_logical_network.py +227 -0
  81. pulumi_azure_native/azurestackhci/v20240501preview/get_marketplace_gallery_image.py +266 -0
  82. pulumi_azure_native/azurestackhci/v20240501preview/get_network_interface.py +240 -0
  83. pulumi_azure_native/azurestackhci/v20240501preview/get_network_security_group.py +214 -0
  84. pulumi_azure_native/azurestackhci/v20240501preview/get_security_rule.py +271 -0
  85. pulumi_azure_native/azurestackhci/v20240501preview/get_storage_container.py +201 -0
  86. pulumi_azure_native/azurestackhci/v20240501preview/get_virtual_hard_disk.py +305 -0
  87. pulumi_azure_native/azurestackhci/v20240501preview/get_virtual_machine_instance.py +300 -0
  88. pulumi_azure_native/azurestackhci/v20240501preview/guest_agent.py +229 -0
  89. pulumi_azure_native/azurestackhci/v20240501preview/logical_network.py +365 -0
  90. pulumi_azure_native/azurestackhci/v20240501preview/marketplace_gallery_image.py +453 -0
  91. pulumi_azure_native/azurestackhci/v20240501preview/network_interface.py +394 -0
  92. pulumi_azure_native/azurestackhci/v20240501preview/network_security_group.py +298 -0
  93. pulumi_azure_native/azurestackhci/v20240501preview/outputs.py +3744 -0
  94. pulumi_azure_native/azurestackhci/v20240501preview/security_rule.py +496 -0
  95. pulumi_azure_native/azurestackhci/v20240501preview/storage_container.py +308 -0
  96. pulumi_azure_native/azurestackhci/v20240501preview/virtual_hard_disk.py +539 -0
  97. pulumi_azure_native/azurestackhci/v20240501preview/virtual_machine_instance.py +462 -0
  98. pulumi_azure_native/azurestackhci/virtual_hard_disk.py +3 -3
  99. pulumi_azure_native/azurestackhci/virtual_machine_instance.py +3 -3
  100. pulumi_azure_native/pulumi-plugin.json +1 -1
  101. {pulumi_azure_native-2.59.0a1724845184.dist-info → pulumi_azure_native-2.59.0a1725033095.dist-info}/METADATA +1 -1
  102. {pulumi_azure_native-2.59.0a1724845184.dist-info → pulumi_azure_native-2.59.0a1725033095.dist-info}/RECORD +104 -75
  103. {pulumi_azure_native-2.59.0a1724845184.dist-info → pulumi_azure_native-2.59.0a1725033095.dist-info}/WHEEL +0 -0
  104. {pulumi_azure_native-2.59.0a1724845184.dist-info → pulumi_azure_native-2.59.0a1725033095.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,214 @@
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
+ 'GetNetworkSecurityGroupResult',
20
+ 'AwaitableGetNetworkSecurityGroupResult',
21
+ 'get_network_security_group',
22
+ 'get_network_security_group_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetNetworkSecurityGroupResult:
27
+ """
28
+ NetworkSecurityGroup resource.
29
+ """
30
+ def __init__(__self__, e_tag=None, extended_location=None, id=None, location=None, name=None, network_interfaces=None, provisioning_state=None, subnets=None, system_data=None, tags=None, type=None):
31
+ if e_tag and not isinstance(e_tag, str):
32
+ raise TypeError("Expected argument 'e_tag' to be a str")
33
+ pulumi.set(__self__, "e_tag", e_tag)
34
+ if extended_location and not isinstance(extended_location, dict):
35
+ raise TypeError("Expected argument 'extended_location' to be a dict")
36
+ pulumi.set(__self__, "extended_location", extended_location)
37
+ if id and not isinstance(id, str):
38
+ raise TypeError("Expected argument 'id' to be a str")
39
+ pulumi.set(__self__, "id", id)
40
+ if location and not isinstance(location, str):
41
+ raise TypeError("Expected argument 'location' to be a str")
42
+ pulumi.set(__self__, "location", location)
43
+ if name and not isinstance(name, str):
44
+ raise TypeError("Expected argument 'name' to be a str")
45
+ pulumi.set(__self__, "name", name)
46
+ if network_interfaces and not isinstance(network_interfaces, list):
47
+ raise TypeError("Expected argument 'network_interfaces' to be a list")
48
+ pulumi.set(__self__, "network_interfaces", network_interfaces)
49
+ if provisioning_state and not isinstance(provisioning_state, str):
50
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
51
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
52
+ if subnets and not isinstance(subnets, list):
53
+ raise TypeError("Expected argument 'subnets' to be a list")
54
+ pulumi.set(__self__, "subnets", subnets)
55
+ if system_data and not isinstance(system_data, dict):
56
+ raise TypeError("Expected argument 'system_data' to be a dict")
57
+ pulumi.set(__self__, "system_data", system_data)
58
+ if tags and not isinstance(tags, dict):
59
+ raise TypeError("Expected argument 'tags' to be a dict")
60
+ pulumi.set(__self__, "tags", tags)
61
+ if type and not isinstance(type, str):
62
+ raise TypeError("Expected argument 'type' to be a str")
63
+ pulumi.set(__self__, "type", type)
64
+
65
+ @property
66
+ @pulumi.getter(name="eTag")
67
+ def e_tag(self) -> str:
68
+ """
69
+ If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
70
+ """
71
+ return pulumi.get(self, "e_tag")
72
+
73
+ @property
74
+ @pulumi.getter(name="extendedLocation")
75
+ def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']:
76
+ """
77
+ The extendedLocation of the resource.
78
+ """
79
+ return pulumi.get(self, "extended_location")
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def id(self) -> str:
84
+ """
85
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
86
+ """
87
+ return pulumi.get(self, "id")
88
+
89
+ @property
90
+ @pulumi.getter
91
+ def location(self) -> str:
92
+ """
93
+ The geo-location where the resource lives
94
+ """
95
+ return pulumi.get(self, "location")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def name(self) -> str:
100
+ """
101
+ The name of the resource
102
+ """
103
+ return pulumi.get(self, "name")
104
+
105
+ @property
106
+ @pulumi.getter(name="networkInterfaces")
107
+ def network_interfaces(self) -> Sequence['outputs.NetworkInterfaceArmReferenceResponse']:
108
+ """
109
+ A collection of references to network interfaces that are currently using this NSG.
110
+ """
111
+ return pulumi.get(self, "network_interfaces")
112
+
113
+ @property
114
+ @pulumi.getter(name="provisioningState")
115
+ def provisioning_state(self) -> str:
116
+ """
117
+ The provisioning state of the network security group resource.
118
+ """
119
+ return pulumi.get(self, "provisioning_state")
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def subnets(self) -> Sequence['outputs.LogicalNetworkArmReferenceResponse']:
124
+ """
125
+ A collection of references to logical networks that are currently using this NSG
126
+ """
127
+ return pulumi.get(self, "subnets")
128
+
129
+ @property
130
+ @pulumi.getter(name="systemData")
131
+ def system_data(self) -> 'outputs.SystemDataResponse':
132
+ """
133
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
134
+ """
135
+ return pulumi.get(self, "system_data")
136
+
137
+ @property
138
+ @pulumi.getter
139
+ def tags(self) -> Optional[Mapping[str, str]]:
140
+ """
141
+ Resource tags.
142
+ """
143
+ return pulumi.get(self, "tags")
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def type(self) -> str:
148
+ """
149
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
150
+ """
151
+ return pulumi.get(self, "type")
152
+
153
+
154
+ class AwaitableGetNetworkSecurityGroupResult(GetNetworkSecurityGroupResult):
155
+ # pylint: disable=using-constant-test
156
+ def __await__(self):
157
+ if False:
158
+ yield self
159
+ return GetNetworkSecurityGroupResult(
160
+ e_tag=self.e_tag,
161
+ extended_location=self.extended_location,
162
+ id=self.id,
163
+ location=self.location,
164
+ name=self.name,
165
+ network_interfaces=self.network_interfaces,
166
+ provisioning_state=self.provisioning_state,
167
+ subnets=self.subnets,
168
+ system_data=self.system_data,
169
+ tags=self.tags,
170
+ type=self.type)
171
+
172
+
173
+ def get_network_security_group(network_security_group_name: Optional[str] = None,
174
+ resource_group_name: Optional[str] = None,
175
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkSecurityGroupResult:
176
+ """
177
+ Gets the specified network security group.
178
+
179
+
180
+ :param str network_security_group_name: Name of the network security group
181
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
182
+ """
183
+ __args__ = dict()
184
+ __args__['networkSecurityGroupName'] = network_security_group_name
185
+ __args__['resourceGroupName'] = resource_group_name
186
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
187
+ __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20240501preview:getNetworkSecurityGroup', __args__, opts=opts, typ=GetNetworkSecurityGroupResult).value
188
+
189
+ return AwaitableGetNetworkSecurityGroupResult(
190
+ e_tag=pulumi.get(__ret__, 'e_tag'),
191
+ extended_location=pulumi.get(__ret__, 'extended_location'),
192
+ id=pulumi.get(__ret__, 'id'),
193
+ location=pulumi.get(__ret__, 'location'),
194
+ name=pulumi.get(__ret__, 'name'),
195
+ network_interfaces=pulumi.get(__ret__, 'network_interfaces'),
196
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
197
+ subnets=pulumi.get(__ret__, 'subnets'),
198
+ system_data=pulumi.get(__ret__, 'system_data'),
199
+ tags=pulumi.get(__ret__, 'tags'),
200
+ type=pulumi.get(__ret__, 'type'))
201
+
202
+
203
+ @_utilities.lift_output_func(get_network_security_group)
204
+ def get_network_security_group_output(network_security_group_name: Optional[pulumi.Input[str]] = None,
205
+ resource_group_name: Optional[pulumi.Input[str]] = None,
206
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkSecurityGroupResult]:
207
+ """
208
+ Gets the specified network security group.
209
+
210
+
211
+ :param str network_security_group_name: Name of the network security group
212
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
213
+ """
214
+ ...
@@ -0,0 +1,271 @@
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
+ 'GetSecurityRuleResult',
20
+ 'AwaitableGetSecurityRuleResult',
21
+ 'get_security_rule',
22
+ 'get_security_rule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetSecurityRuleResult:
27
+ """
28
+ Security Rule resource.
29
+ """
30
+ def __init__(__self__, access=None, description=None, destination_address_prefixes=None, destination_port_ranges=None, direction=None, extended_location=None, id=None, name=None, priority=None, protocol=None, provisioning_state=None, source_address_prefixes=None, source_port_ranges=None, system_data=None, type=None):
31
+ if access and not isinstance(access, str):
32
+ raise TypeError("Expected argument 'access' to be a str")
33
+ pulumi.set(__self__, "access", access)
34
+ if description and not isinstance(description, str):
35
+ raise TypeError("Expected argument 'description' to be a str")
36
+ pulumi.set(__self__, "description", description)
37
+ if destination_address_prefixes and not isinstance(destination_address_prefixes, list):
38
+ raise TypeError("Expected argument 'destination_address_prefixes' to be a list")
39
+ pulumi.set(__self__, "destination_address_prefixes", destination_address_prefixes)
40
+ if destination_port_ranges and not isinstance(destination_port_ranges, list):
41
+ raise TypeError("Expected argument 'destination_port_ranges' to be a list")
42
+ pulumi.set(__self__, "destination_port_ranges", destination_port_ranges)
43
+ if direction and not isinstance(direction, str):
44
+ raise TypeError("Expected argument 'direction' to be a str")
45
+ pulumi.set(__self__, "direction", direction)
46
+ if extended_location and not isinstance(extended_location, dict):
47
+ raise TypeError("Expected argument 'extended_location' to be a dict")
48
+ pulumi.set(__self__, "extended_location", extended_location)
49
+ if id and not isinstance(id, str):
50
+ raise TypeError("Expected argument 'id' to be a str")
51
+ pulumi.set(__self__, "id", id)
52
+ if name and not isinstance(name, str):
53
+ raise TypeError("Expected argument 'name' to be a str")
54
+ pulumi.set(__self__, "name", name)
55
+ if priority and not isinstance(priority, int):
56
+ raise TypeError("Expected argument 'priority' to be a int")
57
+ pulumi.set(__self__, "priority", priority)
58
+ if protocol and not isinstance(protocol, str):
59
+ raise TypeError("Expected argument 'protocol' to be a str")
60
+ pulumi.set(__self__, "protocol", protocol)
61
+ if provisioning_state and not isinstance(provisioning_state, str):
62
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
63
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
64
+ if source_address_prefixes and not isinstance(source_address_prefixes, list):
65
+ raise TypeError("Expected argument 'source_address_prefixes' to be a list")
66
+ pulumi.set(__self__, "source_address_prefixes", source_address_prefixes)
67
+ if source_port_ranges and not isinstance(source_port_ranges, list):
68
+ raise TypeError("Expected argument 'source_port_ranges' to be a list")
69
+ pulumi.set(__self__, "source_port_ranges", source_port_ranges)
70
+ if system_data and not isinstance(system_data, dict):
71
+ raise TypeError("Expected argument 'system_data' to be a dict")
72
+ pulumi.set(__self__, "system_data", system_data)
73
+ if type and not isinstance(type, str):
74
+ raise TypeError("Expected argument 'type' to be a str")
75
+ pulumi.set(__self__, "type", type)
76
+
77
+ @property
78
+ @pulumi.getter
79
+ def access(self) -> str:
80
+ """
81
+ The network traffic is allowed or denied.
82
+ """
83
+ return pulumi.get(self, "access")
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def description(self) -> Optional[str]:
88
+ """
89
+ A description for this rule. Restricted to 140 chars.
90
+ """
91
+ return pulumi.get(self, "description")
92
+
93
+ @property
94
+ @pulumi.getter(name="destinationAddressPrefixes")
95
+ def destination_address_prefixes(self) -> Optional[Sequence[str]]:
96
+ """
97
+ The destination address prefixes. CIDR or destination IP ranges.
98
+ """
99
+ return pulumi.get(self, "destination_address_prefixes")
100
+
101
+ @property
102
+ @pulumi.getter(name="destinationPortRanges")
103
+ def destination_port_ranges(self) -> Optional[Sequence[str]]:
104
+ """
105
+ The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
106
+ """
107
+ return pulumi.get(self, "destination_port_ranges")
108
+
109
+ @property
110
+ @pulumi.getter
111
+ def direction(self) -> str:
112
+ """
113
+ The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
114
+ """
115
+ return pulumi.get(self, "direction")
116
+
117
+ @property
118
+ @pulumi.getter(name="extendedLocation")
119
+ def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']:
120
+ """
121
+ The extendedLocation of the resource.
122
+ """
123
+ return pulumi.get(self, "extended_location")
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def id(self) -> str:
128
+ """
129
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
130
+ """
131
+ return pulumi.get(self, "id")
132
+
133
+ @property
134
+ @pulumi.getter
135
+ def name(self) -> str:
136
+ """
137
+ The name of the resource
138
+ """
139
+ return pulumi.get(self, "name")
140
+
141
+ @property
142
+ @pulumi.getter
143
+ def priority(self) -> int:
144
+ """
145
+ The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
146
+ """
147
+ return pulumi.get(self, "priority")
148
+
149
+ @property
150
+ @pulumi.getter
151
+ def protocol(self) -> str:
152
+ """
153
+ Network protocol this rule applies to.
154
+ """
155
+ return pulumi.get(self, "protocol")
156
+
157
+ @property
158
+ @pulumi.getter(name="provisioningState")
159
+ def provisioning_state(self) -> str:
160
+ """
161
+ Provisioning state of the SR
162
+ """
163
+ return pulumi.get(self, "provisioning_state")
164
+
165
+ @property
166
+ @pulumi.getter(name="sourceAddressPrefixes")
167
+ def source_address_prefixes(self) -> Optional[Sequence[str]]:
168
+ """
169
+ The CIDR or source IP ranges.
170
+ """
171
+ return pulumi.get(self, "source_address_prefixes")
172
+
173
+ @property
174
+ @pulumi.getter(name="sourcePortRanges")
175
+ def source_port_ranges(self) -> Optional[Sequence[str]]:
176
+ """
177
+ The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
178
+ """
179
+ return pulumi.get(self, "source_port_ranges")
180
+
181
+ @property
182
+ @pulumi.getter(name="systemData")
183
+ def system_data(self) -> 'outputs.SystemDataResponse':
184
+ """
185
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
186
+ """
187
+ return pulumi.get(self, "system_data")
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def type(self) -> str:
192
+ """
193
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
194
+ """
195
+ return pulumi.get(self, "type")
196
+
197
+
198
+ class AwaitableGetSecurityRuleResult(GetSecurityRuleResult):
199
+ # pylint: disable=using-constant-test
200
+ def __await__(self):
201
+ if False:
202
+ yield self
203
+ return GetSecurityRuleResult(
204
+ access=self.access,
205
+ description=self.description,
206
+ destination_address_prefixes=self.destination_address_prefixes,
207
+ destination_port_ranges=self.destination_port_ranges,
208
+ direction=self.direction,
209
+ extended_location=self.extended_location,
210
+ id=self.id,
211
+ name=self.name,
212
+ priority=self.priority,
213
+ protocol=self.protocol,
214
+ provisioning_state=self.provisioning_state,
215
+ source_address_prefixes=self.source_address_prefixes,
216
+ source_port_ranges=self.source_port_ranges,
217
+ system_data=self.system_data,
218
+ type=self.type)
219
+
220
+
221
+ def get_security_rule(network_security_group_name: Optional[str] = None,
222
+ resource_group_name: Optional[str] = None,
223
+ security_rule_name: Optional[str] = None,
224
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityRuleResult:
225
+ """
226
+ Gets the specified security rule.
227
+
228
+
229
+ :param str network_security_group_name: Name of the network security group
230
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
231
+ :param str security_rule_name: Name of the security rule.
232
+ """
233
+ __args__ = dict()
234
+ __args__['networkSecurityGroupName'] = network_security_group_name
235
+ __args__['resourceGroupName'] = resource_group_name
236
+ __args__['securityRuleName'] = security_rule_name
237
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
238
+ __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20240501preview:getSecurityRule', __args__, opts=opts, typ=GetSecurityRuleResult).value
239
+
240
+ return AwaitableGetSecurityRuleResult(
241
+ access=pulumi.get(__ret__, 'access'),
242
+ description=pulumi.get(__ret__, 'description'),
243
+ destination_address_prefixes=pulumi.get(__ret__, 'destination_address_prefixes'),
244
+ destination_port_ranges=pulumi.get(__ret__, 'destination_port_ranges'),
245
+ direction=pulumi.get(__ret__, 'direction'),
246
+ extended_location=pulumi.get(__ret__, 'extended_location'),
247
+ id=pulumi.get(__ret__, 'id'),
248
+ name=pulumi.get(__ret__, 'name'),
249
+ priority=pulumi.get(__ret__, 'priority'),
250
+ protocol=pulumi.get(__ret__, 'protocol'),
251
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
252
+ source_address_prefixes=pulumi.get(__ret__, 'source_address_prefixes'),
253
+ source_port_ranges=pulumi.get(__ret__, 'source_port_ranges'),
254
+ system_data=pulumi.get(__ret__, 'system_data'),
255
+ type=pulumi.get(__ret__, 'type'))
256
+
257
+
258
+ @_utilities.lift_output_func(get_security_rule)
259
+ def get_security_rule_output(network_security_group_name: Optional[pulumi.Input[str]] = None,
260
+ resource_group_name: Optional[pulumi.Input[str]] = None,
261
+ security_rule_name: Optional[pulumi.Input[str]] = None,
262
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityRuleResult]:
263
+ """
264
+ Gets the specified security rule.
265
+
266
+
267
+ :param str network_security_group_name: Name of the network security group
268
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
269
+ :param str security_rule_name: Name of the security rule.
270
+ """
271
+ ...
@@ -0,0 +1,201 @@
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
+ 'GetStorageContainerResult',
20
+ 'AwaitableGetStorageContainerResult',
21
+ 'get_storage_container',
22
+ 'get_storage_container_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetStorageContainerResult:
27
+ """
28
+ The storage container resource definition.
29
+ """
30
+ def __init__(__self__, extended_location=None, id=None, location=None, name=None, path=None, provisioning_state=None, status=None, system_data=None, tags=None, type=None):
31
+ if extended_location and not isinstance(extended_location, dict):
32
+ raise TypeError("Expected argument 'extended_location' to be a dict")
33
+ pulumi.set(__self__, "extended_location", extended_location)
34
+ if id and not isinstance(id, str):
35
+ raise TypeError("Expected argument 'id' to be a str")
36
+ pulumi.set(__self__, "id", id)
37
+ if location and not isinstance(location, str):
38
+ raise TypeError("Expected argument 'location' to be a str")
39
+ pulumi.set(__self__, "location", location)
40
+ if name and not isinstance(name, str):
41
+ raise TypeError("Expected argument 'name' to be a str")
42
+ pulumi.set(__self__, "name", name)
43
+ if path and not isinstance(path, str):
44
+ raise TypeError("Expected argument 'path' to be a str")
45
+ pulumi.set(__self__, "path", path)
46
+ if provisioning_state and not isinstance(provisioning_state, str):
47
+ raise TypeError("Expected argument 'provisioning_state' to be a str")
48
+ pulumi.set(__self__, "provisioning_state", provisioning_state)
49
+ if status and not isinstance(status, dict):
50
+ raise TypeError("Expected argument 'status' to be a dict")
51
+ pulumi.set(__self__, "status", status)
52
+ if system_data and not isinstance(system_data, dict):
53
+ raise TypeError("Expected argument 'system_data' to be a dict")
54
+ pulumi.set(__self__, "system_data", system_data)
55
+ if tags and not isinstance(tags, dict):
56
+ raise TypeError("Expected argument 'tags' to be a dict")
57
+ pulumi.set(__self__, "tags", tags)
58
+ if type and not isinstance(type, str):
59
+ raise TypeError("Expected argument 'type' to be a str")
60
+ pulumi.set(__self__, "type", type)
61
+
62
+ @property
63
+ @pulumi.getter(name="extendedLocation")
64
+ def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']:
65
+ """
66
+ The extendedLocation of the resource.
67
+ """
68
+ return pulumi.get(self, "extended_location")
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def id(self) -> str:
73
+ """
74
+ Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
75
+ """
76
+ return pulumi.get(self, "id")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def location(self) -> str:
81
+ """
82
+ The geo-location where the resource lives
83
+ """
84
+ return pulumi.get(self, "location")
85
+
86
+ @property
87
+ @pulumi.getter
88
+ def name(self) -> str:
89
+ """
90
+ The name of the resource
91
+ """
92
+ return pulumi.get(self, "name")
93
+
94
+ @property
95
+ @pulumi.getter
96
+ def path(self) -> str:
97
+ """
98
+ Path of the storage container on the disk
99
+ """
100
+ return pulumi.get(self, "path")
101
+
102
+ @property
103
+ @pulumi.getter(name="provisioningState")
104
+ def provisioning_state(self) -> str:
105
+ """
106
+ Provisioning state of the storage container.
107
+ """
108
+ return pulumi.get(self, "provisioning_state")
109
+
110
+ @property
111
+ @pulumi.getter
112
+ def status(self) -> 'outputs.StorageContainerStatusResponse':
113
+ """
114
+ The observed state of storage containers
115
+ """
116
+ return pulumi.get(self, "status")
117
+
118
+ @property
119
+ @pulumi.getter(name="systemData")
120
+ def system_data(self) -> 'outputs.SystemDataResponse':
121
+ """
122
+ Azure Resource Manager metadata containing createdBy and modifiedBy information.
123
+ """
124
+ return pulumi.get(self, "system_data")
125
+
126
+ @property
127
+ @pulumi.getter
128
+ def tags(self) -> Optional[Mapping[str, str]]:
129
+ """
130
+ Resource tags.
131
+ """
132
+ return pulumi.get(self, "tags")
133
+
134
+ @property
135
+ @pulumi.getter
136
+ def type(self) -> str:
137
+ """
138
+ The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
139
+ """
140
+ return pulumi.get(self, "type")
141
+
142
+
143
+ class AwaitableGetStorageContainerResult(GetStorageContainerResult):
144
+ # pylint: disable=using-constant-test
145
+ def __await__(self):
146
+ if False:
147
+ yield self
148
+ return GetStorageContainerResult(
149
+ extended_location=self.extended_location,
150
+ id=self.id,
151
+ location=self.location,
152
+ name=self.name,
153
+ path=self.path,
154
+ provisioning_state=self.provisioning_state,
155
+ status=self.status,
156
+ system_data=self.system_data,
157
+ tags=self.tags,
158
+ type=self.type)
159
+
160
+
161
+ def get_storage_container(resource_group_name: Optional[str] = None,
162
+ storage_container_name: Optional[str] = None,
163
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageContainerResult:
164
+ """
165
+ Gets a storage container
166
+
167
+
168
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
169
+ :param str storage_container_name: Name of the storage container
170
+ """
171
+ __args__ = dict()
172
+ __args__['resourceGroupName'] = resource_group_name
173
+ __args__['storageContainerName'] = storage_container_name
174
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
175
+ __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20240501preview:getStorageContainer', __args__, opts=opts, typ=GetStorageContainerResult).value
176
+
177
+ return AwaitableGetStorageContainerResult(
178
+ extended_location=pulumi.get(__ret__, 'extended_location'),
179
+ id=pulumi.get(__ret__, 'id'),
180
+ location=pulumi.get(__ret__, 'location'),
181
+ name=pulumi.get(__ret__, 'name'),
182
+ path=pulumi.get(__ret__, 'path'),
183
+ provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
184
+ status=pulumi.get(__ret__, 'status'),
185
+ system_data=pulumi.get(__ret__, 'system_data'),
186
+ tags=pulumi.get(__ret__, 'tags'),
187
+ type=pulumi.get(__ret__, 'type'))
188
+
189
+
190
+ @_utilities.lift_output_func(get_storage_container)
191
+ def get_storage_container_output(resource_group_name: Optional[pulumi.Input[str]] = None,
192
+ storage_container_name: Optional[pulumi.Input[str]] = None,
193
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageContainerResult]:
194
+ """
195
+ Gets a storage container
196
+
197
+
198
+ :param str resource_group_name: The name of the resource group. The name is case insensitive.
199
+ :param str storage_container_name: Name of the storage container
200
+ """
201
+ ...