pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__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 +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -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 +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -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 +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.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.0a1745952392.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,29 @@ 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
|
|
|
195
196
|
class GuestOsCustomization(pulumi.CustomResource):
|
|
197
|
+
|
|
198
|
+
pulumi_type = "vsphere:index/guestOsCustomization:GuestOsCustomization"
|
|
199
|
+
|
|
196
200
|
@overload
|
|
197
201
|
def __init__(__self__,
|
|
198
202
|
resource_name: str,
|
|
199
203
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
200
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
201
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
204
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
205
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
202
206
|
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
203
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
207
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
204
208
|
__props__=None):
|
|
205
209
|
"""
|
|
206
210
|
The `GuestOsCustomization` resource can be used to a customization specification for a guest operating system.
|
|
@@ -234,10 +238,10 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
234
238
|
|
|
235
239
|
:param str resource_name: The name of the resource.
|
|
236
240
|
: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.
|
|
241
|
+
:param pulumi.Input[builtins.str] description: The description for the customization specification.
|
|
242
|
+
:param pulumi.Input[builtins.str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
239
243
|
: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.
|
|
244
|
+
:param pulumi.Input[builtins.str] type: The type of customization specification: One among: Windows, Linux.
|
|
241
245
|
"""
|
|
242
246
|
...
|
|
243
247
|
@overload
|
|
@@ -290,10 +294,10 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
290
294
|
def _internal_init(__self__,
|
|
291
295
|
resource_name: str,
|
|
292
296
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
293
|
-
description: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
297
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
299
|
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
296
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
300
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
301
|
__props__=None):
|
|
298
302
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
299
303
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -323,12 +327,12 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
323
327
|
def get(resource_name: str,
|
|
324
328
|
id: pulumi.Input[str],
|
|
325
329
|
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,
|
|
330
|
+
change_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
|
+
description: Optional[pulumi.Input[builtins.str]] = None,
|
|
332
|
+
last_update_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
333
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
334
|
spec: Optional[pulumi.Input[Union['GuestOsCustomizationSpecArgs', 'GuestOsCustomizationSpecArgsDict']]] = None,
|
|
331
|
-
type: Optional[pulumi.Input[str]] = None) -> 'GuestOsCustomization':
|
|
335
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'GuestOsCustomization':
|
|
332
336
|
"""
|
|
333
337
|
Get an existing GuestOsCustomization resource's state with the given name, id, and optional extra
|
|
334
338
|
properties used to qualify the lookup.
|
|
@@ -336,12 +340,12 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
336
340
|
:param str resource_name: The unique name of the resulting resource.
|
|
337
341
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
338
342
|
: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.
|
|
343
|
+
:param pulumi.Input[builtins.str] change_version: The number of last changed version to the customization specification.
|
|
344
|
+
:param pulumi.Input[builtins.str] description: The description for the customization specification.
|
|
345
|
+
:param pulumi.Input[builtins.str] last_update_time: The time of last modification to the customization specification.
|
|
346
|
+
:param pulumi.Input[builtins.str] name: The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
343
347
|
: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.
|
|
348
|
+
:param pulumi.Input[builtins.str] type: The type of customization specification: One among: Windows, Linux.
|
|
345
349
|
"""
|
|
346
350
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
347
351
|
|
|
@@ -357,7 +361,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
357
361
|
|
|
358
362
|
@property
|
|
359
363
|
@pulumi.getter(name="changeVersion")
|
|
360
|
-
def change_version(self) -> pulumi.Output[str]:
|
|
364
|
+
def change_version(self) -> pulumi.Output[builtins.str]:
|
|
361
365
|
"""
|
|
362
366
|
The number of last changed version to the customization specification.
|
|
363
367
|
"""
|
|
@@ -365,7 +369,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
365
369
|
|
|
366
370
|
@property
|
|
367
371
|
@pulumi.getter
|
|
368
|
-
def description(self) -> pulumi.Output[Optional[str]]:
|
|
372
|
+
def description(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
369
373
|
"""
|
|
370
374
|
The description for the customization specification.
|
|
371
375
|
"""
|
|
@@ -373,7 +377,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
373
377
|
|
|
374
378
|
@property
|
|
375
379
|
@pulumi.getter(name="lastUpdateTime")
|
|
376
|
-
def last_update_time(self) -> pulumi.Output[str]:
|
|
380
|
+
def last_update_time(self) -> pulumi.Output[builtins.str]:
|
|
377
381
|
"""
|
|
378
382
|
The time of last modification to the customization specification.
|
|
379
383
|
"""
|
|
@@ -381,7 +385,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
381
385
|
|
|
382
386
|
@property
|
|
383
387
|
@pulumi.getter
|
|
384
|
-
def name(self) -> pulumi.Output[str]:
|
|
388
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
385
389
|
"""
|
|
386
390
|
The name of the customization specification is the unique identifier per vCenter Server instance.
|
|
387
391
|
"""
|
|
@@ -397,7 +401,7 @@ class GuestOsCustomization(pulumi.CustomResource):
|
|
|
397
401
|
|
|
398
402
|
@property
|
|
399
403
|
@pulumi.getter
|
|
400
|
-
def type(self) -> pulumi.Output[str]:
|
|
404
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
|
401
405
|
"""
|
|
402
406
|
The type of customization specification: One among: Windows, Linux.
|
|
403
407
|
"""
|