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
|
@@ -21,15 +21,16 @@ __all__ = ['WindowsVirtualMachineArgs', 'WindowsVirtualMachine']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class WindowsVirtualMachineArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
admin_password: pulumi.Input[_builtins.str],
|
|
25
|
-
admin_username: pulumi.Input[_builtins.str],
|
|
26
24
|
network_interface_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
27
25
|
os_disk: pulumi.Input['WindowsVirtualMachineOsDiskArgs'],
|
|
28
26
|
resource_group_name: pulumi.Input[_builtins.str],
|
|
29
27
|
size: pulumi.Input[_builtins.str],
|
|
30
28
|
additional_capabilities: Optional[pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs']] = None,
|
|
31
29
|
additional_unattend_contents: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]] = None,
|
|
30
|
+
admin_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
admin_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
32
|
allow_extension_operations: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
33
|
+
automatic_updates_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
33
34
|
availability_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
35
|
boot_diagnostics: Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']] = None,
|
|
35
36
|
bypass_platform_safety_checks_on_user_schedule_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -52,6 +53,7 @@ class WindowsVirtualMachineArgs:
|
|
|
52
53
|
max_bid_price: Optional[pulumi.Input[_builtins.float]] = None,
|
|
53
54
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
54
55
|
os_image_notification: Optional[pulumi.Input['WindowsVirtualMachineOsImageNotificationArgs']] = None,
|
|
56
|
+
os_managed_disk_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
55
57
|
patch_assessment_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
56
58
|
patch_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
57
59
|
plan: Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']] = None,
|
|
@@ -75,14 +77,18 @@ class WindowsVirtualMachineArgs:
|
|
|
75
77
|
zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
76
78
|
"""
|
|
77
79
|
The set of arguments for constructing a WindowsVirtualMachine resource.
|
|
78
|
-
:param pulumi.Input[_builtins.str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
79
|
-
:param pulumi.Input[_builtins.str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
80
80
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interface_ids: . A list of Network Interface IDs which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
|
|
81
81
|
:param pulumi.Input['WindowsVirtualMachineOsDiskArgs'] os_disk: An `os_disk` block as defined below.
|
|
82
82
|
:param pulumi.Input[_builtins.str] resource_group_name: The name of the Resource Group in which the Windows Virtual Machine should be exist. Changing this forces a new resource to be created.
|
|
83
83
|
:param pulumi.Input[_builtins.str] size: The SKU which should be used for this Virtual Machine, such as `Standard_F2`.
|
|
84
84
|
:param pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs'] additional_capabilities: A `additional_capabilities` block as defined below.
|
|
85
85
|
:param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
|
|
86
|
+
:param pulumi.Input[_builtins.str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
87
|
+
|
|
88
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
89
|
+
:param pulumi.Input[_builtins.str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
90
|
+
|
|
91
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
86
92
|
:param pulumi.Input[_builtins.bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine? Defaults to `true`.
|
|
87
93
|
:param pulumi.Input[_builtins.str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
|
|
88
94
|
:param pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs'] boot_diagnostics: A `boot_diagnostics` block as defined below.
|
|
@@ -118,6 +124,9 @@ class WindowsVirtualMachineArgs:
|
|
|
118
124
|
> **NOTE:** This can only be configured when `priority` is set to `Spot`.
|
|
119
125
|
:param pulumi.Input[_builtins.str] name: The name of the Windows Virtual Machine. Changing this forces a new resource to be created.
|
|
120
126
|
:param pulumi.Input['WindowsVirtualMachineOsImageNotificationArgs'] os_image_notification: A `os_image_notification` block as defined below.
|
|
127
|
+
:param pulumi.Input[_builtins.str] os_managed_disk_id: The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
128
|
+
|
|
129
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
121
130
|
:param pulumi.Input[_builtins.str] patch_assessment_mode: Specifies the mode of VM Guest Patching for the Virtual Machine. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
|
|
122
131
|
|
|
123
132
|
> **NOTE:** If the `patch_assessment_mode` is set to `AutomaticByPlatform` then the `provision_vm_agent` field must be set to `true`.
|
|
@@ -158,8 +167,6 @@ class WindowsVirtualMachineArgs:
|
|
|
158
167
|
:param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineWinrmListenerArgs']]] winrm_listeners: One or more `winrm_listener` blocks as defined below. Changing this forces a new resource to be created.
|
|
159
168
|
:param pulumi.Input[_builtins.str] zone: * `zones` - (Optional) Specifies the Availability Zone in which this Windows Virtual Machine should be located. Changing this forces a new Windows Virtual Machine to be created.
|
|
160
169
|
"""
|
|
161
|
-
pulumi.set(__self__, "admin_password", admin_password)
|
|
162
|
-
pulumi.set(__self__, "admin_username", admin_username)
|
|
163
170
|
pulumi.set(__self__, "network_interface_ids", network_interface_ids)
|
|
164
171
|
pulumi.set(__self__, "os_disk", os_disk)
|
|
165
172
|
pulumi.set(__self__, "resource_group_name", resource_group_name)
|
|
@@ -168,8 +175,14 @@ class WindowsVirtualMachineArgs:
|
|
|
168
175
|
pulumi.set(__self__, "additional_capabilities", additional_capabilities)
|
|
169
176
|
if additional_unattend_contents is not None:
|
|
170
177
|
pulumi.set(__self__, "additional_unattend_contents", additional_unattend_contents)
|
|
178
|
+
if admin_password is not None:
|
|
179
|
+
pulumi.set(__self__, "admin_password", admin_password)
|
|
180
|
+
if admin_username is not None:
|
|
181
|
+
pulumi.set(__self__, "admin_username", admin_username)
|
|
171
182
|
if allow_extension_operations is not None:
|
|
172
183
|
pulumi.set(__self__, "allow_extension_operations", allow_extension_operations)
|
|
184
|
+
if automatic_updates_enabled is not None:
|
|
185
|
+
pulumi.set(__self__, "automatic_updates_enabled", automatic_updates_enabled)
|
|
173
186
|
if availability_set_id is not None:
|
|
174
187
|
pulumi.set(__self__, "availability_set_id", availability_set_id)
|
|
175
188
|
if boot_diagnostics is not None:
|
|
@@ -190,6 +203,9 @@ class WindowsVirtualMachineArgs:
|
|
|
190
203
|
pulumi.set(__self__, "disk_controller_type", disk_controller_type)
|
|
191
204
|
if edge_zone is not None:
|
|
192
205
|
pulumi.set(__self__, "edge_zone", edge_zone)
|
|
206
|
+
if enable_automatic_updates is not None:
|
|
207
|
+
warnings.warn("""this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""", DeprecationWarning)
|
|
208
|
+
pulumi.log.warn("""enable_automatic_updates is deprecated: this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""")
|
|
193
209
|
if enable_automatic_updates is not None:
|
|
194
210
|
pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
|
|
195
211
|
if encryption_at_host_enabled is not None:
|
|
@@ -214,6 +230,8 @@ class WindowsVirtualMachineArgs:
|
|
|
214
230
|
pulumi.set(__self__, "name", name)
|
|
215
231
|
if os_image_notification is not None:
|
|
216
232
|
pulumi.set(__self__, "os_image_notification", os_image_notification)
|
|
233
|
+
if os_managed_disk_id is not None:
|
|
234
|
+
pulumi.set(__self__, "os_managed_disk_id", os_managed_disk_id)
|
|
217
235
|
if patch_assessment_mode is not None:
|
|
218
236
|
pulumi.set(__self__, "patch_assessment_mode", patch_assessment_mode)
|
|
219
237
|
if patch_mode is not None:
|
|
@@ -260,30 +278,6 @@ class WindowsVirtualMachineArgs:
|
|
|
260
278
|
if zone is not None:
|
|
261
279
|
pulumi.set(__self__, "zone", zone)
|
|
262
280
|
|
|
263
|
-
@_builtins.property
|
|
264
|
-
@pulumi.getter(name="adminPassword")
|
|
265
|
-
def admin_password(self) -> pulumi.Input[_builtins.str]:
|
|
266
|
-
"""
|
|
267
|
-
The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
268
|
-
"""
|
|
269
|
-
return pulumi.get(self, "admin_password")
|
|
270
|
-
|
|
271
|
-
@admin_password.setter
|
|
272
|
-
def admin_password(self, value: pulumi.Input[_builtins.str]):
|
|
273
|
-
pulumi.set(self, "admin_password", value)
|
|
274
|
-
|
|
275
|
-
@_builtins.property
|
|
276
|
-
@pulumi.getter(name="adminUsername")
|
|
277
|
-
def admin_username(self) -> pulumi.Input[_builtins.str]:
|
|
278
|
-
"""
|
|
279
|
-
The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
280
|
-
"""
|
|
281
|
-
return pulumi.get(self, "admin_username")
|
|
282
|
-
|
|
283
|
-
@admin_username.setter
|
|
284
|
-
def admin_username(self, value: pulumi.Input[_builtins.str]):
|
|
285
|
-
pulumi.set(self, "admin_username", value)
|
|
286
|
-
|
|
287
281
|
@_builtins.property
|
|
288
282
|
@pulumi.getter(name="networkInterfaceIds")
|
|
289
283
|
def network_interface_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
@@ -356,6 +350,34 @@ class WindowsVirtualMachineArgs:
|
|
|
356
350
|
def additional_unattend_contents(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]]]):
|
|
357
351
|
pulumi.set(self, "additional_unattend_contents", value)
|
|
358
352
|
|
|
353
|
+
@_builtins.property
|
|
354
|
+
@pulumi.getter(name="adminPassword")
|
|
355
|
+
def admin_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
356
|
+
"""
|
|
357
|
+
The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
358
|
+
|
|
359
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
360
|
+
"""
|
|
361
|
+
return pulumi.get(self, "admin_password")
|
|
362
|
+
|
|
363
|
+
@admin_password.setter
|
|
364
|
+
def admin_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
365
|
+
pulumi.set(self, "admin_password", value)
|
|
366
|
+
|
|
367
|
+
@_builtins.property
|
|
368
|
+
@pulumi.getter(name="adminUsername")
|
|
369
|
+
def admin_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
370
|
+
"""
|
|
371
|
+
The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
372
|
+
|
|
373
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
374
|
+
"""
|
|
375
|
+
return pulumi.get(self, "admin_username")
|
|
376
|
+
|
|
377
|
+
@admin_username.setter
|
|
378
|
+
def admin_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
379
|
+
pulumi.set(self, "admin_username", value)
|
|
380
|
+
|
|
359
381
|
@_builtins.property
|
|
360
382
|
@pulumi.getter(name="allowExtensionOperations")
|
|
361
383
|
def allow_extension_operations(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
@@ -368,6 +390,15 @@ class WindowsVirtualMachineArgs:
|
|
|
368
390
|
def allow_extension_operations(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
369
391
|
pulumi.set(self, "allow_extension_operations", value)
|
|
370
392
|
|
|
393
|
+
@_builtins.property
|
|
394
|
+
@pulumi.getter(name="automaticUpdatesEnabled")
|
|
395
|
+
def automatic_updates_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
396
|
+
return pulumi.get(self, "automatic_updates_enabled")
|
|
397
|
+
|
|
398
|
+
@automatic_updates_enabled.setter
|
|
399
|
+
def automatic_updates_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
400
|
+
pulumi.set(self, "automatic_updates_enabled", value)
|
|
401
|
+
|
|
371
402
|
@_builtins.property
|
|
372
403
|
@pulumi.getter(name="availabilitySetId")
|
|
373
404
|
def availability_set_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -494,6 +525,7 @@ class WindowsVirtualMachineArgs:
|
|
|
494
525
|
|
|
495
526
|
@_builtins.property
|
|
496
527
|
@pulumi.getter(name="enableAutomaticUpdates")
|
|
528
|
+
@_utilities.deprecated("""this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""")
|
|
497
529
|
def enable_automatic_updates(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
498
530
|
"""
|
|
499
531
|
Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created. Defaults to `true`.
|
|
@@ -644,6 +676,20 @@ class WindowsVirtualMachineArgs:
|
|
|
644
676
|
def os_image_notification(self, value: Optional[pulumi.Input['WindowsVirtualMachineOsImageNotificationArgs']]):
|
|
645
677
|
pulumi.set(self, "os_image_notification", value)
|
|
646
678
|
|
|
679
|
+
@_builtins.property
|
|
680
|
+
@pulumi.getter(name="osManagedDiskId")
|
|
681
|
+
def os_managed_disk_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
682
|
+
"""
|
|
683
|
+
The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
684
|
+
|
|
685
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
686
|
+
"""
|
|
687
|
+
return pulumi.get(self, "os_managed_disk_id")
|
|
688
|
+
|
|
689
|
+
@os_managed_disk_id.setter
|
|
690
|
+
def os_managed_disk_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
691
|
+
pulumi.set(self, "os_managed_disk_id", value)
|
|
692
|
+
|
|
647
693
|
@_builtins.property
|
|
648
694
|
@pulumi.getter(name="patchAssessmentMode")
|
|
649
695
|
def patch_assessment_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -924,6 +970,7 @@ class _WindowsVirtualMachineState:
|
|
|
924
970
|
admin_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
925
971
|
admin_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
926
972
|
allow_extension_operations: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
973
|
+
automatic_updates_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
927
974
|
availability_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
928
975
|
boot_diagnostics: Optional[pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs']] = None,
|
|
929
976
|
bypass_platform_safety_checks_on_user_schedule_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -948,6 +995,7 @@ class _WindowsVirtualMachineState:
|
|
|
948
995
|
network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
949
996
|
os_disk: Optional[pulumi.Input['WindowsVirtualMachineOsDiskArgs']] = None,
|
|
950
997
|
os_image_notification: Optional[pulumi.Input['WindowsVirtualMachineOsImageNotificationArgs']] = None,
|
|
998
|
+
os_managed_disk_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
951
999
|
patch_assessment_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
1000
|
patch_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
1001
|
plan: Optional[pulumi.Input['WindowsVirtualMachinePlanArgs']] = None,
|
|
@@ -981,7 +1029,11 @@ class _WindowsVirtualMachineState:
|
|
|
981
1029
|
:param pulumi.Input['WindowsVirtualMachineAdditionalCapabilitiesArgs'] additional_capabilities: A `additional_capabilities` block as defined below.
|
|
982
1030
|
:param pulumi.Input[Sequence[pulumi.Input['WindowsVirtualMachineAdditionalUnattendContentArgs']]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
|
|
983
1031
|
:param pulumi.Input[_builtins.str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
1032
|
+
|
|
1033
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
984
1034
|
:param pulumi.Input[_builtins.str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
1035
|
+
|
|
1036
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
985
1037
|
:param pulumi.Input[_builtins.bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine? Defaults to `true`.
|
|
986
1038
|
:param pulumi.Input[_builtins.str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
|
|
987
1039
|
:param pulumi.Input['WindowsVirtualMachineBootDiagnosticsArgs'] boot_diagnostics: A `boot_diagnostics` block as defined below.
|
|
@@ -1019,6 +1071,9 @@ class _WindowsVirtualMachineState:
|
|
|
1019
1071
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interface_ids: . A list of Network Interface IDs which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
|
|
1020
1072
|
:param pulumi.Input['WindowsVirtualMachineOsDiskArgs'] os_disk: An `os_disk` block as defined below.
|
|
1021
1073
|
:param pulumi.Input['WindowsVirtualMachineOsImageNotificationArgs'] os_image_notification: A `os_image_notification` block as defined below.
|
|
1074
|
+
:param pulumi.Input[_builtins.str] os_managed_disk_id: The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
1075
|
+
|
|
1076
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
1022
1077
|
:param pulumi.Input[_builtins.str] patch_assessment_mode: Specifies the mode of VM Guest Patching for the Virtual Machine. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
|
|
1023
1078
|
|
|
1024
1079
|
> **NOTE:** If the `patch_assessment_mode` is set to `AutomaticByPlatform` then the `provision_vm_agent` field must be set to `true`.
|
|
@@ -1076,6 +1131,8 @@ class _WindowsVirtualMachineState:
|
|
|
1076
1131
|
pulumi.set(__self__, "admin_username", admin_username)
|
|
1077
1132
|
if allow_extension_operations is not None:
|
|
1078
1133
|
pulumi.set(__self__, "allow_extension_operations", allow_extension_operations)
|
|
1134
|
+
if automatic_updates_enabled is not None:
|
|
1135
|
+
pulumi.set(__self__, "automatic_updates_enabled", automatic_updates_enabled)
|
|
1079
1136
|
if availability_set_id is not None:
|
|
1080
1137
|
pulumi.set(__self__, "availability_set_id", availability_set_id)
|
|
1081
1138
|
if boot_diagnostics is not None:
|
|
@@ -1096,6 +1153,9 @@ class _WindowsVirtualMachineState:
|
|
|
1096
1153
|
pulumi.set(__self__, "disk_controller_type", disk_controller_type)
|
|
1097
1154
|
if edge_zone is not None:
|
|
1098
1155
|
pulumi.set(__self__, "edge_zone", edge_zone)
|
|
1156
|
+
if enable_automatic_updates is not None:
|
|
1157
|
+
warnings.warn("""this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""", DeprecationWarning)
|
|
1158
|
+
pulumi.log.warn("""enable_automatic_updates is deprecated: this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""")
|
|
1099
1159
|
if enable_automatic_updates is not None:
|
|
1100
1160
|
pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates)
|
|
1101
1161
|
if encryption_at_host_enabled is not None:
|
|
@@ -1124,6 +1184,8 @@ class _WindowsVirtualMachineState:
|
|
|
1124
1184
|
pulumi.set(__self__, "os_disk", os_disk)
|
|
1125
1185
|
if os_image_notification is not None:
|
|
1126
1186
|
pulumi.set(__self__, "os_image_notification", os_image_notification)
|
|
1187
|
+
if os_managed_disk_id is not None:
|
|
1188
|
+
pulumi.set(__self__, "os_managed_disk_id", os_managed_disk_id)
|
|
1127
1189
|
if patch_assessment_mode is not None:
|
|
1128
1190
|
pulumi.set(__self__, "patch_assessment_mode", patch_assessment_mode)
|
|
1129
1191
|
if patch_mode is not None:
|
|
@@ -1213,6 +1275,8 @@ class _WindowsVirtualMachineState:
|
|
|
1213
1275
|
def admin_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1214
1276
|
"""
|
|
1215
1277
|
The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
1278
|
+
|
|
1279
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
1216
1280
|
"""
|
|
1217
1281
|
return pulumi.get(self, "admin_password")
|
|
1218
1282
|
|
|
@@ -1225,6 +1289,8 @@ class _WindowsVirtualMachineState:
|
|
|
1225
1289
|
def admin_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1226
1290
|
"""
|
|
1227
1291
|
The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
1292
|
+
|
|
1293
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
1228
1294
|
"""
|
|
1229
1295
|
return pulumi.get(self, "admin_username")
|
|
1230
1296
|
|
|
@@ -1244,6 +1310,15 @@ class _WindowsVirtualMachineState:
|
|
|
1244
1310
|
def allow_extension_operations(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1245
1311
|
pulumi.set(self, "allow_extension_operations", value)
|
|
1246
1312
|
|
|
1313
|
+
@_builtins.property
|
|
1314
|
+
@pulumi.getter(name="automaticUpdatesEnabled")
|
|
1315
|
+
def automatic_updates_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1316
|
+
return pulumi.get(self, "automatic_updates_enabled")
|
|
1317
|
+
|
|
1318
|
+
@automatic_updates_enabled.setter
|
|
1319
|
+
def automatic_updates_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1320
|
+
pulumi.set(self, "automatic_updates_enabled", value)
|
|
1321
|
+
|
|
1247
1322
|
@_builtins.property
|
|
1248
1323
|
@pulumi.getter(name="availabilitySetId")
|
|
1249
1324
|
def availability_set_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -1370,6 +1445,7 @@ class _WindowsVirtualMachineState:
|
|
|
1370
1445
|
|
|
1371
1446
|
@_builtins.property
|
|
1372
1447
|
@pulumi.getter(name="enableAutomaticUpdates")
|
|
1448
|
+
@_utilities.deprecated("""this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""")
|
|
1373
1449
|
def enable_automatic_updates(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1374
1450
|
"""
|
|
1375
1451
|
Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created. Defaults to `true`.
|
|
@@ -1544,6 +1620,20 @@ class _WindowsVirtualMachineState:
|
|
|
1544
1620
|
def os_image_notification(self, value: Optional[pulumi.Input['WindowsVirtualMachineOsImageNotificationArgs']]):
|
|
1545
1621
|
pulumi.set(self, "os_image_notification", value)
|
|
1546
1622
|
|
|
1623
|
+
@_builtins.property
|
|
1624
|
+
@pulumi.getter(name="osManagedDiskId")
|
|
1625
|
+
def os_managed_disk_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1626
|
+
"""
|
|
1627
|
+
The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
1628
|
+
|
|
1629
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
1630
|
+
"""
|
|
1631
|
+
return pulumi.get(self, "os_managed_disk_id")
|
|
1632
|
+
|
|
1633
|
+
@os_managed_disk_id.setter
|
|
1634
|
+
def os_managed_disk_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1635
|
+
pulumi.set(self, "os_managed_disk_id", value)
|
|
1636
|
+
|
|
1547
1637
|
@_builtins.property
|
|
1548
1638
|
@pulumi.getter(name="patchAssessmentMode")
|
|
1549
1639
|
def patch_assessment_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -1911,6 +2001,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
1911
2001
|
admin_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1912
2002
|
admin_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1913
2003
|
allow_extension_operations: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2004
|
+
automatic_updates_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1914
2005
|
availability_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1915
2006
|
boot_diagnostics: Optional[pulumi.Input[Union['WindowsVirtualMachineBootDiagnosticsArgs', 'WindowsVirtualMachineBootDiagnosticsArgsDict']]] = None,
|
|
1916
2007
|
bypass_platform_safety_checks_on_user_schedule_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1935,6 +2026,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
1935
2026
|
network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1936
2027
|
os_disk: Optional[pulumi.Input[Union['WindowsVirtualMachineOsDiskArgs', 'WindowsVirtualMachineOsDiskArgsDict']]] = None,
|
|
1937
2028
|
os_image_notification: Optional[pulumi.Input[Union['WindowsVirtualMachineOsImageNotificationArgs', 'WindowsVirtualMachineOsImageNotificationArgsDict']]] = None,
|
|
2029
|
+
os_managed_disk_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1938
2030
|
patch_assessment_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1939
2031
|
patch_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1940
2032
|
plan: Optional[pulumi.Input[Union['WindowsVirtualMachinePlanArgs', 'WindowsVirtualMachinePlanArgsDict']]] = None,
|
|
@@ -2044,7 +2136,11 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2044
2136
|
:param pulumi.Input[Union['WindowsVirtualMachineAdditionalCapabilitiesArgs', 'WindowsVirtualMachineAdditionalCapabilitiesArgsDict']] additional_capabilities: A `additional_capabilities` block as defined below.
|
|
2045
2137
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WindowsVirtualMachineAdditionalUnattendContentArgs', 'WindowsVirtualMachineAdditionalUnattendContentArgsDict']]]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
|
|
2046
2138
|
:param pulumi.Input[_builtins.str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
2139
|
+
|
|
2140
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
2047
2141
|
:param pulumi.Input[_builtins.str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
2142
|
+
|
|
2143
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
2048
2144
|
:param pulumi.Input[_builtins.bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine? Defaults to `true`.
|
|
2049
2145
|
:param pulumi.Input[_builtins.str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
|
|
2050
2146
|
:param pulumi.Input[Union['WindowsVirtualMachineBootDiagnosticsArgs', 'WindowsVirtualMachineBootDiagnosticsArgsDict']] boot_diagnostics: A `boot_diagnostics` block as defined below.
|
|
@@ -2082,6 +2178,9 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2082
2178
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interface_ids: . A list of Network Interface IDs which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
|
|
2083
2179
|
:param pulumi.Input[Union['WindowsVirtualMachineOsDiskArgs', 'WindowsVirtualMachineOsDiskArgsDict']] os_disk: An `os_disk` block as defined below.
|
|
2084
2180
|
:param pulumi.Input[Union['WindowsVirtualMachineOsImageNotificationArgs', 'WindowsVirtualMachineOsImageNotificationArgsDict']] os_image_notification: A `os_image_notification` block as defined below.
|
|
2181
|
+
:param pulumi.Input[_builtins.str] os_managed_disk_id: The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
2182
|
+
|
|
2183
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
2085
2184
|
:param pulumi.Input[_builtins.str] patch_assessment_mode: Specifies the mode of VM Guest Patching for the Virtual Machine. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
|
|
2086
2185
|
|
|
2087
2186
|
> **NOTE:** If the `patch_assessment_mode` is set to `AutomaticByPlatform` then the `provision_vm_agent` field must be set to `true`.
|
|
@@ -2230,6 +2329,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2230
2329
|
admin_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2231
2330
|
admin_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2232
2331
|
allow_extension_operations: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2332
|
+
automatic_updates_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2233
2333
|
availability_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2234
2334
|
boot_diagnostics: Optional[pulumi.Input[Union['WindowsVirtualMachineBootDiagnosticsArgs', 'WindowsVirtualMachineBootDiagnosticsArgsDict']]] = None,
|
|
2235
2335
|
bypass_platform_safety_checks_on_user_schedule_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -2254,6 +2354,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2254
2354
|
network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2255
2355
|
os_disk: Optional[pulumi.Input[Union['WindowsVirtualMachineOsDiskArgs', 'WindowsVirtualMachineOsDiskArgsDict']]] = None,
|
|
2256
2356
|
os_image_notification: Optional[pulumi.Input[Union['WindowsVirtualMachineOsImageNotificationArgs', 'WindowsVirtualMachineOsImageNotificationArgsDict']]] = None,
|
|
2357
|
+
os_managed_disk_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2257
2358
|
patch_assessment_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2258
2359
|
patch_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2259
2360
|
plan: Optional[pulumi.Input[Union['WindowsVirtualMachinePlanArgs', 'WindowsVirtualMachinePlanArgsDict']]] = None,
|
|
@@ -2288,13 +2389,10 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2288
2389
|
|
|
2289
2390
|
__props__.__dict__["additional_capabilities"] = additional_capabilities
|
|
2290
2391
|
__props__.__dict__["additional_unattend_contents"] = additional_unattend_contents
|
|
2291
|
-
if admin_password is None and not opts.urn:
|
|
2292
|
-
raise TypeError("Missing required property 'admin_password'")
|
|
2293
2392
|
__props__.__dict__["admin_password"] = None if admin_password is None else pulumi.Output.secret(admin_password)
|
|
2294
|
-
if admin_username is None and not opts.urn:
|
|
2295
|
-
raise TypeError("Missing required property 'admin_username'")
|
|
2296
2393
|
__props__.__dict__["admin_username"] = admin_username
|
|
2297
2394
|
__props__.__dict__["allow_extension_operations"] = allow_extension_operations
|
|
2395
|
+
__props__.__dict__["automatic_updates_enabled"] = automatic_updates_enabled
|
|
2298
2396
|
__props__.__dict__["availability_set_id"] = availability_set_id
|
|
2299
2397
|
__props__.__dict__["boot_diagnostics"] = boot_diagnostics
|
|
2300
2398
|
__props__.__dict__["bypass_platform_safety_checks_on_user_schedule_enabled"] = bypass_platform_safety_checks_on_user_schedule_enabled
|
|
@@ -2323,6 +2421,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2323
2421
|
raise TypeError("Missing required property 'os_disk'")
|
|
2324
2422
|
__props__.__dict__["os_disk"] = os_disk
|
|
2325
2423
|
__props__.__dict__["os_image_notification"] = os_image_notification
|
|
2424
|
+
__props__.__dict__["os_managed_disk_id"] = os_managed_disk_id
|
|
2326
2425
|
__props__.__dict__["patch_assessment_mode"] = patch_assessment_mode
|
|
2327
2426
|
__props__.__dict__["patch_mode"] = patch_mode
|
|
2328
2427
|
__props__.__dict__["plan"] = plan
|
|
@@ -2372,6 +2471,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2372
2471
|
admin_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2373
2472
|
admin_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2374
2473
|
allow_extension_operations: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2474
|
+
automatic_updates_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
2375
2475
|
availability_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2376
2476
|
boot_diagnostics: Optional[pulumi.Input[Union['WindowsVirtualMachineBootDiagnosticsArgs', 'WindowsVirtualMachineBootDiagnosticsArgsDict']]] = None,
|
|
2377
2477
|
bypass_platform_safety_checks_on_user_schedule_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -2396,6 +2496,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2396
2496
|
network_interface_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2397
2497
|
os_disk: Optional[pulumi.Input[Union['WindowsVirtualMachineOsDiskArgs', 'WindowsVirtualMachineOsDiskArgsDict']]] = None,
|
|
2398
2498
|
os_image_notification: Optional[pulumi.Input[Union['WindowsVirtualMachineOsImageNotificationArgs', 'WindowsVirtualMachineOsImageNotificationArgsDict']]] = None,
|
|
2499
|
+
os_managed_disk_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2399
2500
|
patch_assessment_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2400
2501
|
patch_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2401
2502
|
plan: Optional[pulumi.Input[Union['WindowsVirtualMachinePlanArgs', 'WindowsVirtualMachinePlanArgsDict']]] = None,
|
|
@@ -2434,7 +2535,11 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2434
2535
|
:param pulumi.Input[Union['WindowsVirtualMachineAdditionalCapabilitiesArgs', 'WindowsVirtualMachineAdditionalCapabilitiesArgsDict']] additional_capabilities: A `additional_capabilities` block as defined below.
|
|
2435
2536
|
:param pulumi.Input[Sequence[pulumi.Input[Union['WindowsVirtualMachineAdditionalUnattendContentArgs', 'WindowsVirtualMachineAdditionalUnattendContentArgsDict']]]] additional_unattend_contents: One or more `additional_unattend_content` blocks as defined below. Changing this forces a new resource to be created.
|
|
2436
2537
|
:param pulumi.Input[_builtins.str] admin_password: The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
2538
|
+
|
|
2539
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
2437
2540
|
:param pulumi.Input[_builtins.str] admin_username: The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
2541
|
+
|
|
2542
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
2438
2543
|
:param pulumi.Input[_builtins.bool] allow_extension_operations: Should Extension Operations be allowed on this Virtual Machine? Defaults to `true`.
|
|
2439
2544
|
:param pulumi.Input[_builtins.str] availability_set_id: Specifies the ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
|
|
2440
2545
|
:param pulumi.Input[Union['WindowsVirtualMachineBootDiagnosticsArgs', 'WindowsVirtualMachineBootDiagnosticsArgsDict']] boot_diagnostics: A `boot_diagnostics` block as defined below.
|
|
@@ -2472,6 +2577,9 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2472
2577
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_interface_ids: . A list of Network Interface IDs which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine.
|
|
2473
2578
|
:param pulumi.Input[Union['WindowsVirtualMachineOsDiskArgs', 'WindowsVirtualMachineOsDiskArgsDict']] os_disk: An `os_disk` block as defined below.
|
|
2474
2579
|
:param pulumi.Input[Union['WindowsVirtualMachineOsImageNotificationArgs', 'WindowsVirtualMachineOsImageNotificationArgsDict']] os_image_notification: A `os_image_notification` block as defined below.
|
|
2580
|
+
:param pulumi.Input[_builtins.str] os_managed_disk_id: The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
2581
|
+
|
|
2582
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
2475
2583
|
:param pulumi.Input[_builtins.str] patch_assessment_mode: Specifies the mode of VM Guest Patching for the Virtual Machine. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
|
|
2476
2584
|
|
|
2477
2585
|
> **NOTE:** If the `patch_assessment_mode` is set to `AutomaticByPlatform` then the `provision_vm_agent` field must be set to `true`.
|
|
@@ -2528,6 +2636,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2528
2636
|
__props__.__dict__["admin_password"] = admin_password
|
|
2529
2637
|
__props__.__dict__["admin_username"] = admin_username
|
|
2530
2638
|
__props__.__dict__["allow_extension_operations"] = allow_extension_operations
|
|
2639
|
+
__props__.__dict__["automatic_updates_enabled"] = automatic_updates_enabled
|
|
2531
2640
|
__props__.__dict__["availability_set_id"] = availability_set_id
|
|
2532
2641
|
__props__.__dict__["boot_diagnostics"] = boot_diagnostics
|
|
2533
2642
|
__props__.__dict__["bypass_platform_safety_checks_on_user_schedule_enabled"] = bypass_platform_safety_checks_on_user_schedule_enabled
|
|
@@ -2552,6 +2661,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2552
2661
|
__props__.__dict__["network_interface_ids"] = network_interface_ids
|
|
2553
2662
|
__props__.__dict__["os_disk"] = os_disk
|
|
2554
2663
|
__props__.__dict__["os_image_notification"] = os_image_notification
|
|
2664
|
+
__props__.__dict__["os_managed_disk_id"] = os_managed_disk_id
|
|
2555
2665
|
__props__.__dict__["patch_assessment_mode"] = patch_assessment_mode
|
|
2556
2666
|
__props__.__dict__["patch_mode"] = patch_mode
|
|
2557
2667
|
__props__.__dict__["plan"] = plan
|
|
@@ -2600,28 +2710,37 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2600
2710
|
|
|
2601
2711
|
@_builtins.property
|
|
2602
2712
|
@pulumi.getter(name="adminPassword")
|
|
2603
|
-
def admin_password(self) -> pulumi.Output[_builtins.str]:
|
|
2713
|
+
def admin_password(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2604
2714
|
"""
|
|
2605
2715
|
The Password which should be used for the local-administrator on this Virtual Machine. Changing this forces a new resource to be created.
|
|
2716
|
+
|
|
2717
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
2606
2718
|
"""
|
|
2607
2719
|
return pulumi.get(self, "admin_password")
|
|
2608
2720
|
|
|
2609
2721
|
@_builtins.property
|
|
2610
2722
|
@pulumi.getter(name="adminUsername")
|
|
2611
|
-
def admin_username(self) -> pulumi.Output[_builtins.str]:
|
|
2723
|
+
def admin_username(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
2612
2724
|
"""
|
|
2613
2725
|
The username of the local administrator used for the Virtual Machine. Changing this forces a new resource to be created.
|
|
2726
|
+
|
|
2727
|
+
> **Note:** This is required unless using an existing OS Managed Disk by specifying `os_managed_disk_id`.
|
|
2614
2728
|
"""
|
|
2615
2729
|
return pulumi.get(self, "admin_username")
|
|
2616
2730
|
|
|
2617
2731
|
@_builtins.property
|
|
2618
2732
|
@pulumi.getter(name="allowExtensionOperations")
|
|
2619
|
-
def allow_extension_operations(self) -> pulumi.Output[
|
|
2733
|
+
def allow_extension_operations(self) -> pulumi.Output[_builtins.bool]:
|
|
2620
2734
|
"""
|
|
2621
2735
|
Should Extension Operations be allowed on this Virtual Machine? Defaults to `true`.
|
|
2622
2736
|
"""
|
|
2623
2737
|
return pulumi.get(self, "allow_extension_operations")
|
|
2624
2738
|
|
|
2739
|
+
@_builtins.property
|
|
2740
|
+
@pulumi.getter(name="automaticUpdatesEnabled")
|
|
2741
|
+
def automatic_updates_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
2742
|
+
return pulumi.get(self, "automatic_updates_enabled")
|
|
2743
|
+
|
|
2625
2744
|
@_builtins.property
|
|
2626
2745
|
@pulumi.getter(name="availabilitySetId")
|
|
2627
2746
|
def availability_set_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
@@ -2708,7 +2827,8 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2708
2827
|
|
|
2709
2828
|
@_builtins.property
|
|
2710
2829
|
@pulumi.getter(name="enableAutomaticUpdates")
|
|
2711
|
-
|
|
2830
|
+
@_utilities.deprecated("""this property has been deprecated in favour of automatic_updates_enabled and will be removed in 5.0 of the provider.""")
|
|
2831
|
+
def enable_automatic_updates(self) -> pulumi.Output[_builtins.bool]:
|
|
2712
2832
|
"""
|
|
2713
2833
|
Specifies if Automatic Updates are Enabled for the Windows Virtual Machine. Changing this forces a new resource to be created. Defaults to `true`.
|
|
2714
2834
|
"""
|
|
@@ -2752,7 +2872,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2752
2872
|
|
|
2753
2873
|
@_builtins.property
|
|
2754
2874
|
@pulumi.getter(name="hotpatchingEnabled")
|
|
2755
|
-
def hotpatching_enabled(self) -> pulumi.Output[
|
|
2875
|
+
def hotpatching_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
2756
2876
|
"""
|
|
2757
2877
|
Should the VM be patched without requiring a reboot? Possible values are `true` or `false`. Defaults to `false`. For more information about hot patching please see the [product documentation](https://docs.microsoft.com/azure/automanage/automanage-hotpatch).
|
|
2758
2878
|
|
|
@@ -2826,9 +2946,19 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2826
2946
|
"""
|
|
2827
2947
|
return pulumi.get(self, "os_image_notification")
|
|
2828
2948
|
|
|
2949
|
+
@_builtins.property
|
|
2950
|
+
@pulumi.getter(name="osManagedDiskId")
|
|
2951
|
+
def os_managed_disk_id(self) -> pulumi.Output[_builtins.str]:
|
|
2952
|
+
"""
|
|
2953
|
+
The ID of an existing Managed Disk to use as the OS Disk for this Windows Virtual Machine.
|
|
2954
|
+
|
|
2955
|
+
> **Note:** When specifying an existing Managed Disk it is not currently possible to subsequently manage the Operating System Profile properties: `admin_username`, `admin_password`, `bypass_platform_safety_checks_on_user_schedule_enabled`, `computer_name`, `custom_data`, `provision_vm_agent`, `patch_mode`, `patch_assessment_mode`, or `reboot_setting`.
|
|
2956
|
+
"""
|
|
2957
|
+
return pulumi.get(self, "os_managed_disk_id")
|
|
2958
|
+
|
|
2829
2959
|
@_builtins.property
|
|
2830
2960
|
@pulumi.getter(name="patchAssessmentMode")
|
|
2831
|
-
def patch_assessment_mode(self) -> pulumi.Output[
|
|
2961
|
+
def patch_assessment_mode(self) -> pulumi.Output[_builtins.str]:
|
|
2832
2962
|
"""
|
|
2833
2963
|
Specifies the mode of VM Guest Patching for the Virtual Machine. Possible values are `AutomaticByPlatform` or `ImageDefault`. Defaults to `ImageDefault`.
|
|
2834
2964
|
|
|
@@ -2838,7 +2968,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2838
2968
|
|
|
2839
2969
|
@_builtins.property
|
|
2840
2970
|
@pulumi.getter(name="patchMode")
|
|
2841
|
-
def patch_mode(self) -> pulumi.Output[
|
|
2971
|
+
def patch_mode(self) -> pulumi.Output[_builtins.str]:
|
|
2842
2972
|
"""
|
|
2843
2973
|
Specifies the mode of in-guest patching to this Windows Virtual Machine. Possible values are `Manual`, `AutomaticByOS` and `AutomaticByPlatform`. Defaults to `AutomaticByOS`. For more information on patch modes please see the [product documentation](https://docs.microsoft.com/azure/virtual-machines/automatic-vm-guest-patching#patch-orchestration-modes).
|
|
2844
2974
|
|
|
@@ -2888,7 +3018,7 @@ class WindowsVirtualMachine(pulumi.CustomResource):
|
|
|
2888
3018
|
|
|
2889
3019
|
@_builtins.property
|
|
2890
3020
|
@pulumi.getter(name="provisionVmAgent")
|
|
2891
|
-
def provision_vm_agent(self) -> pulumi.Output[
|
|
3021
|
+
def provision_vm_agent(self) -> pulumi.Output[_builtins.bool]:
|
|
2892
3022
|
"""
|
|
2893
3023
|
Should the Azure VM Agent be provisioned on this Virtual Machine? Defaults to `true`. Changing this forces a new resource to be created.
|
|
2894
3024
|
|