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