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