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/compute/_inputs.py
CHANGED
|
@@ -1554,15 +1554,11 @@ if not MYPY:
|
|
|
1554
1554
|
"""
|
|
1555
1555
|
The Type of Caching which should be used for the Internal OS Disk. Possible values are `None`, `ReadOnly` and `ReadWrite`.
|
|
1556
1556
|
"""
|
|
1557
|
-
storage_account_type: pulumi.Input[_builtins.str]
|
|
1558
|
-
"""
|
|
1559
|
-
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
1560
|
-
"""
|
|
1561
1557
|
diff_disk_settings: NotRequired[pulumi.Input['LinuxVirtualMachineOsDiskDiffDiskSettingsArgsDict']]
|
|
1562
1558
|
"""
|
|
1563
1559
|
A `diff_disk_settings` block as defined above. Changing this forces a new resource to be created.
|
|
1564
1560
|
|
|
1565
|
-
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment)
|
|
1561
|
+
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment). Additionally, this property cannot be set when an existing Managed Disk is used to create the Virtual Machine by setting `os_managed_disk_id`.
|
|
1566
1562
|
"""
|
|
1567
1563
|
disk_encryption_set_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1568
1564
|
"""
|
|
@@ -1583,6 +1579,8 @@ if not MYPY:
|
|
|
1583
1579
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1584
1580
|
"""
|
|
1585
1581
|
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
|
|
1582
|
+
|
|
1583
|
+
> **Note:** a value for `name` cannot be specified if/when the Virtual Machine is/has been created using an existing Managed Disk for the OS by setting `os_managed_disk_id`.
|
|
1586
1584
|
"""
|
|
1587
1585
|
secure_vm_disk_encryption_set_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
1588
1586
|
"""
|
|
@@ -1598,6 +1596,12 @@ if not MYPY:
|
|
|
1598
1596
|
|
|
1599
1597
|
> **NOTE:** `encryption_at_host_enabled` cannot be set to `true` when `security_encryption_type` is set to `DiskWithVMGuestState`.
|
|
1600
1598
|
"""
|
|
1599
|
+
storage_account_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1600
|
+
"""
|
|
1601
|
+
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
1602
|
+
|
|
1603
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
1604
|
+
"""
|
|
1601
1605
|
write_accelerator_enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1602
1606
|
"""
|
|
1603
1607
|
Should Write Accelerator be Enabled for this OS Disk? Defaults to `false`.
|
|
@@ -1611,7 +1615,6 @@ elif False:
|
|
|
1611
1615
|
class LinuxVirtualMachineOsDiskArgs:
|
|
1612
1616
|
def __init__(__self__, *,
|
|
1613
1617
|
caching: pulumi.Input[_builtins.str],
|
|
1614
|
-
storage_account_type: pulumi.Input[_builtins.str],
|
|
1615
1618
|
diff_disk_settings: Optional[pulumi.Input['LinuxVirtualMachineOsDiskDiffDiskSettingsArgs']] = None,
|
|
1616
1619
|
disk_encryption_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1617
1620
|
disk_size_gb: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -1619,13 +1622,13 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1619
1622
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1620
1623
|
secure_vm_disk_encryption_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1621
1624
|
security_encryption_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1625
|
+
storage_account_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1622
1626
|
write_accelerator_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
1623
1627
|
"""
|
|
1624
1628
|
:param pulumi.Input[_builtins.str] caching: The Type of Caching which should be used for the Internal OS Disk. Possible values are `None`, `ReadOnly` and `ReadWrite`.
|
|
1625
|
-
:param pulumi.Input[_builtins.str] storage_account_type: The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
1626
1629
|
:param pulumi.Input['LinuxVirtualMachineOsDiskDiffDiskSettingsArgs'] diff_disk_settings: A `diff_disk_settings` block as defined above. Changing this forces a new resource to be created.
|
|
1627
1630
|
|
|
1628
|
-
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment)
|
|
1631
|
+
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment). Additionally, this property cannot be set when an existing Managed Disk is used to create the Virtual Machine by setting `os_managed_disk_id`.
|
|
1629
1632
|
:param pulumi.Input[_builtins.str] disk_encryption_set_id: The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk. Conflicts with `secure_vm_disk_encryption_set_id`.
|
|
1630
1633
|
|
|
1631
1634
|
> **NOTE:** The Disk Encryption Set must have the `Reader` Role Assignment scoped on the Key Vault - in addition to an Access Policy to the Key Vault
|
|
@@ -1634,6 +1637,8 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1634
1637
|
> **NOTE:** If specified this must be equal to or larger than the size of the Image the Virtual Machine is based on. When creating a larger disk than exists in the image you'll need to repartition the disk to use the remaining space.
|
|
1635
1638
|
:param pulumi.Input[_builtins.str] id: The ID of the OS disk.
|
|
1636
1639
|
:param pulumi.Input[_builtins.str] name: The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
|
|
1640
|
+
|
|
1641
|
+
> **Note:** a value for `name` cannot be specified if/when the Virtual Machine is/has been created using an existing Managed Disk for the OS by setting `os_managed_disk_id`.
|
|
1637
1642
|
:param pulumi.Input[_builtins.str] secure_vm_disk_encryption_set_id: The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk when the Virtual Machine is a Confidential VM. Conflicts with `disk_encryption_set_id`. Changing this forces a new resource to be created.
|
|
1638
1643
|
|
|
1639
1644
|
> **NOTE:** `secure_vm_disk_encryption_set_id` can only be specified when `security_encryption_type` is set to `DiskWithVMGuestState`.
|
|
@@ -1642,12 +1647,14 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1642
1647
|
> **NOTE:** `vtpm_enabled` must be set to `true` when `security_encryption_type` is specified.
|
|
1643
1648
|
|
|
1644
1649
|
> **NOTE:** `encryption_at_host_enabled` cannot be set to `true` when `security_encryption_type` is set to `DiskWithVMGuestState`.
|
|
1650
|
+
:param pulumi.Input[_builtins.str] storage_account_type: The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
1651
|
+
|
|
1652
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
1645
1653
|
:param pulumi.Input[_builtins.bool] write_accelerator_enabled: Should Write Accelerator be Enabled for this OS Disk? Defaults to `false`.
|
|
1646
1654
|
|
|
1647
1655
|
> **NOTE:** This requires that the `storage_account_type` is set to `Premium_LRS` and that `caching` is set to `None`.
|
|
1648
1656
|
"""
|
|
1649
1657
|
pulumi.set(__self__, "caching", caching)
|
|
1650
|
-
pulumi.set(__self__, "storage_account_type", storage_account_type)
|
|
1651
1658
|
if diff_disk_settings is not None:
|
|
1652
1659
|
pulumi.set(__self__, "diff_disk_settings", diff_disk_settings)
|
|
1653
1660
|
if disk_encryption_set_id is not None:
|
|
@@ -1662,6 +1669,8 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1662
1669
|
pulumi.set(__self__, "secure_vm_disk_encryption_set_id", secure_vm_disk_encryption_set_id)
|
|
1663
1670
|
if security_encryption_type is not None:
|
|
1664
1671
|
pulumi.set(__self__, "security_encryption_type", security_encryption_type)
|
|
1672
|
+
if storage_account_type is not None:
|
|
1673
|
+
pulumi.set(__self__, "storage_account_type", storage_account_type)
|
|
1665
1674
|
if write_accelerator_enabled is not None:
|
|
1666
1675
|
pulumi.set(__self__, "write_accelerator_enabled", write_accelerator_enabled)
|
|
1667
1676
|
|
|
@@ -1677,25 +1686,13 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1677
1686
|
def caching(self, value: pulumi.Input[_builtins.str]):
|
|
1678
1687
|
pulumi.set(self, "caching", value)
|
|
1679
1688
|
|
|
1680
|
-
@_builtins.property
|
|
1681
|
-
@pulumi.getter(name="storageAccountType")
|
|
1682
|
-
def storage_account_type(self) -> pulumi.Input[_builtins.str]:
|
|
1683
|
-
"""
|
|
1684
|
-
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
1685
|
-
"""
|
|
1686
|
-
return pulumi.get(self, "storage_account_type")
|
|
1687
|
-
|
|
1688
|
-
@storage_account_type.setter
|
|
1689
|
-
def storage_account_type(self, value: pulumi.Input[_builtins.str]):
|
|
1690
|
-
pulumi.set(self, "storage_account_type", value)
|
|
1691
|
-
|
|
1692
1689
|
@_builtins.property
|
|
1693
1690
|
@pulumi.getter(name="diffDiskSettings")
|
|
1694
1691
|
def diff_disk_settings(self) -> Optional[pulumi.Input['LinuxVirtualMachineOsDiskDiffDiskSettingsArgs']]:
|
|
1695
1692
|
"""
|
|
1696
1693
|
A `diff_disk_settings` block as defined above. Changing this forces a new resource to be created.
|
|
1697
1694
|
|
|
1698
|
-
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment)
|
|
1695
|
+
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment). Additionally, this property cannot be set when an existing Managed Disk is used to create the Virtual Machine by setting `os_managed_disk_id`.
|
|
1699
1696
|
"""
|
|
1700
1697
|
return pulumi.get(self, "diff_disk_settings")
|
|
1701
1698
|
|
|
@@ -1748,6 +1745,8 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1748
1745
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1749
1746
|
"""
|
|
1750
1747
|
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
|
|
1748
|
+
|
|
1749
|
+
> **Note:** a value for `name` cannot be specified if/when the Virtual Machine is/has been created using an existing Managed Disk for the OS by setting `os_managed_disk_id`.
|
|
1751
1750
|
"""
|
|
1752
1751
|
return pulumi.get(self, "name")
|
|
1753
1752
|
|
|
@@ -1785,6 +1784,20 @@ class LinuxVirtualMachineOsDiskArgs:
|
|
|
1785
1784
|
def security_encryption_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1786
1785
|
pulumi.set(self, "security_encryption_type", value)
|
|
1787
1786
|
|
|
1787
|
+
@_builtins.property
|
|
1788
|
+
@pulumi.getter(name="storageAccountType")
|
|
1789
|
+
def storage_account_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1790
|
+
"""
|
|
1791
|
+
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
1792
|
+
|
|
1793
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
1794
|
+
"""
|
|
1795
|
+
return pulumi.get(self, "storage_account_type")
|
|
1796
|
+
|
|
1797
|
+
@storage_account_type.setter
|
|
1798
|
+
def storage_account_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1799
|
+
pulumi.set(self, "storage_account_type", value)
|
|
1800
|
+
|
|
1788
1801
|
@_builtins.property
|
|
1789
1802
|
@pulumi.getter(name="writeAcceleratorEnabled")
|
|
1790
1803
|
def write_accelerator_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -1808,7 +1821,9 @@ if not MYPY:
|
|
|
1808
1821
|
"""
|
|
1809
1822
|
placement: NotRequired[pulumi.Input[_builtins.str]]
|
|
1810
1823
|
"""
|
|
1811
|
-
Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk` and `
|
|
1824
|
+
Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk`, `ResourceDisk` and `NvmeDisk`. Defaults to `CacheDisk`. Changing this forces a new resource to be created.
|
|
1825
|
+
|
|
1826
|
+
> **Note:** `NvmeDisk` can only be used for v6 VMs in combination with a supported `source_image_reference`. More information can be found [here](https://learn.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks)
|
|
1812
1827
|
"""
|
|
1813
1828
|
elif False:
|
|
1814
1829
|
LinuxVirtualMachineOsDiskDiffDiskSettingsArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1820,7 +1835,9 @@ class LinuxVirtualMachineOsDiskDiffDiskSettingsArgs:
|
|
|
1820
1835
|
placement: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1821
1836
|
"""
|
|
1822
1837
|
:param pulumi.Input[_builtins.str] option: Specifies the Ephemeral Disk Settings for the OS Disk. At this time the only possible value is `Local`. Changing this forces a new resource to be created.
|
|
1823
|
-
:param pulumi.Input[_builtins.str] placement: Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk` and `
|
|
1838
|
+
:param pulumi.Input[_builtins.str] placement: Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk`, `ResourceDisk` and `NvmeDisk`. Defaults to `CacheDisk`. Changing this forces a new resource to be created.
|
|
1839
|
+
|
|
1840
|
+
> **Note:** `NvmeDisk` can only be used for v6 VMs in combination with a supported `source_image_reference`. More information can be found [here](https://learn.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks)
|
|
1824
1841
|
"""
|
|
1825
1842
|
pulumi.set(__self__, "option", option)
|
|
1826
1843
|
if placement is not None:
|
|
@@ -1842,7 +1859,9 @@ class LinuxVirtualMachineOsDiskDiffDiskSettingsArgs:
|
|
|
1842
1859
|
@pulumi.getter
|
|
1843
1860
|
def placement(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1844
1861
|
"""
|
|
1845
|
-
Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk` and `
|
|
1862
|
+
Specifies where to store the Ephemeral Disk. Possible values are `CacheDisk`, `ResourceDisk` and `NvmeDisk`. Defaults to `CacheDisk`. Changing this forces a new resource to be created.
|
|
1863
|
+
|
|
1864
|
+
> **Note:** `NvmeDisk` can only be used for v6 VMs in combination with a supported `source_image_reference`. More information can be found [here](https://learn.microsoft.com/en-us/azure/virtual-machines/ephemeral-os-disks)
|
|
1846
1865
|
"""
|
|
1847
1866
|
return pulumi.get(self, "placement")
|
|
1848
1867
|
|
|
@@ -12904,15 +12923,11 @@ if not MYPY:
|
|
|
12904
12923
|
"""
|
|
12905
12924
|
The Type of Caching which should be used for the Internal OS Disk. Possible values are `None`, `ReadOnly` and `ReadWrite`.
|
|
12906
12925
|
"""
|
|
12907
|
-
storage_account_type: pulumi.Input[_builtins.str]
|
|
12908
|
-
"""
|
|
12909
|
-
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
12910
|
-
"""
|
|
12911
12926
|
diff_disk_settings: NotRequired[pulumi.Input['WindowsVirtualMachineOsDiskDiffDiskSettingsArgsDict']]
|
|
12912
12927
|
"""
|
|
12913
12928
|
A `diff_disk_settings` block as defined above. Changing this forces a new resource to be created.
|
|
12914
12929
|
|
|
12915
|
-
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment)
|
|
12930
|
+
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment). Additionally, this property cannot be set when an existing Managed Disk is used to create the Virtual Machine by setting `os_managed_disk_id`.
|
|
12916
12931
|
"""
|
|
12917
12932
|
disk_encryption_set_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
12918
12933
|
"""
|
|
@@ -12933,6 +12948,8 @@ if not MYPY:
|
|
|
12933
12948
|
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
12934
12949
|
"""
|
|
12935
12950
|
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
|
|
12951
|
+
|
|
12952
|
+
> **Note:** a value for `name` cannot be specified if/when the Virtual Machine has been created using an existing Managed Disk for the OS by setting `os_managed_disk_id`.
|
|
12936
12953
|
"""
|
|
12937
12954
|
secure_vm_disk_encryption_set_id: NotRequired[pulumi.Input[_builtins.str]]
|
|
12938
12955
|
"""
|
|
@@ -12948,6 +12965,12 @@ if not MYPY:
|
|
|
12948
12965
|
|
|
12949
12966
|
> **NOTE:** `encryption_at_host_enabled` cannot be set to `true` when `security_encryption_type` is set to `DiskWithVMGuestState`.
|
|
12950
12967
|
"""
|
|
12968
|
+
storage_account_type: NotRequired[pulumi.Input[_builtins.str]]
|
|
12969
|
+
"""
|
|
12970
|
+
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
12971
|
+
|
|
12972
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
12973
|
+
"""
|
|
12951
12974
|
write_accelerator_enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
12952
12975
|
"""
|
|
12953
12976
|
Should Write Accelerator be Enabled for this OS Disk? Defaults to `false`.
|
|
@@ -12961,7 +12984,6 @@ elif False:
|
|
|
12961
12984
|
class WindowsVirtualMachineOsDiskArgs:
|
|
12962
12985
|
def __init__(__self__, *,
|
|
12963
12986
|
caching: pulumi.Input[_builtins.str],
|
|
12964
|
-
storage_account_type: pulumi.Input[_builtins.str],
|
|
12965
12987
|
diff_disk_settings: Optional[pulumi.Input['WindowsVirtualMachineOsDiskDiffDiskSettingsArgs']] = None,
|
|
12966
12988
|
disk_encryption_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12967
12989
|
disk_size_gb: Optional[pulumi.Input[_builtins.int]] = None,
|
|
@@ -12969,13 +12991,13 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
12969
12991
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12970
12992
|
secure_vm_disk_encryption_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12971
12993
|
security_encryption_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12994
|
+
storage_account_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
12972
12995
|
write_accelerator_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
12973
12996
|
"""
|
|
12974
12997
|
:param pulumi.Input[_builtins.str] caching: The Type of Caching which should be used for the Internal OS Disk. Possible values are `None`, `ReadOnly` and `ReadWrite`.
|
|
12975
|
-
:param pulumi.Input[_builtins.str] storage_account_type: The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
12976
12998
|
:param pulumi.Input['WindowsVirtualMachineOsDiskDiffDiskSettingsArgs'] diff_disk_settings: A `diff_disk_settings` block as defined above. Changing this forces a new resource to be created.
|
|
12977
12999
|
|
|
12978
|
-
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment)
|
|
13000
|
+
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment). Additionally, this property cannot be set when an existing Managed Disk is used to create the Virtual Machine by setting `os_managed_disk_id`.
|
|
12979
13001
|
:param pulumi.Input[_builtins.str] disk_encryption_set_id: The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk. Conflicts with `secure_vm_disk_encryption_set_id`.
|
|
12980
13002
|
|
|
12981
13003
|
> **NOTE:** The Disk Encryption Set must have the `Reader` Role Assignment scoped on the Key Vault - in addition to an Access Policy to the Key Vault
|
|
@@ -12984,6 +13006,8 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
12984
13006
|
> **NOTE:** If specified this must be equal to or larger than the size of the Image the Virtual Machine is based on. When creating a larger disk than exists in the image you'll need to repartition the disk to use the remaining space.
|
|
12985
13007
|
:param pulumi.Input[_builtins.str] id: The ID of the OS disk.
|
|
12986
13008
|
:param pulumi.Input[_builtins.str] name: The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
|
|
13009
|
+
|
|
13010
|
+
> **Note:** a value for `name` cannot be specified if/when the Virtual Machine has been created using an existing Managed Disk for the OS by setting `os_managed_disk_id`.
|
|
12987
13011
|
:param pulumi.Input[_builtins.str] secure_vm_disk_encryption_set_id: The ID of the Disk Encryption Set which should be used to Encrypt this OS Disk when the Virtual Machine is a Confidential VM. Conflicts with `disk_encryption_set_id`. Changing this forces a new resource to be created.
|
|
12988
13012
|
|
|
12989
13013
|
> **NOTE:** `secure_vm_disk_encryption_set_id` can only be specified when `security_encryption_type` is set to `DiskWithVMGuestState`.
|
|
@@ -12992,12 +13016,14 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
12992
13016
|
> **NOTE:** `vtpm_enabled` must be set to `true` when `security_encryption_type` is specified.
|
|
12993
13017
|
|
|
12994
13018
|
> **NOTE:** `encryption_at_host_enabled` cannot be set to `true` when `security_encryption_type` is set to `DiskWithVMGuestState`.
|
|
13019
|
+
:param pulumi.Input[_builtins.str] storage_account_type: The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
13020
|
+
|
|
13021
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
12995
13022
|
:param pulumi.Input[_builtins.bool] write_accelerator_enabled: Should Write Accelerator be Enabled for this OS Disk? Defaults to `false`.
|
|
12996
13023
|
|
|
12997
13024
|
> **NOTE:** This requires that the `storage_account_type` is set to `Premium_LRS` and that `caching` is set to `None`.
|
|
12998
13025
|
"""
|
|
12999
13026
|
pulumi.set(__self__, "caching", caching)
|
|
13000
|
-
pulumi.set(__self__, "storage_account_type", storage_account_type)
|
|
13001
13027
|
if diff_disk_settings is not None:
|
|
13002
13028
|
pulumi.set(__self__, "diff_disk_settings", diff_disk_settings)
|
|
13003
13029
|
if disk_encryption_set_id is not None:
|
|
@@ -13012,6 +13038,8 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
13012
13038
|
pulumi.set(__self__, "secure_vm_disk_encryption_set_id", secure_vm_disk_encryption_set_id)
|
|
13013
13039
|
if security_encryption_type is not None:
|
|
13014
13040
|
pulumi.set(__self__, "security_encryption_type", security_encryption_type)
|
|
13041
|
+
if storage_account_type is not None:
|
|
13042
|
+
pulumi.set(__self__, "storage_account_type", storage_account_type)
|
|
13015
13043
|
if write_accelerator_enabled is not None:
|
|
13016
13044
|
pulumi.set(__self__, "write_accelerator_enabled", write_accelerator_enabled)
|
|
13017
13045
|
|
|
@@ -13027,25 +13055,13 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
13027
13055
|
def caching(self, value: pulumi.Input[_builtins.str]):
|
|
13028
13056
|
pulumi.set(self, "caching", value)
|
|
13029
13057
|
|
|
13030
|
-
@_builtins.property
|
|
13031
|
-
@pulumi.getter(name="storageAccountType")
|
|
13032
|
-
def storage_account_type(self) -> pulumi.Input[_builtins.str]:
|
|
13033
|
-
"""
|
|
13034
|
-
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
13035
|
-
"""
|
|
13036
|
-
return pulumi.get(self, "storage_account_type")
|
|
13037
|
-
|
|
13038
|
-
@storage_account_type.setter
|
|
13039
|
-
def storage_account_type(self, value: pulumi.Input[_builtins.str]):
|
|
13040
|
-
pulumi.set(self, "storage_account_type", value)
|
|
13041
|
-
|
|
13042
13058
|
@_builtins.property
|
|
13043
13059
|
@pulumi.getter(name="diffDiskSettings")
|
|
13044
13060
|
def diff_disk_settings(self) -> Optional[pulumi.Input['WindowsVirtualMachineOsDiskDiffDiskSettingsArgs']]:
|
|
13045
13061
|
"""
|
|
13046
13062
|
A `diff_disk_settings` block as defined above. Changing this forces a new resource to be created.
|
|
13047
13063
|
|
|
13048
|
-
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment)
|
|
13064
|
+
> **NOTE:** `diff_disk_settings` can only be set when `caching` is set to `ReadOnly`. More information can be found [here](https://docs.microsoft.com/azure/virtual-machines/ephemeral-os-disks-deploy#vm-template-deployment). Additionally, this property cannot be set when an existing Managed Disk is used to create the Virtual Machine by setting `os_managed_disk_id`.
|
|
13049
13065
|
"""
|
|
13050
13066
|
return pulumi.get(self, "diff_disk_settings")
|
|
13051
13067
|
|
|
@@ -13098,6 +13114,8 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
13098
13114
|
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
13099
13115
|
"""
|
|
13100
13116
|
The name which should be used for the Internal OS Disk. Changing this forces a new resource to be created.
|
|
13117
|
+
|
|
13118
|
+
> **Note:** a value for `name` cannot be specified if/when the Virtual Machine has been created using an existing Managed Disk for the OS by setting `os_managed_disk_id`.
|
|
13101
13119
|
"""
|
|
13102
13120
|
return pulumi.get(self, "name")
|
|
13103
13121
|
|
|
@@ -13135,6 +13153,20 @@ class WindowsVirtualMachineOsDiskArgs:
|
|
|
13135
13153
|
def security_encryption_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
13136
13154
|
pulumi.set(self, "security_encryption_type", value)
|
|
13137
13155
|
|
|
13156
|
+
@_builtins.property
|
|
13157
|
+
@pulumi.getter(name="storageAccountType")
|
|
13158
|
+
def storage_account_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
13159
|
+
"""
|
|
13160
|
+
The Type of Storage Account which should back this the Internal OS Disk. Possible values are `Standard_LRS`, `StandardSSD_LRS`, `Premium_LRS`, `StandardSSD_ZRS` and `Premium_ZRS`. Changing this forces a new resource to be created.
|
|
13161
|
+
|
|
13162
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
13163
|
+
"""
|
|
13164
|
+
return pulumi.get(self, "storage_account_type")
|
|
13165
|
+
|
|
13166
|
+
@storage_account_type.setter
|
|
13167
|
+
def storage_account_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
13168
|
+
pulumi.set(self, "storage_account_type", value)
|
|
13169
|
+
|
|
13138
13170
|
@_builtins.property
|
|
13139
13171
|
@pulumi.getter(name="writeAcceleratorEnabled")
|
|
13140
13172
|
def write_accelerator_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from .. import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetManagedDisksResult',
|
|
20
|
+
'AwaitableGetManagedDisksResult',
|
|
21
|
+
'get_managed_disks',
|
|
22
|
+
'get_managed_disks_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetManagedDisksResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getManagedDisks.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, disks=None, id=None, resource_group_name=None):
|
|
31
|
+
if disks and not isinstance(disks, list):
|
|
32
|
+
raise TypeError("Expected argument 'disks' to be a list")
|
|
33
|
+
pulumi.set(__self__, "disks", disks)
|
|
34
|
+
if id and not isinstance(id, str):
|
|
35
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "id", id)
|
|
37
|
+
if resource_group_name and not isinstance(resource_group_name, str):
|
|
38
|
+
raise TypeError("Expected argument 'resource_group_name' to be a str")
|
|
39
|
+
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def disks(self) -> Sequence['outputs.GetManagedDisksDiskResult']:
|
|
44
|
+
"""
|
|
45
|
+
a `disk` block as detailed below.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "disks")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter
|
|
51
|
+
def id(self) -> _builtins.str:
|
|
52
|
+
"""
|
|
53
|
+
The provider-assigned unique ID for this managed resource.
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "id")
|
|
56
|
+
|
|
57
|
+
@_builtins.property
|
|
58
|
+
@pulumi.getter(name="resourceGroupName")
|
|
59
|
+
def resource_group_name(self) -> _builtins.str:
|
|
60
|
+
return pulumi.get(self, "resource_group_name")
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class AwaitableGetManagedDisksResult(GetManagedDisksResult):
|
|
64
|
+
# pylint: disable=using-constant-test
|
|
65
|
+
def __await__(self):
|
|
66
|
+
if False:
|
|
67
|
+
yield self
|
|
68
|
+
return GetManagedDisksResult(
|
|
69
|
+
disks=self.disks,
|
|
70
|
+
id=self.id,
|
|
71
|
+
resource_group_name=self.resource_group_name)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def get_managed_disks(resource_group_name: Optional[_builtins.str] = None,
|
|
75
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedDisksResult:
|
|
76
|
+
"""
|
|
77
|
+
Use this data source to access information about an existing Managed Disk.
|
|
78
|
+
|
|
79
|
+
## Example Usage
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
import pulumi
|
|
83
|
+
import pulumi_azure as azure
|
|
84
|
+
|
|
85
|
+
existing = azure.compute.get_managed_disks(resource_group_name="example-resources")
|
|
86
|
+
pulumi.export("firstDiskId", existing_azurerm_managed_disk["disk"][0]["id"])
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## API Providers
|
|
90
|
+
|
|
91
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
92
|
+
This data source uses the following Azure API Providers:
|
|
93
|
+
|
|
94
|
+
* `Microsoft.Compute` - 2023-04-02
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param _builtins.str resource_group_name: Specifies the name of the Resource Group where this Managed Disk exists.
|
|
98
|
+
"""
|
|
99
|
+
__args__ = dict()
|
|
100
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
101
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
102
|
+
__ret__ = pulumi.runtime.invoke('azure:compute/getManagedDisks:getManagedDisks', __args__, opts=opts, typ=GetManagedDisksResult).value
|
|
103
|
+
|
|
104
|
+
return AwaitableGetManagedDisksResult(
|
|
105
|
+
disks=pulumi.get(__ret__, 'disks'),
|
|
106
|
+
id=pulumi.get(__ret__, 'id'),
|
|
107
|
+
resource_group_name=pulumi.get(__ret__, 'resource_group_name'))
|
|
108
|
+
def get_managed_disks_output(resource_group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
109
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetManagedDisksResult]:
|
|
110
|
+
"""
|
|
111
|
+
Use this data source to access information about an existing Managed Disk.
|
|
112
|
+
|
|
113
|
+
## Example Usage
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
import pulumi
|
|
117
|
+
import pulumi_azure as azure
|
|
118
|
+
|
|
119
|
+
existing = azure.compute.get_managed_disks(resource_group_name="example-resources")
|
|
120
|
+
pulumi.export("firstDiskId", existing_azurerm_managed_disk["disk"][0]["id"])
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## API Providers
|
|
124
|
+
|
|
125
|
+
<!-- This section is generated, changes will be overwritten -->
|
|
126
|
+
This data source uses the following Azure API Providers:
|
|
127
|
+
|
|
128
|
+
* `Microsoft.Compute` - 2023-04-02
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param _builtins.str resource_group_name: Specifies the name of the Resource Group where this Managed Disk exists.
|
|
132
|
+
"""
|
|
133
|
+
__args__ = dict()
|
|
134
|
+
__args__['resourceGroupName'] = resource_group_name
|
|
135
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke_output('azure:compute/getManagedDisks:getManagedDisks', __args__, opts=opts, typ=GetManagedDisksResult)
|
|
137
|
+
return __ret__.apply(lambda __response__: GetManagedDisksResult(
|
|
138
|
+
disks=pulumi.get(__response__, 'disks'),
|
|
139
|
+
id=pulumi.get(__response__, 'id'),
|
|
140
|
+
resource_group_name=pulumi.get(__response__, 'resource_group_name')))
|