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
pulumi_vsphere/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
@@ -19,15 +19,15 @@ __all__ = ['TagArgs', 'Tag']
19
19
  @pulumi.input_type
20
20
  class TagArgs:
21
21
  def __init__(__self__, *,
22
- category_id: pulumi.Input[str],
23
- description: Optional[pulumi.Input[str]] = None,
24
- name: Optional[pulumi.Input[str]] = None):
22
+ category_id: pulumi.Input[_builtins.str],
23
+ description: Optional[pulumi.Input[_builtins.str]] = None,
24
+ name: Optional[pulumi.Input[_builtins.str]] = None):
25
25
  """
26
26
  The set of arguments for constructing a Tag resource.
27
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
27
+ :param pulumi.Input[_builtins.str] category_id: The unique identifier of the parent category in
28
28
  which this tag will be created. Forces a new resource if changed.
29
- :param pulumi.Input[str] description: A description for the tag.
30
- :param pulumi.Input[str] name: The display name of the tag. The name must be unique
29
+ :param pulumi.Input[_builtins.str] description: A description for the tag.
30
+ :param pulumi.Input[_builtins.str] name: The display name of the tag. The name must be unique
31
31
  within its category.
32
32
  """
33
33
  pulumi.set(__self__, "category_id", category_id)
@@ -36,9 +36,9 @@ class TagArgs:
36
36
  if name is not None:
37
37
  pulumi.set(__self__, "name", name)
38
38
 
39
- @property
39
+ @_builtins.property
40
40
  @pulumi.getter(name="categoryId")
41
- def category_id(self) -> pulumi.Input[str]:
41
+ def category_id(self) -> pulumi.Input[_builtins.str]:
42
42
  """
43
43
  The unique identifier of the parent category in
44
44
  which this tag will be created. Forces a new resource if changed.
@@ -46,24 +46,24 @@ class TagArgs:
46
46
  return pulumi.get(self, "category_id")
47
47
 
48
48
  @category_id.setter
49
- def category_id(self, value: pulumi.Input[str]):
49
+ def category_id(self, value: pulumi.Input[_builtins.str]):
50
50
  pulumi.set(self, "category_id", value)
51
51
 
52
- @property
52
+ @_builtins.property
53
53
  @pulumi.getter
54
- def description(self) -> Optional[pulumi.Input[str]]:
54
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
55
55
  """
56
56
  A description for the tag.
57
57
  """
58
58
  return pulumi.get(self, "description")
59
59
 
60
60
  @description.setter
61
- def description(self, value: Optional[pulumi.Input[str]]):
61
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
62
62
  pulumi.set(self, "description", value)
63
63
 
64
- @property
64
+ @_builtins.property
65
65
  @pulumi.getter
66
- def name(self) -> Optional[pulumi.Input[str]]:
66
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
67
67
  """
68
68
  The display name of the tag. The name must be unique
69
69
  within its category.
@@ -71,22 +71,22 @@ class TagArgs:
71
71
  return pulumi.get(self, "name")
72
72
 
73
73
  @name.setter
74
- def name(self, value: Optional[pulumi.Input[str]]):
74
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
75
75
  pulumi.set(self, "name", value)
76
76
 
77
77
 
78
78
  @pulumi.input_type
79
79
  class _TagState:
80
80
  def __init__(__self__, *,
81
- category_id: Optional[pulumi.Input[str]] = None,
82
- description: Optional[pulumi.Input[str]] = None,
83
- name: Optional[pulumi.Input[str]] = None):
81
+ category_id: Optional[pulumi.Input[_builtins.str]] = None,
82
+ description: Optional[pulumi.Input[_builtins.str]] = None,
83
+ name: Optional[pulumi.Input[_builtins.str]] = None):
84
84
  """
85
85
  Input properties used for looking up and filtering Tag resources.
86
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
86
+ :param pulumi.Input[_builtins.str] category_id: The unique identifier of the parent category in
87
87
  which this tag will be created. Forces a new resource if changed.
88
- :param pulumi.Input[str] description: A description for the tag.
89
- :param pulumi.Input[str] name: The display name of the tag. The name must be unique
88
+ :param pulumi.Input[_builtins.str] description: A description for the tag.
89
+ :param pulumi.Input[_builtins.str] name: The display name of the tag. The name must be unique
90
90
  within its category.
91
91
  """
92
92
  if category_id is not None:
@@ -96,9 +96,9 @@ class _TagState:
96
96
  if name is not None:
97
97
  pulumi.set(__self__, "name", name)
98
98
 
99
- @property
99
+ @_builtins.property
100
100
  @pulumi.getter(name="categoryId")
101
- def category_id(self) -> Optional[pulumi.Input[str]]:
101
+ def category_id(self) -> Optional[pulumi.Input[_builtins.str]]:
102
102
  """
103
103
  The unique identifier of the parent category in
104
104
  which this tag will be created. Forces a new resource if changed.
@@ -106,24 +106,24 @@ class _TagState:
106
106
  return pulumi.get(self, "category_id")
107
107
 
108
108
  @category_id.setter
109
- def category_id(self, value: Optional[pulumi.Input[str]]):
109
+ def category_id(self, value: Optional[pulumi.Input[_builtins.str]]):
110
110
  pulumi.set(self, "category_id", value)
111
111
 
112
- @property
112
+ @_builtins.property
113
113
  @pulumi.getter
114
- def description(self) -> Optional[pulumi.Input[str]]:
114
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
115
115
  """
116
116
  A description for the tag.
117
117
  """
118
118
  return pulumi.get(self, "description")
119
119
 
120
120
  @description.setter
121
- def description(self, value: Optional[pulumi.Input[str]]):
121
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
122
122
  pulumi.set(self, "description", value)
123
123
 
124
- @property
124
+ @_builtins.property
125
125
  @pulumi.getter
126
- def name(self) -> Optional[pulumi.Input[str]]:
126
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
127
127
  """
128
128
  The display name of the tag. The name must be unique
129
129
  within its category.
@@ -131,18 +131,19 @@ class _TagState:
131
131
  return pulumi.get(self, "name")
132
132
 
133
133
  @name.setter
134
- def name(self, value: Optional[pulumi.Input[str]]):
134
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
135
135
  pulumi.set(self, "name", value)
136
136
 
137
137
 
138
+ @pulumi.type_token("vsphere:index/tag:Tag")
138
139
  class Tag(pulumi.CustomResource):
139
140
  @overload
140
141
  def __init__(__self__,
141
142
  resource_name: str,
142
143
  opts: Optional[pulumi.ResourceOptions] = None,
143
- category_id: Optional[pulumi.Input[str]] = None,
144
- description: Optional[pulumi.Input[str]] = None,
145
- name: Optional[pulumi.Input[str]] = None,
144
+ category_id: Optional[pulumi.Input[_builtins.str]] = None,
145
+ description: Optional[pulumi.Input[_builtins.str]] = None,
146
+ name: Optional[pulumi.Input[_builtins.str]] = None,
146
147
  __props__=None):
147
148
  """
148
149
  The `Tag` resource can be used to create and manage tags, which allow
@@ -216,6 +217,8 @@ class Tag(pulumi.CustomResource):
216
217
 
217
218
  `pulumi import`, as per the example below:
218
219
 
220
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
221
+
219
222
  ```sh
220
223
  $ pulumi import vsphere:index/tag:Tag tag \\
221
224
  ```
@@ -224,10 +227,10 @@ class Tag(pulumi.CustomResource):
224
227
 
225
228
  :param str resource_name: The name of the resource.
226
229
  :param pulumi.ResourceOptions opts: Options for the resource.
227
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
230
+ :param pulumi.Input[_builtins.str] category_id: The unique identifier of the parent category in
228
231
  which this tag will be created. Forces a new resource if changed.
229
- :param pulumi.Input[str] description: A description for the tag.
230
- :param pulumi.Input[str] name: The display name of the tag. The name must be unique
232
+ :param pulumi.Input[_builtins.str] description: A description for the tag.
233
+ :param pulumi.Input[_builtins.str] name: The display name of the tag. The name must be unique
231
234
  within its category.
232
235
  """
233
236
  ...
@@ -308,6 +311,8 @@ class Tag(pulumi.CustomResource):
308
311
 
309
312
  `pulumi import`, as per the example below:
310
313
 
314
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
315
+
311
316
  ```sh
312
317
  $ pulumi import vsphere:index/tag:Tag tag \\
313
318
  ```
@@ -329,9 +334,9 @@ class Tag(pulumi.CustomResource):
329
334
  def _internal_init(__self__,
330
335
  resource_name: str,
331
336
  opts: Optional[pulumi.ResourceOptions] = None,
332
- category_id: Optional[pulumi.Input[str]] = None,
333
- description: Optional[pulumi.Input[str]] = None,
334
- name: Optional[pulumi.Input[str]] = None,
337
+ category_id: Optional[pulumi.Input[_builtins.str]] = None,
338
+ description: Optional[pulumi.Input[_builtins.str]] = None,
339
+ name: Optional[pulumi.Input[_builtins.str]] = None,
335
340
  __props__=None):
336
341
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
337
342
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -356,9 +361,9 @@ class Tag(pulumi.CustomResource):
356
361
  def get(resource_name: str,
357
362
  id: pulumi.Input[str],
358
363
  opts: Optional[pulumi.ResourceOptions] = None,
359
- category_id: Optional[pulumi.Input[str]] = None,
360
- description: Optional[pulumi.Input[str]] = None,
361
- name: Optional[pulumi.Input[str]] = None) -> 'Tag':
364
+ category_id: Optional[pulumi.Input[_builtins.str]] = None,
365
+ description: Optional[pulumi.Input[_builtins.str]] = None,
366
+ name: Optional[pulumi.Input[_builtins.str]] = None) -> 'Tag':
362
367
  """
363
368
  Get an existing Tag resource's state with the given name, id, and optional extra
364
369
  properties used to qualify the lookup.
@@ -366,10 +371,10 @@ class Tag(pulumi.CustomResource):
366
371
  :param str resource_name: The unique name of the resulting resource.
367
372
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
368
373
  :param pulumi.ResourceOptions opts: Options for the resource.
369
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
374
+ :param pulumi.Input[_builtins.str] category_id: The unique identifier of the parent category in
370
375
  which this tag will be created. Forces a new resource if changed.
371
- :param pulumi.Input[str] description: A description for the tag.
372
- :param pulumi.Input[str] name: The display name of the tag. The name must be unique
376
+ :param pulumi.Input[_builtins.str] description: A description for the tag.
377
+ :param pulumi.Input[_builtins.str] name: The display name of the tag. The name must be unique
373
378
  within its category.
374
379
  """
375
380
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -381,26 +386,26 @@ class Tag(pulumi.CustomResource):
381
386
  __props__.__dict__["name"] = name
382
387
  return Tag(resource_name, opts=opts, __props__=__props__)
383
388
 
384
- @property
389
+ @_builtins.property
385
390
  @pulumi.getter(name="categoryId")
386
- def category_id(self) -> pulumi.Output[str]:
391
+ def category_id(self) -> pulumi.Output[_builtins.str]:
387
392
  """
388
393
  The unique identifier of the parent category in
389
394
  which this tag will be created. Forces a new resource if changed.
390
395
  """
391
396
  return pulumi.get(self, "category_id")
392
397
 
393
- @property
398
+ @_builtins.property
394
399
  @pulumi.getter
395
- def description(self) -> pulumi.Output[Optional[str]]:
400
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
396
401
  """
397
402
  A description for the tag.
398
403
  """
399
404
  return pulumi.get(self, "description")
400
405
 
401
- @property
406
+ @_builtins.property
402
407
  @pulumi.getter
403
- def name(self) -> pulumi.Output[str]:
408
+ def name(self) -> pulumi.Output[_builtins.str]:
404
409
  """
405
410
  The display name of the tag. The name must be unique
406
411
  within its category.
@@ -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
@@ -19,24 +19,24 @@ __all__ = ['TagCategoryArgs', 'TagCategory']
19
19
  @pulumi.input_type
20
20
  class TagCategoryArgs:
21
21
  def __init__(__self__, *,
22
- associable_types: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- cardinality: pulumi.Input[str],
24
- description: Optional[pulumi.Input[str]] = None,
25
- name: Optional[pulumi.Input[str]] = None):
22
+ associable_types: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
23
+ cardinality: pulumi.Input[_builtins.str],
24
+ description: Optional[pulumi.Input[_builtins.str]] = None,
25
+ name: Optional[pulumi.Input[_builtins.str]] = None):
26
26
  """
27
27
  The set of arguments for constructing a TagCategory resource.
28
- :param pulumi.Input[Sequence[pulumi.Input[str]]] associable_types: A list object types that this category is
28
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associable_types: A list object types that this category is
29
29
  valid to be assigned to. For a full list, click
30
30
  here.
31
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
31
+ :param pulumi.Input[_builtins.str] cardinality: The number of tags that can be assigned from this
32
32
  category to a single object at once. Can be one of `SINGLE` (object can only
33
33
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
34
34
  multiple tags in this category). Forces a new resource if changed.
35
- :param pulumi.Input[str] description: A description for the category.
35
+ :param pulumi.Input[_builtins.str] description: A description for the category.
36
36
 
37
37
  > **NOTE:** You can add associable types to a category, but you cannot remove
38
38
  them. Attempting to do so will result in an error.
39
- :param pulumi.Input[str] name: The name of the category.
39
+ :param pulumi.Input[_builtins.str] name: The name of the category.
40
40
  """
41
41
  pulumi.set(__self__, "associable_types", associable_types)
42
42
  pulumi.set(__self__, "cardinality", cardinality)
@@ -45,9 +45,9 @@ class TagCategoryArgs:
45
45
  if name is not None:
46
46
  pulumi.set(__self__, "name", name)
47
47
 
48
- @property
48
+ @_builtins.property
49
49
  @pulumi.getter(name="associableTypes")
50
- def associable_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
50
+ def associable_types(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
51
51
  """
52
52
  A list object types that this category is
53
53
  valid to be assigned to. For a full list, click
@@ -56,12 +56,12 @@ class TagCategoryArgs:
56
56
  return pulumi.get(self, "associable_types")
57
57
 
58
58
  @associable_types.setter
59
- def associable_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
59
+ def associable_types(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
60
60
  pulumi.set(self, "associable_types", value)
61
61
 
62
- @property
62
+ @_builtins.property
63
63
  @pulumi.getter
64
- def cardinality(self) -> pulumi.Input[str]:
64
+ def cardinality(self) -> pulumi.Input[_builtins.str]:
65
65
  """
66
66
  The number of tags that can be assigned from this
67
67
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -71,12 +71,12 @@ class TagCategoryArgs:
71
71
  return pulumi.get(self, "cardinality")
72
72
 
73
73
  @cardinality.setter
74
- def cardinality(self, value: pulumi.Input[str]):
74
+ def cardinality(self, value: pulumi.Input[_builtins.str]):
75
75
  pulumi.set(self, "cardinality", value)
76
76
 
77
- @property
77
+ @_builtins.property
78
78
  @pulumi.getter
79
- def description(self) -> Optional[pulumi.Input[str]]:
79
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
80
80
  """
81
81
  A description for the category.
82
82
 
@@ -86,43 +86,43 @@ class TagCategoryArgs:
86
86
  return pulumi.get(self, "description")
87
87
 
88
88
  @description.setter
89
- def description(self, value: Optional[pulumi.Input[str]]):
89
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
90
90
  pulumi.set(self, "description", value)
91
91
 
92
- @property
92
+ @_builtins.property
93
93
  @pulumi.getter
94
- def name(self) -> Optional[pulumi.Input[str]]:
94
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
95
95
  """
96
96
  The name of the category.
97
97
  """
98
98
  return pulumi.get(self, "name")
99
99
 
100
100
  @name.setter
101
- def name(self, value: Optional[pulumi.Input[str]]):
101
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
102
102
  pulumi.set(self, "name", value)
103
103
 
104
104
 
105
105
  @pulumi.input_type
106
106
  class _TagCategoryState:
107
107
  def __init__(__self__, *,
108
- associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
109
- cardinality: Optional[pulumi.Input[str]] = None,
110
- description: Optional[pulumi.Input[str]] = None,
111
- name: Optional[pulumi.Input[str]] = None):
108
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
109
+ cardinality: Optional[pulumi.Input[_builtins.str]] = None,
110
+ description: Optional[pulumi.Input[_builtins.str]] = None,
111
+ name: Optional[pulumi.Input[_builtins.str]] = None):
112
112
  """
113
113
  Input properties used for looking up and filtering TagCategory resources.
114
- :param pulumi.Input[Sequence[pulumi.Input[str]]] associable_types: A list object types that this category is
114
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associable_types: A list object types that this category is
115
115
  valid to be assigned to. For a full list, click
116
116
  here.
117
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
117
+ :param pulumi.Input[_builtins.str] cardinality: The number of tags that can be assigned from this
118
118
  category to a single object at once. Can be one of `SINGLE` (object can only
119
119
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
120
120
  multiple tags in this category). Forces a new resource if changed.
121
- :param pulumi.Input[str] description: A description for the category.
121
+ :param pulumi.Input[_builtins.str] description: A description for the category.
122
122
 
123
123
  > **NOTE:** You can add associable types to a category, but you cannot remove
124
124
  them. Attempting to do so will result in an error.
125
- :param pulumi.Input[str] name: The name of the category.
125
+ :param pulumi.Input[_builtins.str] name: The name of the category.
126
126
  """
127
127
  if associable_types is not None:
128
128
  pulumi.set(__self__, "associable_types", associable_types)
@@ -133,9 +133,9 @@ class _TagCategoryState:
133
133
  if name is not None:
134
134
  pulumi.set(__self__, "name", name)
135
135
 
136
- @property
136
+ @_builtins.property
137
137
  @pulumi.getter(name="associableTypes")
138
- def associable_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
138
+ def associable_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
139
139
  """
140
140
  A list object types that this category is
141
141
  valid to be assigned to. For a full list, click
@@ -144,12 +144,12 @@ class _TagCategoryState:
144
144
  return pulumi.get(self, "associable_types")
145
145
 
146
146
  @associable_types.setter
147
- def associable_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
147
+ def associable_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
148
148
  pulumi.set(self, "associable_types", value)
149
149
 
150
- @property
150
+ @_builtins.property
151
151
  @pulumi.getter
152
- def cardinality(self) -> Optional[pulumi.Input[str]]:
152
+ def cardinality(self) -> Optional[pulumi.Input[_builtins.str]]:
153
153
  """
154
154
  The number of tags that can be assigned from this
155
155
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -159,12 +159,12 @@ class _TagCategoryState:
159
159
  return pulumi.get(self, "cardinality")
160
160
 
161
161
  @cardinality.setter
162
- def cardinality(self, value: Optional[pulumi.Input[str]]):
162
+ def cardinality(self, value: Optional[pulumi.Input[_builtins.str]]):
163
163
  pulumi.set(self, "cardinality", value)
164
164
 
165
- @property
165
+ @_builtins.property
166
166
  @pulumi.getter
167
- def description(self) -> Optional[pulumi.Input[str]]:
167
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
168
168
  """
169
169
  A description for the category.
170
170
 
@@ -174,31 +174,32 @@ class _TagCategoryState:
174
174
  return pulumi.get(self, "description")
175
175
 
176
176
  @description.setter
177
- def description(self, value: Optional[pulumi.Input[str]]):
177
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
178
178
  pulumi.set(self, "description", value)
179
179
 
180
- @property
180
+ @_builtins.property
181
181
  @pulumi.getter
182
- def name(self) -> Optional[pulumi.Input[str]]:
182
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
183
183
  """
184
184
  The name of the category.
185
185
  """
186
186
  return pulumi.get(self, "name")
187
187
 
188
188
  @name.setter
189
- def name(self, value: Optional[pulumi.Input[str]]):
189
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
190
190
  pulumi.set(self, "name", value)
191
191
 
192
192
 
193
+ @pulumi.type_token("vsphere:index/tagCategory:TagCategory")
193
194
  class TagCategory(pulumi.CustomResource):
194
195
  @overload
195
196
  def __init__(__self__,
196
197
  resource_name: str,
197
198
  opts: Optional[pulumi.ResourceOptions] = None,
198
- associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
199
- cardinality: Optional[pulumi.Input[str]] = None,
200
- description: Optional[pulumi.Input[str]] = None,
201
- name: Optional[pulumi.Input[str]] = None,
199
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
200
+ cardinality: Optional[pulumi.Input[_builtins.str]] = None,
201
+ description: Optional[pulumi.Input[_builtins.str]] = None,
202
+ name: Optional[pulumi.Input[_builtins.str]] = None,
202
203
  __props__=None):
203
204
  """
204
205
  The `TagCategory` resource can be used to create and manage tag
@@ -236,24 +237,26 @@ class TagCategory(pulumi.CustomResource):
236
237
 
237
238
  its name, using the following command:
238
239
 
240
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
241
+
239
242
  ```sh
240
243
  $ pulumi import vsphere:index/tagCategory:TagCategory category terraform-test-category
241
244
  ```
242
245
 
243
246
  :param str resource_name: The name of the resource.
244
247
  :param pulumi.ResourceOptions opts: Options for the resource.
245
- :param pulumi.Input[Sequence[pulumi.Input[str]]] associable_types: A list object types that this category is
248
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associable_types: A list object types that this category is
246
249
  valid to be assigned to. For a full list, click
247
250
  here.
248
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
251
+ :param pulumi.Input[_builtins.str] cardinality: The number of tags that can be assigned from this
249
252
  category to a single object at once. Can be one of `SINGLE` (object can only
250
253
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
251
254
  multiple tags in this category). Forces a new resource if changed.
252
- :param pulumi.Input[str] description: A description for the category.
255
+ :param pulumi.Input[_builtins.str] description: A description for the category.
253
256
 
254
257
  > **NOTE:** You can add associable types to a category, but you cannot remove
255
258
  them. Attempting to do so will result in an error.
256
- :param pulumi.Input[str] name: The name of the category.
259
+ :param pulumi.Input[_builtins.str] name: The name of the category.
257
260
  """
258
261
  ...
259
262
  @overload
@@ -297,6 +300,8 @@ class TagCategory(pulumi.CustomResource):
297
300
 
298
301
  its name, using the following command:
299
302
 
303
+ [docs-import]: https://developer.hashicorp.com/terraform/cli/import
304
+
300
305
  ```sh
301
306
  $ pulumi import vsphere:index/tagCategory:TagCategory category terraform-test-category
302
307
  ```
@@ -316,10 +321,10 @@ class TagCategory(pulumi.CustomResource):
316
321
  def _internal_init(__self__,
317
322
  resource_name: str,
318
323
  opts: Optional[pulumi.ResourceOptions] = None,
319
- associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
320
- cardinality: Optional[pulumi.Input[str]] = None,
321
- description: Optional[pulumi.Input[str]] = None,
322
- name: Optional[pulumi.Input[str]] = None,
324
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
325
+ cardinality: Optional[pulumi.Input[_builtins.str]] = None,
326
+ description: Optional[pulumi.Input[_builtins.str]] = None,
327
+ name: Optional[pulumi.Input[_builtins.str]] = None,
323
328
  __props__=None):
324
329
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
325
330
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -347,10 +352,10 @@ class TagCategory(pulumi.CustomResource):
347
352
  def get(resource_name: str,
348
353
  id: pulumi.Input[str],
349
354
  opts: Optional[pulumi.ResourceOptions] = None,
350
- associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
351
- cardinality: Optional[pulumi.Input[str]] = None,
352
- description: Optional[pulumi.Input[str]] = None,
353
- name: Optional[pulumi.Input[str]] = None) -> 'TagCategory':
355
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
356
+ cardinality: Optional[pulumi.Input[_builtins.str]] = None,
357
+ description: Optional[pulumi.Input[_builtins.str]] = None,
358
+ name: Optional[pulumi.Input[_builtins.str]] = None) -> 'TagCategory':
354
359
  """
355
360
  Get an existing TagCategory resource's state with the given name, id, and optional extra
356
361
  properties used to qualify the lookup.
@@ -358,18 +363,18 @@ class TagCategory(pulumi.CustomResource):
358
363
  :param str resource_name: The unique name of the resulting resource.
359
364
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
360
365
  :param pulumi.ResourceOptions opts: Options for the resource.
361
- :param pulumi.Input[Sequence[pulumi.Input[str]]] associable_types: A list object types that this category is
366
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associable_types: A list object types that this category is
362
367
  valid to be assigned to. For a full list, click
363
368
  here.
364
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
369
+ :param pulumi.Input[_builtins.str] cardinality: The number of tags that can be assigned from this
365
370
  category to a single object at once. Can be one of `SINGLE` (object can only
366
371
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
367
372
  multiple tags in this category). Forces a new resource if changed.
368
- :param pulumi.Input[str] description: A description for the category.
373
+ :param pulumi.Input[_builtins.str] description: A description for the category.
369
374
 
370
375
  > **NOTE:** You can add associable types to a category, but you cannot remove
371
376
  them. Attempting to do so will result in an error.
372
- :param pulumi.Input[str] name: The name of the category.
377
+ :param pulumi.Input[_builtins.str] name: The name of the category.
373
378
  """
374
379
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
375
380
 
@@ -381,9 +386,9 @@ class TagCategory(pulumi.CustomResource):
381
386
  __props__.__dict__["name"] = name
382
387
  return TagCategory(resource_name, opts=opts, __props__=__props__)
383
388
 
384
- @property
389
+ @_builtins.property
385
390
  @pulumi.getter(name="associableTypes")
386
- def associable_types(self) -> pulumi.Output[Sequence[str]]:
391
+ def associable_types(self) -> pulumi.Output[Sequence[_builtins.str]]:
387
392
  """
388
393
  A list object types that this category is
389
394
  valid to be assigned to. For a full list, click
@@ -391,9 +396,9 @@ class TagCategory(pulumi.CustomResource):
391
396
  """
392
397
  return pulumi.get(self, "associable_types")
393
398
 
394
- @property
399
+ @_builtins.property
395
400
  @pulumi.getter
396
- def cardinality(self) -> pulumi.Output[str]:
401
+ def cardinality(self) -> pulumi.Output[_builtins.str]:
397
402
  """
398
403
  The number of tags that can be assigned from this
399
404
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -402,9 +407,9 @@ class TagCategory(pulumi.CustomResource):
402
407
  """
403
408
  return pulumi.get(self, "cardinality")
404
409
 
405
- @property
410
+ @_builtins.property
406
411
  @pulumi.getter
407
- def description(self) -> pulumi.Output[Optional[str]]:
412
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
408
413
  """
409
414
  A description for the category.
410
415
 
@@ -413,9 +418,9 @@ class TagCategory(pulumi.CustomResource):
413
418
  """
414
419
  return pulumi.get(self, "description")
415
420
 
416
- @property
421
+ @_builtins.property
417
422
  @pulumi.getter
418
- def name(self) -> pulumi.Output[str]:
423
+ def name(self) -> pulumi.Output[_builtins.str]:
419
424
  """
420
425
  The name of the category.
421
426
  """