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
@@ -40,31 +40,31 @@ class GetComputeClusterHostGroupResult:
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="computeClusterId")
45
- def compute_cluster_id(self) -> str:
45
+ def compute_cluster_id(self) -> _builtins.str:
46
46
  return pulumi.get(self, "compute_cluster_id")
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter(name="hostSystemIds")
50
- def host_system_ids(self) -> Sequence[str]:
50
+ def host_system_ids(self) -> Sequence[_builtins.str]:
51
51
  """
52
52
  The [managed object reference ID][docs-about-morefs] of
53
53
  the ESXi hosts in the host group.
54
54
  """
55
55
  return pulumi.get(self, "host_system_ids")
56
56
 
57
- @property
57
+ @_builtins.property
58
58
  @pulumi.getter
59
- def id(self) -> str:
59
+ def id(self) -> _builtins.str:
60
60
  """
61
61
  The provider-assigned unique ID for this managed resource.
62
62
  """
63
63
  return pulumi.get(self, "id")
64
64
 
65
- @property
65
+ @_builtins.property
66
66
  @pulumi.getter
67
- def name(self) -> str:
67
+ def name(self) -> _builtins.str:
68
68
  return pulumi.get(self, "name")
69
69
 
70
70
 
@@ -80,8 +80,8 @@ class AwaitableGetComputeClusterHostGroupResult(GetComputeClusterHostGroupResult
80
80
  name=self.name)
81
81
 
82
82
 
83
- def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
84
- name: Optional[str] = None,
83
+ def get_compute_cluster_host_group(compute_cluster_id: Optional[_builtins.str] = None,
84
+ name: Optional[_builtins.str] = None,
85
85
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetComputeClusterHostGroupResult:
86
86
  """
87
87
  The `ComputeClusterHostGroup` data source can be used to discover
@@ -107,12 +107,10 @@ def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
107
107
  ```
108
108
 
109
109
 
110
- :param str compute_cluster_id: The
110
+ :param _builtins.str compute_cluster_id: The
111
111
  [managed object reference ID][docs-about-morefs] of the compute cluster for
112
112
  the host group.
113
-
114
- [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
115
- :param str name: The name of the host group.
113
+ :param _builtins.str name: The name of the host group.
116
114
  """
117
115
  __args__ = dict()
118
116
  __args__['computeClusterId'] = compute_cluster_id
@@ -125,8 +123,8 @@ def get_compute_cluster_host_group(compute_cluster_id: Optional[str] = None,
125
123
  host_system_ids=pulumi.get(__ret__, 'host_system_ids'),
126
124
  id=pulumi.get(__ret__, 'id'),
127
125
  name=pulumi.get(__ret__, 'name'))
128
- def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.Input[str]] = None,
129
- name: Optional[pulumi.Input[str]] = None,
126
+ def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
127
+ name: Optional[pulumi.Input[_builtins.str]] = None,
130
128
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetComputeClusterHostGroupResult]:
131
129
  """
132
130
  The `ComputeClusterHostGroup` data source can be used to discover
@@ -152,12 +150,10 @@ def get_compute_cluster_host_group_output(compute_cluster_id: Optional[pulumi.In
152
150
  ```
153
151
 
154
152
 
155
- :param str compute_cluster_id: The
153
+ :param _builtins.str compute_cluster_id: The
156
154
  [managed object reference ID][docs-about-morefs] of the compute cluster for
157
155
  the host group.
158
-
159
- [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
160
- :param str name: The name of the host group.
156
+ :param _builtins.str name: The name of the host group.
161
157
  """
162
158
  __args__ = dict()
163
159
  __args__['computeClusterId'] = compute_cluster_id
@@ -0,0 +1,145 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetConfigurationProfileResult',
19
+ 'AwaitableGetConfigurationProfileResult',
20
+ 'get_configuration_profile',
21
+ 'get_configuration_profile_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetConfigurationProfileResult:
26
+ """
27
+ A collection of values returned by getConfigurationProfile.
28
+ """
29
+ def __init__(__self__, cluster_id=None, configuration=None, id=None, schema=None):
30
+ if cluster_id and not isinstance(cluster_id, str):
31
+ raise TypeError("Expected argument 'cluster_id' to be a str")
32
+ pulumi.set(__self__, "cluster_id", cluster_id)
33
+ if configuration and not isinstance(configuration, str):
34
+ raise TypeError("Expected argument 'configuration' to be a str")
35
+ pulumi.set(__self__, "configuration", configuration)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if schema and not isinstance(schema, str):
40
+ raise TypeError("Expected argument 'schema' to be a str")
41
+ pulumi.set(__self__, "schema", schema)
42
+
43
+ @_builtins.property
44
+ @pulumi.getter(name="clusterId")
45
+ def cluster_id(self) -> _builtins.str:
46
+ return pulumi.get(self, "cluster_id")
47
+
48
+ @_builtins.property
49
+ @pulumi.getter
50
+ def configuration(self) -> _builtins.str:
51
+ """
52
+ The current configuration which is active on the cluster.
53
+ """
54
+ return pulumi.get(self, "configuration")
55
+
56
+ @_builtins.property
57
+ @pulumi.getter
58
+ def id(self) -> _builtins.str:
59
+ """
60
+ The provider-assigned unique ID for this managed resource.
61
+ """
62
+ return pulumi.get(self, "id")
63
+
64
+ @_builtins.property
65
+ @pulumi.getter
66
+ def schema(self) -> _builtins.str:
67
+ """
68
+ The JSON schema for the profile.
69
+ """
70
+ return pulumi.get(self, "schema")
71
+
72
+
73
+ class AwaitableGetConfigurationProfileResult(GetConfigurationProfileResult):
74
+ # pylint: disable=using-constant-test
75
+ def __await__(self):
76
+ if False:
77
+ yield self
78
+ return GetConfigurationProfileResult(
79
+ cluster_id=self.cluster_id,
80
+ configuration=self.configuration,
81
+ id=self.id,
82
+ schema=self.schema)
83
+
84
+
85
+ def get_configuration_profile(cluster_id: Optional[_builtins.str] = None,
86
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetConfigurationProfileResult:
87
+ """
88
+ The `ConfigurationProfile` data source can be used to export the configuration and schema
89
+ of a cluster that is already managed via configuration profiles.
90
+
91
+ ## Example Usage
92
+
93
+ ```python
94
+ import pulumi
95
+ import pulumi_vsphere as vsphere
96
+
97
+ datacenter = vsphere.get_datacenter(name="dc-01")
98
+ compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
99
+ datacenter_id=datacenter.id)
100
+ profile = vsphere.get_configuration_profile(cluster_id=compute_cluster.id)
101
+ ```
102
+
103
+
104
+ :param _builtins.str cluster_id: The identifier of the compute cluster.
105
+ """
106
+ __args__ = dict()
107
+ __args__['clusterId'] = cluster_id
108
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
109
+ __ret__ = pulumi.runtime.invoke('vsphere:index/getConfigurationProfile:getConfigurationProfile', __args__, opts=opts, typ=GetConfigurationProfileResult).value
110
+
111
+ return AwaitableGetConfigurationProfileResult(
112
+ cluster_id=pulumi.get(__ret__, 'cluster_id'),
113
+ configuration=pulumi.get(__ret__, 'configuration'),
114
+ id=pulumi.get(__ret__, 'id'),
115
+ schema=pulumi.get(__ret__, 'schema'))
116
+ def get_configuration_profile_output(cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
117
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetConfigurationProfileResult]:
118
+ """
119
+ The `ConfigurationProfile` data source can be used to export the configuration and schema
120
+ of a cluster that is already managed via configuration profiles.
121
+
122
+ ## Example Usage
123
+
124
+ ```python
125
+ import pulumi
126
+ import pulumi_vsphere as vsphere
127
+
128
+ datacenter = vsphere.get_datacenter(name="dc-01")
129
+ compute_cluster = vsphere.get_compute_cluster(name="cluster-01",
130
+ datacenter_id=datacenter.id)
131
+ profile = vsphere.get_configuration_profile(cluster_id=compute_cluster.id)
132
+ ```
133
+
134
+
135
+ :param _builtins.str cluster_id: The identifier of the compute cluster.
136
+ """
137
+ __args__ = dict()
138
+ __args__['clusterId'] = cluster_id
139
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
140
+ __ret__ = pulumi.runtime.invoke_output('vsphere:index/getConfigurationProfile:getConfigurationProfile', __args__, opts=opts, typ=GetConfigurationProfileResult)
141
+ return __ret__.apply(lambda __response__: GetConfigurationProfileResult(
142
+ cluster_id=pulumi.get(__response__, 'cluster_id'),
143
+ configuration=pulumi.get(__response__, 'configuration'),
144
+ id=pulumi.get(__response__, 'id'),
145
+ schema=pulumi.get(__response__, 'schema')))
@@ -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
@@ -34,17 +34,17 @@ class GetContentLibraryResult:
34
34
  raise TypeError("Expected argument 'name' to be a str")
35
35
  pulumi.set(__self__, "name", name)
36
36
 
37
- @property
37
+ @_builtins.property
38
38
  @pulumi.getter
39
- def id(self) -> str:
39
+ def id(self) -> _builtins.str:
40
40
  """
41
41
  The provider-assigned unique ID for this managed resource.
42
42
  """
43
43
  return pulumi.get(self, "id")
44
44
 
45
- @property
45
+ @_builtins.property
46
46
  @pulumi.getter
47
- def name(self) -> str:
47
+ def name(self) -> _builtins.str:
48
48
  return pulumi.get(self, "name")
49
49
 
50
50
 
@@ -58,7 +58,7 @@ class AwaitableGetContentLibraryResult(GetContentLibraryResult):
58
58
  name=self.name)
59
59
 
60
60
 
61
- def get_content_library(name: Optional[str] = None,
61
+ def get_content_library(name: Optional[_builtins.str] = None,
62
62
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentLibraryResult:
63
63
  """
64
64
  The `ContentLibrary` data source can be used to discover the ID of a
@@ -77,7 +77,7 @@ def get_content_library(name: Optional[str] = None,
77
77
  ```
78
78
 
79
79
 
80
- :param str name: The name of the content library.
80
+ :param _builtins.str name: The name of the content library.
81
81
  """
82
82
  __args__ = dict()
83
83
  __args__['name'] = name
@@ -87,7 +87,7 @@ def get_content_library(name: Optional[str] = None,
87
87
  return AwaitableGetContentLibraryResult(
88
88
  id=pulumi.get(__ret__, 'id'),
89
89
  name=pulumi.get(__ret__, 'name'))
90
- def get_content_library_output(name: Optional[pulumi.Input[str]] = None,
90
+ def get_content_library_output(name: Optional[pulumi.Input[_builtins.str]] = None,
91
91
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContentLibraryResult]:
92
92
  """
93
93
  The `ContentLibrary` data source can be used to discover the ID of a
@@ -106,7 +106,7 @@ def get_content_library_output(name: Optional[pulumi.Input[str]] = None,
106
106
  ```
107
107
 
108
108
 
109
- :param str name: The name of the content library.
109
+ :param _builtins.str name: The name of the content library.
110
110
  """
111
111
  __args__ = dict()
112
112
  __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
@@ -40,27 +40,27 @@ class GetContentLibraryItemResult:
40
40
  raise TypeError("Expected argument 'type' to be a str")
41
41
  pulumi.set(__self__, "type", type)
42
42
 
43
- @property
43
+ @_builtins.property
44
44
  @pulumi.getter
45
- def id(self) -> str:
45
+ def id(self) -> _builtins.str:
46
46
  """
47
47
  The provider-assigned unique ID for this managed resource.
48
48
  """
49
49
  return pulumi.get(self, "id")
50
50
 
51
- @property
51
+ @_builtins.property
52
52
  @pulumi.getter(name="libraryId")
53
- def library_id(self) -> str:
53
+ def library_id(self) -> _builtins.str:
54
54
  return pulumi.get(self, "library_id")
55
55
 
56
- @property
56
+ @_builtins.property
57
57
  @pulumi.getter
58
- def name(self) -> str:
58
+ def name(self) -> _builtins.str:
59
59
  return pulumi.get(self, "name")
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter
63
- def type(self) -> str:
63
+ def type(self) -> _builtins.str:
64
64
  return pulumi.get(self, "type")
65
65
 
66
66
 
@@ -76,9 +76,9 @@ class AwaitableGetContentLibraryItemResult(GetContentLibraryItemResult):
76
76
  type=self.type)
77
77
 
78
78
 
79
- def get_content_library_item(library_id: Optional[str] = None,
80
- name: Optional[str] = None,
81
- type: Optional[str] = None,
79
+ def get_content_library_item(library_id: Optional[_builtins.str] = None,
80
+ name: Optional[_builtins.str] = None,
81
+ type: Optional[_builtins.str] = None,
82
82
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContentLibraryItemResult:
83
83
  """
84
84
  The `ContentLibraryItem` data source can be used to discover the ID
@@ -88,10 +88,10 @@ def get_content_library_item(library_id: Optional[str] = None,
88
88
  host connections.
89
89
 
90
90
 
91
- :param str library_id: The ID of the content library in which the item
91
+ :param _builtins.str library_id: The ID of the content library in which the item
92
92
  exists.
93
- :param str name: The name of the content library item.
94
- :param str type: The type for the content library item. One of `ovf`,
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`,
95
95
  `vm-template`, or `iso`
96
96
  """
97
97
  __args__ = dict()
@@ -106,9 +106,9 @@ def get_content_library_item(library_id: Optional[str] = None,
106
106
  library_id=pulumi.get(__ret__, 'library_id'),
107
107
  name=pulumi.get(__ret__, 'name'),
108
108
  type=pulumi.get(__ret__, 'type'))
109
- def get_content_library_item_output(library_id: Optional[pulumi.Input[str]] = None,
110
- name: Optional[pulumi.Input[str]] = None,
111
- type: Optional[pulumi.Input[str]] = None,
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,
112
112
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContentLibraryItemResult]:
113
113
  """
114
114
  The `ContentLibraryItem` data source can be used to discover the ID
@@ -118,10 +118,10 @@ def get_content_library_item_output(library_id: Optional[pulumi.Input[str]] = No
118
118
  host connections.
119
119
 
120
120
 
121
- :param str library_id: The ID of the content library in which the item
121
+ :param _builtins.str library_id: The ID of the content library in which the item
122
122
  exists.
123
- :param str name: The name of the content library item.
124
- :param str type: The type for the content library item. One of `ovf`,
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`,
125
125
  `vm-template`, or `iso`
126
126
  """
127
127
  __args__ = dict()
@@ -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 GetCustomAttributeResult:
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
42
- def id(self) -> str:
42
+ def id(self) -> _builtins.str:
43
43
  """
44
44
  The provider-assigned unique ID for this managed resource.
45
45
  """
46
46
  return pulumi.get(self, "id")
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter(name="managedObjectType")
50
- def managed_object_type(self) -> str:
50
+ def managed_object_type(self) -> _builtins.str:
51
51
  return pulumi.get(self, "managed_object_type")
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,7 +67,7 @@ class AwaitableGetCustomAttributeResult(GetCustomAttributeResult):
67
67
  name=self.name)
68
68
 
69
69
 
70
- def get_custom_attribute(name: Optional[str] = None,
70
+ def get_custom_attribute(name: Optional[_builtins.str] = None,
71
71
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCustomAttributeResult:
72
72
  """
73
73
  The `CustomAttribute` data source can be used to reference custom
@@ -89,7 +89,7 @@ def get_custom_attribute(name: Optional[str] = None,
89
89
  ```
90
90
 
91
91
 
92
- :param str name: The name of the custom attribute.
92
+ :param _builtins.str name: The name of the custom attribute.
93
93
  """
94
94
  __args__ = dict()
95
95
  __args__['name'] = name
@@ -100,7 +100,7 @@ def get_custom_attribute(name: Optional[str] = None,
100
100
  id=pulumi.get(__ret__, 'id'),
101
101
  managed_object_type=pulumi.get(__ret__, 'managed_object_type'),
102
102
  name=pulumi.get(__ret__, 'name'))
103
- def get_custom_attribute_output(name: Optional[pulumi.Input[str]] = None,
103
+ def get_custom_attribute_output(name: Optional[pulumi.Input[_builtins.str]] = None,
104
104
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCustomAttributeResult]:
105
105
  """
106
106
  The `CustomAttribute` data source can be used to reference custom
@@ -122,7 +122,7 @@ def get_custom_attribute_output(name: Optional[pulumi.Input[str]] = None,
122
122
  ```
123
123
 
124
124
 
125
- :param str name: The name of the custom attribute.
125
+ :param _builtins.str name: The name of the custom attribute.
126
126
  """
127
127
  __args__ = dict()
128
128
  __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 GetDatacenterResult:
37
37
  raise TypeError("Expected argument 'virtual_machines' to be a list")
38
38
  pulumi.set(__self__, "virtual_machines", virtual_machines)
39
39
 
40
- @property
40
+ @_builtins.property
41
41
  @pulumi.getter
42
- def id(self) -> str:
42
+ def id(self) -> _builtins.str:
43
43
  """
44
44
  The provider-assigned unique ID for this managed resource.
45
45
  """
46
46
  return pulumi.get(self, "id")
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter
50
- def name(self) -> Optional[str]:
50
+ def name(self) -> Optional[_builtins.str]:
51
51
  return pulumi.get(self, "name")
52
52
 
53
- @property
53
+ @_builtins.property
54
54
  @pulumi.getter(name="virtualMachines")
55
- def virtual_machines(self) -> Sequence[str]:
55
+ def virtual_machines(self) -> Sequence[_builtins.str]:
56
56
  """
57
57
  List of all virtual machines included in the vSphere datacenter object.
58
58
  """
@@ -70,7 +70,7 @@ class AwaitableGetDatacenterResult(GetDatacenterResult):
70
70
  virtual_machines=self.virtual_machines)
71
71
 
72
72
 
73
- def get_datacenter(name: Optional[str] = None,
73
+ def get_datacenter(name: Optional[_builtins.str] = None,
74
74
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatacenterResult:
75
75
  """
76
76
  The `Datacenter` data source can be used to discover the ID of a
@@ -88,7 +88,7 @@ def get_datacenter(name: Optional[str] = None,
88
88
  ```
89
89
 
90
90
 
91
- :param str name: The name of the datacenter. This can be a name or path.
91
+ :param _builtins.str name: The name of the datacenter. This can be a name or path.
92
92
  Can be omitted if there is only one datacenter in the inventory.
93
93
 
94
94
  > **NOTE:** When used with an ESXi host, this data source _always_ returns the
@@ -105,7 +105,7 @@ def get_datacenter(name: Optional[str] = None,
105
105
  id=pulumi.get(__ret__, 'id'),
106
106
  name=pulumi.get(__ret__, 'name'),
107
107
  virtual_machines=pulumi.get(__ret__, 'virtual_machines'))
108
- def get_datacenter_output(name: Optional[pulumi.Input[Optional[str]]] = None,
108
+ def get_datacenter_output(name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
109
109
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatacenterResult]:
110
110
  """
111
111
  The `Datacenter` data source can be used to discover the ID of a
@@ -123,7 +123,7 @@ def get_datacenter_output(name: Optional[pulumi.Input[Optional[str]]] = None,
123
123
  ```
124
124
 
125
125
 
126
- :param str name: The name of the datacenter. This can be a name or path.
126
+ :param _builtins.str name: The name of the datacenter. This can be a name or path.
127
127
  Can be omitted if there is only one datacenter in the inventory.
128
128
 
129
129
  > **NOTE:** When used with an ESXi host, this data source _always_ returns the
@@ -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 GetDatastoreResult:
40
40
  raise TypeError("Expected argument 'stats' to be a dict")
41
41
  pulumi.set(__self__, "stats", stats)
42
42
 
43
- @property
43
+ @_builtins.property
44
44
  @pulumi.getter(name="datacenterId")
45
- def datacenter_id(self) -> Optional[str]:
45
+ def datacenter_id(self) -> Optional[_builtins.str]:
46
46
  return pulumi.get(self, "datacenter_id")
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter
50
- def id(self) -> str:
50
+ def id(self) -> _builtins.str:
51
51
  """
52
52
  The provider-assigned unique ID for this managed resource.
53
53
  """
54
54
  return pulumi.get(self, "id")
55
55
 
56
- @property
56
+ @_builtins.property
57
57
  @pulumi.getter
58
- def name(self) -> str:
58
+ def name(self) -> _builtins.str:
59
59
  return pulumi.get(self, "name")
60
60
 
61
- @property
61
+ @_builtins.property
62
62
  @pulumi.getter
63
- def stats(self) -> Optional[Mapping[str, str]]:
63
+ def stats(self) -> Optional[Mapping[str, _builtins.str]]:
64
64
  """
65
65
  The disk space usage statistics for the specific datastore. The
66
66
  total datastore capacity is represented as `capacity` and the free remaining
@@ -81,9 +81,9 @@ class AwaitableGetDatastoreResult(GetDatastoreResult):
81
81
  stats=self.stats)
82
82
 
83
83
 
84
- def get_datastore(datacenter_id: Optional[str] = None,
85
- name: Optional[str] = None,
86
- stats: Optional[Mapping[str, str]] = None,
84
+ def get_datastore(datacenter_id: Optional[_builtins.str] = None,
85
+ name: Optional[_builtins.str] = None,
86
+ stats: Optional[Mapping[str, _builtins.str]] = None,
87
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatastoreResult:
88
88
  """
89
89
  The `get_datastore` data source can be used to discover the ID of a
@@ -103,12 +103,12 @@ def get_datastore(datacenter_id: Optional[str] = None,
103
103
  ```
104
104
 
105
105
 
106
- :param str datacenter_id: The managed object reference ID
106
+ :param _builtins.str datacenter_id: The managed object reference ID
107
107
  of the datacenter the datastore is located in. This can be omitted if the
108
108
  search path used in `name` is an absolute path. For default datacenters, use
109
109
  the `id` attribute from an empty `Datacenter` data source.
110
- :param str name: The name of the datastore. This can be a name or path.
111
- :param Mapping[str, str] stats: The disk space usage statistics for the specific datastore. The
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
112
112
  total datastore capacity is represented as `capacity` and the free remaining
113
113
  disk is represented as `free`.
114
114
  """
@@ -124,9 +124,9 @@ def get_datastore(datacenter_id: Optional[str] = None,
124
124
  id=pulumi.get(__ret__, 'id'),
125
125
  name=pulumi.get(__ret__, 'name'),
126
126
  stats=pulumi.get(__ret__, 'stats'))
127
- def get_datastore_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] = None,
128
- name: Optional[pulumi.Input[str]] = None,
129
- stats: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None,
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,
130
130
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatastoreResult]:
131
131
  """
132
132
  The `get_datastore` data source can be used to discover the ID of a
@@ -146,12 +146,12 @@ def get_datastore_output(datacenter_id: Optional[pulumi.Input[Optional[str]]] =
146
146
  ```
147
147
 
148
148
 
149
- :param str datacenter_id: The managed object reference ID
149
+ :param _builtins.str datacenter_id: The managed object reference ID
150
150
  of the datacenter the datastore is located in. This can be omitted if the
151
151
  search path used in `name` is an absolute path. For default datacenters, use
152
152
  the `id` attribute from an empty `Datacenter` data source.
153
- :param str name: The name of the datastore. This can be a name or path.
154
- :param Mapping[str, str] stats: The disk space usage statistics for the specific datastore. The
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
155
155
  total datastore capacity is represented as `capacity` and the free remaining
156
156
  disk is represented as `free`.
157
157
  """