pulumi-azure 6.27.0a1758868424__py3-none-any.whl → 6.27.0a1759511969__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 might be problematic. Click here for more details.
- pulumi_azure/__init__.py +32 -0
- pulumi_azure/apimanagement/backend.py +2 -2
- pulumi_azure/appservice/_inputs.py +78 -6
- pulumi_azure/appservice/app_flex_consumption.py +61 -0
- pulumi_azure/appservice/outputs.py +52 -4
- pulumi_azure/appservice/service_plan.py +14 -14
- pulumi_azure/billing/account_cost_management_export.py +2 -2
- pulumi_azure/cdn/_inputs.py +57 -95
- pulumi_azure/cdn/frontdoor_firewall_policy.py +34 -107
- pulumi_azure/cdn/frontdoor_profile.py +87 -2
- pulumi_azure/cdn/frontdoor_security_policy.py +7 -7
- pulumi_azure/cdn/get_frontdoor_firewall_policy.py +15 -1
- pulumi_azure/cdn/get_frontdoor_profile.py +25 -11
- pulumi_azure/cdn/outputs.py +79 -21
- pulumi_azure/cognitive/account.py +7 -7
- pulumi_azure/compute/__init__.py +1 -0
- pulumi_azure/compute/_inputs.py +79 -47
- pulumi_azure/compute/get_managed_disks.py +140 -0
- pulumi_azure/compute/linux_virtual_machine.py +97 -23
- pulumi_azure/compute/outputs.py +362 -34
- pulumi_azure/compute/windows_virtual_machine.py +172 -42
- pulumi_azure/containerservice/_inputs.py +209 -17
- pulumi_azure/containerservice/cluster_trusted_access_role_binding.py +2 -2
- pulumi_azure/containerservice/get_cluster_node_pool.py +14 -3
- pulumi_azure/containerservice/get_kubernetes_cluster.py +2 -2
- pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py +2 -2
- pulumi_azure/containerservice/kubernetes_cluster.py +49 -2
- pulumi_azure/containerservice/kubernetes_cluster_node_pool.py +49 -2
- pulumi_azure/containerservice/outputs.py +173 -11
- pulumi_azure/core/_inputs.py +0 -54
- pulumi_azure/core/outputs.py +0 -36
- pulumi_azure/core/resource_group_cost_management_export.py +2 -2
- pulumi_azure/core/resource_group_policy_assignment.py +7 -7
- pulumi_azure/core/resource_policy_assignment.py +7 -7
- pulumi_azure/core/subscription_cost_management_export.py +2 -2
- pulumi_azure/core/subscription_policy_assignment.py +7 -7
- pulumi_azure/datafactory/__init__.py +1 -0
- pulumi_azure/datafactory/customer_managed_key.py +439 -0
- pulumi_azure/datafactory/factory.py +2 -2
- pulumi_azure/dataprotection/_inputs.py +36 -6
- pulumi_azure/dataprotection/backup_policy_blob_storage.py +76 -2
- pulumi_azure/dataprotection/outputs.py +24 -4
- pulumi_azure/devcenter/get_project_pool.py +15 -1
- pulumi_azure/devcenter/project_pool.py +47 -0
- pulumi_azure/eventgrid/domain.py +2 -2
- pulumi_azure/eventgrid/domain_topic.py +2 -2
- pulumi_azure/eventgrid/event_subscription.py +2 -2
- pulumi_azure/eventgrid/get_domain.py +2 -2
- pulumi_azure/eventgrid/get_domain_topic.py +2 -2
- pulumi_azure/eventgrid/get_partner_namespace.py +2 -2
- pulumi_azure/eventgrid/get_partner_registration.py +2 -2
- pulumi_azure/eventgrid/get_system_topic.py +28 -6
- pulumi_azure/eventgrid/get_topic.py +2 -2
- pulumi_azure/eventgrid/partner_configuration.py +2 -2
- pulumi_azure/eventgrid/partner_namespace.py +2 -2
- pulumi_azure/eventgrid/partner_registration.py +2 -2
- pulumi_azure/eventgrid/system_topic.py +97 -35
- pulumi_azure/eventgrid/system_topic_event_subscription.py +4 -4
- pulumi_azure/eventgrid/topic.py +2 -2
- pulumi_azure/eventhub/domain.py +2 -2
- pulumi_azure/eventhub/event_grid_topic.py +2 -2
- pulumi_azure/eventhub/event_subscription.py +2 -2
- pulumi_azure/hpc/cache_blob_target.py +2 -2
- pulumi_azure/iot/_inputs.py +27 -1
- pulumi_azure/iot/endpoint_cosmosdb_account.py +64 -3
- pulumi_azure/iot/endpoint_eventhub.py +64 -3
- pulumi_azure/iot/endpoint_servicebus_queue.py +64 -3
- pulumi_azure/iot/endpoint_servicebus_topic.py +64 -3
- pulumi_azure/iot/endpoint_storage_container.py +64 -3
- pulumi_azure/iot/outputs.py +19 -1
- pulumi_azure/keyvault/_inputs.py +3 -17
- pulumi_azure/keyvault/get_key_vault.py +13 -1
- pulumi_azure/keyvault/key_vault.py +78 -35
- pulumi_azure/keyvault/outputs.py +2 -10
- pulumi_azure/kusto/_inputs.py +16 -6
- pulumi_azure/kusto/cluster.py +95 -66
- pulumi_azure/kusto/outputs.py +10 -4
- pulumi_azure/lb/get_lb_outbound_rule.py +12 -1
- pulumi_azure/lb/get_lb_rule.py +28 -4
- pulumi_azure/lb/load_balancer.py +94 -0
- pulumi_azure/lb/nat_rule.py +115 -29
- pulumi_azure/lb/outbound_rule.py +60 -17
- pulumi_azure/lb/rule.py +116 -30
- pulumi_azure/loadtest/_inputs.py +6 -3
- pulumi_azure/loadtest/load_test.py +0 -4
- pulumi_azure/loadtest/outputs.py +4 -2
- pulumi_azure/logicapps/_inputs.py +46 -987
- pulumi_azure/logicapps/get_standard.py +0 -7
- pulumi_azure/logicapps/outputs.py +117 -101
- pulumi_azure/logicapps/standard.py +7 -7
- pulumi_azure/machinelearning/_inputs.py +24 -4
- pulumi_azure/machinelearning/compute_instance.py +35 -7
- pulumi_azure/machinelearning/datastore_blobstorage.py +2 -2
- pulumi_azure/machinelearning/datastore_datalake_gen2.py +2 -2
- pulumi_azure/machinelearning/inference_cluster.py +2 -2
- pulumi_azure/machinelearning/outputs.py +17 -3
- pulumi_azure/machinelearning/workspace.py +61 -0
- pulumi_azure/management/_inputs.py +0 -18
- pulumi_azure/management/group_policy_assignment.py +7 -7
- pulumi_azure/management/outputs.py +0 -12
- pulumi_azure/management/private_link_association.py +0 -70
- pulumi_azure/mobile/_inputs.py +14 -6
- pulumi_azure/mobile/network_sim.py +2 -6
- pulumi_azure/mobile/network_sim_policy.py +2 -6
- pulumi_azure/mobile/network_slice.py +116 -31
- pulumi_azure/mobile/outputs.py +6 -4
- pulumi_azure/monitoring/_inputs.py +15 -9
- pulumi_azure/monitoring/activity_log_alert.py +7 -7
- pulumi_azure/monitoring/outputs.py +10 -6
- pulumi_azure/mssql/job_step.py +11 -11
- pulumi_azure/mysql/_inputs.py +20 -0
- pulumi_azure/mysql/outputs.py +14 -0
- pulumi_azure/netapp/_inputs.py +18 -6
- pulumi_azure/netapp/account.py +2 -2
- pulumi_azure/netapp/account_encryption.py +132 -4
- pulumi_azure/netapp/backup_policy.py +2 -2
- pulumi_azure/netapp/backup_vault.py +2 -2
- pulumi_azure/netapp/get_account.py +2 -2
- pulumi_azure/netapp/get_account_encryption.py +25 -3
- pulumi_azure/netapp/get_backup_policy.py +2 -2
- pulumi_azure/netapp/get_backup_vault.py +2 -2
- pulumi_azure/netapp/get_pool.py +17 -3
- pulumi_azure/netapp/get_snapshot.py +2 -2
- pulumi_azure/netapp/get_snapshot_policy.py +2 -2
- pulumi_azure/netapp/get_volume.py +17 -3
- pulumi_azure/netapp/get_volume_group_oracle.py +2 -2
- pulumi_azure/netapp/get_volume_group_sap_hana.py +2 -2
- pulumi_azure/netapp/get_volume_quota_rule.py +2 -2
- pulumi_azure/netapp/outputs.py +12 -4
- pulumi_azure/netapp/pool.py +104 -9
- pulumi_azure/netapp/snapshot.py +2 -2
- pulumi_azure/netapp/snapshot_policy.py +2 -2
- pulumi_azure/netapp/volume.py +82 -7
- pulumi_azure/netapp/volume_group_oracle.py +2 -2
- pulumi_azure/netapp/volume_group_sap_hana.py +2 -2
- pulumi_azure/netapp/volume_quota_rule.py +2 -2
- pulumi_azure/network/__init__.py +2 -0
- pulumi_azure/network/network_manager_ipam_pool_static_cidr.py +415 -0
- pulumi_azure/network/network_manager_routing_configuration.py +7 -7
- pulumi_azure/network/network_manager_routing_rule_collection.py +429 -0
- pulumi_azure/network/subnet.py +76 -1
- pulumi_azure/oracle/__init__.py +3 -0
- pulumi_azure/oracle/autonomous_database_backup.py +310 -0
- pulumi_azure/oracle/get_autonomous_database_backup.py +347 -0
- pulumi_azure/oracle/get_autonomous_database_backups.py +138 -0
- pulumi_azure/oracle/outputs.py +191 -0
- pulumi_azure/paloalto/next_generation_firewall_virtual_hub_local_rulestack.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_hub_panorama.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_network_local_rulestack.py +2 -2
- pulumi_azure/paloalto/next_generation_firewall_virtual_network_panorama.py +2 -2
- pulumi_azure/policy/_inputs.py +6 -0
- pulumi_azure/policy/outputs.py +4 -0
- pulumi_azure/postgresql/flexible_server.py +7 -7
- pulumi_azure/postgresql/flexible_server_firewall_rule.py +14 -14
- pulumi_azure/pulumi-plugin.json +1 -1
- pulumi_azure/search/service.py +7 -7
- pulumi_azure/sentinel/_inputs.py +144 -0
- pulumi_azure/sentinel/authomation_rule.py +47 -0
- pulumi_azure/sentinel/automation_rule.py +47 -0
- pulumi_azure/sentinel/outputs.py +84 -0
- pulumi_azure/storage/_inputs.py +3 -3
- pulumi_azure/storage/container_immutability_policy.py +2 -2
- pulumi_azure/storage/get_queue.py +59 -8
- pulumi_azure/storage/outputs.py +2 -2
- pulumi_azure/storage/queue.py +159 -27
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/METADATA +1 -1
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/RECORD +169 -162
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/WHEEL +0 -0
- {pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/top_level.txt +0 -0
pulumi_azure/storage/_inputs.py
CHANGED
|
@@ -1850,7 +1850,7 @@ if not MYPY:
|
|
|
1850
1850
|
"""
|
|
1851
1851
|
expiration_action: NotRequired[pulumi.Input[_builtins.str]]
|
|
1852
1852
|
"""
|
|
1853
|
-
The SAS expiration action.
|
|
1853
|
+
The SAS expiration action. Possible values are `Log` and `Block`. Defaults to `Log`.
|
|
1854
1854
|
"""
|
|
1855
1855
|
elif False:
|
|
1856
1856
|
AccountSasPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1862,7 +1862,7 @@ class AccountSasPolicyArgs:
|
|
|
1862
1862
|
expiration_action: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1863
1863
|
"""
|
|
1864
1864
|
:param pulumi.Input[_builtins.str] expiration_period: The SAS expiration period in format of `DD.HH:MM:SS`.
|
|
1865
|
-
:param pulumi.Input[_builtins.str] expiration_action: The SAS expiration action.
|
|
1865
|
+
:param pulumi.Input[_builtins.str] expiration_action: The SAS expiration action. Possible values are `Log` and `Block`. Defaults to `Log`.
|
|
1866
1866
|
"""
|
|
1867
1867
|
pulumi.set(__self__, "expiration_period", expiration_period)
|
|
1868
1868
|
if expiration_action is not None:
|
|
@@ -1884,7 +1884,7 @@ class AccountSasPolicyArgs:
|
|
|
1884
1884
|
@pulumi.getter(name="expirationAction")
|
|
1885
1885
|
def expiration_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1886
1886
|
"""
|
|
1887
|
-
The SAS expiration action.
|
|
1887
|
+
The SAS expiration action. Possible values are `Log` and `Block`. Defaults to `Log`.
|
|
1888
1888
|
"""
|
|
1889
1889
|
return pulumi.get(self, "expiration_action")
|
|
1890
1890
|
|
|
@@ -236,7 +236,7 @@ class ContainerImmutabilityPolicy(pulumi.CustomResource):
|
|
|
236
236
|
storage_account_name=example_account.name,
|
|
237
237
|
container_access_type="private")
|
|
238
238
|
example_container_immutability_policy = azure.storage.ContainerImmutabilityPolicy("example",
|
|
239
|
-
storage_container_resource_manager_id=example_container.
|
|
239
|
+
storage_container_resource_manager_id=example_container.id,
|
|
240
240
|
immutability_period_in_days=14,
|
|
241
241
|
protected_append_writes_all_enabled=False,
|
|
242
242
|
protected_append_writes_enabled=True)
|
|
@@ -299,7 +299,7 @@ class ContainerImmutabilityPolicy(pulumi.CustomResource):
|
|
|
299
299
|
storage_account_name=example_account.name,
|
|
300
300
|
container_access_type="private")
|
|
301
301
|
example_container_immutability_policy = azure.storage.ContainerImmutabilityPolicy("example",
|
|
302
|
-
storage_container_resource_manager_id=example_container.
|
|
302
|
+
storage_container_resource_manager_id=example_container.id,
|
|
303
303
|
immutability_period_in_days=14,
|
|
304
304
|
protected_append_writes_all_enabled=False,
|
|
305
305
|
protected_append_writes_enabled=True)
|
|
@@ -26,7 +26,7 @@ class GetQueueResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getQueue.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, id=None, metadata=None, name=None, resource_manager_id=None, storage_account_name=None):
|
|
29
|
+
def __init__(__self__, id=None, metadata=None, name=None, resource_manager_id=None, storage_account_id=None, storage_account_name=None, url=None):
|
|
30
30
|
if id and not isinstance(id, str):
|
|
31
31
|
raise TypeError("Expected argument 'id' to be a str")
|
|
32
32
|
pulumi.set(__self__, "id", id)
|
|
@@ -39,9 +39,15 @@ class GetQueueResult:
|
|
|
39
39
|
if resource_manager_id and not isinstance(resource_manager_id, str):
|
|
40
40
|
raise TypeError("Expected argument 'resource_manager_id' to be a str")
|
|
41
41
|
pulumi.set(__self__, "resource_manager_id", resource_manager_id)
|
|
42
|
+
if storage_account_id and not isinstance(storage_account_id, str):
|
|
43
|
+
raise TypeError("Expected argument 'storage_account_id' to be a str")
|
|
44
|
+
pulumi.set(__self__, "storage_account_id", storage_account_id)
|
|
42
45
|
if storage_account_name and not isinstance(storage_account_name, str):
|
|
43
46
|
raise TypeError("Expected argument 'storage_account_name' to be a str")
|
|
44
47
|
pulumi.set(__self__, "storage_account_name", storage_account_name)
|
|
48
|
+
if url and not isinstance(url, str):
|
|
49
|
+
raise TypeError("Expected argument 'url' to be a str")
|
|
50
|
+
pulumi.set(__self__, "url", url)
|
|
45
51
|
|
|
46
52
|
@_builtins.property
|
|
47
53
|
@pulumi.getter
|
|
@@ -66,17 +72,32 @@ class GetQueueResult:
|
|
|
66
72
|
|
|
67
73
|
@_builtins.property
|
|
68
74
|
@pulumi.getter(name="resourceManagerId")
|
|
75
|
+
@_utilities.deprecated("""the `resource_manager_id` property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.""")
|
|
69
76
|
def resource_manager_id(self) -> _builtins.str:
|
|
70
77
|
"""
|
|
71
78
|
The Resource Manager ID of this Storage Queue.
|
|
72
79
|
"""
|
|
73
80
|
return pulumi.get(self, "resource_manager_id")
|
|
74
81
|
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter(name="storageAccountId")
|
|
84
|
+
def storage_account_id(self) -> Optional[_builtins.str]:
|
|
85
|
+
return pulumi.get(self, "storage_account_id")
|
|
86
|
+
|
|
75
87
|
@_builtins.property
|
|
76
88
|
@pulumi.getter(name="storageAccountName")
|
|
77
|
-
|
|
89
|
+
@_utilities.deprecated("""the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""")
|
|
90
|
+
def storage_account_name(self) -> Optional[_builtins.str]:
|
|
78
91
|
return pulumi.get(self, "storage_account_name")
|
|
79
92
|
|
|
93
|
+
@_builtins.property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def url(self) -> _builtins.str:
|
|
96
|
+
"""
|
|
97
|
+
The data plane URL of the Storage Queue in the format of `<storage queue endpoint>/<queue name>`. E.g. `https://example.queue.core.windows.net/queue1`.
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "url")
|
|
100
|
+
|
|
80
101
|
|
|
81
102
|
class AwaitableGetQueueResult(GetQueueResult):
|
|
82
103
|
# pylint: disable=using-constant-test
|
|
@@ -88,11 +109,14 @@ class AwaitableGetQueueResult(GetQueueResult):
|
|
|
88
109
|
metadata=self.metadata,
|
|
89
110
|
name=self.name,
|
|
90
111
|
resource_manager_id=self.resource_manager_id,
|
|
91
|
-
|
|
112
|
+
storage_account_id=self.storage_account_id,
|
|
113
|
+
storage_account_name=self.storage_account_name,
|
|
114
|
+
url=self.url)
|
|
92
115
|
|
|
93
116
|
|
|
94
117
|
def get_queue(metadata: Optional[Mapping[str, _builtins.str]] = None,
|
|
95
118
|
name: Optional[_builtins.str] = None,
|
|
119
|
+
storage_account_id: Optional[_builtins.str] = None,
|
|
96
120
|
storage_account_name: Optional[_builtins.str] = None,
|
|
97
121
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetQueueResult:
|
|
98
122
|
"""
|
|
@@ -108,14 +132,25 @@ def get_queue(metadata: Optional[Mapping[str, _builtins.str]] = None,
|
|
|
108
132
|
storage_account_name="example-storage-account-name")
|
|
109
133
|
```
|
|
110
134
|
|
|
135
|
+
## API Providers
|
|
136
|
+
|
|
137
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
138
|
+
This data source uses the following Azure API Providers:
|
|
139
|
+
|
|
140
|
+
* `Microsoft.Storage` - 2023-05-01
|
|
141
|
+
|
|
111
142
|
|
|
112
143
|
:param Mapping[str, _builtins.str] metadata: A mapping of MetaData for this Queue.
|
|
113
144
|
:param _builtins.str name: The name of the Queue.
|
|
114
|
-
:param _builtins.str
|
|
145
|
+
:param _builtins.str storage_account_id: The name of the Storage Account where the Queue exists. This property will become Required in version 5.0 of the Provider.
|
|
146
|
+
|
|
147
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
148
|
+
:param _builtins.str storage_account_name: The name of the Storage Account where the Queue exists. This property is deprecated in favour of `storage_account_id`.
|
|
115
149
|
"""
|
|
116
150
|
__args__ = dict()
|
|
117
151
|
__args__['metadata'] = metadata
|
|
118
152
|
__args__['name'] = name
|
|
153
|
+
__args__['storageAccountId'] = storage_account_id
|
|
119
154
|
__args__['storageAccountName'] = storage_account_name
|
|
120
155
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
121
156
|
__ret__ = pulumi.runtime.invoke('azure:storage/getQueue:getQueue', __args__, opts=opts, typ=GetQueueResult).value
|
|
@@ -125,10 +160,13 @@ def get_queue(metadata: Optional[Mapping[str, _builtins.str]] = None,
|
|
|
125
160
|
metadata=pulumi.get(__ret__, 'metadata'),
|
|
126
161
|
name=pulumi.get(__ret__, 'name'),
|
|
127
162
|
resource_manager_id=pulumi.get(__ret__, 'resource_manager_id'),
|
|
128
|
-
|
|
163
|
+
storage_account_id=pulumi.get(__ret__, 'storage_account_id'),
|
|
164
|
+
storage_account_name=pulumi.get(__ret__, 'storage_account_name'),
|
|
165
|
+
url=pulumi.get(__ret__, 'url'))
|
|
129
166
|
def get_queue_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
130
167
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
|
-
|
|
168
|
+
storage_account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
169
|
+
storage_account_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
132
170
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetQueueResult]:
|
|
133
171
|
"""
|
|
134
172
|
Use this data source to access information about an existing Storage Queue.
|
|
@@ -143,14 +181,25 @@ def get_queue_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, _buil
|
|
|
143
181
|
storage_account_name="example-storage-account-name")
|
|
144
182
|
```
|
|
145
183
|
|
|
184
|
+
## API Providers
|
|
185
|
+
|
|
186
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
187
|
+
This data source uses the following Azure API Providers:
|
|
188
|
+
|
|
189
|
+
* `Microsoft.Storage` - 2023-05-01
|
|
190
|
+
|
|
146
191
|
|
|
147
192
|
:param Mapping[str, _builtins.str] metadata: A mapping of MetaData for this Queue.
|
|
148
193
|
:param _builtins.str name: The name of the Queue.
|
|
149
|
-
:param _builtins.str
|
|
194
|
+
:param _builtins.str storage_account_id: The name of the Storage Account where the Queue exists. This property will become Required in version 5.0 of the Provider.
|
|
195
|
+
|
|
196
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
197
|
+
:param _builtins.str storage_account_name: The name of the Storage Account where the Queue exists. This property is deprecated in favour of `storage_account_id`.
|
|
150
198
|
"""
|
|
151
199
|
__args__ = dict()
|
|
152
200
|
__args__['metadata'] = metadata
|
|
153
201
|
__args__['name'] = name
|
|
202
|
+
__args__['storageAccountId'] = storage_account_id
|
|
154
203
|
__args__['storageAccountName'] = storage_account_name
|
|
155
204
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
156
205
|
__ret__ = pulumi.runtime.invoke_output('azure:storage/getQueue:getQueue', __args__, opts=opts, typ=GetQueueResult)
|
|
@@ -159,4 +208,6 @@ def get_queue_output(metadata: Optional[pulumi.Input[Optional[Mapping[str, _buil
|
|
|
159
208
|
metadata=pulumi.get(__response__, 'metadata'),
|
|
160
209
|
name=pulumi.get(__response__, 'name'),
|
|
161
210
|
resource_manager_id=pulumi.get(__response__, 'resource_manager_id'),
|
|
162
|
-
|
|
211
|
+
storage_account_id=pulumi.get(__response__, 'storage_account_id'),
|
|
212
|
+
storage_account_name=pulumi.get(__response__, 'storage_account_name'),
|
|
213
|
+
url=pulumi.get(__response__, 'url')))
|
pulumi_azure/storage/outputs.py
CHANGED
|
@@ -1515,7 +1515,7 @@ class AccountSasPolicy(dict):
|
|
|
1515
1515
|
expiration_action: Optional[_builtins.str] = None):
|
|
1516
1516
|
"""
|
|
1517
1517
|
:param _builtins.str expiration_period: The SAS expiration period in format of `DD.HH:MM:SS`.
|
|
1518
|
-
:param _builtins.str expiration_action: The SAS expiration action.
|
|
1518
|
+
:param _builtins.str expiration_action: The SAS expiration action. Possible values are `Log` and `Block`. Defaults to `Log`.
|
|
1519
1519
|
"""
|
|
1520
1520
|
pulumi.set(__self__, "expiration_period", expiration_period)
|
|
1521
1521
|
if expiration_action is not None:
|
|
@@ -1533,7 +1533,7 @@ class AccountSasPolicy(dict):
|
|
|
1533
1533
|
@pulumi.getter(name="expirationAction")
|
|
1534
1534
|
def expiration_action(self) -> Optional[_builtins.str]:
|
|
1535
1535
|
"""
|
|
1536
|
-
The SAS expiration action.
|
|
1536
|
+
The SAS expiration action. Possible values are `Log` and `Block`. Defaults to `Log`.
|
|
1537
1537
|
"""
|
|
1538
1538
|
return pulumi.get(self, "expiration_action")
|
|
1539
1539
|
|
pulumi_azure/storage/queue.py
CHANGED
|
@@ -19,32 +19,30 @@ __all__ = ['QueueArgs', 'Queue']
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class QueueArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
storage_account_name: pulumi.Input[_builtins.str],
|
|
23
22
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
24
|
-
name: Optional[pulumi.Input[_builtins.str]] = None
|
|
23
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
storage_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
storage_account_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
25
26
|
"""
|
|
26
27
|
The set of arguments for constructing a Queue resource.
|
|
27
|
-
:param pulumi.Input[_builtins.str] storage_account_name: Specifies the Storage Account in which the Storage Queue should exist. Changing this forces a new resource to be created.
|
|
28
28
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] metadata: A mapping of MetaData which should be assigned to this Storage Queue.
|
|
29
29
|
:param pulumi.Input[_builtins.str] name: The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created.
|
|
30
|
+
:param pulumi.Input[_builtins.str] storage_account_id: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
31
|
+
|
|
32
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
33
|
+
:param pulumi.Input[_builtins.str] storage_account_name: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
30
34
|
"""
|
|
31
|
-
pulumi.set(__self__, "storage_account_name", storage_account_name)
|
|
32
35
|
if metadata is not None:
|
|
33
36
|
pulumi.set(__self__, "metadata", metadata)
|
|
34
37
|
if name is not None:
|
|
35
38
|
pulumi.set(__self__, "name", name)
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
return pulumi.get(self, "storage_account_name")
|
|
44
|
-
|
|
45
|
-
@storage_account_name.setter
|
|
46
|
-
def storage_account_name(self, value: pulumi.Input[_builtins.str]):
|
|
47
|
-
pulumi.set(self, "storage_account_name", value)
|
|
39
|
+
if storage_account_id is not None:
|
|
40
|
+
pulumi.set(__self__, "storage_account_id", storage_account_id)
|
|
41
|
+
if storage_account_name is not None:
|
|
42
|
+
warnings.warn("""the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""", DeprecationWarning)
|
|
43
|
+
pulumi.log.warn("""storage_account_name is deprecated: the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""")
|
|
44
|
+
if storage_account_name is not None:
|
|
45
|
+
pulumi.set(__self__, "storage_account_name", storage_account_name)
|
|
48
46
|
|
|
49
47
|
@_builtins.property
|
|
50
48
|
@pulumi.getter
|
|
@@ -70,6 +68,33 @@ class QueueArgs:
|
|
|
70
68
|
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
71
69
|
pulumi.set(self, "name", value)
|
|
72
70
|
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="storageAccountId")
|
|
73
|
+
def storage_account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
74
|
+
"""
|
|
75
|
+
The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
76
|
+
|
|
77
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "storage_account_id")
|
|
80
|
+
|
|
81
|
+
@storage_account_id.setter
|
|
82
|
+
def storage_account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
|
+
pulumi.set(self, "storage_account_id", value)
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
86
|
+
@pulumi.getter(name="storageAccountName")
|
|
87
|
+
@_utilities.deprecated("""the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""")
|
|
88
|
+
def storage_account_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
89
|
+
"""
|
|
90
|
+
The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
91
|
+
"""
|
|
92
|
+
return pulumi.get(self, "storage_account_name")
|
|
93
|
+
|
|
94
|
+
@storage_account_name.setter
|
|
95
|
+
def storage_account_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
|
+
pulumi.set(self, "storage_account_name", value)
|
|
97
|
+
|
|
73
98
|
|
|
74
99
|
@pulumi.input_type
|
|
75
100
|
class _QueueState:
|
|
@@ -77,22 +102,38 @@ class _QueueState:
|
|
|
77
102
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
78
103
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
104
|
resource_manager_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
|
-
|
|
105
|
+
storage_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
106
|
+
storage_account_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
107
|
+
url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
81
108
|
"""
|
|
82
109
|
Input properties used for looking up and filtering Queue resources.
|
|
83
110
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] metadata: A mapping of MetaData which should be assigned to this Storage Queue.
|
|
84
111
|
:param pulumi.Input[_builtins.str] name: The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created.
|
|
85
112
|
:param pulumi.Input[_builtins.str] resource_manager_id: The Resource Manager ID of this Storage Queue.
|
|
86
|
-
:param pulumi.Input[_builtins.str]
|
|
113
|
+
:param pulumi.Input[_builtins.str] storage_account_id: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
114
|
+
|
|
115
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
116
|
+
:param pulumi.Input[_builtins.str] storage_account_name: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
117
|
+
:param pulumi.Input[_builtins.str] url: The data plane URL of the Storage Queue in the format of `<storage queue endpoint>/<queue name>`. E.g. `https://example.queue.core.windows.net/queue1`.
|
|
87
118
|
"""
|
|
88
119
|
if metadata is not None:
|
|
89
120
|
pulumi.set(__self__, "metadata", metadata)
|
|
90
121
|
if name is not None:
|
|
91
122
|
pulumi.set(__self__, "name", name)
|
|
123
|
+
if resource_manager_id is not None:
|
|
124
|
+
warnings.warn("""the `resource_manager_id` property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.""", DeprecationWarning)
|
|
125
|
+
pulumi.log.warn("""resource_manager_id is deprecated: the `resource_manager_id` property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.""")
|
|
92
126
|
if resource_manager_id is not None:
|
|
93
127
|
pulumi.set(__self__, "resource_manager_id", resource_manager_id)
|
|
128
|
+
if storage_account_id is not None:
|
|
129
|
+
pulumi.set(__self__, "storage_account_id", storage_account_id)
|
|
130
|
+
if storage_account_name is not None:
|
|
131
|
+
warnings.warn("""the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""", DeprecationWarning)
|
|
132
|
+
pulumi.log.warn("""storage_account_name is deprecated: the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""")
|
|
94
133
|
if storage_account_name is not None:
|
|
95
134
|
pulumi.set(__self__, "storage_account_name", storage_account_name)
|
|
135
|
+
if url is not None:
|
|
136
|
+
pulumi.set(__self__, "url", url)
|
|
96
137
|
|
|
97
138
|
@_builtins.property
|
|
98
139
|
@pulumi.getter
|
|
@@ -120,6 +161,7 @@ class _QueueState:
|
|
|
120
161
|
|
|
121
162
|
@_builtins.property
|
|
122
163
|
@pulumi.getter(name="resourceManagerId")
|
|
164
|
+
@_utilities.deprecated("""the `resource_manager_id` property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.""")
|
|
123
165
|
def resource_manager_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
124
166
|
"""
|
|
125
167
|
The Resource Manager ID of this Storage Queue.
|
|
@@ -130,11 +172,26 @@ class _QueueState:
|
|
|
130
172
|
def resource_manager_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
131
173
|
pulumi.set(self, "resource_manager_id", value)
|
|
132
174
|
|
|
175
|
+
@_builtins.property
|
|
176
|
+
@pulumi.getter(name="storageAccountId")
|
|
177
|
+
def storage_account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
178
|
+
"""
|
|
179
|
+
The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
180
|
+
|
|
181
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
182
|
+
"""
|
|
183
|
+
return pulumi.get(self, "storage_account_id")
|
|
184
|
+
|
|
185
|
+
@storage_account_id.setter
|
|
186
|
+
def storage_account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
187
|
+
pulumi.set(self, "storage_account_id", value)
|
|
188
|
+
|
|
133
189
|
@_builtins.property
|
|
134
190
|
@pulumi.getter(name="storageAccountName")
|
|
191
|
+
@_utilities.deprecated("""the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""")
|
|
135
192
|
def storage_account_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
193
|
"""
|
|
137
|
-
|
|
194
|
+
The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
138
195
|
"""
|
|
139
196
|
return pulumi.get(self, "storage_account_name")
|
|
140
197
|
|
|
@@ -142,6 +199,18 @@ class _QueueState:
|
|
|
142
199
|
def storage_account_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
143
200
|
pulumi.set(self, "storage_account_name", value)
|
|
144
201
|
|
|
202
|
+
@_builtins.property
|
|
203
|
+
@pulumi.getter
|
|
204
|
+
def url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
205
|
+
"""
|
|
206
|
+
The data plane URL of the Storage Queue in the format of `<storage queue endpoint>/<queue name>`. E.g. `https://example.queue.core.windows.net/queue1`.
|
|
207
|
+
"""
|
|
208
|
+
return pulumi.get(self, "url")
|
|
209
|
+
|
|
210
|
+
@url.setter
|
|
211
|
+
def url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
212
|
+
pulumi.set(self, "url", value)
|
|
213
|
+
|
|
145
214
|
|
|
146
215
|
@pulumi.type_token("azure:storage/queue:Queue")
|
|
147
216
|
class Queue(pulumi.CustomResource):
|
|
@@ -151,6 +220,7 @@ class Queue(pulumi.CustomResource):
|
|
|
151
220
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
152
221
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
153
222
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
223
|
+
storage_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
154
224
|
storage_account_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
155
225
|
__props__=None):
|
|
156
226
|
"""
|
|
@@ -176,25 +246,43 @@ class Queue(pulumi.CustomResource):
|
|
|
176
246
|
storage_account_name=example_account.name)
|
|
177
247
|
```
|
|
178
248
|
|
|
249
|
+
## API Providers
|
|
250
|
+
|
|
251
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
252
|
+
This resource uses the following Azure API Providers:
|
|
253
|
+
|
|
254
|
+
* `Microsoft.Storage` - 2023-05-01
|
|
255
|
+
|
|
179
256
|
## Import
|
|
180
257
|
|
|
181
258
|
Storage Queue's can be imported using the `resource id`, e.g.
|
|
182
259
|
|
|
260
|
+
If `storage_account_name` is used:
|
|
261
|
+
|
|
183
262
|
```sh
|
|
184
263
|
$ pulumi import azure:storage/queue:Queue queue1 https://example.queue.core.windows.net/queue1
|
|
185
264
|
```
|
|
186
265
|
|
|
266
|
+
If `storage_account_id` is used:
|
|
267
|
+
|
|
268
|
+
```sh
|
|
269
|
+
$ pulumi import azure:storage/queue:Queue queue1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount/queueServices/default/queues
|
|
270
|
+
```
|
|
271
|
+
|
|
187
272
|
:param str resource_name: The name of the resource.
|
|
188
273
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
189
274
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] metadata: A mapping of MetaData which should be assigned to this Storage Queue.
|
|
190
275
|
:param pulumi.Input[_builtins.str] name: The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created.
|
|
191
|
-
:param pulumi.Input[_builtins.str]
|
|
276
|
+
:param pulumi.Input[_builtins.str] storage_account_id: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
277
|
+
|
|
278
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
279
|
+
:param pulumi.Input[_builtins.str] storage_account_name: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
192
280
|
"""
|
|
193
281
|
...
|
|
194
282
|
@overload
|
|
195
283
|
def __init__(__self__,
|
|
196
284
|
resource_name: str,
|
|
197
|
-
args: QueueArgs,
|
|
285
|
+
args: Optional[QueueArgs] = None,
|
|
198
286
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
199
287
|
"""
|
|
200
288
|
Manages a Queue within an Azure Storage Account.
|
|
@@ -219,14 +307,29 @@ class Queue(pulumi.CustomResource):
|
|
|
219
307
|
storage_account_name=example_account.name)
|
|
220
308
|
```
|
|
221
309
|
|
|
310
|
+
## API Providers
|
|
311
|
+
|
|
312
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
313
|
+
This resource uses the following Azure API Providers:
|
|
314
|
+
|
|
315
|
+
* `Microsoft.Storage` - 2023-05-01
|
|
316
|
+
|
|
222
317
|
## Import
|
|
223
318
|
|
|
224
319
|
Storage Queue's can be imported using the `resource id`, e.g.
|
|
225
320
|
|
|
321
|
+
If `storage_account_name` is used:
|
|
322
|
+
|
|
226
323
|
```sh
|
|
227
324
|
$ pulumi import azure:storage/queue:Queue queue1 https://example.queue.core.windows.net/queue1
|
|
228
325
|
```
|
|
229
326
|
|
|
327
|
+
If `storage_account_id` is used:
|
|
328
|
+
|
|
329
|
+
```sh
|
|
330
|
+
$ pulumi import azure:storage/queue:Queue queue1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Storage/storageAccounts/myaccount/queueServices/default/queues
|
|
331
|
+
```
|
|
332
|
+
|
|
230
333
|
:param str resource_name: The name of the resource.
|
|
231
334
|
:param QueueArgs args: The arguments to use to populate this resource's properties.
|
|
232
335
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -244,6 +347,7 @@ class Queue(pulumi.CustomResource):
|
|
|
244
347
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
245
348
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
246
349
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
350
|
+
storage_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
247
351
|
storage_account_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
248
352
|
__props__=None):
|
|
249
353
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -256,10 +360,10 @@ class Queue(pulumi.CustomResource):
|
|
|
256
360
|
|
|
257
361
|
__props__.__dict__["metadata"] = metadata
|
|
258
362
|
__props__.__dict__["name"] = name
|
|
259
|
-
|
|
260
|
-
raise TypeError("Missing required property 'storage_account_name'")
|
|
363
|
+
__props__.__dict__["storage_account_id"] = storage_account_id
|
|
261
364
|
__props__.__dict__["storage_account_name"] = storage_account_name
|
|
262
365
|
__props__.__dict__["resource_manager_id"] = None
|
|
366
|
+
__props__.__dict__["url"] = None
|
|
263
367
|
super(Queue, __self__).__init__(
|
|
264
368
|
'azure:storage/queue:Queue',
|
|
265
369
|
resource_name,
|
|
@@ -273,7 +377,9 @@ class Queue(pulumi.CustomResource):
|
|
|
273
377
|
metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
274
378
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
275
379
|
resource_manager_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
|
-
|
|
380
|
+
storage_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
381
|
+
storage_account_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
382
|
+
url: Optional[pulumi.Input[_builtins.str]] = None) -> 'Queue':
|
|
277
383
|
"""
|
|
278
384
|
Get an existing Queue resource's state with the given name, id, and optional extra
|
|
279
385
|
properties used to qualify the lookup.
|
|
@@ -284,7 +390,11 @@ class Queue(pulumi.CustomResource):
|
|
|
284
390
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] metadata: A mapping of MetaData which should be assigned to this Storage Queue.
|
|
285
391
|
:param pulumi.Input[_builtins.str] name: The name of the Queue which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created.
|
|
286
392
|
:param pulumi.Input[_builtins.str] resource_manager_id: The Resource Manager ID of this Storage Queue.
|
|
287
|
-
:param pulumi.Input[_builtins.str]
|
|
393
|
+
:param pulumi.Input[_builtins.str] storage_account_id: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
394
|
+
|
|
395
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
396
|
+
:param pulumi.Input[_builtins.str] storage_account_name: The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
397
|
+
:param pulumi.Input[_builtins.str] url: The data plane URL of the Storage Queue in the format of `<storage queue endpoint>/<queue name>`. E.g. `https://example.queue.core.windows.net/queue1`.
|
|
288
398
|
"""
|
|
289
399
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
290
400
|
|
|
@@ -293,7 +403,9 @@ class Queue(pulumi.CustomResource):
|
|
|
293
403
|
__props__.__dict__["metadata"] = metadata
|
|
294
404
|
__props__.__dict__["name"] = name
|
|
295
405
|
__props__.__dict__["resource_manager_id"] = resource_manager_id
|
|
406
|
+
__props__.__dict__["storage_account_id"] = storage_account_id
|
|
296
407
|
__props__.__dict__["storage_account_name"] = storage_account_name
|
|
408
|
+
__props__.__dict__["url"] = url
|
|
297
409
|
return Queue(resource_name, opts=opts, __props__=__props__)
|
|
298
410
|
|
|
299
411
|
@_builtins.property
|
|
@@ -314,17 +426,37 @@ class Queue(pulumi.CustomResource):
|
|
|
314
426
|
|
|
315
427
|
@_builtins.property
|
|
316
428
|
@pulumi.getter(name="resourceManagerId")
|
|
429
|
+
@_utilities.deprecated("""the `resource_manager_id` property has been deprecated in favour of `id` and will be removed in version 5.0 of the Provider.""")
|
|
317
430
|
def resource_manager_id(self) -> pulumi.Output[_builtins.str]:
|
|
318
431
|
"""
|
|
319
432
|
The Resource Manager ID of this Storage Queue.
|
|
320
433
|
"""
|
|
321
434
|
return pulumi.get(self, "resource_manager_id")
|
|
322
435
|
|
|
436
|
+
@_builtins.property
|
|
437
|
+
@pulumi.getter(name="storageAccountId")
|
|
438
|
+
def storage_account_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
439
|
+
"""
|
|
440
|
+
The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created.
|
|
441
|
+
|
|
442
|
+
> **Note:** One of `storage_account_name` or `storage_account_id` must be specified. When specifying `storage_account_id` the resource will use the Resource Manager API, rather than the Data Plane API.
|
|
443
|
+
"""
|
|
444
|
+
return pulumi.get(self, "storage_account_id")
|
|
445
|
+
|
|
323
446
|
@_builtins.property
|
|
324
447
|
@pulumi.getter(name="storageAccountName")
|
|
325
|
-
|
|
448
|
+
@_utilities.deprecated("""the `storage_account_name` property has been deprecated in favour of `storage_account_id` and will be removed in version 5.0 of the Provider.""")
|
|
449
|
+
def storage_account_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
326
450
|
"""
|
|
327
|
-
|
|
451
|
+
The name of the Storage Account where the Storage Queue should be created. Changing this forces a new resource to be created. This property is deprecated in favour of `storage_account_id`.
|
|
328
452
|
"""
|
|
329
453
|
return pulumi.get(self, "storage_account_name")
|
|
330
454
|
|
|
455
|
+
@_builtins.property
|
|
456
|
+
@pulumi.getter
|
|
457
|
+
def url(self) -> pulumi.Output[_builtins.str]:
|
|
458
|
+
"""
|
|
459
|
+
The data plane URL of the Storage Queue in the format of `<storage queue endpoint>/<queue name>`. E.g. `https://example.queue.core.windows.net/queue1`.
|
|
460
|
+
"""
|
|
461
|
+
return pulumi.get(self, "url")
|
|
462
|
+
|
{pulumi_azure-6.27.0a1758868424.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulumi_azure
|
|
3
|
-
Version: 6.27.
|
|
3
|
+
Version: 6.27.0a1759511969
|
|
4
4
|
Summary: A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|