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
|
@@ -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
|
|
@@ -42,7 +43,7 @@ class GetContentLibraryItemResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def id(self) -> str:
|
|
46
|
+
def id(self) -> builtins.str:
|
|
46
47
|
"""
|
|
47
48
|
The provider-assigned unique ID for this managed resource.
|
|
48
49
|
"""
|
|
@@ -50,17 +51,17 @@ class GetContentLibraryItemResult:
|
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
@pulumi.getter(name="libraryId")
|
|
53
|
-
def library_id(self) -> str:
|
|
54
|
+
def library_id(self) -> builtins.str:
|
|
54
55
|
return pulumi.get(self, "library_id")
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def name(self) -> str:
|
|
59
|
+
def name(self) -> builtins.str:
|
|
59
60
|
return pulumi.get(self, "name")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def type(self) -> str:
|
|
64
|
+
def type(self) -> builtins.str:
|
|
64
65
|
return pulumi.get(self, "type")
|
|
65
66
|
|
|
66
67
|
|
|
@@ -76,9 +77,9 @@ class AwaitableGetContentLibraryItemResult(GetContentLibraryItemResult):
|
|
|
76
77
|
type=self.type)
|
|
77
78
|
|
|
78
79
|
|
|
79
|
-
def get_content_library_item(library_id: Optional[str] = None,
|
|
80
|
-
name: Optional[str] = None,
|
|
81
|
-
type: Optional[str] = None,
|
|
80
|
+
def get_content_library_item(library_id: Optional[builtins.str] = None,
|
|
81
|
+
name: Optional[builtins.str] = None,
|
|
82
|
+
type: Optional[builtins.str] = None,
|
|
82
83
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentLibraryItemResult:
|
|
83
84
|
"""
|
|
84
85
|
The `ContentLibraryItem` data source can be used to discover the ID
|
|
@@ -88,10 +89,10 @@ def get_content_library_item(library_id: Optional[str] = None,
|
|
|
88
89
|
host connections.
|
|
89
90
|
|
|
90
91
|
|
|
91
|
-
:param str library_id: The ID of the content library in which the item
|
|
92
|
+
:param builtins.str library_id: The ID of the content library in which the item
|
|
92
93
|
exists.
|
|
93
|
-
:param str name: The name of the content library item.
|
|
94
|
-
:param str type: The type for the content library item. One of `ovf`,
|
|
94
|
+
:param builtins.str name: The name of the content library item.
|
|
95
|
+
:param builtins.str type: The type for the content library item. One of `ovf`,
|
|
95
96
|
`vm-template`, or `iso`
|
|
96
97
|
"""
|
|
97
98
|
__args__ = dict()
|
|
@@ -106,9 +107,9 @@ def get_content_library_item(library_id: Optional[str] = None,
|
|
|
106
107
|
library_id=pulumi.get(__ret__, 'library_id'),
|
|
107
108
|
name=pulumi.get(__ret__, 'name'),
|
|
108
109
|
type=pulumi.get(__ret__, 'type'))
|
|
109
|
-
def get_content_library_item_output(library_id: Optional[pulumi.Input[str]] = None,
|
|
110
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
111
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
110
|
+
def get_content_library_item_output(library_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
111
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
112
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
112
113
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContentLibraryItemResult]:
|
|
113
114
|
"""
|
|
114
115
|
The `ContentLibraryItem` data source can be used to discover the ID
|
|
@@ -118,10 +119,10 @@ def get_content_library_item_output(library_id: Optional[pulumi.Input[str]] = No
|
|
|
118
119
|
host connections.
|
|
119
120
|
|
|
120
121
|
|
|
121
|
-
:param str library_id: The ID of the content library in which the item
|
|
122
|
+
:param builtins.str library_id: The ID of the content library in which the item
|
|
122
123
|
exists.
|
|
123
|
-
:param str name: The name of the content library item.
|
|
124
|
-
:param str type: The type for the content library item. One of `ovf`,
|
|
124
|
+
:param builtins.str name: The name of the content library item.
|
|
125
|
+
:param builtins.str type: The type for the content library item. One of `ovf`,
|
|
125
126
|
`vm-template`, or `iso`
|
|
126
127
|
"""
|
|
127
128
|
__args__ = dict()
|
|
@@ -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
|
|
@@ -39,7 +40,7 @@ class GetCustomAttributeResult:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter
|
|
42
|
-
def id(self) -> str:
|
|
43
|
+
def id(self) -> builtins.str:
|
|
43
44
|
"""
|
|
44
45
|
The provider-assigned unique ID for this managed resource.
|
|
45
46
|
"""
|
|
@@ -47,12 +48,12 @@ class GetCustomAttributeResult:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter(name="managedObjectType")
|
|
50
|
-
def managed_object_type(self) -> str:
|
|
51
|
+
def managed_object_type(self) -> builtins.str:
|
|
51
52
|
return pulumi.get(self, "managed_object_type")
|
|
52
53
|
|
|
53
54
|
@property
|
|
54
55
|
@pulumi.getter
|
|
55
|
-
def name(self) -> str:
|
|
56
|
+
def name(self) -> builtins.str:
|
|
56
57
|
return pulumi.get(self, "name")
|
|
57
58
|
|
|
58
59
|
|
|
@@ -67,7 +68,7 @@ class AwaitableGetCustomAttributeResult(GetCustomAttributeResult):
|
|
|
67
68
|
name=self.name)
|
|
68
69
|
|
|
69
70
|
|
|
70
|
-
def get_custom_attribute(name: Optional[str] = None,
|
|
71
|
+
def get_custom_attribute(name: Optional[builtins.str] = None,
|
|
71
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomAttributeResult:
|
|
72
73
|
"""
|
|
73
74
|
The `CustomAttribute` data source can be used to reference custom
|
|
@@ -89,7 +90,7 @@ def get_custom_attribute(name: Optional[str] = None,
|
|
|
89
90
|
```
|
|
90
91
|
|
|
91
92
|
|
|
92
|
-
:param str name: The name of the custom attribute.
|
|
93
|
+
:param builtins.str name: The name of the custom attribute.
|
|
93
94
|
"""
|
|
94
95
|
__args__ = dict()
|
|
95
96
|
__args__['name'] = name
|
|
@@ -100,7 +101,7 @@ def get_custom_attribute(name: Optional[str] = None,
|
|
|
100
101
|
id=pulumi.get(__ret__, 'id'),
|
|
101
102
|
managed_object_type=pulumi.get(__ret__, 'managed_object_type'),
|
|
102
103
|
name=pulumi.get(__ret__, 'name'))
|
|
103
|
-
def get_custom_attribute_output(name: Optional[pulumi.Input[str]] = None,
|
|
104
|
+
def get_custom_attribute_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
104
105
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCustomAttributeResult]:
|
|
105
106
|
"""
|
|
106
107
|
The `CustomAttribute` data source can be used to reference custom
|
|
@@ -122,7 +123,7 @@ def get_custom_attribute_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
122
123
|
```
|
|
123
124
|
|
|
124
125
|
|
|
125
|
-
:param str name: The name of the custom attribute.
|
|
126
|
+
:param builtins.str name: The name of the custom attribute.
|
|
126
127
|
"""
|
|
127
128
|
__args__ = dict()
|
|
128
129
|
__args__['name'] = name
|
pulumi_vsphere/get_datacenter.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
|
|
@@ -39,7 +40,7 @@ class GetDatacenterResult:
|
|
|
39
40
|
|
|
40
41
|
@property
|
|
41
42
|
@pulumi.getter
|
|
42
|
-
def id(self) -> str:
|
|
43
|
+
def id(self) -> builtins.str:
|
|
43
44
|
"""
|
|
44
45
|
The provider-assigned unique ID for this managed resource.
|
|
45
46
|
"""
|
|
@@ -47,12 +48,12 @@ class GetDatacenterResult:
|
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def name(self) -> Optional[str]:
|
|
51
|
+
def name(self) -> Optional[builtins.str]:
|
|
51
52
|
return pulumi.get(self, "name")
|
|
52
53
|
|
|
53
54
|
@property
|
|
54
55
|
@pulumi.getter(name="virtualMachines")
|
|
55
|
-
def virtual_machines(self) -> Sequence[str]:
|
|
56
|
+
def virtual_machines(self) -> Sequence[builtins.str]:
|
|
56
57
|
"""
|
|
57
58
|
List of all virtual machines included in the vSphere datacenter object.
|
|
58
59
|
"""
|
|
@@ -70,7 +71,7 @@ class AwaitableGetDatacenterResult(GetDatacenterResult):
|
|
|
70
71
|
virtual_machines=self.virtual_machines)
|
|
71
72
|
|
|
72
73
|
|
|
73
|
-
def get_datacenter(name: Optional[str] = None,
|
|
74
|
+
def get_datacenter(name: Optional[builtins.str] = None,
|
|
74
75
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacenterResult:
|
|
75
76
|
"""
|
|
76
77
|
The `Datacenter` data source can be used to discover the ID of a
|
|
@@ -88,7 +89,7 @@ def get_datacenter(name: Optional[str] = None,
|
|
|
88
89
|
```
|
|
89
90
|
|
|
90
91
|
|
|
91
|
-
:param str name: The name of the datacenter. This can be a name or path.
|
|
92
|
+
:param builtins.str name: The name of the datacenter. This can be a name or path.
|
|
92
93
|
Can be omitted if there is only one datacenter in the inventory.
|
|
93
94
|
|
|
94
95
|
> **NOTE:** When used with an ESXi host, this data source _always_ returns the
|
|
@@ -105,7 +106,7 @@ def get_datacenter(name: Optional[str] = None,
|
|
|
105
106
|
id=pulumi.get(__ret__, 'id'),
|
|
106
107
|
name=pulumi.get(__ret__, 'name'),
|
|
107
108
|
virtual_machines=pulumi.get(__ret__, 'virtual_machines'))
|
|
108
|
-
def get_datacenter_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
109
|
+
def get_datacenter_output(name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
109
110
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatacenterResult]:
|
|
110
111
|
"""
|
|
111
112
|
The `Datacenter` data source can be used to discover the ID of a
|
|
@@ -123,7 +124,7 @@ def get_datacenter_output(name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
|
123
124
|
```
|
|
124
125
|
|
|
125
126
|
|
|
126
|
-
:param str name: The name of the datacenter. This can be a name or path.
|
|
127
|
+
:param builtins.str name: The name of the datacenter. This can be a name or path.
|
|
127
128
|
Can be omitted if there is only one datacenter in the inventory.
|
|
128
129
|
|
|
129
130
|
> **NOTE:** When used with an ESXi host, this data source _always_ returns the
|
pulumi_vsphere/get_datastore.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
|
|
@@ -42,12 +43,12 @@ class GetDatastoreResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter(name="datacenterId")
|
|
45
|
-
def datacenter_id(self) -> Optional[str]:
|
|
46
|
+
def datacenter_id(self) -> Optional[builtins.str]:
|
|
46
47
|
return pulumi.get(self, "datacenter_id")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,12 +56,12 @@ class GetDatastoreResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def name(self) -> str:
|
|
59
|
+
def name(self) -> builtins.str:
|
|
59
60
|
return pulumi.get(self, "name")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def stats(self) -> Optional[Mapping[str, str]]:
|
|
64
|
+
def stats(self) -> Optional[Mapping[str, builtins.str]]:
|
|
64
65
|
"""
|
|
65
66
|
The disk space usage statistics for the specific datastore. The
|
|
66
67
|
total datastore capacity is represented as `capacity` and the free remaining
|
|
@@ -81,9 +82,9 @@ class AwaitableGetDatastoreResult(GetDatastoreResult):
|
|
|
81
82
|
stats=self.stats)
|
|
82
83
|
|
|
83
84
|
|
|
84
|
-
def get_datastore(datacenter_id: Optional[str] = None,
|
|
85
|
-
name: Optional[str] = None,
|
|
86
|
-
stats: Optional[Mapping[str, str]] = None,
|
|
85
|
+
def get_datastore(datacenter_id: Optional[builtins.str] = None,
|
|
86
|
+
name: Optional[builtins.str] = None,
|
|
87
|
+
stats: Optional[Mapping[str, builtins.str]] = None,
|
|
87
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatastoreResult:
|
|
88
89
|
"""
|
|
89
90
|
The `get_datastore` data source can be used to discover the ID of a
|
|
@@ -103,12 +104,12 @@ def get_datastore(datacenter_id: Optional[str] = None,
|
|
|
103
104
|
```
|
|
104
105
|
|
|
105
106
|
|
|
106
|
-
:param str datacenter_id: The managed object reference ID
|
|
107
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
107
108
|
of the datacenter the datastore is located in. This can be omitted if the
|
|
108
109
|
search path used in `name` is an absolute path. For default datacenters, use
|
|
109
110
|
the `id` attribute from an empty `Datacenter` data source.
|
|
110
|
-
:param str name: The name of the datastore. This can be a name or path.
|
|
111
|
-
:param Mapping[str, str] stats: The disk space usage statistics for the specific datastore. The
|
|
111
|
+
:param builtins.str name: The name of the datastore. This can be a name or path.
|
|
112
|
+
:param Mapping[str, builtins.str] stats: The disk space usage statistics for the specific datastore. The
|
|
112
113
|
total datastore capacity is represented as `capacity` and the free remaining
|
|
113
114
|
disk is represented as `free`.
|
|
114
115
|
"""
|
|
@@ -124,9 +125,9 @@ def get_datastore(datacenter_id: Optional[str] = None,
|
|
|
124
125
|
id=pulumi.get(__ret__, 'id'),
|
|
125
126
|
name=pulumi.get(__ret__, 'name'),
|
|
126
127
|
stats=pulumi.get(__ret__, 'stats'))
|
|
127
|
-
def get_datastore_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
128
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
129
|
-
stats: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
128
|
+
def get_datastore_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
129
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
130
|
+
stats: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
|
130
131
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatastoreResult]:
|
|
131
132
|
"""
|
|
132
133
|
The `get_datastore` data source can be used to discover the ID of a
|
|
@@ -146,12 +147,12 @@ def get_datastore_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] =
|
|
|
146
147
|
```
|
|
147
148
|
|
|
148
149
|
|
|
149
|
-
:param str datacenter_id: The managed object reference ID
|
|
150
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
150
151
|
of the datacenter the datastore is located in. This can be omitted if the
|
|
151
152
|
search path used in `name` is an absolute path. For default datacenters, use
|
|
152
153
|
the `id` attribute from an empty `Datacenter` data source.
|
|
153
|
-
:param str name: The name of the datastore. This can be a name or path.
|
|
154
|
-
:param Mapping[str, str] stats: The disk space usage statistics for the specific datastore. The
|
|
154
|
+
:param builtins.str name: The name of the datastore. This can be a name or path.
|
|
155
|
+
:param Mapping[str, builtins.str] stats: The disk space usage statistics for the specific datastore. The
|
|
155
156
|
total datastore capacity is represented as `capacity` and the free remaining
|
|
156
157
|
disk is represented as `free`.
|
|
157
158
|
"""
|
|
@@ -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
|
|
@@ -42,12 +43,12 @@ class GetDatastoreClusterResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter(name="datacenterId")
|
|
45
|
-
def datacenter_id(self) -> Optional[str]:
|
|
46
|
+
def datacenter_id(self) -> Optional[builtins.str]:
|
|
46
47
|
return pulumi.get(self, "datacenter_id")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def datastores(self) -> Sequence[str]:
|
|
51
|
+
def datastores(self) -> Sequence[builtins.str]:
|
|
51
52
|
"""
|
|
52
53
|
(Optional) The names of the datastores included in the specific
|
|
53
54
|
cluster.
|
|
@@ -56,7 +57,7 @@ class GetDatastoreClusterResult:
|
|
|
56
57
|
|
|
57
58
|
@property
|
|
58
59
|
@pulumi.getter
|
|
59
|
-
def id(self) -> str:
|
|
60
|
+
def id(self) -> builtins.str:
|
|
60
61
|
"""
|
|
61
62
|
The provider-assigned unique ID for this managed resource.
|
|
62
63
|
"""
|
|
@@ -64,7 +65,7 @@ class GetDatastoreClusterResult:
|
|
|
64
65
|
|
|
65
66
|
@property
|
|
66
67
|
@pulumi.getter
|
|
67
|
-
def name(self) -> str:
|
|
68
|
+
def name(self) -> builtins.str:
|
|
68
69
|
return pulumi.get(self, "name")
|
|
69
70
|
|
|
70
71
|
|
|
@@ -80,8 +81,8 @@ class AwaitableGetDatastoreClusterResult(GetDatastoreClusterResult):
|
|
|
80
81
|
name=self.name)
|
|
81
82
|
|
|
82
83
|
|
|
83
|
-
def get_datastore_cluster(datacenter_id: Optional[str] = None,
|
|
84
|
-
name: Optional[str] = None,
|
|
84
|
+
def get_datastore_cluster(datacenter_id: Optional[builtins.str] = None,
|
|
85
|
+
name: Optional[builtins.str] = None,
|
|
85
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatastoreClusterResult:
|
|
86
87
|
"""
|
|
87
88
|
The `DatastoreCluster` data source can be used to discover the ID of a
|
|
@@ -101,12 +102,12 @@ def get_datastore_cluster(datacenter_id: Optional[str] = None,
|
|
|
101
102
|
```
|
|
102
103
|
|
|
103
104
|
|
|
104
|
-
:param str datacenter_id: The managed object reference
|
|
105
|
+
:param builtins.str datacenter_id: The managed object reference
|
|
105
106
|
ID of the datacenter the datastore cluster is located in.
|
|
106
107
|
This can be omitted if the search path used in `name` is an absolute path.
|
|
107
108
|
For default datacenters, use the id attribute from an empty
|
|
108
109
|
`Datacenter` data source.
|
|
109
|
-
:param str name: The name or absolute path to the datastore cluster.
|
|
110
|
+
:param builtins.str name: The name or absolute path to the datastore cluster.
|
|
110
111
|
"""
|
|
111
112
|
__args__ = dict()
|
|
112
113
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -119,8 +120,8 @@ def get_datastore_cluster(datacenter_id: Optional[str] = None,
|
|
|
119
120
|
datastores=pulumi.get(__ret__, 'datastores'),
|
|
120
121
|
id=pulumi.get(__ret__, 'id'),
|
|
121
122
|
name=pulumi.get(__ret__, 'name'))
|
|
122
|
-
def get_datastore_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
123
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
def get_datastore_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
124
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
124
125
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatastoreClusterResult]:
|
|
125
126
|
"""
|
|
126
127
|
The `DatastoreCluster` data source can be used to discover the ID of a
|
|
@@ -140,12 +141,12 @@ def get_datastore_cluster_output(datacenter_id: Optional[pulumi.Input[Optional[s
|
|
|
140
141
|
```
|
|
141
142
|
|
|
142
143
|
|
|
143
|
-
:param str datacenter_id: The managed object reference
|
|
144
|
+
:param builtins.str datacenter_id: The managed object reference
|
|
144
145
|
ID of the datacenter the datastore cluster is located in.
|
|
145
146
|
This can be omitted if the search path used in `name` is an absolute path.
|
|
146
147
|
For default datacenters, use the id attribute from an empty
|
|
147
148
|
`Datacenter` data source.
|
|
148
|
-
:param str name: The name or absolute path to the datastore cluster.
|
|
149
|
+
:param builtins.str name: The name or absolute path to the datastore cluster.
|
|
149
150
|
"""
|
|
150
151
|
__args__ = dict()
|
|
151
152
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -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
|
|
@@ -42,7 +43,7 @@ class GetDatastoreStatsResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter
|
|
45
|
-
def capacity(self) -> Optional[Mapping[str, str]]:
|
|
46
|
+
def capacity(self) -> Optional[Mapping[str, builtins.str]]:
|
|
46
47
|
"""
|
|
47
48
|
A mapping of the capacity for all datastore in the datacenter,
|
|
48
49
|
where the name of the datastore is used as key and the capacity as value.
|
|
@@ -51,7 +52,7 @@ class GetDatastoreStatsResult:
|
|
|
51
52
|
|
|
52
53
|
@property
|
|
53
54
|
@pulumi.getter(name="datacenterId")
|
|
54
|
-
def datacenter_id(self) -> str:
|
|
55
|
+
def datacenter_id(self) -> builtins.str:
|
|
55
56
|
"""
|
|
56
57
|
The [managed object reference ID][docs-about-morefs] of the
|
|
57
58
|
datacenter the datastores are located in.
|
|
@@ -60,7 +61,7 @@ class GetDatastoreStatsResult:
|
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter(name="freeSpace")
|
|
63
|
-
def free_space(self) -> Optional[Mapping[str, str]]:
|
|
64
|
+
def free_space(self) -> Optional[Mapping[str, builtins.str]]:
|
|
64
65
|
"""
|
|
65
66
|
A mapping of the free space for each datastore in the
|
|
66
67
|
datacenter, where the name of the datastore is used as key and the free space
|
|
@@ -70,7 +71,7 @@ class GetDatastoreStatsResult:
|
|
|
70
71
|
|
|
71
72
|
@property
|
|
72
73
|
@pulumi.getter
|
|
73
|
-
def id(self) -> str:
|
|
74
|
+
def id(self) -> builtins.str:
|
|
74
75
|
"""
|
|
75
76
|
The provider-assigned unique ID for this managed resource.
|
|
76
77
|
"""
|
|
@@ -89,9 +90,9 @@ class AwaitableGetDatastoreStatsResult(GetDatastoreStatsResult):
|
|
|
89
90
|
id=self.id)
|
|
90
91
|
|
|
91
92
|
|
|
92
|
-
def get_datastore_stats(capacity: Optional[Mapping[str, str]] = None,
|
|
93
|
-
datacenter_id: Optional[str] = None,
|
|
94
|
-
free_space: Optional[Mapping[str, str]] = None,
|
|
93
|
+
def get_datastore_stats(capacity: Optional[Mapping[str, builtins.str]] = None,
|
|
94
|
+
datacenter_id: Optional[builtins.str] = None,
|
|
95
|
+
free_space: Optional[Mapping[str, builtins.str]] = None,
|
|
95
96
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatastoreStatsResult:
|
|
96
97
|
"""
|
|
97
98
|
The `get_datastore_stats` data source can be used to retrieve the usage
|
|
@@ -124,15 +125,15 @@ def get_datastore_stats(capacity: Optional[Mapping[str, str]] = None,
|
|
|
124
125
|
and a `locals.tf` like that:
|
|
125
126
|
|
|
126
127
|
|
|
127
|
-
:param Mapping[str, str] capacity: A mapping of the capacity for all datastore in the datacenter,
|
|
128
|
+
:param Mapping[str, builtins.str] capacity: A mapping of the capacity for all datastore in the datacenter,
|
|
128
129
|
where the name of the datastore is used as key and the capacity as value.
|
|
129
|
-
:param str datacenter_id: The
|
|
130
|
+
:param builtins.str datacenter_id: The
|
|
130
131
|
[managed object reference ID][docs-about-morefs] of the datacenter the
|
|
131
132
|
datastores are located in. For default datacenters, use the `id` attribute
|
|
132
133
|
from an empty `Datacenter` data source.
|
|
133
134
|
|
|
134
135
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
135
|
-
:param Mapping[str, str] free_space: A mapping of the free space for each datastore in the
|
|
136
|
+
:param Mapping[str, builtins.str] free_space: A mapping of the free space for each datastore in the
|
|
136
137
|
datacenter, where the name of the datastore is used as key and the free space
|
|
137
138
|
as value.
|
|
138
139
|
"""
|
|
@@ -148,9 +149,9 @@ def get_datastore_stats(capacity: Optional[Mapping[str, str]] = None,
|
|
|
148
149
|
datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
|
|
149
150
|
free_space=pulumi.get(__ret__, 'free_space'),
|
|
150
151
|
id=pulumi.get(__ret__, 'id'))
|
|
151
|
-
def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
152
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
153
|
-
free_space: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
|
|
152
|
+
def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
|
153
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
154
|
+
free_space: Optional[pulumi.Input[Optional[Mapping[str, builtins.str]]]] = None,
|
|
154
155
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatastoreStatsResult]:
|
|
155
156
|
"""
|
|
156
157
|
The `get_datastore_stats` data source can be used to retrieve the usage
|
|
@@ -183,15 +184,15 @@ def get_datastore_stats_output(capacity: Optional[pulumi.Input[Optional[Mapping[
|
|
|
183
184
|
and a `locals.tf` like that:
|
|
184
185
|
|
|
185
186
|
|
|
186
|
-
:param Mapping[str, str] capacity: A mapping of the capacity for all datastore in the datacenter,
|
|
187
|
+
:param Mapping[str, builtins.str] capacity: A mapping of the capacity for all datastore in the datacenter,
|
|
187
188
|
where the name of the datastore is used as key and the capacity as value.
|
|
188
|
-
:param str datacenter_id: The
|
|
189
|
+
:param builtins.str datacenter_id: The
|
|
189
190
|
[managed object reference ID][docs-about-morefs] of the datacenter the
|
|
190
191
|
datastores are located in. For default datacenters, use the `id` attribute
|
|
191
192
|
from an empty `Datacenter` data source.
|
|
192
193
|
|
|
193
194
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
194
|
-
:param Mapping[str, str] free_space: A mapping of the free space for each datastore in the
|
|
195
|
+
:param Mapping[str, builtins.str] free_space: A mapping of the free space for each datastore in the
|
|
195
196
|
datacenter, where the name of the datastore is used as key and the free space
|
|
196
197
|
as value.
|
|
197
198
|
"""
|
|
@@ -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
|
|
@@ -42,12 +43,12 @@ class GetDistributedVirtualSwitchResult:
|
|
|
42
43
|
|
|
43
44
|
@property
|
|
44
45
|
@pulumi.getter(name="datacenterId")
|
|
45
|
-
def datacenter_id(self) -> Optional[str]:
|
|
46
|
+
def datacenter_id(self) -> Optional[builtins.str]:
|
|
46
47
|
return pulumi.get(self, "datacenter_id")
|
|
47
48
|
|
|
48
49
|
@property
|
|
49
50
|
@pulumi.getter
|
|
50
|
-
def id(self) -> str:
|
|
51
|
+
def id(self) -> builtins.str:
|
|
51
52
|
"""
|
|
52
53
|
The provider-assigned unique ID for this managed resource.
|
|
53
54
|
"""
|
|
@@ -55,12 +56,12 @@ class GetDistributedVirtualSwitchResult:
|
|
|
55
56
|
|
|
56
57
|
@property
|
|
57
58
|
@pulumi.getter
|
|
58
|
-
def name(self) -> str:
|
|
59
|
+
def name(self) -> builtins.str:
|
|
59
60
|
return pulumi.get(self, "name")
|
|
60
61
|
|
|
61
62
|
@property
|
|
62
63
|
@pulumi.getter
|
|
63
|
-
def uplinks(self) -> Sequence[str]:
|
|
64
|
+
def uplinks(self) -> Sequence[builtins.str]:
|
|
64
65
|
"""
|
|
65
66
|
The list of the uplinks on this vSphere distributed switch, as per the
|
|
66
67
|
`uplinks` argument to the
|
|
@@ -82,8 +83,8 @@ class AwaitableGetDistributedVirtualSwitchResult(GetDistributedVirtualSwitchResu
|
|
|
82
83
|
uplinks=self.uplinks)
|
|
83
84
|
|
|
84
85
|
|
|
85
|
-
def get_distributed_virtual_switch(datacenter_id: Optional[str] = None,
|
|
86
|
-
name: Optional[str] = None,
|
|
86
|
+
def get_distributed_virtual_switch(datacenter_id: Optional[builtins.str] = None,
|
|
87
|
+
name: Optional[builtins.str] = None,
|
|
87
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDistributedVirtualSwitchResult:
|
|
88
89
|
"""
|
|
89
90
|
The `DistributedVirtualSwitch` data source can be used to discover
|
|
@@ -117,11 +118,11 @@ def get_distributed_virtual_switch(datacenter_id: Optional[str] = None,
|
|
|
117
118
|
```
|
|
118
119
|
|
|
119
120
|
|
|
120
|
-
:param str datacenter_id: The managed object reference ID
|
|
121
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
121
122
|
of the datacenter the VDS is located in. This can be omitted if the search
|
|
122
123
|
path used in `name` is an absolute path. For default datacenters, use the `id`
|
|
123
124
|
attribute from an empty `Datacenter` data source.
|
|
124
|
-
:param str name: The name of the VDS. This can be a name or path.
|
|
125
|
+
:param builtins.str name: The name of the VDS. This can be a name or path.
|
|
125
126
|
"""
|
|
126
127
|
__args__ = dict()
|
|
127
128
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -134,8 +135,8 @@ def get_distributed_virtual_switch(datacenter_id: Optional[str] = None,
|
|
|
134
135
|
id=pulumi.get(__ret__, 'id'),
|
|
135
136
|
name=pulumi.get(__ret__, 'name'),
|
|
136
137
|
uplinks=pulumi.get(__ret__, 'uplinks'))
|
|
137
|
-
def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
138
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
139
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
139
140
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDistributedVirtualSwitchResult]:
|
|
140
141
|
"""
|
|
141
142
|
The `DistributedVirtualSwitch` data source can be used to discover
|
|
@@ -169,11 +170,11 @@ def get_distributed_virtual_switch_output(datacenter_id: Optional[pulumi.Input[O
|
|
|
169
170
|
```
|
|
170
171
|
|
|
171
172
|
|
|
172
|
-
:param str datacenter_id: The managed object reference ID
|
|
173
|
+
:param builtins.str datacenter_id: The managed object reference ID
|
|
173
174
|
of the datacenter the VDS is located in. This can be omitted if the search
|
|
174
175
|
path used in `name` is an absolute path. For default datacenters, use the `id`
|
|
175
176
|
attribute from an empty `Datacenter` data source.
|
|
176
|
-
:param str name: The name of the VDS. This can be a name or path.
|
|
177
|
+
:param builtins.str name: The name of the VDS. This can be a name or path.
|
|
177
178
|
"""
|
|
178
179
|
__args__ = dict()
|
|
179
180
|
__args__['datacenterId'] = datacenter_id
|