pulumi-vsphere 4.11.0a1713561492__py3-none-any.whl → 4.11.0a1714114315__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-vsphere might be problematic. Click here for more details.

Files changed (50) hide show
  1. pulumi_vsphere/_inputs.py +96 -232
  2. pulumi_vsphere/compute_cluster.py +700 -1477
  3. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +0 -8
  4. pulumi_vsphere/datacenter.py +0 -8
  5. pulumi_vsphere/datastore_cluster.py +154 -350
  6. pulumi_vsphere/distributed_port_group.py +70 -175
  7. pulumi_vsphere/distributed_virtual_switch.py +308 -798
  8. pulumi_vsphere/file.py +0 -8
  9. pulumi_vsphere/get_compute_cluster.py +0 -4
  10. pulumi_vsphere/get_compute_cluster_host_group.py +0 -4
  11. pulumi_vsphere/get_content_library.py +0 -4
  12. pulumi_vsphere/get_custom_attribute.py +0 -4
  13. pulumi_vsphere/get_datacenter.py +0 -4
  14. pulumi_vsphere/get_datastore.py +0 -4
  15. pulumi_vsphere/get_datastore_cluster.py +0 -4
  16. pulumi_vsphere/get_datastore_stats.py +0 -8
  17. pulumi_vsphere/get_distributed_virtual_switch.py +0 -4
  18. pulumi_vsphere/get_dynamic.py +0 -4
  19. pulumi_vsphere/get_folder.py +0 -4
  20. pulumi_vsphere/get_guest_os_customization.py +0 -4
  21. pulumi_vsphere/get_host.py +0 -4
  22. pulumi_vsphere/get_host_pci_device.py +4 -12
  23. pulumi_vsphere/get_host_thumbprint.py +0 -4
  24. pulumi_vsphere/get_host_vgpu_profile.py +0 -8
  25. pulumi_vsphere/get_license.py +0 -4
  26. pulumi_vsphere/get_network.py +0 -4
  27. pulumi_vsphere/get_policy.py +0 -4
  28. pulumi_vsphere/get_resource_pool.py +0 -8
  29. pulumi_vsphere/get_role.py +0 -4
  30. pulumi_vsphere/get_tag.py +0 -4
  31. pulumi_vsphere/get_tag_category.py +0 -4
  32. pulumi_vsphere/get_vapp_container.py +0 -4
  33. pulumi_vsphere/get_virtual_machine.py +0 -8
  34. pulumi_vsphere/get_vmfs_disks.py +0 -4
  35. pulumi_vsphere/guest_os_customization.py +0 -4
  36. pulumi_vsphere/ha_vm_override.py +189 -378
  37. pulumi_vsphere/host.py +0 -8
  38. pulumi_vsphere/host_port_group.py +0 -8
  39. pulumi_vsphere/host_virtual_switch.py +140 -287
  40. pulumi_vsphere/outputs.py +96 -232
  41. pulumi_vsphere/resource_pool.py +0 -12
  42. pulumi_vsphere/virtual_machine.py +599 -739
  43. pulumi_vsphere/virtual_machine_snapshot.py +0 -4
  44. pulumi_vsphere/vm_storage_policy.py +0 -12
  45. pulumi_vsphere/vnic.py +0 -8
  46. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/METADATA +1 -1
  47. pulumi_vsphere-4.11.0a1714114315.dist-info/RECORD +82 -0
  48. pulumi_vsphere-4.11.0a1713561492.dist-info/RECORD +0 -82
  49. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/WHEEL +0 -0
  50. {pulumi_vsphere-4.11.0a1713561492.dist-info → pulumi_vsphere-4.11.0a1714114315.dist-info}/top_level.txt +0 -0
@@ -99,7 +99,6 @@ def get_network(datacenter_id: Optional[str] = None,
99
99
 
100
100
  ## Example Usage
101
101
 
102
- <!--Start PulumiCodeChooser -->
103
102
  ```python
104
103
  import pulumi
105
104
  import pulumi_vsphere as vsphere
@@ -108,7 +107,6 @@ def get_network(datacenter_id: Optional[str] = None,
108
107
  network = vsphere.get_network(name="VM Network",
109
108
  datacenter_id=datacenter.id)
110
109
  ```
111
- <!--End PulumiCodeChooser -->
112
110
 
113
111
 
114
112
  :param str datacenter_id: The managed object reference ID
@@ -150,7 +148,6 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = No
150
148
 
151
149
  ## Example Usage
152
150
 
153
- <!--Start PulumiCodeChooser -->
154
151
  ```python
155
152
  import pulumi
156
153
  import pulumi_vsphere as vsphere
@@ -159,7 +156,6 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = No
159
156
  network = vsphere.get_network(name="VM Network",
160
157
  datacenter_id=datacenter.id)
161
158
  ```
162
- <!--End PulumiCodeChooser -->
163
159
 
164
160
 
165
161
  :param str datacenter_id: The managed object reference ID
@@ -65,7 +65,6 @@ def get_policy(name: Optional[str] = None,
65
65
 
66
66
  ## Example Usage
67
67
 
68
- <!--Start PulumiCodeChooser -->
69
68
  ```python
70
69
  import pulumi
71
70
  import pulumi_vsphere as vsphere
@@ -73,7 +72,6 @@ def get_policy(name: Optional[str] = None,
73
72
  prod_platinum_replicated = vsphere.get_policy(name="prod_platinum_replicated")
74
73
  dev_silver_nonreplicated = vsphere.get_policy(name="dev_silver_nonreplicated")
75
74
  ```
76
- <!--End PulumiCodeChooser -->
77
75
 
78
76
 
79
77
  :param str name: The name of the storage policy.
@@ -101,7 +99,6 @@ def get_policy_output(name: Optional[pulumi.Input[str]] = None,
101
99
 
102
100
  ## Example Usage
103
101
 
104
- <!--Start PulumiCodeChooser -->
105
102
  ```python
106
103
  import pulumi
107
104
  import pulumi_vsphere as vsphere
@@ -109,7 +106,6 @@ def get_policy_output(name: Optional[pulumi.Input[str]] = None,
109
106
  prod_platinum_replicated = vsphere.get_policy(name="prod_platinum_replicated")
110
107
  dev_silver_nonreplicated = vsphere.get_policy(name="dev_silver_nonreplicated")
111
108
  ```
112
- <!--End PulumiCodeChooser -->
113
109
 
114
110
 
115
111
  :param str name: The name of the storage policy.
@@ -73,7 +73,6 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
73
73
 
74
74
  ## Example Usage
75
75
 
76
- <!--Start PulumiCodeChooser -->
77
76
  ```python
78
77
  import pulumi
79
78
  import pulumi_vsphere as vsphere
@@ -82,7 +81,6 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
82
81
  pool = vsphere.get_resource_pool(name="resource-pool-01",
83
82
  datacenter_id=datacenter.id)
84
83
  ```
85
- <!--End PulumiCodeChooser -->
86
84
 
87
85
  ### Specifying the Root Resource Pool for a Standalone ESXi Host
88
86
 
@@ -94,7 +92,6 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
94
92
  explicitly created. This resource pool is referred to as the
95
93
  _root resource pool_ and can be looked up by specifying the path.
96
94
 
97
- <!--Start PulumiCodeChooser -->
98
95
  ```python
99
96
  import pulumi
100
97
  import pulumi_vsphere as vsphere
@@ -102,7 +99,6 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
102
99
  pool = vsphere.get_resource_pool(name="esxi-01.example.com/Resources",
103
100
  datacenter_id=datacenter["id"])
104
101
  ```
105
- <!--End PulumiCodeChooser -->
106
102
 
107
103
  For more information on the root resource pool, see [Managing Resource Pools][vmware-docs-resource-pools] in the vSphere documentation.
108
104
 
@@ -145,7 +141,6 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
145
141
 
146
142
  ## Example Usage
147
143
 
148
- <!--Start PulumiCodeChooser -->
149
144
  ```python
150
145
  import pulumi
151
146
  import pulumi_vsphere as vsphere
@@ -154,7 +149,6 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
154
149
  pool = vsphere.get_resource_pool(name="resource-pool-01",
155
150
  datacenter_id=datacenter.id)
156
151
  ```
157
- <!--End PulumiCodeChooser -->
158
152
 
159
153
  ### Specifying the Root Resource Pool for a Standalone ESXi Host
160
154
 
@@ -166,7 +160,6 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
166
160
  explicitly created. This resource pool is referred to as the
167
161
  _root resource pool_ and can be looked up by specifying the path.
168
162
 
169
- <!--Start PulumiCodeChooser -->
170
163
  ```python
171
164
  import pulumi
172
165
  import pulumi_vsphere as vsphere
@@ -174,7 +167,6 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
174
167
  pool = vsphere.get_resource_pool(name="esxi-01.example.com/Resources",
175
168
  datacenter_id=datacenter["id"])
176
169
  ```
177
- <!--End PulumiCodeChooser -->
178
170
 
179
171
  For more information on the root resource pool, see [Managing Resource Pools][vmware-docs-resource-pools] in the vSphere documentation.
180
172
 
@@ -100,14 +100,12 @@ def get_role(description: Optional[str] = None,
100
100
 
101
101
  ## Example Usage
102
102
 
103
- <!--Start PulumiCodeChooser -->
104
103
  ```python
105
104
  import pulumi
106
105
  import pulumi_vsphere as vsphere
107
106
 
108
107
  terraform_role = vsphere.get_role(label="Terraform to vSphere Integration Role")
109
108
  ```
110
- <!--End PulumiCodeChooser -->
111
109
 
112
110
 
113
111
  :param str description: The description of the role.
@@ -142,14 +140,12 @@ def get_role_output(description: Optional[pulumi.Input[Optional[str]]] = None,
142
140
 
143
141
  ## Example Usage
144
142
 
145
- <!--Start PulumiCodeChooser -->
146
143
  ```python
147
144
  import pulumi
148
145
  import pulumi_vsphere as vsphere
149
146
 
150
147
  terraform_role = vsphere.get_role(label="Terraform to vSphere Integration Role")
151
148
  ```
152
- <!--End PulumiCodeChooser -->
153
149
 
154
150
 
155
151
  :param str description: The description of the role.
pulumi_vsphere/get_tag.py CHANGED
@@ -86,7 +86,6 @@ def get_tag(category_id: Optional[str] = None,
86
86
 
87
87
  ## Example Usage
88
88
 
89
- <!--Start PulumiCodeChooser -->
90
89
  ```python
91
90
  import pulumi
92
91
  import pulumi_vsphere as vsphere
@@ -95,7 +94,6 @@ def get_tag(category_id: Optional[str] = None,
95
94
  tag = vsphere.get_tag(name="example-tag",
96
95
  category_id=category.id)
97
96
  ```
98
- <!--End PulumiCodeChooser -->
99
97
 
100
98
 
101
99
  :param str category_id: The ID of the tag category in which the tag is
@@ -131,7 +129,6 @@ def get_tag_output(category_id: Optional[pulumi.Input[str]] = None,
131
129
 
132
130
  ## Example Usage
133
131
 
134
- <!--Start PulumiCodeChooser -->
135
132
  ```python
136
133
  import pulumi
137
134
  import pulumi_vsphere as vsphere
@@ -140,7 +137,6 @@ def get_tag_output(category_id: Optional[pulumi.Input[str]] = None,
140
137
  tag = vsphere.get_tag(name="example-tag",
141
138
  category_id=category.id)
142
139
  ```
143
- <!--End PulumiCodeChooser -->
144
140
 
145
141
 
146
142
  :param str category_id: The ID of the tag category in which the tag is
@@ -94,14 +94,12 @@ def get_tag_category(name: Optional[str] = None,
94
94
 
95
95
  ## Example Usage
96
96
 
97
- <!--Start PulumiCodeChooser -->
98
97
  ```python
99
98
  import pulumi
100
99
  import pulumi_vsphere as vsphere
101
100
 
102
101
  category = vsphere.get_tag_category(name="example-category")
103
102
  ```
104
- <!--End PulumiCodeChooser -->
105
103
 
106
104
 
107
105
  :param str name: The name of the tag category.
@@ -134,14 +132,12 @@ def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
134
132
 
135
133
  ## Example Usage
136
134
 
137
- <!--Start PulumiCodeChooser -->
138
135
  ```python
139
136
  import pulumi
140
137
  import pulumi_vsphere as vsphere
141
138
 
142
139
  category = vsphere.get_tag_category(name="example-category")
143
140
  ```
144
- <!--End PulumiCodeChooser -->
145
141
 
146
142
 
147
143
  :param str name: The name of the tag category.
@@ -73,7 +73,6 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
73
73
 
74
74
  ## Example Usage
75
75
 
76
- <!--Start PulumiCodeChooser -->
77
76
  ```python
78
77
  import pulumi
79
78
  import pulumi_vsphere as vsphere
@@ -82,7 +81,6 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
82
81
  pool = vsphere.get_vapp_container(name="vapp-container-01",
83
82
  datacenter_id=datacenter.id)
84
83
  ```
85
- <!--End PulumiCodeChooser -->
86
84
 
87
85
 
88
86
  :param str datacenter_id: The managed object reference ID
@@ -114,7 +112,6 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
114
112
 
115
113
  ## Example Usage
116
114
 
117
- <!--Start PulumiCodeChooser -->
118
115
  ```python
119
116
  import pulumi
120
117
  import pulumi_vsphere as vsphere
@@ -123,7 +120,6 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
123
120
  pool = vsphere.get_vapp_container(name="vapp-container-01",
124
121
  datacenter_id=datacenter.id)
125
122
  ```
126
- <!--End PulumiCodeChooser -->
127
123
 
128
124
 
129
125
  :param str datacenter_id: The managed object reference ID
@@ -762,7 +762,6 @@ def get_virtual_machine(alternate_guest_name: Optional[str] = None,
762
762
  In the following example, a virtual machine template is returned by its
763
763
  unique name within the `Datacenter`.
764
764
 
765
- <!--Start PulumiCodeChooser -->
766
765
  ```python
767
766
  import pulumi
768
767
  import pulumi_vsphere as vsphere
@@ -771,11 +770,9 @@ def get_virtual_machine(alternate_guest_name: Optional[str] = None,
771
770
  template = vsphere.get_virtual_machine(name="ubuntu-server-template",
772
771
  datacenter_id=datacenter.id)
773
772
  ```
774
- <!--End PulumiCodeChooser -->
775
773
  In the following example, each virtual machine template is returned by its
776
774
  unique full path within the `Datacenter`.
777
775
 
778
- <!--Start PulumiCodeChooser -->
779
776
  ```python
780
777
  import pulumi
781
778
  import pulumi_vsphere as vsphere
@@ -786,7 +783,6 @@ def get_virtual_machine(alternate_guest_name: Optional[str] = None,
786
783
  development_template = vsphere.get_virtual_machine(name="development/templates/ubuntu-server-template",
787
784
  datacenter_id=datacenter.id)
788
785
  ```
789
- <!--End PulumiCodeChooser -->
790
786
 
791
787
 
792
788
  :param str alternate_guest_name: The alternate guest name of the virtual machine when
@@ -1015,7 +1011,6 @@ def get_virtual_machine_output(alternate_guest_name: Optional[pulumi.Input[Optio
1015
1011
  In the following example, a virtual machine template is returned by its
1016
1012
  unique name within the `Datacenter`.
1017
1013
 
1018
- <!--Start PulumiCodeChooser -->
1019
1014
  ```python
1020
1015
  import pulumi
1021
1016
  import pulumi_vsphere as vsphere
@@ -1024,11 +1019,9 @@ def get_virtual_machine_output(alternate_guest_name: Optional[pulumi.Input[Optio
1024
1019
  template = vsphere.get_virtual_machine(name="ubuntu-server-template",
1025
1020
  datacenter_id=datacenter.id)
1026
1021
  ```
1027
- <!--End PulumiCodeChooser -->
1028
1022
  In the following example, each virtual machine template is returned by its
1029
1023
  unique full path within the `Datacenter`.
1030
1024
 
1031
- <!--Start PulumiCodeChooser -->
1032
1025
  ```python
1033
1026
  import pulumi
1034
1027
  import pulumi_vsphere as vsphere
@@ -1039,7 +1032,6 @@ def get_virtual_machine_output(alternate_guest_name: Optional[pulumi.Input[Optio
1039
1032
  development_template = vsphere.get_virtual_machine(name="development/templates/ubuntu-server-template",
1040
1033
  datacenter_id=datacenter.id)
1041
1034
  ```
1042
- <!--End PulumiCodeChooser -->
1043
1035
 
1044
1036
 
1045
1037
  :param str alternate_guest_name: The alternate guest name of the virtual machine when
@@ -96,7 +96,6 @@ def get_vmfs_disks(filter: Optional[str] = None,
96
96
 
97
97
  ## Example Usage
98
98
 
99
- <!--Start PulumiCodeChooser -->
100
99
  ```python
101
100
  import pulumi
102
101
  import pulumi_vsphere as vsphere
@@ -108,7 +107,6 @@ def get_vmfs_disks(filter: Optional[str] = None,
108
107
  rescan=True,
109
108
  filter="mpx.vmhba1:C0:T[12]:L0")
110
109
  ```
111
- <!--End PulumiCodeChooser -->
112
110
 
113
111
 
114
112
  :param str filter: A regular expression to filter the disks against. Only
@@ -151,7 +149,6 @@ def get_vmfs_disks_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
151
149
 
152
150
  ## Example Usage
153
151
 
154
- <!--Start PulumiCodeChooser -->
155
152
  ```python
156
153
  import pulumi
157
154
  import pulumi_vsphere as vsphere
@@ -163,7 +160,6 @@ def get_vmfs_disks_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
163
160
  rescan=True,
164
161
  filter="mpx.vmhba1:C0:T[12]:L0")
165
162
  ```
166
- <!--End PulumiCodeChooser -->
167
163
 
168
164
 
169
165
  :param str filter: A regular expression to filter the disks against. Only
@@ -204,7 +204,6 @@ class GuestOsCustomization(pulumi.CustomResource):
204
204
 
205
205
  ## Example Usage
206
206
 
207
- <!--Start PulumiCodeChooser -->
208
207
  ```python
209
208
  import pulumi
210
209
  import pulumi_vsphere as vsphere
@@ -227,7 +226,6 @@ class GuestOsCustomization(pulumi.CustomResource):
227
226
  ),
228
227
  ))
229
228
  ```
230
- <!--End PulumiCodeChooser -->
231
229
 
232
230
  :param str resource_name: The name of the resource.
233
231
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -249,7 +247,6 @@ class GuestOsCustomization(pulumi.CustomResource):
249
247
 
250
248
  ## Example Usage
251
249
 
252
- <!--Start PulumiCodeChooser -->
253
250
  ```python
254
251
  import pulumi
255
252
  import pulumi_vsphere as vsphere
@@ -272,7 +269,6 @@ class GuestOsCustomization(pulumi.CustomResource):
272
269
  ),
273
270
  ))
274
271
  ```
275
- <!--End PulumiCodeChooser -->
276
272
 
277
273
  :param str resource_name: The name of the resource.
278
274
  :param GuestOsCustomizationArgs args: The arguments to use to populate this resource's properties.