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