pulumi-azure 6.27.0a1758695020__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.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/METADATA +1 -1
- {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/RECORD +169 -162
- {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/WHEEL +0 -0
- {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/top_level.txt +0 -0
|
@@ -21,17 +21,25 @@ class AccountEncryptionArgs:
|
|
|
21
21
|
def __init__(__self__, *,
|
|
22
22
|
encryption_key: pulumi.Input[_builtins.str],
|
|
23
23
|
netapp_account_id: pulumi.Input[_builtins.str],
|
|
24
|
+
cross_tenant_key_vault_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
federated_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
26
|
system_assigned_identity_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
27
|
user_assigned_identity_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
28
|
"""
|
|
27
29
|
The set of arguments for constructing a AccountEncryption resource.
|
|
28
30
|
:param pulumi.Input[_builtins.str] encryption_key: Specify the versionless ID of the encryption key.
|
|
29
31
|
:param pulumi.Input[_builtins.str] netapp_account_id: The ID of the NetApp account where volume under it will have customer managed keys-based encryption enabled.
|
|
32
|
+
:param pulumi.Input[_builtins.str] cross_tenant_key_vault_resource_id: The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
33
|
+
:param pulumi.Input[_builtins.str] federated_client_id: The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
30
34
|
:param pulumi.Input[_builtins.str] system_assigned_identity_principal_id: The ID of the System Assigned Manged Identity. Conflicts with `user_assigned_identity_id`.
|
|
31
35
|
:param pulumi.Input[_builtins.str] user_assigned_identity_id: The ID of the User Assigned Managed Identity. Conflicts with `system_assigned_identity_principal_id`.
|
|
32
36
|
"""
|
|
33
37
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
|
34
38
|
pulumi.set(__self__, "netapp_account_id", netapp_account_id)
|
|
39
|
+
if cross_tenant_key_vault_resource_id is not None:
|
|
40
|
+
pulumi.set(__self__, "cross_tenant_key_vault_resource_id", cross_tenant_key_vault_resource_id)
|
|
41
|
+
if federated_client_id is not None:
|
|
42
|
+
pulumi.set(__self__, "federated_client_id", federated_client_id)
|
|
35
43
|
if system_assigned_identity_principal_id is not None:
|
|
36
44
|
pulumi.set(__self__, "system_assigned_identity_principal_id", system_assigned_identity_principal_id)
|
|
37
45
|
if user_assigned_identity_id is not None:
|
|
@@ -61,6 +69,30 @@ class AccountEncryptionArgs:
|
|
|
61
69
|
def netapp_account_id(self, value: pulumi.Input[_builtins.str]):
|
|
62
70
|
pulumi.set(self, "netapp_account_id", value)
|
|
63
71
|
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter(name="crossTenantKeyVaultResourceId")
|
|
74
|
+
def cross_tenant_key_vault_resource_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
75
|
+
"""
|
|
76
|
+
The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "cross_tenant_key_vault_resource_id")
|
|
79
|
+
|
|
80
|
+
@cross_tenant_key_vault_resource_id.setter
|
|
81
|
+
def cross_tenant_key_vault_resource_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
82
|
+
pulumi.set(self, "cross_tenant_key_vault_resource_id", value)
|
|
83
|
+
|
|
84
|
+
@_builtins.property
|
|
85
|
+
@pulumi.getter(name="federatedClientId")
|
|
86
|
+
def federated_client_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
87
|
+
"""
|
|
88
|
+
The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
89
|
+
"""
|
|
90
|
+
return pulumi.get(self, "federated_client_id")
|
|
91
|
+
|
|
92
|
+
@federated_client_id.setter
|
|
93
|
+
def federated_client_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
94
|
+
pulumi.set(self, "federated_client_id", value)
|
|
95
|
+
|
|
64
96
|
@_builtins.property
|
|
65
97
|
@pulumi.getter(name="systemAssignedIdentityPrincipalId")
|
|
66
98
|
def system_assigned_identity_principal_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -89,19 +121,27 @@ class AccountEncryptionArgs:
|
|
|
89
121
|
@pulumi.input_type
|
|
90
122
|
class _AccountEncryptionState:
|
|
91
123
|
def __init__(__self__, *,
|
|
124
|
+
cross_tenant_key_vault_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
92
125
|
encryption_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
126
|
+
federated_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
127
|
netapp_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
94
128
|
system_assigned_identity_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
95
129
|
user_assigned_identity_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
96
130
|
"""
|
|
97
131
|
Input properties used for looking up and filtering AccountEncryption resources.
|
|
132
|
+
:param pulumi.Input[_builtins.str] cross_tenant_key_vault_resource_id: The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
98
133
|
:param pulumi.Input[_builtins.str] encryption_key: Specify the versionless ID of the encryption key.
|
|
134
|
+
:param pulumi.Input[_builtins.str] federated_client_id: The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
99
135
|
:param pulumi.Input[_builtins.str] netapp_account_id: The ID of the NetApp account where volume under it will have customer managed keys-based encryption enabled.
|
|
100
136
|
:param pulumi.Input[_builtins.str] system_assigned_identity_principal_id: The ID of the System Assigned Manged Identity. Conflicts with `user_assigned_identity_id`.
|
|
101
137
|
:param pulumi.Input[_builtins.str] user_assigned_identity_id: The ID of the User Assigned Managed Identity. Conflicts with `system_assigned_identity_principal_id`.
|
|
102
138
|
"""
|
|
139
|
+
if cross_tenant_key_vault_resource_id is not None:
|
|
140
|
+
pulumi.set(__self__, "cross_tenant_key_vault_resource_id", cross_tenant_key_vault_resource_id)
|
|
103
141
|
if encryption_key is not None:
|
|
104
142
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
|
143
|
+
if federated_client_id is not None:
|
|
144
|
+
pulumi.set(__self__, "federated_client_id", federated_client_id)
|
|
105
145
|
if netapp_account_id is not None:
|
|
106
146
|
pulumi.set(__self__, "netapp_account_id", netapp_account_id)
|
|
107
147
|
if system_assigned_identity_principal_id is not None:
|
|
@@ -109,6 +149,18 @@ class _AccountEncryptionState:
|
|
|
109
149
|
if user_assigned_identity_id is not None:
|
|
110
150
|
pulumi.set(__self__, "user_assigned_identity_id", user_assigned_identity_id)
|
|
111
151
|
|
|
152
|
+
@_builtins.property
|
|
153
|
+
@pulumi.getter(name="crossTenantKeyVaultResourceId")
|
|
154
|
+
def cross_tenant_key_vault_resource_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
155
|
+
"""
|
|
156
|
+
The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "cross_tenant_key_vault_resource_id")
|
|
159
|
+
|
|
160
|
+
@cross_tenant_key_vault_resource_id.setter
|
|
161
|
+
def cross_tenant_key_vault_resource_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
162
|
+
pulumi.set(self, "cross_tenant_key_vault_resource_id", value)
|
|
163
|
+
|
|
112
164
|
@_builtins.property
|
|
113
165
|
@pulumi.getter(name="encryptionKey")
|
|
114
166
|
def encryption_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -121,6 +173,18 @@ class _AccountEncryptionState:
|
|
|
121
173
|
def encryption_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
122
174
|
pulumi.set(self, "encryption_key", value)
|
|
123
175
|
|
|
176
|
+
@_builtins.property
|
|
177
|
+
@pulumi.getter(name="federatedClientId")
|
|
178
|
+
def federated_client_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
179
|
+
"""
|
|
180
|
+
The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "federated_client_id")
|
|
183
|
+
|
|
184
|
+
@federated_client_id.setter
|
|
185
|
+
def federated_client_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
186
|
+
pulumi.set(self, "federated_client_id", value)
|
|
187
|
+
|
|
124
188
|
@_builtins.property
|
|
125
189
|
@pulumi.getter(name="netappAccountId")
|
|
126
190
|
def netapp_account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -164,7 +228,9 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
164
228
|
def __init__(__self__,
|
|
165
229
|
resource_name: str,
|
|
166
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
231
|
+
cross_tenant_key_vault_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
232
|
encryption_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
233
|
+
federated_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
234
|
netapp_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
169
235
|
system_assigned_identity_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
170
236
|
user_assigned_identity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -246,7 +312,24 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
246
312
|
example_account_encryption = azure.netapp.AccountEncryption("example",
|
|
247
313
|
netapp_account_id=example_account.id,
|
|
248
314
|
user_assigned_identity_id=example_user_assigned_identity.id,
|
|
249
|
-
encryption_key=example_key.versionless_id
|
|
315
|
+
encryption_key=example_key.versionless_id,
|
|
316
|
+
federated_client_id=example_user_assigned_identity.client_id)
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
## Cross-Tenant Usage
|
|
320
|
+
|
|
321
|
+
For scenarios where the key vault is in a different Entra ID tenant:
|
|
322
|
+
|
|
323
|
+
```python
|
|
324
|
+
import pulumi
|
|
325
|
+
import pulumi_azure as azure
|
|
326
|
+
|
|
327
|
+
cross_tenant = azure.netapp.AccountEncryption("cross_tenant",
|
|
328
|
+
netapp_account_id=example["id"],
|
|
329
|
+
user_assigned_identity_id=example_azurerm_user_assigned_identity["id"],
|
|
330
|
+
encryption_key="https://keyvault-in-other-tenant.vault.azure.net/keys/encryption-key",
|
|
331
|
+
federated_client_id="12345678-1234-1234-1234-123456789012",
|
|
332
|
+
cross_tenant_key_vault_resource_id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/remote-rg/providers/Microsoft.KeyVault/vaults/keyvault-in-other-tenant")
|
|
250
333
|
```
|
|
251
334
|
|
|
252
335
|
## API Providers
|
|
@@ -254,7 +337,7 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
254
337
|
<!-- This section is generated, changes will be overwritten -->
|
|
255
338
|
This resource uses the following Azure API Providers:
|
|
256
339
|
|
|
257
|
-
* `Microsoft.NetApp` - 2025-
|
|
340
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
258
341
|
|
|
259
342
|
## Import
|
|
260
343
|
|
|
@@ -266,7 +349,9 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
266
349
|
|
|
267
350
|
:param str resource_name: The name of the resource.
|
|
268
351
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
352
|
+
:param pulumi.Input[_builtins.str] cross_tenant_key_vault_resource_id: The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
269
353
|
:param pulumi.Input[_builtins.str] encryption_key: Specify the versionless ID of the encryption key.
|
|
354
|
+
:param pulumi.Input[_builtins.str] federated_client_id: The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
270
355
|
:param pulumi.Input[_builtins.str] netapp_account_id: The ID of the NetApp account where volume under it will have customer managed keys-based encryption enabled.
|
|
271
356
|
:param pulumi.Input[_builtins.str] system_assigned_identity_principal_id: The ID of the System Assigned Manged Identity. Conflicts with `user_assigned_identity_id`.
|
|
272
357
|
:param pulumi.Input[_builtins.str] user_assigned_identity_id: The ID of the User Assigned Managed Identity. Conflicts with `system_assigned_identity_principal_id`.
|
|
@@ -354,7 +439,24 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
354
439
|
example_account_encryption = azure.netapp.AccountEncryption("example",
|
|
355
440
|
netapp_account_id=example_account.id,
|
|
356
441
|
user_assigned_identity_id=example_user_assigned_identity.id,
|
|
357
|
-
encryption_key=example_key.versionless_id
|
|
442
|
+
encryption_key=example_key.versionless_id,
|
|
443
|
+
federated_client_id=example_user_assigned_identity.client_id)
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
## Cross-Tenant Usage
|
|
447
|
+
|
|
448
|
+
For scenarios where the key vault is in a different Entra ID tenant:
|
|
449
|
+
|
|
450
|
+
```python
|
|
451
|
+
import pulumi
|
|
452
|
+
import pulumi_azure as azure
|
|
453
|
+
|
|
454
|
+
cross_tenant = azure.netapp.AccountEncryption("cross_tenant",
|
|
455
|
+
netapp_account_id=example["id"],
|
|
456
|
+
user_assigned_identity_id=example_azurerm_user_assigned_identity["id"],
|
|
457
|
+
encryption_key="https://keyvault-in-other-tenant.vault.azure.net/keys/encryption-key",
|
|
458
|
+
federated_client_id="12345678-1234-1234-1234-123456789012",
|
|
459
|
+
cross_tenant_key_vault_resource_id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/remote-rg/providers/Microsoft.KeyVault/vaults/keyvault-in-other-tenant")
|
|
358
460
|
```
|
|
359
461
|
|
|
360
462
|
## API Providers
|
|
@@ -362,7 +464,7 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
362
464
|
<!-- This section is generated, changes will be overwritten -->
|
|
363
465
|
This resource uses the following Azure API Providers:
|
|
364
466
|
|
|
365
|
-
* `Microsoft.NetApp` - 2025-
|
|
467
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
366
468
|
|
|
367
469
|
## Import
|
|
368
470
|
|
|
@@ -387,7 +489,9 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
387
489
|
def _internal_init(__self__,
|
|
388
490
|
resource_name: str,
|
|
389
491
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
492
|
+
cross_tenant_key_vault_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
390
493
|
encryption_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
494
|
+
federated_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
391
495
|
netapp_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
392
496
|
system_assigned_identity_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
393
497
|
user_assigned_identity_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -400,9 +504,11 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
400
504
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
401
505
|
__props__ = AccountEncryptionArgs.__new__(AccountEncryptionArgs)
|
|
402
506
|
|
|
507
|
+
__props__.__dict__["cross_tenant_key_vault_resource_id"] = cross_tenant_key_vault_resource_id
|
|
403
508
|
if encryption_key is None and not opts.urn:
|
|
404
509
|
raise TypeError("Missing required property 'encryption_key'")
|
|
405
510
|
__props__.__dict__["encryption_key"] = encryption_key
|
|
511
|
+
__props__.__dict__["federated_client_id"] = federated_client_id
|
|
406
512
|
if netapp_account_id is None and not opts.urn:
|
|
407
513
|
raise TypeError("Missing required property 'netapp_account_id'")
|
|
408
514
|
__props__.__dict__["netapp_account_id"] = netapp_account_id
|
|
@@ -418,7 +524,9 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
418
524
|
def get(resource_name: str,
|
|
419
525
|
id: pulumi.Input[str],
|
|
420
526
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
527
|
+
cross_tenant_key_vault_resource_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
421
528
|
encryption_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
529
|
+
federated_client_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
422
530
|
netapp_account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
423
531
|
system_assigned_identity_principal_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
424
532
|
user_assigned_identity_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'AccountEncryption':
|
|
@@ -429,7 +537,9 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
429
537
|
:param str resource_name: The unique name of the resulting resource.
|
|
430
538
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
431
539
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
540
|
+
:param pulumi.Input[_builtins.str] cross_tenant_key_vault_resource_id: The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
432
541
|
:param pulumi.Input[_builtins.str] encryption_key: Specify the versionless ID of the encryption key.
|
|
542
|
+
:param pulumi.Input[_builtins.str] federated_client_id: The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
433
543
|
:param pulumi.Input[_builtins.str] netapp_account_id: The ID of the NetApp account where volume under it will have customer managed keys-based encryption enabled.
|
|
434
544
|
:param pulumi.Input[_builtins.str] system_assigned_identity_principal_id: The ID of the System Assigned Manged Identity. Conflicts with `user_assigned_identity_id`.
|
|
435
545
|
:param pulumi.Input[_builtins.str] user_assigned_identity_id: The ID of the User Assigned Managed Identity. Conflicts with `system_assigned_identity_principal_id`.
|
|
@@ -438,12 +548,22 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
438
548
|
|
|
439
549
|
__props__ = _AccountEncryptionState.__new__(_AccountEncryptionState)
|
|
440
550
|
|
|
551
|
+
__props__.__dict__["cross_tenant_key_vault_resource_id"] = cross_tenant_key_vault_resource_id
|
|
441
552
|
__props__.__dict__["encryption_key"] = encryption_key
|
|
553
|
+
__props__.__dict__["federated_client_id"] = federated_client_id
|
|
442
554
|
__props__.__dict__["netapp_account_id"] = netapp_account_id
|
|
443
555
|
__props__.__dict__["system_assigned_identity_principal_id"] = system_assigned_identity_principal_id
|
|
444
556
|
__props__.__dict__["user_assigned_identity_id"] = user_assigned_identity_id
|
|
445
557
|
return AccountEncryption(resource_name, opts=opts, __props__=__props__)
|
|
446
558
|
|
|
559
|
+
@_builtins.property
|
|
560
|
+
@pulumi.getter(name="crossTenantKeyVaultResourceId")
|
|
561
|
+
def cross_tenant_key_vault_resource_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
562
|
+
"""
|
|
563
|
+
The full resource ID of the cross-tenant key vault. This is recommended when using `federated_client_id` for cross-tenant scenarios to ensure proper validation by Azure APIs.
|
|
564
|
+
"""
|
|
565
|
+
return pulumi.get(self, "cross_tenant_key_vault_resource_id")
|
|
566
|
+
|
|
447
567
|
@_builtins.property
|
|
448
568
|
@pulumi.getter(name="encryptionKey")
|
|
449
569
|
def encryption_key(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -452,6 +572,14 @@ class AccountEncryption(pulumi.CustomResource):
|
|
|
452
572
|
"""
|
|
453
573
|
return pulumi.get(self, "encryption_key")
|
|
454
574
|
|
|
575
|
+
@_builtins.property
|
|
576
|
+
@pulumi.getter(name="federatedClientId")
|
|
577
|
+
def federated_client_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
578
|
+
"""
|
|
579
|
+
The Client ID of the multi-tenant Entra ID application used to access cross-tenant key vaults. This is only required when accessing a key vault in a different tenant than the NetApp account.
|
|
580
|
+
"""
|
|
581
|
+
return pulumi.get(self, "federated_client_id")
|
|
582
|
+
|
|
455
583
|
@_builtins.property
|
|
456
584
|
@pulumi.getter(name="netappAccountId")
|
|
457
585
|
def netapp_account_id(self) -> pulumi.Output[_builtins.str]:
|
|
@@ -371,7 +371,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
371
371
|
<!-- This section is generated, changes will be overwritten -->
|
|
372
372
|
This resource uses the following Azure API Providers:
|
|
373
373
|
|
|
374
|
-
* `Microsoft.NetApp` - 2025-
|
|
374
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
375
375
|
|
|
376
376
|
## Import
|
|
377
377
|
|
|
@@ -430,7 +430,7 @@ class BackupPolicy(pulumi.CustomResource):
|
|
|
430
430
|
<!-- This section is generated, changes will be overwritten -->
|
|
431
431
|
This resource uses the following Azure API Providers:
|
|
432
432
|
|
|
433
|
-
* `Microsoft.NetApp` - 2025-
|
|
433
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
434
434
|
|
|
435
435
|
## Import
|
|
436
436
|
|
|
@@ -230,7 +230,7 @@ class BackupVault(pulumi.CustomResource):
|
|
|
230
230
|
<!-- This section is generated, changes will be overwritten -->
|
|
231
231
|
This resource uses the following Azure API Providers:
|
|
232
232
|
|
|
233
|
-
* `Microsoft.NetApp` - 2025-
|
|
233
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
234
234
|
|
|
235
235
|
## Import
|
|
236
236
|
|
|
@@ -282,7 +282,7 @@ class BackupVault(pulumi.CustomResource):
|
|
|
282
282
|
<!-- This section is generated, changes will be overwritten -->
|
|
283
283
|
This resource uses the following Azure API Providers:
|
|
284
284
|
|
|
285
|
-
* `Microsoft.NetApp` - 2025-
|
|
285
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
286
286
|
|
|
287
287
|
## Import
|
|
288
288
|
|
|
@@ -122,7 +122,7 @@ def get_account(identity: Optional[Union['GetAccountIdentityArgs', 'GetAccountId
|
|
|
122
122
|
<!-- This section is generated, changes will be overwritten -->
|
|
123
123
|
This data source uses the following Azure API Providers:
|
|
124
124
|
|
|
125
|
-
* `Microsoft.NetApp` - 2025-
|
|
125
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
126
126
|
|
|
127
127
|
|
|
128
128
|
:param _builtins.str name: The name of the NetApp Account.
|
|
@@ -165,7 +165,7 @@ def get_account_output(identity: Optional[pulumi.Input[Optional[Union['GetAccoun
|
|
|
165
165
|
<!-- This section is generated, changes will be overwritten -->
|
|
166
166
|
This data source uses the following Azure API Providers:
|
|
167
167
|
|
|
168
|
-
* `Microsoft.NetApp` - 2025-
|
|
168
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
169
169
|
|
|
170
170
|
|
|
171
171
|
:param _builtins.str name: The name of the NetApp Account.
|
|
@@ -26,10 +26,16 @@ class GetAccountEncryptionResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getAccountEncryption.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, encryption_key=None, id=None, netapp_account_id=None, system_assigned_identity_principal_id=None, user_assigned_identity_id=None):
|
|
29
|
+
def __init__(__self__, cross_tenant_key_vault_resource_id=None, encryption_key=None, federated_client_id=None, id=None, netapp_account_id=None, system_assigned_identity_principal_id=None, user_assigned_identity_id=None):
|
|
30
|
+
if cross_tenant_key_vault_resource_id and not isinstance(cross_tenant_key_vault_resource_id, str):
|
|
31
|
+
raise TypeError("Expected argument 'cross_tenant_key_vault_resource_id' to be a str")
|
|
32
|
+
pulumi.set(__self__, "cross_tenant_key_vault_resource_id", cross_tenant_key_vault_resource_id)
|
|
30
33
|
if encryption_key and not isinstance(encryption_key, str):
|
|
31
34
|
raise TypeError("Expected argument 'encryption_key' to be a str")
|
|
32
35
|
pulumi.set(__self__, "encryption_key", encryption_key)
|
|
36
|
+
if federated_client_id and not isinstance(federated_client_id, str):
|
|
37
|
+
raise TypeError("Expected argument 'federated_client_id' to be a str")
|
|
38
|
+
pulumi.set(__self__, "federated_client_id", federated_client_id)
|
|
33
39
|
if id and not isinstance(id, str):
|
|
34
40
|
raise TypeError("Expected argument 'id' to be a str")
|
|
35
41
|
pulumi.set(__self__, "id", id)
|
|
@@ -43,11 +49,21 @@ class GetAccountEncryptionResult:
|
|
|
43
49
|
raise TypeError("Expected argument 'user_assigned_identity_id' to be a str")
|
|
44
50
|
pulumi.set(__self__, "user_assigned_identity_id", user_assigned_identity_id)
|
|
45
51
|
|
|
52
|
+
@_builtins.property
|
|
53
|
+
@pulumi.getter(name="crossTenantKeyVaultResourceId")
|
|
54
|
+
def cross_tenant_key_vault_resource_id(self) -> _builtins.str:
|
|
55
|
+
return pulumi.get(self, "cross_tenant_key_vault_resource_id")
|
|
56
|
+
|
|
46
57
|
@_builtins.property
|
|
47
58
|
@pulumi.getter(name="encryptionKey")
|
|
48
59
|
def encryption_key(self) -> _builtins.str:
|
|
49
60
|
return pulumi.get(self, "encryption_key")
|
|
50
61
|
|
|
62
|
+
@_builtins.property
|
|
63
|
+
@pulumi.getter(name="federatedClientId")
|
|
64
|
+
def federated_client_id(self) -> _builtins.str:
|
|
65
|
+
return pulumi.get(self, "federated_client_id")
|
|
66
|
+
|
|
51
67
|
@_builtins.property
|
|
52
68
|
@pulumi.getter
|
|
53
69
|
def id(self) -> _builtins.str:
|
|
@@ -78,7 +94,9 @@ class AwaitableGetAccountEncryptionResult(GetAccountEncryptionResult):
|
|
|
78
94
|
if False:
|
|
79
95
|
yield self
|
|
80
96
|
return GetAccountEncryptionResult(
|
|
97
|
+
cross_tenant_key_vault_resource_id=self.cross_tenant_key_vault_resource_id,
|
|
81
98
|
encryption_key=self.encryption_key,
|
|
99
|
+
federated_client_id=self.federated_client_id,
|
|
82
100
|
id=self.id,
|
|
83
101
|
netapp_account_id=self.netapp_account_id,
|
|
84
102
|
system_assigned_identity_principal_id=self.system_assigned_identity_principal_id,
|
|
@@ -105,7 +123,7 @@ def get_account_encryption(netapp_account_id: Optional[_builtins.str] = None,
|
|
|
105
123
|
<!-- This section is generated, changes will be overwritten -->
|
|
106
124
|
This data source uses the following Azure API Providers:
|
|
107
125
|
|
|
108
|
-
* `Microsoft.NetApp` - 2025-
|
|
126
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
109
127
|
|
|
110
128
|
|
|
111
129
|
:param _builtins.str netapp_account_id: The ID of the NetApp account where customer managed keys-based encryption is enabled.
|
|
@@ -116,7 +134,9 @@ def get_account_encryption(netapp_account_id: Optional[_builtins.str] = None,
|
|
|
116
134
|
__ret__ = pulumi.runtime.invoke('azure:netapp/getAccountEncryption:getAccountEncryption', __args__, opts=opts, typ=GetAccountEncryptionResult).value
|
|
117
135
|
|
|
118
136
|
return AwaitableGetAccountEncryptionResult(
|
|
137
|
+
cross_tenant_key_vault_resource_id=pulumi.get(__ret__, 'cross_tenant_key_vault_resource_id'),
|
|
119
138
|
encryption_key=pulumi.get(__ret__, 'encryption_key'),
|
|
139
|
+
federated_client_id=pulumi.get(__ret__, 'federated_client_id'),
|
|
120
140
|
id=pulumi.get(__ret__, 'id'),
|
|
121
141
|
netapp_account_id=pulumi.get(__ret__, 'netapp_account_id'),
|
|
122
142
|
system_assigned_identity_principal_id=pulumi.get(__ret__, 'system_assigned_identity_principal_id'),
|
|
@@ -141,7 +161,7 @@ def get_account_encryption_output(netapp_account_id: Optional[pulumi.Input[_buil
|
|
|
141
161
|
<!-- This section is generated, changes will be overwritten -->
|
|
142
162
|
This data source uses the following Azure API Providers:
|
|
143
163
|
|
|
144
|
-
* `Microsoft.NetApp` - 2025-
|
|
164
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
145
165
|
|
|
146
166
|
|
|
147
167
|
:param _builtins.str netapp_account_id: The ID of the NetApp account where customer managed keys-based encryption is enabled.
|
|
@@ -151,7 +171,9 @@ def get_account_encryption_output(netapp_account_id: Optional[pulumi.Input[_buil
|
|
|
151
171
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
152
172
|
__ret__ = pulumi.runtime.invoke_output('azure:netapp/getAccountEncryption:getAccountEncryption', __args__, opts=opts, typ=GetAccountEncryptionResult)
|
|
153
173
|
return __ret__.apply(lambda __response__: GetAccountEncryptionResult(
|
|
174
|
+
cross_tenant_key_vault_resource_id=pulumi.get(__response__, 'cross_tenant_key_vault_resource_id'),
|
|
154
175
|
encryption_key=pulumi.get(__response__, 'encryption_key'),
|
|
176
|
+
federated_client_id=pulumi.get(__response__, 'federated_client_id'),
|
|
155
177
|
id=pulumi.get(__response__, 'id'),
|
|
156
178
|
netapp_account_id=pulumi.get(__response__, 'netapp_account_id'),
|
|
157
179
|
system_assigned_identity_principal_id=pulumi.get(__response__, 'system_assigned_identity_principal_id'),
|
|
@@ -175,7 +175,7 @@ def get_backup_policy(account_name: Optional[_builtins.str] = None,
|
|
|
175
175
|
<!-- This section is generated, changes will be overwritten -->
|
|
176
176
|
This data source uses the following Azure API Providers:
|
|
177
177
|
|
|
178
|
-
* `Microsoft.NetApp` - 2025-
|
|
178
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
179
179
|
|
|
180
180
|
|
|
181
181
|
:param _builtins.str account_name: The name of the NetApp Account in which the NetApp Policy exists.
|
|
@@ -224,7 +224,7 @@ def get_backup_policy_output(account_name: Optional[pulumi.Input[_builtins.str]]
|
|
|
224
224
|
<!-- This section is generated, changes will be overwritten -->
|
|
225
225
|
This data source uses the following Azure API Providers:
|
|
226
226
|
|
|
227
|
-
* `Microsoft.NetApp` - 2025-
|
|
227
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
:param _builtins.str account_name: The name of the NetApp Account in which the NetApp Policy exists.
|
|
@@ -118,7 +118,7 @@ def get_backup_vault(account_name: Optional[_builtins.str] = None,
|
|
|
118
118
|
<!-- This section is generated, changes will be overwritten -->
|
|
119
119
|
This data source uses the following Azure API Providers:
|
|
120
120
|
|
|
121
|
-
* `Microsoft.NetApp` - 2025-
|
|
121
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
:param _builtins.str account_name: The name of the NetApp Account in which the NetApp Vault exists.
|
|
@@ -163,7 +163,7 @@ def get_backup_vault_output(account_name: Optional[pulumi.Input[_builtins.str]]
|
|
|
163
163
|
<!-- This section is generated, changes will be overwritten -->
|
|
164
164
|
This data source uses the following Azure API Providers:
|
|
165
165
|
|
|
166
|
-
* `Microsoft.NetApp` - 2025-
|
|
166
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
:param _builtins.str account_name: The name of the NetApp Account in which the NetApp Vault exists.
|
pulumi_azure/netapp/get_pool.py
CHANGED
|
@@ -26,13 +26,16 @@ class GetPoolResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getPool.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, account_name=None, cool_access_enabled=None, encryption_type=None, id=None, location=None, name=None, resource_group_name=None, service_level=None, size_in_tb=None):
|
|
29
|
+
def __init__(__self__, account_name=None, cool_access_enabled=None, custom_throughput_mibps=None, encryption_type=None, id=None, location=None, name=None, resource_group_name=None, service_level=None, size_in_tb=None):
|
|
30
30
|
if account_name and not isinstance(account_name, str):
|
|
31
31
|
raise TypeError("Expected argument 'account_name' to be a str")
|
|
32
32
|
pulumi.set(__self__, "account_name", account_name)
|
|
33
33
|
if cool_access_enabled and not isinstance(cool_access_enabled, bool):
|
|
34
34
|
raise TypeError("Expected argument 'cool_access_enabled' to be a bool")
|
|
35
35
|
pulumi.set(__self__, "cool_access_enabled", cool_access_enabled)
|
|
36
|
+
if custom_throughput_mibps and not isinstance(custom_throughput_mibps, int):
|
|
37
|
+
raise TypeError("Expected argument 'custom_throughput_mibps' to be a int")
|
|
38
|
+
pulumi.set(__self__, "custom_throughput_mibps", custom_throughput_mibps)
|
|
36
39
|
if encryption_type and not isinstance(encryption_type, str):
|
|
37
40
|
raise TypeError("Expected argument 'encryption_type' to be a str")
|
|
38
41
|
pulumi.set(__self__, "encryption_type", encryption_type)
|
|
@@ -68,6 +71,14 @@ class GetPoolResult:
|
|
|
68
71
|
"""
|
|
69
72
|
return pulumi.get(self, "cool_access_enabled")
|
|
70
73
|
|
|
74
|
+
@_builtins.property
|
|
75
|
+
@pulumi.getter(name="customThroughputMibps")
|
|
76
|
+
def custom_throughput_mibps(self) -> _builtins.int:
|
|
77
|
+
"""
|
|
78
|
+
The custom throughput for the pool in MiB/s.
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "custom_throughput_mibps")
|
|
81
|
+
|
|
71
82
|
@_builtins.property
|
|
72
83
|
@pulumi.getter(name="encryptionType")
|
|
73
84
|
def encryption_type(self) -> _builtins.str:
|
|
@@ -127,6 +138,7 @@ class AwaitableGetPoolResult(GetPoolResult):
|
|
|
127
138
|
return GetPoolResult(
|
|
128
139
|
account_name=self.account_name,
|
|
129
140
|
cool_access_enabled=self.cool_access_enabled,
|
|
141
|
+
custom_throughput_mibps=self.custom_throughput_mibps,
|
|
130
142
|
encryption_type=self.encryption_type,
|
|
131
143
|
id=self.id,
|
|
132
144
|
location=self.location,
|
|
@@ -160,7 +172,7 @@ def get_pool(account_name: Optional[_builtins.str] = None,
|
|
|
160
172
|
<!-- This section is generated, changes will be overwritten -->
|
|
161
173
|
This data source uses the following Azure API Providers:
|
|
162
174
|
|
|
163
|
-
* `Microsoft.NetApp` - 2025-
|
|
175
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
164
176
|
|
|
165
177
|
|
|
166
178
|
:param _builtins.str account_name: The name of the NetApp account where the NetApp pool exists.
|
|
@@ -177,6 +189,7 @@ def get_pool(account_name: Optional[_builtins.str] = None,
|
|
|
177
189
|
return AwaitableGetPoolResult(
|
|
178
190
|
account_name=pulumi.get(__ret__, 'account_name'),
|
|
179
191
|
cool_access_enabled=pulumi.get(__ret__, 'cool_access_enabled'),
|
|
192
|
+
custom_throughput_mibps=pulumi.get(__ret__, 'custom_throughput_mibps'),
|
|
180
193
|
encryption_type=pulumi.get(__ret__, 'encryption_type'),
|
|
181
194
|
id=pulumi.get(__ret__, 'id'),
|
|
182
195
|
location=pulumi.get(__ret__, 'location'),
|
|
@@ -208,7 +221,7 @@ def get_pool_output(account_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
208
221
|
<!-- This section is generated, changes will be overwritten -->
|
|
209
222
|
This data source uses the following Azure API Providers:
|
|
210
223
|
|
|
211
|
-
* `Microsoft.NetApp` - 2025-
|
|
224
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
212
225
|
|
|
213
226
|
|
|
214
227
|
:param _builtins.str account_name: The name of the NetApp account where the NetApp pool exists.
|
|
@@ -224,6 +237,7 @@ def get_pool_output(account_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
224
237
|
return __ret__.apply(lambda __response__: GetPoolResult(
|
|
225
238
|
account_name=pulumi.get(__response__, 'account_name'),
|
|
226
239
|
cool_access_enabled=pulumi.get(__response__, 'cool_access_enabled'),
|
|
240
|
+
custom_throughput_mibps=pulumi.get(__response__, 'custom_throughput_mibps'),
|
|
227
241
|
encryption_type=pulumi.get(__response__, 'encryption_type'),
|
|
228
242
|
id=pulumi.get(__response__, 'id'),
|
|
229
243
|
location=pulumi.get(__response__, 'location'),
|
|
@@ -134,7 +134,7 @@ def get_snapshot(account_name: Optional[_builtins.str] = None,
|
|
|
134
134
|
<!-- This section is generated, changes will be overwritten -->
|
|
135
135
|
This data source uses the following Azure API Providers:
|
|
136
136
|
|
|
137
|
-
* `Microsoft.NetApp` - 2025-
|
|
137
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
:param _builtins.str account_name: The name of the NetApp Account where the NetApp Pool exists.
|
|
@@ -188,7 +188,7 @@ def get_snapshot_output(account_name: Optional[pulumi.Input[_builtins.str]] = No
|
|
|
188
188
|
<!-- This section is generated, changes will be overwritten -->
|
|
189
189
|
This data source uses the following Azure API Providers:
|
|
190
190
|
|
|
191
|
-
* `Microsoft.NetApp` - 2025-
|
|
191
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
192
192
|
|
|
193
193
|
|
|
194
194
|
:param _builtins.str account_name: The name of the NetApp Account where the NetApp Pool exists.
|
|
@@ -197,7 +197,7 @@ def get_snapshot_policy(account_name: Optional[_builtins.str] = None,
|
|
|
197
197
|
<!-- This section is generated, changes will be overwritten -->
|
|
198
198
|
This data source uses the following Azure API Providers:
|
|
199
199
|
|
|
200
|
-
* `Microsoft.NetApp` - 2025-
|
|
200
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
:param _builtins.str account_name: The name of the NetApp account where the NetApp Snapshot Policy exists.
|
|
@@ -253,7 +253,7 @@ def get_snapshot_policy_output(account_name: Optional[pulumi.Input[_builtins.str
|
|
|
253
253
|
<!-- This section is generated, changes will be overwritten -->
|
|
254
254
|
This data source uses the following Azure API Providers:
|
|
255
255
|
|
|
256
|
-
* `Microsoft.NetApp` - 2025-
|
|
256
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
:param _builtins.str account_name: The name of the NetApp account where the NetApp Snapshot Policy exists.
|
|
@@ -27,7 +27,10 @@ class GetVolumeResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getVolume.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, account_name=None, data_protection_backup_policies=None, data_protection_replications=None, encryption_key_source=None, id=None, key_vault_private_endpoint_id=None, large_volume_enabled=None, location=None, mount_ip_addresses=None, name=None, network_features=None, pool_name=None, protocols=None, resource_group_name=None, security_style=None, service_level=None, smb_access_based_enumeration_enabled=None, smb_non_browsable_enabled=None, storage_quota_in_gb=None, subnet_id=None, volume_path=None, zone=None):
|
|
30
|
+
def __init__(__self__, accept_grow_capacity_pool_for_short_term_clone_split=None, account_name=None, data_protection_backup_policies=None, data_protection_replications=None, encryption_key_source=None, id=None, key_vault_private_endpoint_id=None, large_volume_enabled=None, location=None, mount_ip_addresses=None, name=None, network_features=None, pool_name=None, protocols=None, resource_group_name=None, security_style=None, service_level=None, smb_access_based_enumeration_enabled=None, smb_non_browsable_enabled=None, storage_quota_in_gb=None, subnet_id=None, volume_path=None, zone=None):
|
|
31
|
+
if accept_grow_capacity_pool_for_short_term_clone_split and not isinstance(accept_grow_capacity_pool_for_short_term_clone_split, str):
|
|
32
|
+
raise TypeError("Expected argument 'accept_grow_capacity_pool_for_short_term_clone_split' to be a str")
|
|
33
|
+
pulumi.set(__self__, "accept_grow_capacity_pool_for_short_term_clone_split", accept_grow_capacity_pool_for_short_term_clone_split)
|
|
31
34
|
if account_name and not isinstance(account_name, str):
|
|
32
35
|
raise TypeError("Expected argument 'account_name' to be a str")
|
|
33
36
|
pulumi.set(__self__, "account_name", account_name)
|
|
@@ -95,6 +98,14 @@ class GetVolumeResult:
|
|
|
95
98
|
raise TypeError("Expected argument 'zone' to be a str")
|
|
96
99
|
pulumi.set(__self__, "zone", zone)
|
|
97
100
|
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter(name="acceptGrowCapacityPoolForShortTermCloneSplit")
|
|
103
|
+
def accept_grow_capacity_pool_for_short_term_clone_split(self) -> _builtins.str:
|
|
104
|
+
"""
|
|
105
|
+
The accept grow capacity pool for short term clone split property.
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "accept_grow_capacity_pool_for_short_term_clone_split")
|
|
108
|
+
|
|
98
109
|
@_builtins.property
|
|
99
110
|
@pulumi.getter(name="accountName")
|
|
100
111
|
def account_name(self) -> _builtins.str:
|
|
@@ -260,6 +271,7 @@ class AwaitableGetVolumeResult(GetVolumeResult):
|
|
|
260
271
|
if False:
|
|
261
272
|
yield self
|
|
262
273
|
return GetVolumeResult(
|
|
274
|
+
accept_grow_capacity_pool_for_short_term_clone_split=self.accept_grow_capacity_pool_for_short_term_clone_split,
|
|
263
275
|
account_name=self.account_name,
|
|
264
276
|
data_protection_backup_policies=self.data_protection_backup_policies,
|
|
265
277
|
data_protection_replications=self.data_protection_replications,
|
|
@@ -311,7 +323,7 @@ def get_volume(account_name: Optional[_builtins.str] = None,
|
|
|
311
323
|
<!-- This section is generated, changes will be overwritten -->
|
|
312
324
|
This data source uses the following Azure API Providers:
|
|
313
325
|
|
|
314
|
-
* `Microsoft.NetApp` - 2025-
|
|
326
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
315
327
|
|
|
316
328
|
|
|
317
329
|
:param _builtins.str account_name: The name of the NetApp account where the NetApp pool exists.
|
|
@@ -330,6 +342,7 @@ def get_volume(account_name: Optional[_builtins.str] = None,
|
|
|
330
342
|
__ret__ = pulumi.runtime.invoke('azure:netapp/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult).value
|
|
331
343
|
|
|
332
344
|
return AwaitableGetVolumeResult(
|
|
345
|
+
accept_grow_capacity_pool_for_short_term_clone_split=pulumi.get(__ret__, 'accept_grow_capacity_pool_for_short_term_clone_split'),
|
|
333
346
|
account_name=pulumi.get(__ret__, 'account_name'),
|
|
334
347
|
data_protection_backup_policies=pulumi.get(__ret__, 'data_protection_backup_policies'),
|
|
335
348
|
data_protection_replications=pulumi.get(__ret__, 'data_protection_replications'),
|
|
@@ -379,7 +392,7 @@ def get_volume_output(account_name: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
379
392
|
<!-- This section is generated, changes will be overwritten -->
|
|
380
393
|
This data source uses the following Azure API Providers:
|
|
381
394
|
|
|
382
|
-
* `Microsoft.NetApp` - 2025-
|
|
395
|
+
* `Microsoft.NetApp` - 2025-06-01
|
|
383
396
|
|
|
384
397
|
|
|
385
398
|
:param _builtins.str account_name: The name of the NetApp account where the NetApp pool exists.
|
|
@@ -397,6 +410,7 @@ def get_volume_output(account_name: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
397
410
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
398
411
|
__ret__ = pulumi.runtime.invoke_output('azure:netapp/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult)
|
|
399
412
|
return __ret__.apply(lambda __response__: GetVolumeResult(
|
|
413
|
+
accept_grow_capacity_pool_for_short_term_clone_split=pulumi.get(__response__, 'accept_grow_capacity_pool_for_short_term_clone_split'),
|
|
400
414
|
account_name=pulumi.get(__response__, 'account_name'),
|
|
401
415
|
data_protection_backup_policies=pulumi.get(__response__, 'data_protection_backup_policies'),
|
|
402
416
|
data_protection_replications=pulumi.get(__response__, 'data_protection_replications'),
|