pulumi-vsphere 4.15.0a1752907786__py3-none-any.whl → 4.15.1__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 +57 -41
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +76 -26
- 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 +124 -125
- 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.0a1752907786.dist-info → pulumi_vsphere-4.15.1.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.15.1.dist-info/RECORD +87 -0
- pulumi_vsphere-4.15.0a1752907786.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.15.0a1752907786.dist-info → pulumi_vsphere-4.15.1.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.15.0a1752907786.dist-info → pulumi_vsphere-4.15.1.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
|
|
@@ -27,7 +26,7 @@ class GetResourcePoolResult:
|
|
|
27
26
|
"""
|
|
28
27
|
A collection of values returned by getResourcePool.
|
|
29
28
|
"""
|
|
30
|
-
def __init__(__self__, datacenter_id=None, id=None, name=None):
|
|
29
|
+
def __init__(__self__, datacenter_id=None, id=None, name=None, parent_resource_pool_id=None):
|
|
31
30
|
if datacenter_id and not isinstance(datacenter_id, str):
|
|
32
31
|
raise TypeError("Expected argument 'datacenter_id' to be a str")
|
|
33
32
|
pulumi.set(__self__, "datacenter_id", datacenter_id)
|
|
@@ -37,25 +36,33 @@ class GetResourcePoolResult:
|
|
|
37
36
|
if name and not isinstance(name, str):
|
|
38
37
|
raise TypeError("Expected argument 'name' to be a str")
|
|
39
38
|
pulumi.set(__self__, "name", name)
|
|
39
|
+
if parent_resource_pool_id and not isinstance(parent_resource_pool_id, str):
|
|
40
|
+
raise TypeError("Expected argument 'parent_resource_pool_id' to be a str")
|
|
41
|
+
pulumi.set(__self__, "parent_resource_pool_id", parent_resource_pool_id)
|
|
40
42
|
|
|
41
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
42
44
|
@pulumi.getter(name="datacenterId")
|
|
43
|
-
def datacenter_id(self) -> Optional[
|
|
45
|
+
def datacenter_id(self) -> Optional[_builtins.str]:
|
|
44
46
|
return pulumi.get(self, "datacenter_id")
|
|
45
47
|
|
|
46
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
47
49
|
@pulumi.getter
|
|
48
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
49
51
|
"""
|
|
50
52
|
The provider-assigned unique ID for this managed resource.
|
|
51
53
|
"""
|
|
52
54
|
return pulumi.get(self, "id")
|
|
53
55
|
|
|
54
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
55
57
|
@pulumi.getter
|
|
56
|
-
def name(self) -> Optional[
|
|
58
|
+
def name(self) -> Optional[_builtins.str]:
|
|
57
59
|
return pulumi.get(self, "name")
|
|
58
60
|
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="parentResourcePoolId")
|
|
63
|
+
def parent_resource_pool_id(self) -> Optional[_builtins.str]:
|
|
64
|
+
return pulumi.get(self, "parent_resource_pool_id")
|
|
65
|
+
|
|
59
66
|
|
|
60
67
|
class AwaitableGetResourcePoolResult(GetResourcePoolResult):
|
|
61
68
|
# pylint: disable=using-constant-test
|
|
@@ -65,11 +72,13 @@ class AwaitableGetResourcePoolResult(GetResourcePoolResult):
|
|
|
65
72
|
return GetResourcePoolResult(
|
|
66
73
|
datacenter_id=self.datacenter_id,
|
|
67
74
|
id=self.id,
|
|
68
|
-
name=self.name
|
|
75
|
+
name=self.name,
|
|
76
|
+
parent_resource_pool_id=self.parent_resource_pool_id)
|
|
69
77
|
|
|
70
78
|
|
|
71
|
-
def get_resource_pool(datacenter_id: Optional[
|
|
72
|
-
name: Optional[
|
|
79
|
+
def get_resource_pool(datacenter_id: Optional[_builtins.str] = None,
|
|
80
|
+
name: Optional[_builtins.str] = None,
|
|
81
|
+
parent_resource_pool_id: Optional[_builtins.str] = None,
|
|
73
82
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourcePoolResult:
|
|
74
83
|
"""
|
|
75
84
|
The `ResourcePool` data source can be used to discover the ID of a
|
|
@@ -79,15 +88,30 @@ def get_resource_pool(datacenter_id: Optional[builtins.str] = None,
|
|
|
79
88
|
|
|
80
89
|
## Example Usage
|
|
81
90
|
|
|
91
|
+
### Find a Resource Pool by Path
|
|
92
|
+
|
|
82
93
|
```python
|
|
83
94
|
import pulumi
|
|
84
95
|
import pulumi_vsphere as vsphere
|
|
85
96
|
|
|
86
97
|
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
87
|
-
pool = vsphere.get_resource_pool(name="
|
|
98
|
+
pool = vsphere.get_resource_pool(name="cluster-01/Resources",
|
|
88
99
|
datacenter_id=datacenter.id)
|
|
89
100
|
```
|
|
90
101
|
|
|
102
|
+
### Find a Child Resource Pool Using the Parent ID
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
import pulumi
|
|
106
|
+
import pulumi_vsphere as vsphere
|
|
107
|
+
|
|
108
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
109
|
+
parent_pool = vsphere.get_resource_pool(name="cluster-01/Resources",
|
|
110
|
+
datacenter_id=datacenter.id)
|
|
111
|
+
child_pool = vsphere.get_resource_pool(name="example",
|
|
112
|
+
parent_resource_pool_id=parent_pool.id)
|
|
113
|
+
```
|
|
114
|
+
|
|
91
115
|
### Specifying the Root Resource Pool for a Standalone ESXi Host
|
|
92
116
|
|
|
93
117
|
> **NOTE:** Returning the root resource pool for a cluster can be done
|
|
@@ -113,30 +137,36 @@ def get_resource_pool(datacenter_id: Optional[builtins.str] = None,
|
|
|
113
137
|
[vmware-docs-resource-pools]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/managing-resource-pools.html
|
|
114
138
|
|
|
115
139
|
|
|
116
|
-
:param
|
|
140
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
117
141
|
of the datacenter in which the resource pool is located. This can be omitted
|
|
118
142
|
if the search path used in `name` is an absolute path. For default
|
|
119
143
|
datacenters, use the id attribute from an empty `Datacenter` data
|
|
120
|
-
source
|
|
144
|
+
source..
|
|
145
|
+
:param _builtins.str name: The name of the resource pool. This can be a name or
|
|
146
|
+
path. This is required when using vCenter.
|
|
147
|
+
:param _builtins.str parent_resource_pool_id: The managed object ID
|
|
148
|
+
of the parent resource pool. When specified, the `name` parameter is used to find
|
|
149
|
+
a child resource pool with the given name under this parent resource pool.
|
|
121
150
|
|
|
122
151
|
> **Note:** When using ESXi without a vCenter Server instance, you do not
|
|
123
152
|
need to specify either attribute to use this data source. An empty declaration
|
|
124
153
|
will load the ESXi host's root resource pool.
|
|
125
|
-
:param builtins.str name: The name of the resource pool. This can be a name or
|
|
126
|
-
path. This is required when using vCenter.
|
|
127
154
|
"""
|
|
128
155
|
__args__ = dict()
|
|
129
156
|
__args__['datacenterId'] = datacenter_id
|
|
130
157
|
__args__['name'] = name
|
|
158
|
+
__args__['parentResourcePoolId'] = parent_resource_pool_id
|
|
131
159
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
132
160
|
__ret__ = pulumi.runtime.invoke('vsphere:index/getResourcePool:getResourcePool', __args__, opts=opts, typ=GetResourcePoolResult).value
|
|
133
161
|
|
|
134
162
|
return AwaitableGetResourcePoolResult(
|
|
135
163
|
datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
|
|
136
164
|
id=pulumi.get(__ret__, 'id'),
|
|
137
|
-
name=pulumi.get(__ret__, 'name')
|
|
138
|
-
|
|
139
|
-
|
|
165
|
+
name=pulumi.get(__ret__, 'name'),
|
|
166
|
+
parent_resource_pool_id=pulumi.get(__ret__, 'parent_resource_pool_id'))
|
|
167
|
+
def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
168
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
169
|
+
parent_resource_pool_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
140
170
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetResourcePoolResult]:
|
|
141
171
|
"""
|
|
142
172
|
The `ResourcePool` data source can be used to discover the ID of a
|
|
@@ -146,13 +176,28 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[built
|
|
|
146
176
|
|
|
147
177
|
## Example Usage
|
|
148
178
|
|
|
179
|
+
### Find a Resource Pool by Path
|
|
180
|
+
|
|
181
|
+
```python
|
|
182
|
+
import pulumi
|
|
183
|
+
import pulumi_vsphere as vsphere
|
|
184
|
+
|
|
185
|
+
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
186
|
+
pool = vsphere.get_resource_pool(name="cluster-01/Resources",
|
|
187
|
+
datacenter_id=datacenter.id)
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Find a Child Resource Pool Using the Parent ID
|
|
191
|
+
|
|
149
192
|
```python
|
|
150
193
|
import pulumi
|
|
151
194
|
import pulumi_vsphere as vsphere
|
|
152
195
|
|
|
153
196
|
datacenter = vsphere.get_datacenter(name="dc-01")
|
|
154
|
-
|
|
197
|
+
parent_pool = vsphere.get_resource_pool(name="cluster-01/Resources",
|
|
155
198
|
datacenter_id=datacenter.id)
|
|
199
|
+
child_pool = vsphere.get_resource_pool(name="example",
|
|
200
|
+
parent_resource_pool_id=parent_pool.id)
|
|
156
201
|
```
|
|
157
202
|
|
|
158
203
|
### Specifying the Root Resource Pool for a Standalone ESXi Host
|
|
@@ -180,24 +225,29 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[built
|
|
|
180
225
|
[vmware-docs-resource-pools]: https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/vsphere-resource-management-8-0/managing-resource-pools.html
|
|
181
226
|
|
|
182
227
|
|
|
183
|
-
:param
|
|
228
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
184
229
|
of the datacenter in which the resource pool is located. This can be omitted
|
|
185
230
|
if the search path used in `name` is an absolute path. For default
|
|
186
231
|
datacenters, use the id attribute from an empty `Datacenter` data
|
|
187
|
-
source
|
|
232
|
+
source..
|
|
233
|
+
:param _builtins.str name: The name of the resource pool. This can be a name or
|
|
234
|
+
path. This is required when using vCenter.
|
|
235
|
+
:param _builtins.str parent_resource_pool_id: The managed object ID
|
|
236
|
+
of the parent resource pool. When specified, the `name` parameter is used to find
|
|
237
|
+
a child resource pool with the given name under this parent resource pool.
|
|
188
238
|
|
|
189
239
|
> **Note:** When using ESXi without a vCenter Server instance, you do not
|
|
190
240
|
need to specify either attribute to use this data source. An empty declaration
|
|
191
241
|
will load the ESXi host's root resource pool.
|
|
192
|
-
:param builtins.str name: The name of the resource pool. This can be a name or
|
|
193
|
-
path. This is required when using vCenter.
|
|
194
242
|
"""
|
|
195
243
|
__args__ = dict()
|
|
196
244
|
__args__['datacenterId'] = datacenter_id
|
|
197
245
|
__args__['name'] = name
|
|
246
|
+
__args__['parentResourcePoolId'] = parent_resource_pool_id
|
|
198
247
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
199
248
|
__ret__ = pulumi.runtime.invoke_output('vsphere:index/getResourcePool:getResourcePool', __args__, opts=opts, typ=GetResourcePoolResult)
|
|
200
249
|
return __ret__.apply(lambda __response__: GetResourcePoolResult(
|
|
201
250
|
datacenter_id=pulumi.get(__response__, 'datacenter_id'),
|
|
202
251
|
id=pulumi.get(__response__, 'id'),
|
|
203
|
-
name=pulumi.get(__response__, 'name')
|
|
252
|
+
name=pulumi.get(__response__, 'name'),
|
|
253
|
+
parent_resource_pool_id=pulumi.get(__response__, 'parent_resource_pool_id')))
|
pulumi_vsphere/get_role.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -44,38 +43,38 @@ class GetRoleResult:
|
|
|
44
43
|
raise TypeError("Expected argument 'role_privileges' to be a list")
|
|
45
44
|
pulumi.set(__self__, "role_privileges", role_privileges)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
|
-
def description(self) -> Optional[
|
|
48
|
+
def description(self) -> Optional[_builtins.str]:
|
|
50
49
|
"""
|
|
51
50
|
The description of the role.
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "description")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def id(self) ->
|
|
56
|
+
def id(self) -> _builtins.str:
|
|
58
57
|
"""
|
|
59
58
|
The provider-assigned unique ID for this managed resource.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "id")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def label(self) ->
|
|
64
|
+
def label(self) -> _builtins.str:
|
|
66
65
|
"""
|
|
67
66
|
The display label of the role.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "label")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def name(self) -> Optional[
|
|
72
|
+
def name(self) -> Optional[_builtins.str]:
|
|
74
73
|
return pulumi.get(self, "name")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter(name="rolePrivileges")
|
|
78
|
-
def role_privileges(self) -> Optional[Sequence[
|
|
77
|
+
def role_privileges(self) -> Optional[Sequence[_builtins.str]]:
|
|
79
78
|
"""
|
|
80
79
|
The privileges associated with the role.
|
|
81
80
|
"""
|
|
@@ -95,10 +94,10 @@ class AwaitableGetRoleResult(GetRoleResult):
|
|
|
95
94
|
role_privileges=self.role_privileges)
|
|
96
95
|
|
|
97
96
|
|
|
98
|
-
def get_role(description: Optional[
|
|
99
|
-
label: Optional[
|
|
100
|
-
name: Optional[
|
|
101
|
-
role_privileges: Optional[Sequence[
|
|
97
|
+
def get_role(description: Optional[_builtins.str] = None,
|
|
98
|
+
label: Optional[_builtins.str] = None,
|
|
99
|
+
name: Optional[_builtins.str] = None,
|
|
100
|
+
role_privileges: Optional[Sequence[_builtins.str]] = None,
|
|
102
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoleResult:
|
|
103
102
|
"""
|
|
104
103
|
The `Role` data source can be used to discover the `id` and privileges
|
|
@@ -114,9 +113,9 @@ def get_role(description: Optional[builtins.str] = None,
|
|
|
114
113
|
```
|
|
115
114
|
|
|
116
115
|
|
|
117
|
-
:param
|
|
118
|
-
:param
|
|
119
|
-
:param Sequence[
|
|
116
|
+
:param _builtins.str description: The description of the role.
|
|
117
|
+
:param _builtins.str label: The label of the role.
|
|
118
|
+
:param Sequence[_builtins.str] role_privileges: The privileges associated with the role.
|
|
120
119
|
"""
|
|
121
120
|
__args__ = dict()
|
|
122
121
|
__args__['description'] = description
|
|
@@ -132,10 +131,10 @@ def get_role(description: Optional[builtins.str] = None,
|
|
|
132
131
|
label=pulumi.get(__ret__, 'label'),
|
|
133
132
|
name=pulumi.get(__ret__, 'name'),
|
|
134
133
|
role_privileges=pulumi.get(__ret__, 'role_privileges'))
|
|
135
|
-
def get_role_output(description: Optional[pulumi.Input[Optional[
|
|
136
|
-
label: Optional[pulumi.Input[
|
|
137
|
-
name: Optional[pulumi.Input[Optional[
|
|
138
|
-
role_privileges: Optional[pulumi.Input[Optional[Sequence[
|
|
134
|
+
def get_role_output(description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
135
|
+
label: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
137
|
+
role_privileges: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
139
138
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoleResult]:
|
|
140
139
|
"""
|
|
141
140
|
The `Role` data source can be used to discover the `id` and privileges
|
|
@@ -151,9 +150,9 @@ def get_role_output(description: Optional[pulumi.Input[Optional[builtins.str]]]
|
|
|
151
150
|
```
|
|
152
151
|
|
|
153
152
|
|
|
154
|
-
:param
|
|
155
|
-
:param
|
|
156
|
-
:param Sequence[
|
|
153
|
+
:param _builtins.str description: The description of the role.
|
|
154
|
+
:param _builtins.str label: The label of the role.
|
|
155
|
+
:param Sequence[_builtins.str] role_privileges: The privileges associated with the role.
|
|
157
156
|
"""
|
|
158
157
|
__args__ = dict()
|
|
159
158
|
__args__['description'] = description
|
pulumi_vsphere/get_tag.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 GetTagResult:
|
|
|
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="categoryId")
|
|
46
|
-
def category_id(self) ->
|
|
45
|
+
def category_id(self) -> _builtins.str:
|
|
47
46
|
return pulumi.get(self, "category_id")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def description(self) ->
|
|
50
|
+
def description(self) -> _builtins.str:
|
|
52
51
|
return pulumi.get(self, "description")
|
|
53
52
|
|
|
54
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
55
54
|
@pulumi.getter
|
|
56
|
-
def id(self) ->
|
|
55
|
+
def id(self) -> _builtins.str:
|
|
57
56
|
"""
|
|
58
57
|
The provider-assigned unique ID for this managed resource.
|
|
59
58
|
"""
|
|
60
59
|
return pulumi.get(self, "id")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def name(self) ->
|
|
63
|
+
def name(self) -> _builtins.str:
|
|
65
64
|
return pulumi.get(self, "name")
|
|
66
65
|
|
|
67
66
|
|
|
@@ -77,8 +76,8 @@ class AwaitableGetTagResult(GetTagResult):
|
|
|
77
76
|
name=self.name)
|
|
78
77
|
|
|
79
78
|
|
|
80
|
-
def get_tag(category_id: Optional[
|
|
81
|
-
name: Optional[
|
|
79
|
+
def get_tag(category_id: Optional[_builtins.str] = None,
|
|
80
|
+
name: Optional[_builtins.str] = None,
|
|
82
81
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagResult:
|
|
83
82
|
"""
|
|
84
83
|
The `Tag` data source can be used to reference tags that are not
|
|
@@ -102,9 +101,9 @@ def get_tag(category_id: Optional[builtins.str] = None,
|
|
|
102
101
|
```
|
|
103
102
|
|
|
104
103
|
|
|
105
|
-
:param
|
|
104
|
+
:param _builtins.str category_id: The ID of the tag category in which the tag is
|
|
106
105
|
located.
|
|
107
|
-
:param
|
|
106
|
+
:param _builtins.str name: The name of the tag.
|
|
108
107
|
"""
|
|
109
108
|
__args__ = dict()
|
|
110
109
|
__args__['categoryId'] = category_id
|
|
@@ -117,8 +116,8 @@ def get_tag(category_id: Optional[builtins.str] = None,
|
|
|
117
116
|
description=pulumi.get(__ret__, 'description'),
|
|
118
117
|
id=pulumi.get(__ret__, 'id'),
|
|
119
118
|
name=pulumi.get(__ret__, 'name'))
|
|
120
|
-
def get_tag_output(category_id: Optional[pulumi.Input[
|
|
121
|
-
name: Optional[pulumi.Input[
|
|
119
|
+
def get_tag_output(category_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
121
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagResult]:
|
|
123
122
|
"""
|
|
124
123
|
The `Tag` data source can be used to reference tags that are not
|
|
@@ -142,9 +141,9 @@ def get_tag_output(category_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
142
141
|
```
|
|
143
142
|
|
|
144
143
|
|
|
145
|
-
:param
|
|
144
|
+
:param _builtins.str category_id: The ID of the tag category in which the tag is
|
|
146
145
|
located.
|
|
147
|
-
:param
|
|
146
|
+
:param _builtins.str name: The name of the tag.
|
|
148
147
|
"""
|
|
149
148
|
__args__ = dict()
|
|
150
149
|
__args__['categoryId'] = category_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
|
|
@@ -44,32 +43,32 @@ class GetTagCategoryResult:
|
|
|
44
43
|
raise TypeError("Expected argument 'name' to be a str")
|
|
45
44
|
pulumi.set(__self__, "name", name)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter(name="associableTypes")
|
|
49
|
-
def associable_types(self) -> Sequence[
|
|
48
|
+
def associable_types(self) -> Sequence[_builtins.str]:
|
|
50
49
|
return pulumi.get(self, "associable_types")
|
|
51
50
|
|
|
52
|
-
@property
|
|
51
|
+
@_builtins.property
|
|
53
52
|
@pulumi.getter
|
|
54
|
-
def cardinality(self) ->
|
|
53
|
+
def cardinality(self) -> _builtins.str:
|
|
55
54
|
return pulumi.get(self, "cardinality")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def description(self) ->
|
|
58
|
+
def description(self) -> _builtins.str:
|
|
60
59
|
return pulumi.get(self, "description")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def id(self) ->
|
|
63
|
+
def id(self) -> _builtins.str:
|
|
65
64
|
"""
|
|
66
65
|
The provider-assigned unique ID for this managed resource.
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "id")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def name(self) ->
|
|
71
|
+
def name(self) -> _builtins.str:
|
|
73
72
|
return pulumi.get(self, "name")
|
|
74
73
|
|
|
75
74
|
|
|
@@ -86,7 +85,7 @@ class AwaitableGetTagCategoryResult(GetTagCategoryResult):
|
|
|
86
85
|
name=self.name)
|
|
87
86
|
|
|
88
87
|
|
|
89
|
-
def get_tag_category(name: Optional[
|
|
88
|
+
def get_tag_category(name: Optional[_builtins.str] = None,
|
|
90
89
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagCategoryResult:
|
|
91
90
|
"""
|
|
92
91
|
The `TagCategory` data source can be used to reference tag categories
|
|
@@ -108,7 +107,7 @@ def get_tag_category(name: Optional[builtins.str] = None,
|
|
|
108
107
|
```
|
|
109
108
|
|
|
110
109
|
|
|
111
|
-
:param
|
|
110
|
+
:param _builtins.str name: The name of the tag category.
|
|
112
111
|
"""
|
|
113
112
|
__args__ = dict()
|
|
114
113
|
__args__['name'] = name
|
|
@@ -121,7 +120,7 @@ def get_tag_category(name: Optional[builtins.str] = None,
|
|
|
121
120
|
description=pulumi.get(__ret__, 'description'),
|
|
122
121
|
id=pulumi.get(__ret__, 'id'),
|
|
123
122
|
name=pulumi.get(__ret__, 'name'))
|
|
124
|
-
def get_tag_category_output(name: Optional[pulumi.Input[
|
|
123
|
+
def get_tag_category_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
125
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagCategoryResult]:
|
|
126
125
|
"""
|
|
127
126
|
The `TagCategory` data source can be used to reference tag categories
|
|
@@ -143,7 +142,7 @@ def get_tag_category_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
143
142
|
```
|
|
144
143
|
|
|
145
144
|
|
|
146
|
-
:param
|
|
145
|
+
:param _builtins.str name: The name of the tag category.
|
|
147
146
|
"""
|
|
148
147
|
__args__ = dict()
|
|
149
148
|
__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
|
|
@@ -38,22 +37,22 @@ class GetVappContainerResult:
|
|
|
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(name="datacenterId")
|
|
43
|
-
def datacenter_id(self) ->
|
|
42
|
+
def datacenter_id(self) -> _builtins.str:
|
|
44
43
|
return pulumi.get(self, "datacenter_id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
49
48
|
"""
|
|
50
49
|
The provider-assigned unique ID for this managed resource.
|
|
51
50
|
"""
|
|
52
51
|
return pulumi.get(self, "id")
|
|
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,8 +67,8 @@ class AwaitableGetVappContainerResult(GetVappContainerResult):
|
|
|
68
67
|
name=self.name)
|
|
69
68
|
|
|
70
69
|
|
|
71
|
-
def get_vapp_container(datacenter_id: Optional[
|
|
72
|
-
name: Optional[
|
|
70
|
+
def get_vapp_container(datacenter_id: Optional[_builtins.str] = None,
|
|
71
|
+
name: Optional[_builtins.str] = None,
|
|
73
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVappContainerResult:
|
|
74
73
|
"""
|
|
75
74
|
The `VappContainer` data source can be used to discover the ID of a
|
|
@@ -89,9 +88,9 @@ def get_vapp_container(datacenter_id: Optional[builtins.str] = None,
|
|
|
89
88
|
```
|
|
90
89
|
|
|
91
90
|
|
|
92
|
-
:param
|
|
91
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
93
92
|
of the datacenter in which the vApp container is located.
|
|
94
|
-
:param
|
|
93
|
+
:param _builtins.str name: The name of the vApp container. This can be a name or
|
|
95
94
|
path.
|
|
96
95
|
"""
|
|
97
96
|
__args__ = dict()
|
|
@@ -104,8 +103,8 @@ def get_vapp_container(datacenter_id: Optional[builtins.str] = None,
|
|
|
104
103
|
datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
|
|
105
104
|
id=pulumi.get(__ret__, 'id'),
|
|
106
105
|
name=pulumi.get(__ret__, 'name'))
|
|
107
|
-
def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[
|
|
108
|
-
name: Optional[pulumi.Input[
|
|
106
|
+
def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
107
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
109
108
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVappContainerResult]:
|
|
110
109
|
"""
|
|
111
110
|
The `VappContainer` data source can be used to discover the ID of a
|
|
@@ -125,9 +124,9 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[builtins.str]
|
|
|
125
124
|
```
|
|
126
125
|
|
|
127
126
|
|
|
128
|
-
:param
|
|
127
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
129
128
|
of the datacenter in which the vApp container is located.
|
|
130
|
-
:param
|
|
129
|
+
:param _builtins.str name: The name of the vApp container. This can be a name or
|
|
131
130
|
path.
|
|
132
131
|
"""
|
|
133
132
|
__args__ = dict()
|