pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +919 -917
- pulumi_vsphere/compute_cluster_host_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
- pulumi_vsphere/compute_cluster_vm_group.py +44 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +44 -42
- pulumi_vsphere/content_library_item.py +86 -84
- pulumi_vsphere/custom_attribute.py +30 -28
- pulumi_vsphere/datacenter.py +65 -63
- pulumi_vsphere/datastore_cluster.py +352 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
- pulumi_vsphere/distributed_port_group.py +646 -644
- pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
- pulumi_vsphere/dpm_host_override.py +58 -56
- pulumi_vsphere/drs_vm_override.py +58 -56
- pulumi_vsphere/entity_permissions.py +30 -28
- pulumi_vsphere/file.py +96 -94
- pulumi_vsphere/folder.py +72 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +58 -56
- pulumi_vsphere/ha_vm_override.py +212 -210
- pulumi_vsphere/host.py +198 -196
- pulumi_vsphere/host_port_group.py +254 -252
- pulumi_vsphere/host_virtual_switch.py +296 -294
- pulumi_vsphere/license.py +58 -56
- pulumi_vsphere/nas_datastore.py +212 -210
- pulumi_vsphere/offline_software_depot.py +16 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +119 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +212 -210
- pulumi_vsphere/role.py +37 -35
- pulumi_vsphere/storage_drs_vm_override.py +72 -70
- pulumi_vsphere/supervisor.py +156 -154
- pulumi_vsphere/tag.py +44 -42
- pulumi_vsphere/tag_category.py +58 -56
- pulumi_vsphere/vapp_container.py +212 -210
- pulumi_vsphere/vapp_entity.py +142 -140
- pulumi_vsphere/virtual_disk.py +100 -98
- pulumi_vsphere/virtual_machine.py +1041 -1039
- pulumi_vsphere/virtual_machine_class.py +86 -84
- pulumi_vsphere/virtual_machine_snapshot.py +100 -98
- pulumi_vsphere/vm_storage_policy.py +30 -28
- pulumi_vsphere/vmfs_datastore.py +149 -147
- pulumi_vsphere/vnic.py +114 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/top_level.txt +0 -0
pulumi_vsphere/get_vmfs_disks.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -45,7 +46,7 @@ class GetVmfsDisksResult:
|
|
|
45
46
|
|
|
46
47
|
@property
|
|
47
48
|
@pulumi.getter
|
|
48
|
-
def disks(self) -> Sequence[str]:
|
|
49
|
+
def disks(self) -> Sequence[builtins.str]:
|
|
49
50
|
"""
|
|
50
51
|
A lexicographically sorted list of devices discovered by the
|
|
51
52
|
operation, matching the supplied `filter`, if provided.
|
|
@@ -54,17 +55,17 @@ class GetVmfsDisksResult:
|
|
|
54
55
|
|
|
55
56
|
@property
|
|
56
57
|
@pulumi.getter
|
|
57
|
-
def filter(self) -> Optional[str]:
|
|
58
|
+
def filter(self) -> Optional[builtins.str]:
|
|
58
59
|
return pulumi.get(self, "filter")
|
|
59
60
|
|
|
60
61
|
@property
|
|
61
62
|
@pulumi.getter(name="hostSystemId")
|
|
62
|
-
def host_system_id(self) -> str:
|
|
63
|
+
def host_system_id(self) -> builtins.str:
|
|
63
64
|
return pulumi.get(self, "host_system_id")
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def id(self) -> str:
|
|
68
|
+
def id(self) -> builtins.str:
|
|
68
69
|
"""
|
|
69
70
|
The provider-assigned unique ID for this managed resource.
|
|
70
71
|
"""
|
|
@@ -72,7 +73,7 @@ class GetVmfsDisksResult:
|
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
@pulumi.getter
|
|
75
|
-
def rescan(self) -> Optional[bool]:
|
|
76
|
+
def rescan(self) -> Optional[builtins.bool]:
|
|
76
77
|
return pulumi.get(self, "rescan")
|
|
77
78
|
|
|
78
79
|
|
|
@@ -89,9 +90,9 @@ class AwaitableGetVmfsDisksResult(GetVmfsDisksResult):
|
|
|
89
90
|
rescan=self.rescan)
|
|
90
91
|
|
|
91
92
|
|
|
92
|
-
def get_vmfs_disks(filter: Optional[str] = None,
|
|
93
|
-
host_system_id: Optional[str] = None,
|
|
94
|
-
rescan: Optional[bool] = None,
|
|
93
|
+
def get_vmfs_disks(filter: Optional[builtins.str] = None,
|
|
94
|
+
host_system_id: Optional[builtins.str] = None,
|
|
95
|
+
rescan: Optional[builtins.bool] = None,
|
|
95
96
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVmfsDisksResult:
|
|
96
97
|
"""
|
|
97
98
|
The `get_vmfs_disks` data source can be used to discover the storage
|
|
@@ -114,15 +115,15 @@ def get_vmfs_disks(filter: Optional[str] = None,
|
|
|
114
115
|
```
|
|
115
116
|
|
|
116
117
|
|
|
117
|
-
:param str filter: A regular expression to filter the disks against. Only
|
|
118
|
+
:param builtins.str filter: A regular expression to filter the disks against. Only
|
|
118
119
|
disks with canonical names that match will be included.
|
|
119
120
|
|
|
120
121
|
> **NOTE:** Using a `filter` is recommended if there is any chance the host
|
|
121
122
|
will have any specific storage devices added to it that may affect the order of
|
|
122
123
|
the output `disks` attribute below, which is lexicographically sorted.
|
|
123
|
-
:param str host_system_id: The managed object ID of
|
|
124
|
+
:param builtins.str host_system_id: The managed object ID of
|
|
124
125
|
the host to look for disks on.
|
|
125
|
-
:param bool rescan: Whether or not to rescan storage adapters before
|
|
126
|
+
:param builtins.bool rescan: Whether or not to rescan storage adapters before
|
|
126
127
|
searching for disks. This may lengthen the time it takes to perform the
|
|
127
128
|
search. Default: `false`.
|
|
128
129
|
"""
|
|
@@ -139,9 +140,9 @@ def get_vmfs_disks(filter: Optional[str] = None,
|
|
|
139
140
|
host_system_id=pulumi.get(__ret__, 'host_system_id'),
|
|
140
141
|
id=pulumi.get(__ret__, 'id'),
|
|
141
142
|
rescan=pulumi.get(__ret__, 'rescan'))
|
|
142
|
-
def get_vmfs_disks_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
143
|
-
host_system_id: Optional[pulumi.Input[str]] = None,
|
|
144
|
-
rescan: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
143
|
+
def get_vmfs_disks_output(filter: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
144
|
+
host_system_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
145
|
+
rescan: Optional[pulumi.Input[Optional[builtins.bool]]] = None,
|
|
145
146
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVmfsDisksResult]:
|
|
146
147
|
"""
|
|
147
148
|
The `get_vmfs_disks` data source can be used to discover the storage
|
|
@@ -164,15 +165,15 @@ def get_vmfs_disks_output(filter: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
164
165
|
```
|
|
165
166
|
|
|
166
167
|
|
|
167
|
-
:param str filter: A regular expression to filter the disks against. Only
|
|
168
|
+
:param builtins.str filter: A regular expression to filter the disks against. Only
|
|
168
169
|
disks with canonical names that match will be included.
|
|
169
170
|
|
|
170
171
|
> **NOTE:** Using a `filter` is recommended if there is any chance the host
|
|
171
172
|
will have any specific storage devices added to it that may affect the order of
|
|
172
173
|
the output `disks` attribute below, which is lexicographically sorted.
|
|
173
|
-
:param str host_system_id: The managed object ID of
|
|
174
|
+
:param builtins.str host_system_id: The managed object ID of
|
|
174
175
|
the host to look for disks on.
|
|
175
|
-
:param bool rescan: Whether or not to rescan storage adapters before
|
|
176
|
+
:param builtins.bool rescan: Whether or not to rescan storage adapters before
|
|
176
177
|
searching for disks. This may lengthen the time it takes to perform the
|
|
177
178
|
search. Default: `false`.
|
|
178
179
|
"""
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -22,15 +23,15 @@ __all__ = ['GuestOsCustomizationArgs', 'GuestOsCustomization']
|
|
|
22
23
|
class GuestOsCustomizationArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
25
|
spec: pulumi.Input['GuestOsCustomizationSpecArgs'],
|
|
25
|
-
type: pulumi.Input[str],
|
|
26
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
26
|
+
type: pulumi.Input[builtins.str],
|
|
27
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
28
29
|
"""
|
|
29
30
|
The set of arguments for constructing a GuestOsCustomization resource.
|
|
30
31
|
:param pulumi.Input['GuestOsCustomizationSpecArgs'] spec: Container object for the Guest OS properties about to be customized . See virtual machine customizations
|
|
31
|
-
:param pulumi.Input[str] type: The type of customization specification: One among: Windows, Linux.
|
|
32
|
-
:param pulumi.Input[str] description: The description for the customization specification.
|
|
33
|
-
:param pulumi.Input[str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
32
|
+
:param pulumi.Input[builtins.str] type: The type of customization specification: One among: Windows, Linux.
|
|
33
|
+
:param pulumi.Input[builtins.str] description: The description for the customization specification.
|
|
34
|
+
:param pulumi.Input[builtins.str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
34
35
|
"""
|
|
35
36
|
pulumi.set(__self__, "spec", spec)
|
|
36
37
|
pulumi.set(__self__, "type", type)
|
|
@@ -53,58 +54,58 @@ class GuestOsCustomizationArgs:
|
|
|
53
54
|
|
|
54
55
|
@property
|
|
55
56
|
@pulumi.getter
|
|
56
|
-
def type(self) -> pulumi.Input[str]:
|
|
57
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
57
58
|
"""
|
|
58
59
|
The type of customization specification: One among: Windows, Linux.
|
|
59
60
|
"""
|
|
60
61
|
return pulumi.get(self, "type")
|
|
61
62
|
|
|
62
63
|
@type.setter
|
|
63
|
-
def type(self, value: pulumi.Input[str]):
|
|
64
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
64
65
|
pulumi.set(self, "type", value)
|
|
65
66
|
|
|
66
67
|
@property
|
|
67
68
|
@pulumi.getter
|
|
68
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
69
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
69
70
|
"""
|
|
70
71
|
The description for the customization specification.
|
|
71
72
|
"""
|
|
72
73
|
return pulumi.get(self, "description")
|
|
73
74
|
|
|
74
75
|
@description.setter
|
|
75
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
76
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
76
77
|
pulumi.set(self, "description", value)
|
|
77
78
|
|
|
78
79
|
@property
|
|
79
80
|
@pulumi.getter
|
|
80
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
81
82
|
"""
|
|
82
83
|
The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
83
84
|
"""
|
|
84
85
|
return pulumi.get(self, "name")
|
|
85
86
|
|
|
86
87
|
@name.setter
|
|
87
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
88
89
|
pulumi.set(self, "name", value)
|
|
89
90
|
|
|
90
91
|
|
|
91
92
|
@pulumi.input_type
|
|
92
93
|
class _GuestOsCustomizationState:
|
|
93
94
|
def __init__(__self__, *,
|
|
94
|
-
change_version: Optional[pulumi.Input[str]] = None,
|
|
95
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
96
|
-
last_update_time: Optional[pulumi.Input[str]] = None,
|
|
97
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
change_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
96
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
97
|
+
last_update_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
98
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
98
99
|
spec: Optional[pulumi.Input['GuestOsCustomizationSpecArgs']] = None,
|
|
99
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
100
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
100
101
|
"""
|
|
101
102
|
Input properties used for looking up and filtering GuestOsCustomization resources.
|
|
102
|
-
:param pulumi.Input[str] change_version: The number of last changed version to the customization specification.
|
|
103
|
-
:param pulumi.Input[str] description: The description for the customization specification.
|
|
104
|
-
:param pulumi.Input[str] last_update_time: The time of last modification to the customization specification.
|
|
105
|
-
:param pulumi.Input[str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
103
|
+
:param pulumi.Input[builtins.str] change_version: The number of last changed version to the customization specification.
|
|
104
|
+
:param pulumi.Input[builtins.str] description: The description for the customization specification.
|
|
105
|
+
:param pulumi.Input[builtins.str] last_update_time: The time of last modification to the customization specification.
|
|
106
|
+
:param pulumi.Input[builtins.str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
106
107
|
:param pulumi.Input['GuestOsCustomizationSpecArgs'] spec: Container object for the Guest OS properties about to be customized . See virtual machine customizations
|
|
107
|
-
:param pulumi.Input[str] type: The type of customization specification: One among: Windows, Linux.
|
|
108
|
+
:param pulumi.Input[builtins.str] type: The type of customization specification: One among: Windows, Linux.
|
|
108
109
|
"""
|
|
109
110
|
if change_version is not None:
|
|
110
111
|
pulumi.set(__self__, "change_version", change_version)
|
|
@@ -121,50 +122,50 @@ class _GuestOsCustomizationState:
|
|
|
121
122
|
|
|
122
123
|
@property
|
|
123
124
|
@pulumi.getter(name="changeVersion")
|
|
124
|
-
def change_version(self) -> Optional[pulumi.Input[str]]:
|
|
125
|
+
def change_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
125
126
|
"""
|
|
126
127
|
The number of last changed version to the customization specification.
|
|
127
128
|
"""
|
|
128
129
|
return pulumi.get(self, "change_version")
|
|
129
130
|
|
|
130
131
|
@change_version.setter
|
|
131
|
-
def change_version(self, value: Optional[pulumi.Input[str]]):
|
|
132
|
+
def change_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
132
133
|
pulumi.set(self, "change_version", value)
|
|
133
134
|
|
|
134
135
|
@property
|
|
135
136
|
@pulumi.getter
|
|
136
|
-
def description(self) -> Optional[pulumi.Input[str]]:
|
|
137
|
+
def description(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
137
138
|
"""
|
|
138
139
|
The description for the customization specification.
|
|
139
140
|
"""
|
|
140
141
|
return pulumi.get(self, "description")
|
|
141
142
|
|
|
142
143
|
@description.setter
|
|
143
|
-
def description(self, value: Optional[pulumi.Input[str]]):
|
|
144
|
+
def description(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
144
145
|
pulumi.set(self, "description", value)
|
|
145
146
|
|
|
146
147
|
@property
|
|
147
148
|
@pulumi.getter(name="lastUpdateTime")
|
|
148
|
-
def last_update_time(self) -> Optional[pulumi.Input[str]]:
|
|
149
|
+
def last_update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
149
150
|
"""
|
|
150
151
|
The time of last modification to the customization specification.
|
|
151
152
|
"""
|
|
152
153
|
return pulumi.get(self, "last_update_time")
|
|
153
154
|
|
|
154
155
|
@last_update_time.setter
|
|
155
|
-
def last_update_time(self, value: Optional[pulumi.Input[str]]):
|
|
156
|
+
def last_update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
156
157
|
pulumi.set(self, "last_update_time", value)
|
|
157
158
|
|
|
158
159
|
@property
|
|
159
160
|
@pulumi.getter
|
|
160
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
161
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
161
162
|
"""
|
|
162
163
|
The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
163
164
|
"""
|
|
164
165
|
return pulumi.get(self, "name")
|
|
165
166
|
|
|
166
167
|
@name.setter
|
|
167
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
168
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
168
169
|
pulumi.set(self, "name", value)
|
|
169
170
|
|
|
170
171
|
@property
|
|
@@ -181,26 +182,27 @@ class _GuestOsCustomizationState:
|
|
|
181
182
|
|
|
182
183
|
@property
|
|
183
184
|
@pulumi.getter
|
|
184
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
185
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
185
186
|
"""
|
|
186
187
|
The type of customization specification: One among: Windows, Linux.
|
|
187
188
|
"""
|
|
188
189
|
return pulumi.get(self, "type")
|
|
189
190
|
|
|
190
191
|
@type.setter
|
|
191
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
192
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
192
193
|
pulumi.set(self, "type", value)
|
|
193
194
|
|
|
194
195
|
|
|
196
|
+
@pulumi.type_token("vsphere:index/guestOsCustomization:GuestOsCustomization")
|
|
195
197
|
class GuestOsCustomization(pulumi.CustomResource):
|
|
196
198
|
@overload
|
|
197
199
|
def __init__(__self__,
|
|
198
200
|
resource_name: str,
|
|
199
201
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
200
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
201
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
202
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
203
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
204
|
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
203
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
204
206
|
__props__=None):
|
|
205
207
|
"""
|
|
206
208
|
The `GuestOsCustomization` resource can be used to a customization specification for a guest operating system.
|
|
@@ -234,10 +236,10 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
234
236
|
|
|
235
237
|
:param str resource_name: The name of the resource.
|
|
236
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
237
|
-
:param pulumi.Input[str] description: The description for the customization specification.
|
|
238
|
-
:param pulumi.Input[str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
239
|
+
:param pulumi.Input[builtins.str] description: The description for the customization specification.
|
|
240
|
+
:param pulumi.Input[builtins.str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
239
241
|
:param pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']] spec: Container object for the Guest OS properties about to be customized . See virtual machine customizations
|
|
240
|
-
:param pulumi.Input[str] type: The type of customization specification: One among: Windows, Linux.
|
|
242
|
+
:param pulumi.Input[builtins.str] type: The type of customization specification: One among: Windows, Linux.
|
|
241
243
|
"""
|
|
242
244
|
...
|
|
243
245
|
@overload
|
|
@@ -290,10 +292,10 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
290
292
|
def _internal_init(__self__,
|
|
291
293
|
resource_name: str,
|
|
292
294
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
293
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
295
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
297
|
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
296
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
298
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
299
|
__props__=None):
|
|
298
300
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
299
301
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -323,12 +325,12 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
323
325
|
def get(resource_name: str,
|
|
324
326
|
id: pulumi.Input[str],
|
|
325
327
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
326
|
-
change_version: Optional[pulumi.Input[str]] = None,
|
|
327
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
328
|
-
last_update_time: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
328
|
+
change_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
329
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
|
+
last_update_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
332
|
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
331
|
-
type: Optional[pulumi.Input[str]] = None) -> 'GuestOsCustomization':
|
|
333
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'GuestOsCustomization':
|
|
332
334
|
"""
|
|
333
335
|
Get an existing GuestOsCustomization resource's state with the given name, id, and optional extra
|
|
334
336
|
properties used to qualify the lookup.
|
|
@@ -336,12 +338,12 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
336
338
|
:param str resource_name: The unique name of the resulting resource.
|
|
337
339
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
338
340
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
339
|
-
:param pulumi.Input[str] change_version: The number of last changed version to the customization specification.
|
|
340
|
-
:param pulumi.Input[str] description: The description for the customization specification.
|
|
341
|
-
:param pulumi.Input[str] last_update_time: The time of last modification to the customization specification.
|
|
342
|
-
:param pulumi.Input[str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
341
|
+
:param pulumi.Input[builtins.str] change_version: The number of last changed version to the customization specification.
|
|
342
|
+
:param pulumi.Input[builtins.str] description: The description for the customization specification.
|
|
343
|
+
:param pulumi.Input[builtins.str] last_update_time: The time of last modification to the customization specification.
|
|
344
|
+
:param pulumi.Input[builtins.str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
343
345
|
:param pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']] spec: Container object for the Guest OS properties about to be customized . See virtual machine customizations
|
|
344
|
-
:param pulumi.Input[str] type: The type of customization specification: One among: Windows, Linux.
|
|
346
|
+
:param pulumi.Input[builtins.str] type: The type of customization specification: One among: Windows, Linux.
|
|
345
347
|
"""
|
|
346
348
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
347
349
|
|
|
@@ -357,7 +359,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
357
359
|
|
|
358
360
|
@property
|
|
359
361
|
@pulumi.getter(name="changeVersion")
|
|
360
|
-
def change_version(self) -> pulumi.Output[str]:
|
|
362
|
+
def change_version(self) -> pulumi.Output[builtins.str]:
|
|
361
363
|
"""
|
|
362
364
|
The number of last changed version to the customization specification.
|
|
363
365
|
"""
|
|
@@ -365,7 +367,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
365
367
|
|
|
366
368
|
@property
|
|
367
369
|
@pulumi.getter
|
|
368
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
370
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
369
371
|
"""
|
|
370
372
|
The description for the customization specification.
|
|
371
373
|
"""
|
|
@@ -373,7 +375,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
373
375
|
|
|
374
376
|
@property
|
|
375
377
|
@pulumi.getter(name="lastUpdateTime")
|
|
376
|
-
def last_update_time(self) -> pulumi.Output[str]:
|
|
378
|
+
def last_update_time(self) -> pulumi.Output[builtins.str]:
|
|
377
379
|
"""
|
|
378
380
|
The time of last modification to the customization specification.
|
|
379
381
|
"""
|
|
@@ -381,7 +383,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
381
383
|
|
|
382
384
|
@property
|
|
383
385
|
@pulumi.getter
|
|
384
|
-
def name(self) -> pulumi.Output[str]:
|
|
386
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
385
387
|
"""
|
|
386
388
|
The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
387
389
|
"""
|
|
@@ -397,7 +399,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
397
399
|
|
|
398
400
|
@property
|
|
399
401
|
@pulumi.getter
|
|
400
|
-
def type(self) -> pulumi.Output[str]:
|
|
402
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
401
403
|
"""
|
|
402
404
|
The type of customization specification: One among: Windows, Linux.
|
|
403
405
|
"""
|