pulumi-vsphere 4.14.0a1739946909__py3-none-any.whl → 4.17.0a1763710194__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-vsphere might be problematic. Click here for more details.

Files changed (89) hide show
  1. pulumi_vsphere/__init__.py +12 -1
  2. pulumi_vsphere/_inputs.py +1172 -1172
  3. pulumi_vsphere/_utilities.py +1 -1
  4. pulumi_vsphere/compute_cluster.py +1226 -1484
  5. pulumi_vsphere/compute_cluster_host_group.py +124 -53
  6. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
  7. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
  8. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
  9. pulumi_vsphere/compute_cluster_vm_group.py +58 -53
  10. pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
  11. pulumi_vsphere/config/__init__.py +2 -1
  12. pulumi_vsphere/config/__init__.pyi +2 -2
  13. pulumi_vsphere/config/vars.py +15 -15
  14. pulumi_vsphere/configuration_profile.py +286 -0
  15. pulumi_vsphere/content_library.py +64 -59
  16. pulumi_vsphere/content_library_item.py +109 -104
  17. pulumi_vsphere/custom_attribute.py +41 -36
  18. pulumi_vsphere/datacenter.py +80 -79
  19. pulumi_vsphere/datastore_cluster.py +531 -477
  20. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
  21. pulumi_vsphere/distributed_port_group.py +802 -818
  22. pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
  23. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
  24. pulumi_vsphere/dpm_host_override.py +159 -70
  25. pulumi_vsphere/drs_vm_override.py +75 -70
  26. pulumi_vsphere/entity_permissions.py +40 -39
  27. pulumi_vsphere/file.py +148 -162
  28. pulumi_vsphere/folder.py +104 -99
  29. pulumi_vsphere/get_compute_cluster.py +18 -18
  30. pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
  31. pulumi_vsphere/get_configuration_profile.py +145 -0
  32. pulumi_vsphere/get_content_library.py +10 -10
  33. pulumi_vsphere/get_content_library_item.py +22 -22
  34. pulumi_vsphere/get_custom_attribute.py +12 -12
  35. pulumi_vsphere/get_datacenter.py +12 -12
  36. pulumi_vsphere/get_datastore.py +22 -22
  37. pulumi_vsphere/get_datastore_cluster.py +19 -19
  38. pulumi_vsphere/get_datastore_stats.py +22 -26
  39. pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
  40. pulumi_vsphere/get_dynamic.py +22 -26
  41. pulumi_vsphere/get_folder.py +140 -18
  42. pulumi_vsphere/get_guest_os_customization.py +74 -21
  43. pulumi_vsphere/get_host.py +18 -18
  44. pulumi_vsphere/get_host_base_images.py +6 -6
  45. pulumi_vsphere/get_host_pci_device.py +30 -30
  46. pulumi_vsphere/get_host_thumbprint.py +22 -22
  47. pulumi_vsphere/get_host_vgpu_profile.py +17 -17
  48. pulumi_vsphere/get_license.py +26 -24
  49. pulumi_vsphere/get_network.py +80 -29
  50. pulumi_vsphere/get_ovf_vm_template.py +126 -126
  51. pulumi_vsphere/get_policy.py +10 -10
  52. pulumi_vsphere/get_resource_pool.py +77 -26
  53. pulumi_vsphere/get_role.py +26 -26
  54. pulumi_vsphere/get_tag.py +18 -18
  55. pulumi_vsphere/get_tag_category.py +16 -16
  56. pulumi_vsphere/get_vapp_container.py +16 -16
  57. pulumi_vsphere/get_virtual_machine.py +273 -273
  58. pulumi_vsphere/get_vmfs_disks.py +24 -24
  59. pulumi_vsphere/guest_os_customization.py +75 -74
  60. pulumi_vsphere/ha_vm_override.py +295 -374
  61. pulumi_vsphere/host.py +304 -249
  62. pulumi_vsphere/host_port_group.py +321 -341
  63. pulumi_vsphere/host_virtual_switch.py +373 -389
  64. pulumi_vsphere/license.py +125 -84
  65. pulumi_vsphere/nas_datastore.py +324 -261
  66. pulumi_vsphere/offline_software_depot.py +26 -21
  67. pulumi_vsphere/outputs.py +1003 -970
  68. pulumi_vsphere/provider.py +165 -146
  69. pulumi_vsphere/pulumi-plugin.json +1 -1
  70. pulumi_vsphere/resource_pool.py +691 -364
  71. pulumi_vsphere/role.py +46 -45
  72. pulumi_vsphere/storage_drs_vm_override.py +92 -87
  73. pulumi_vsphere/supervisor.py +210 -209
  74. pulumi_vsphere/tag.py +58 -53
  75. pulumi_vsphere/tag_category.py +75 -70
  76. pulumi_vsphere/vapp_container.py +262 -257
  77. pulumi_vsphere/vapp_entity.py +177 -172
  78. pulumi_vsphere/virtual_disk.py +130 -125
  79. pulumi_vsphere/virtual_machine.py +1339 -1443
  80. pulumi_vsphere/virtual_machine_class.py +109 -108
  81. pulumi_vsphere/virtual_machine_snapshot.py +122 -121
  82. pulumi_vsphere/vm_storage_policy.py +40 -39
  83. pulumi_vsphere/vmfs_datastore.py +189 -184
  84. pulumi_vsphere/vnic.py +145 -144
  85. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
  86. pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
  87. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
  88. pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
  89. {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -26,7 +26,7 @@ class GetResourcePoolResult:
26
26
  """
27
27
  A collection of values returned by getResourcePool.
28
28
  """
29
- 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):
30
30
  if datacenter_id and not isinstance(datacenter_id, str):
31
31
  raise TypeError("Expected argument 'datacenter_id' to be a str")
32
32
  pulumi.set(__self__, "datacenter_id", datacenter_id)
@@ -36,25 +36,33 @@ class GetResourcePoolResult:
36
36
  if name and not isinstance(name, str):
37
37
  raise TypeError("Expected argument 'name' to be a str")
38
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)
39
42
 
40
- @property
43
+ @_builtins.property
41
44
  @pulumi.getter(name="datacenterId")
42
- def datacenter_id(self) -> Optional[str]:
45
+ def datacenter_id(self) -> Optional[_builtins.str]:
43
46
  return pulumi.get(self, "datacenter_id")
44
47
 
45
- @property
48
+ @_builtins.property
46
49
  @pulumi.getter
47
- def id(self) -> str:
50
+ def id(self) -> _builtins.str:
48
51
  """
49
52
  The provider-assigned unique ID for this managed resource.
50
53
  """
51
54
  return pulumi.get(self, "id")
52
55
 
53
- @property
56
+ @_builtins.property
54
57
  @pulumi.getter
55
- def name(self) -> Optional[str]:
58
+ def name(self) -> Optional[_builtins.str]:
56
59
  return pulumi.get(self, "name")
57
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
+
58
66
 
59
67
  class AwaitableGetResourcePoolResult(GetResourcePoolResult):
60
68
  # pylint: disable=using-constant-test
@@ -64,11 +72,13 @@ class AwaitableGetResourcePoolResult(GetResourcePoolResult):
64
72
  return GetResourcePoolResult(
65
73
  datacenter_id=self.datacenter_id,
66
74
  id=self.id,
67
- name=self.name)
75
+ name=self.name,
76
+ parent_resource_pool_id=self.parent_resource_pool_id)
68
77
 
69
78
 
70
- def get_resource_pool(datacenter_id: Optional[str] = None,
71
- name: Optional[str] = None,
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,
72
82
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetResourcePoolResult:
73
83
  """
74
84
  The `ResourcePool` data source can be used to discover the ID of a
@@ -78,15 +88,30 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
78
88
 
79
89
  ## Example Usage
80
90
 
91
+ ### Find a Resource Pool by Path
92
+
81
93
  ```python
82
94
  import pulumi
83
95
  import pulumi_vsphere as vsphere
84
96
 
85
97
  datacenter = vsphere.get_datacenter(name="dc-01")
86
- pool = vsphere.get_resource_pool(name="resource-pool-01",
98
+ pool = vsphere.get_resource_pool(name="cluster-01/Resources",
87
99
  datacenter_id=datacenter.id)
88
100
  ```
89
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
+
90
115
  ### Specifying the Root Resource Pool for a Standalone ESXi Host
91
116
 
92
117
  > **NOTE:** Returning the root resource pool for a cluster can be done
@@ -112,30 +137,36 @@ def get_resource_pool(datacenter_id: Optional[str] = None,
112
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
113
138
 
114
139
 
115
- :param str datacenter_id: The managed object reference ID
140
+ :param _builtins.str datacenter_id: The managed object reference ID
116
141
  of the datacenter in which the resource pool is located. This can be omitted
117
142
  if the search path used in `name` is an absolute path. For default
118
143
  datacenters, use the id attribute from an empty `Datacenter` data
119
- 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.
120
150
 
121
151
  > **Note:** When using ESXi without a vCenter Server instance, you do not
122
152
  need to specify either attribute to use this data source. An empty declaration
123
153
  will load the ESXi host's root resource pool.
124
- :param str name: The name of the resource pool. This can be a name or
125
- path. This is required when using vCenter.
126
154
  """
127
155
  __args__ = dict()
128
156
  __args__['datacenterId'] = datacenter_id
129
157
  __args__['name'] = name
158
+ __args__['parentResourcePoolId'] = parent_resource_pool_id
130
159
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
131
160
  __ret__ = pulumi.runtime.invoke('vsphere:index/getResourcePool:getResourcePool', __args__, opts=opts, typ=GetResourcePoolResult).value
132
161
 
133
162
  return AwaitableGetResourcePoolResult(
134
163
  datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
135
164
  id=pulumi.get(__ret__, 'id'),
136
- name=pulumi.get(__ret__, 'name'))
137
- def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
138
- name: Optional[pulumi.Input[Optional[str]]] = None,
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,
139
170
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetResourcePoolResult]:
140
171
  """
141
172
  The `ResourcePool` data source can be used to discover the ID of a
@@ -145,13 +176,28 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
145
176
 
146
177
  ## Example Usage
147
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
+
148
192
  ```python
149
193
  import pulumi
150
194
  import pulumi_vsphere as vsphere
151
195
 
152
196
  datacenter = vsphere.get_datacenter(name="dc-01")
153
- pool = vsphere.get_resource_pool(name="resource-pool-01",
197
+ parent_pool = vsphere.get_resource_pool(name="cluster-01/Resources",
154
198
  datacenter_id=datacenter.id)
199
+ child_pool = vsphere.get_resource_pool(name="example",
200
+ parent_resource_pool_id=parent_pool.id)
155
201
  ```
156
202
 
157
203
  ### Specifying the Root Resource Pool for a Standalone ESXi Host
@@ -179,24 +225,29 @@ def get_resource_pool_output(datacenter_id: Optional[pulumi.Input[Optional[str]]
179
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
180
226
 
181
227
 
182
- :param str datacenter_id: The managed object reference ID
228
+ :param _builtins.str datacenter_id: The managed object reference ID
183
229
  of the datacenter in which the resource pool is located. This can be omitted
184
230
  if the search path used in `name` is an absolute path. For default
185
231
  datacenters, use the id attribute from an empty `Datacenter` data
186
- 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.
187
238
 
188
239
  > **Note:** When using ESXi without a vCenter Server instance, you do not
189
240
  need to specify either attribute to use this data source. An empty declaration
190
241
  will load the ESXi host's root resource pool.
191
- :param str name: The name of the resource pool. This can be a name or
192
- path. This is required when using vCenter.
193
242
  """
194
243
  __args__ = dict()
195
244
  __args__['datacenterId'] = datacenter_id
196
245
  __args__['name'] = name
246
+ __args__['parentResourcePoolId'] = parent_resource_pool_id
197
247
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
198
248
  __ret__ = pulumi.runtime.invoke_output('vsphere:index/getResourcePool:getResourcePool', __args__, opts=opts, typ=GetResourcePoolResult)
199
249
  return __ret__.apply(lambda __response__: GetResourcePoolResult(
200
250
  datacenter_id=pulumi.get(__response__, 'datacenter_id'),
201
251
  id=pulumi.get(__response__, 'id'),
202
- name=pulumi.get(__response__, 'name')))
252
+ name=pulumi.get(__response__, 'name'),
253
+ parent_resource_pool_id=pulumi.get(__response__, 'parent_resource_pool_id')))
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -43,38 +43,38 @@ class GetRoleResult:
43
43
  raise TypeError("Expected argument 'role_privileges' to be a list")
44
44
  pulumi.set(__self__, "role_privileges", role_privileges)
45
45
 
46
- @property
46
+ @_builtins.property
47
47
  @pulumi.getter
48
- def description(self) -> Optional[str]:
48
+ def description(self) -> Optional[_builtins.str]:
49
49
  """
50
50
  The description of the role.
51
51
  """
52
52
  return pulumi.get(self, "description")
53
53
 
54
- @property
54
+ @_builtins.property
55
55
  @pulumi.getter
56
- def id(self) -> str:
56
+ def id(self) -> _builtins.str:
57
57
  """
58
58
  The provider-assigned unique ID for this managed resource.
59
59
  """
60
60
  return pulumi.get(self, "id")
61
61
 
62
- @property
62
+ @_builtins.property
63
63
  @pulumi.getter
64
- def label(self) -> str:
64
+ def label(self) -> _builtins.str:
65
65
  """
66
66
  The display label of the role.
67
67
  """
68
68
  return pulumi.get(self, "label")
69
69
 
70
- @property
70
+ @_builtins.property
71
71
  @pulumi.getter
72
- def name(self) -> Optional[str]:
72
+ def name(self) -> Optional[_builtins.str]:
73
73
  return pulumi.get(self, "name")
74
74
 
75
- @property
75
+ @_builtins.property
76
76
  @pulumi.getter(name="rolePrivileges")
77
- def role_privileges(self) -> Optional[Sequence[str]]:
77
+ def role_privileges(self) -> Optional[Sequence[_builtins.str]]:
78
78
  """
79
79
  The privileges associated with the role.
80
80
  """
@@ -94,10 +94,10 @@ class AwaitableGetRoleResult(GetRoleResult):
94
94
  role_privileges=self.role_privileges)
95
95
 
96
96
 
97
- def get_role(description: Optional[str] = None,
98
- label: Optional[str] = None,
99
- name: Optional[str] = None,
100
- role_privileges: Optional[Sequence[str]] = None,
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,
101
101
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRoleResult:
102
102
  """
103
103
  The `Role` data source can be used to discover the `id` and privileges
@@ -113,9 +113,9 @@ def get_role(description: Optional[str] = None,
113
113
  ```
114
114
 
115
115
 
116
- :param str description: The description of the role.
117
- :param str label: The label of the role.
118
- :param Sequence[str] role_privileges: The privileges associated with the role.
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.
119
119
  """
120
120
  __args__ = dict()
121
121
  __args__['description'] = description
@@ -131,10 +131,10 @@ def get_role(description: Optional[str] = None,
131
131
  label=pulumi.get(__ret__, 'label'),
132
132
  name=pulumi.get(__ret__, 'name'),
133
133
  role_privileges=pulumi.get(__ret__, 'role_privileges'))
134
- def get_role_output(description: Optional[pulumi.Input[Optional[str]]] = None,
135
- label: Optional[pulumi.Input[str]] = None,
136
- name: Optional[pulumi.Input[Optional[str]]] = None,
137
- role_privileges: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
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,
138
138
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoleResult]:
139
139
  """
140
140
  The `Role` data source can be used to discover the `id` and privileges
@@ -150,9 +150,9 @@ def get_role_output(description: Optional[pulumi.Input[Optional[str]]] = None,
150
150
  ```
151
151
 
152
152
 
153
- :param str description: The description of the role.
154
- :param str label: The label of the role.
155
- :param Sequence[str] role_privileges: The privileges associated with the role.
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.
156
156
  """
157
157
  __args__ = dict()
158
158
  __args__['description'] = description
pulumi_vsphere/get_tag.py CHANGED
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -40,27 +40,27 @@ class GetTagResult:
40
40
  raise TypeError("Expected argument 'name' to be a str")
41
41
  pulumi.set(__self__, "name", name)
42
42
 
43
- @property
43
+ @_builtins.property
44
44
  @pulumi.getter(name="categoryId")
45
- def category_id(self) -> str:
45
+ def category_id(self) -> _builtins.str:
46
46
  return pulumi.get(self, "category_id")
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter
50
- def description(self) -> str:
50
+ def description(self) -> _builtins.str:
51
51
  return pulumi.get(self, "description")
52
52
 
53
- @property
53
+ @_builtins.property
54
54
  @pulumi.getter
55
- def id(self) -> str:
55
+ def id(self) -> _builtins.str:
56
56
  """
57
57
  The provider-assigned unique ID for this managed resource.
58
58
  """
59
59
  return pulumi.get(self, "id")
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter
63
- def name(self) -> str:
63
+ def name(self) -> _builtins.str:
64
64
  return pulumi.get(self, "name")
65
65
 
66
66
 
@@ -76,8 +76,8 @@ class AwaitableGetTagResult(GetTagResult):
76
76
  name=self.name)
77
77
 
78
78
 
79
- def get_tag(category_id: Optional[str] = None,
80
- name: Optional[str] = None,
79
+ def get_tag(category_id: Optional[_builtins.str] = None,
80
+ name: Optional[_builtins.str] = None,
81
81
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagResult:
82
82
  """
83
83
  The `Tag` data source can be used to reference tags that are not
@@ -101,9 +101,9 @@ def get_tag(category_id: Optional[str] = None,
101
101
  ```
102
102
 
103
103
 
104
- :param str category_id: The ID of the tag category in which the tag is
104
+ :param _builtins.str category_id: The ID of the tag category in which the tag is
105
105
  located.
106
- :param str name: The name of the tag.
106
+ :param _builtins.str name: The name of the tag.
107
107
  """
108
108
  __args__ = dict()
109
109
  __args__['categoryId'] = category_id
@@ -116,8 +116,8 @@ def get_tag(category_id: Optional[str] = None,
116
116
  description=pulumi.get(__ret__, 'description'),
117
117
  id=pulumi.get(__ret__, 'id'),
118
118
  name=pulumi.get(__ret__, 'name'))
119
- def get_tag_output(category_id: Optional[pulumi.Input[str]] = None,
120
- name: Optional[pulumi.Input[str]] = None,
119
+ def get_tag_output(category_id: Optional[pulumi.Input[_builtins.str]] = None,
120
+ name: Optional[pulumi.Input[_builtins.str]] = None,
121
121
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagResult]:
122
122
  """
123
123
  The `Tag` data source can be used to reference tags that are not
@@ -141,9 +141,9 @@ def get_tag_output(category_id: Optional[pulumi.Input[str]] = None,
141
141
  ```
142
142
 
143
143
 
144
- :param str category_id: The ID of the tag category in which the tag is
144
+ :param _builtins.str category_id: The ID of the tag category in which the tag is
145
145
  located.
146
- :param str name: The name of the tag.
146
+ :param _builtins.str name: The name of the tag.
147
147
  """
148
148
  __args__ = dict()
149
149
  __args__['categoryId'] = category_id
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -43,32 +43,32 @@ class GetTagCategoryResult:
43
43
  raise TypeError("Expected argument 'name' to be a str")
44
44
  pulumi.set(__self__, "name", name)
45
45
 
46
- @property
46
+ @_builtins.property
47
47
  @pulumi.getter(name="associableTypes")
48
- def associable_types(self) -> Sequence[str]:
48
+ def associable_types(self) -> Sequence[_builtins.str]:
49
49
  return pulumi.get(self, "associable_types")
50
50
 
51
- @property
51
+ @_builtins.property
52
52
  @pulumi.getter
53
- def cardinality(self) -> str:
53
+ def cardinality(self) -> _builtins.str:
54
54
  return pulumi.get(self, "cardinality")
55
55
 
56
- @property
56
+ @_builtins.property
57
57
  @pulumi.getter
58
- def description(self) -> str:
58
+ def description(self) -> _builtins.str:
59
59
  return pulumi.get(self, "description")
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter
63
- def id(self) -> str:
63
+ def id(self) -> _builtins.str:
64
64
  """
65
65
  The provider-assigned unique ID for this managed resource.
66
66
  """
67
67
  return pulumi.get(self, "id")
68
68
 
69
- @property
69
+ @_builtins.property
70
70
  @pulumi.getter
71
- def name(self) -> str:
71
+ def name(self) -> _builtins.str:
72
72
  return pulumi.get(self, "name")
73
73
 
74
74
 
@@ -85,7 +85,7 @@ class AwaitableGetTagCategoryResult(GetTagCategoryResult):
85
85
  name=self.name)
86
86
 
87
87
 
88
- def get_tag_category(name: Optional[str] = None,
88
+ def get_tag_category(name: Optional[_builtins.str] = None,
89
89
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagCategoryResult:
90
90
  """
91
91
  The `TagCategory` data source can be used to reference tag categories
@@ -107,7 +107,7 @@ def get_tag_category(name: Optional[str] = None,
107
107
  ```
108
108
 
109
109
 
110
- :param str name: The name of the tag category.
110
+ :param _builtins.str name: The name of the tag category.
111
111
  """
112
112
  __args__ = dict()
113
113
  __args__['name'] = name
@@ -120,7 +120,7 @@ def get_tag_category(name: Optional[str] = None,
120
120
  description=pulumi.get(__ret__, 'description'),
121
121
  id=pulumi.get(__ret__, 'id'),
122
122
  name=pulumi.get(__ret__, 'name'))
123
- def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
123
+ def get_tag_category_output(name: Optional[pulumi.Input[_builtins.str]] = None,
124
124
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagCategoryResult]:
125
125
  """
126
126
  The `TagCategory` data source can be used to reference tag categories
@@ -142,7 +142,7 @@ def get_tag_category_output(name: Optional[pulumi.Input[str]] = None,
142
142
  ```
143
143
 
144
144
 
145
- :param str name: The name of the tag category.
145
+ :param _builtins.str name: The name of the tag category.
146
146
  """
147
147
  __args__ = dict()
148
148
  __args__['name'] = name
@@ -1,8 +1,8 @@
1
1
  # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -37,22 +37,22 @@ class GetVappContainerResult:
37
37
  raise TypeError("Expected argument 'name' to be a str")
38
38
  pulumi.set(__self__, "name", name)
39
39
 
40
- @property
40
+ @_builtins.property
41
41
  @pulumi.getter(name="datacenterId")
42
- def datacenter_id(self) -> str:
42
+ def datacenter_id(self) -> _builtins.str:
43
43
  return pulumi.get(self, "datacenter_id")
44
44
 
45
- @property
45
+ @_builtins.property
46
46
  @pulumi.getter
47
- def id(self) -> str:
47
+ def id(self) -> _builtins.str:
48
48
  """
49
49
  The provider-assigned unique ID for this managed resource.
50
50
  """
51
51
  return pulumi.get(self, "id")
52
52
 
53
- @property
53
+ @_builtins.property
54
54
  @pulumi.getter
55
- def name(self) -> str:
55
+ def name(self) -> _builtins.str:
56
56
  return pulumi.get(self, "name")
57
57
 
58
58
 
@@ -67,8 +67,8 @@ class AwaitableGetVappContainerResult(GetVappContainerResult):
67
67
  name=self.name)
68
68
 
69
69
 
70
- def get_vapp_container(datacenter_id: Optional[str] = None,
71
- name: Optional[str] = None,
70
+ def get_vapp_container(datacenter_id: Optional[_builtins.str] = None,
71
+ name: Optional[_builtins.str] = None,
72
72
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVappContainerResult:
73
73
  """
74
74
  The `VappContainer` data source can be used to discover the ID of a
@@ -88,9 +88,9 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
88
88
  ```
89
89
 
90
90
 
91
- :param str datacenter_id: The managed object reference ID
91
+ :param _builtins.str datacenter_id: The managed object reference ID
92
92
  of the datacenter in which the vApp container is located.
93
- :param str name: The name of the vApp container. This can be a name or
93
+ :param _builtins.str name: The name of the vApp container. This can be a name or
94
94
  path.
95
95
  """
96
96
  __args__ = dict()
@@ -103,8 +103,8 @@ def get_vapp_container(datacenter_id: Optional[str] = None,
103
103
  datacenter_id=pulumi.get(__ret__, 'datacenter_id'),
104
104
  id=pulumi.get(__ret__, 'id'),
105
105
  name=pulumi.get(__ret__, 'name'))
106
- def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
107
- name: Optional[pulumi.Input[str]] = None,
106
+ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[_builtins.str]] = None,
107
+ name: Optional[pulumi.Input[_builtins.str]] = None,
108
108
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVappContainerResult]:
109
109
  """
110
110
  The `VappContainer` data source can be used to discover the ID of a
@@ -124,9 +124,9 @@ def get_vapp_container_output(datacenter_id: Optional[pulumi.Input[str]] = None,
124
124
  ```
125
125
 
126
126
 
127
- :param str datacenter_id: The managed object reference ID
127
+ :param _builtins.str datacenter_id: The managed object reference ID
128
128
  of the datacenter in which the vApp container is located.
129
- :param str name: The name of the vApp container. This can be a name or
129
+ :param _builtins.str name: The name of the vApp container. This can be a name or
130
130
  path.
131
131
  """
132
132
  __args__ = dict()