pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__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 (86) hide show
  1. pulumi_vsphere/__init__.py +1 -0
  2. pulumi_vsphere/_inputs.py +969 -968
  3. pulumi_vsphere/compute_cluster.py +921 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +46 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +46 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
  10. pulumi_vsphere/config/__init__.py +1 -0
  11. pulumi_vsphere/config/__init__.pyi +1 -0
  12. pulumi_vsphere/config/vars.py +1 -0
  13. pulumi_vsphere/content_library.py +46 -42
  14. pulumi_vsphere/content_library_item.py +88 -84
  15. pulumi_vsphere/custom_attribute.py +32 -28
  16. pulumi_vsphere/datacenter.py +67 -63
  17. pulumi_vsphere/datastore_cluster.py +354 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
  19. pulumi_vsphere/distributed_port_group.py +648 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
  22. pulumi_vsphere/dpm_host_override.py +60 -56
  23. pulumi_vsphere/drs_vm_override.py +60 -56
  24. pulumi_vsphere/entity_permissions.py +32 -28
  25. pulumi_vsphere/file.py +98 -94
  26. pulumi_vsphere/folder.py +74 -70
  27. pulumi_vsphere/get_compute_cluster.py +13 -12
  28. pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
  29. pulumi_vsphere/get_content_library.py +7 -6
  30. pulumi_vsphere/get_content_library_item.py +17 -16
  31. pulumi_vsphere/get_custom_attribute.py +8 -7
  32. pulumi_vsphere/get_datacenter.py +8 -7
  33. pulumi_vsphere/get_datastore.py +17 -16
  34. pulumi_vsphere/get_datastore_cluster.py +13 -12
  35. pulumi_vsphere/get_datastore_stats.py +17 -16
  36. pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
  37. pulumi_vsphere/get_dynamic.py +17 -16
  38. pulumi_vsphere/get_folder.py +7 -6
  39. pulumi_vsphere/get_guest_os_customization.py +11 -10
  40. pulumi_vsphere/get_host.py +13 -12
  41. pulumi_vsphere/get_host_base_images.py +3 -2
  42. pulumi_vsphere/get_host_pci_device.py +23 -22
  43. pulumi_vsphere/get_host_thumbprint.py +17 -16
  44. pulumi_vsphere/get_host_vgpu_profile.py +12 -11
  45. pulumi_vsphere/get_license.py +12 -11
  46. pulumi_vsphere/get_network.py +18 -17
  47. pulumi_vsphere/get_ovf_vm_template.py +89 -88
  48. pulumi_vsphere/get_policy.py +7 -6
  49. pulumi_vsphere/get_resource_pool.py +12 -11
  50. pulumi_vsphere/get_role.py +20 -19
  51. pulumi_vsphere/get_tag.py +13 -12
  52. pulumi_vsphere/get_tag_category.py +10 -9
  53. pulumi_vsphere/get_vapp_container.py +12 -11
  54. pulumi_vsphere/get_virtual_machine.py +204 -203
  55. pulumi_vsphere/get_vmfs_disks.py +18 -17
  56. pulumi_vsphere/guest_os_customization.py +60 -56
  57. pulumi_vsphere/ha_vm_override.py +214 -210
  58. pulumi_vsphere/host.py +200 -196
  59. pulumi_vsphere/host_port_group.py +256 -252
  60. pulumi_vsphere/host_virtual_switch.py +298 -294
  61. pulumi_vsphere/license.py +60 -56
  62. pulumi_vsphere/nas_datastore.py +214 -210
  63. pulumi_vsphere/offline_software_depot.py +18 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +101 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +214 -210
  68. pulumi_vsphere/role.py +39 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +74 -70
  70. pulumi_vsphere/supervisor.py +158 -154
  71. pulumi_vsphere/tag.py +46 -42
  72. pulumi_vsphere/tag_category.py +60 -56
  73. pulumi_vsphere/vapp_container.py +214 -210
  74. pulumi_vsphere/vapp_entity.py +144 -140
  75. pulumi_vsphere/virtual_disk.py +102 -98
  76. pulumi_vsphere/virtual_machine.py +1043 -1039
  77. pulumi_vsphere/virtual_machine_class.py +88 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +102 -98
  79. pulumi_vsphere/vm_storage_policy.py +32 -28
  80. pulumi_vsphere/vmfs_datastore.py +151 -147
  81. pulumi_vsphere/vnic.py +116 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
  83. pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
  85. pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
  86. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
pulumi_vsphere/tag.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,15 +20,15 @@ __all__ = ['TagArgs', 'Tag']
19
20
  @pulumi.input_type
20
21
  class TagArgs:
21
22
  def __init__(__self__, *,
22
- category_id: pulumi.Input[str],
23
- description: Optional[pulumi.Input[str]] = None,
24
- name: Optional[pulumi.Input[str]] = None):
23
+ category_id: pulumi.Input[builtins.str],
24
+ description: Optional[pulumi.Input[builtins.str]] = None,
25
+ name: Optional[pulumi.Input[builtins.str]] = None):
25
26
  """
26
27
  The set of arguments for constructing a Tag resource.
27
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
28
+ :param pulumi.Input[builtins.str] category_id: The unique identifier of the parent category in
28
29
  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
30
+ :param pulumi.Input[builtins.str] description: A description for the tag.
31
+ :param pulumi.Input[builtins.str] name: The display name of the tag. The name must be unique
31
32
  within its category.
32
33
  """
33
34
  pulumi.set(__self__, "category_id", category_id)
@@ -38,7 +39,7 @@ class TagArgs:
38
39
 
39
40
  @property
40
41
  @pulumi.getter(name="categoryId")
41
- def category_id(self) -> pulumi.Input[str]:
42
+ def category_id(self) -> pulumi.Input[builtins.str]:
42
43
  """
43
44
  The unique identifier of the parent category in
44
45
  which this tag will be created. Forces a new resource if changed.
@@ -46,24 +47,24 @@ class TagArgs:
46
47
  return pulumi.get(self, "category_id")
47
48
 
48
49
  @category_id.setter
49
- def category_id(self, value: pulumi.Input[str]):
50
+ def category_id(self, value: pulumi.Input[builtins.str]):
50
51
  pulumi.set(self, "category_id", value)
51
52
 
52
53
  @property
53
54
  @pulumi.getter
54
- def description(self) -> Optional[pulumi.Input[str]]:
55
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
55
56
  """
56
57
  A description for the tag.
57
58
  """
58
59
  return pulumi.get(self, "description")
59
60
 
60
61
  @description.setter
61
- def description(self, value: Optional[pulumi.Input[str]]):
62
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
62
63
  pulumi.set(self, "description", value)
63
64
 
64
65
  @property
65
66
  @pulumi.getter
66
- def name(self) -> Optional[pulumi.Input[str]]:
67
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
67
68
  """
68
69
  The display name of the tag. The name must be unique
69
70
  within its category.
@@ -71,22 +72,22 @@ class TagArgs:
71
72
  return pulumi.get(self, "name")
72
73
 
73
74
  @name.setter
74
- def name(self, value: Optional[pulumi.Input[str]]):
75
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
75
76
  pulumi.set(self, "name", value)
76
77
 
77
78
 
78
79
  @pulumi.input_type
79
80
  class _TagState:
80
81
  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):
82
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
83
+ description: Optional[pulumi.Input[builtins.str]] = None,
84
+ name: Optional[pulumi.Input[builtins.str]] = None):
84
85
  """
85
86
  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
87
+ :param pulumi.Input[builtins.str] category_id: The unique identifier of the parent category in
87
88
  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
89
+ :param pulumi.Input[builtins.str] description: A description for the tag.
90
+ :param pulumi.Input[builtins.str] name: The display name of the tag. The name must be unique
90
91
  within its category.
91
92
  """
92
93
  if category_id is not None:
@@ -98,7 +99,7 @@ class _TagState:
98
99
 
99
100
  @property
100
101
  @pulumi.getter(name="categoryId")
101
- def category_id(self) -> Optional[pulumi.Input[str]]:
102
+ def category_id(self) -> Optional[pulumi.Input[builtins.str]]:
102
103
  """
103
104
  The unique identifier of the parent category in
104
105
  which this tag will be created. Forces a new resource if changed.
@@ -106,24 +107,24 @@ class _TagState:
106
107
  return pulumi.get(self, "category_id")
107
108
 
108
109
  @category_id.setter
109
- def category_id(self, value: Optional[pulumi.Input[str]]):
110
+ def category_id(self, value: Optional[pulumi.Input[builtins.str]]):
110
111
  pulumi.set(self, "category_id", value)
111
112
 
112
113
  @property
113
114
  @pulumi.getter
114
- def description(self) -> Optional[pulumi.Input[str]]:
115
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
115
116
  """
116
117
  A description for the tag.
117
118
  """
118
119
  return pulumi.get(self, "description")
119
120
 
120
121
  @description.setter
121
- def description(self, value: Optional[pulumi.Input[str]]):
122
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
122
123
  pulumi.set(self, "description", value)
123
124
 
124
125
  @property
125
126
  @pulumi.getter
126
- def name(self) -> Optional[pulumi.Input[str]]:
127
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
127
128
  """
128
129
  The display name of the tag. The name must be unique
129
130
  within its category.
@@ -131,18 +132,21 @@ class _TagState:
131
132
  return pulumi.get(self, "name")
132
133
 
133
134
  @name.setter
134
- def name(self, value: Optional[pulumi.Input[str]]):
135
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
135
136
  pulumi.set(self, "name", value)
136
137
 
137
138
 
138
139
  class Tag(pulumi.CustomResource):
140
+
141
+ pulumi_type = "vsphere:index/tag:Tag"
142
+
139
143
  @overload
140
144
  def __init__(__self__,
141
145
  resource_name: str,
142
146
  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,
147
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
148
+ description: Optional[pulumi.Input[builtins.str]] = None,
149
+ name: Optional[pulumi.Input[builtins.str]] = None,
146
150
  __props__=None):
147
151
  """
148
152
  The `Tag` resource can be used to create and manage tags, which allow
@@ -224,10 +228,10 @@ class Tag(pulumi.CustomResource):
224
228
 
225
229
  :param str resource_name: The name of the resource.
226
230
  :param pulumi.ResourceOptions opts: Options for the resource.
227
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
231
+ :param pulumi.Input[builtins.str] category_id: The unique identifier of the parent category in
228
232
  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
233
+ :param pulumi.Input[builtins.str] description: A description for the tag.
234
+ :param pulumi.Input[builtins.str] name: The display name of the tag. The name must be unique
231
235
  within its category.
232
236
  """
233
237
  ...
@@ -329,9 +333,9 @@ class Tag(pulumi.CustomResource):
329
333
  def _internal_init(__self__,
330
334
  resource_name: str,
331
335
  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,
336
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
337
+ description: Optional[pulumi.Input[builtins.str]] = None,
338
+ name: Optional[pulumi.Input[builtins.str]] = None,
335
339
  __props__=None):
336
340
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
337
341
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -356,9 +360,9 @@ class Tag(pulumi.CustomResource):
356
360
  def get(resource_name: str,
357
361
  id: pulumi.Input[str],
358
362
  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':
363
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
364
+ description: Optional[pulumi.Input[builtins.str]] = None,
365
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'Tag':
362
366
  """
363
367
  Get an existing Tag resource's state with the given name, id, and optional extra
364
368
  properties used to qualify the lookup.
@@ -366,10 +370,10 @@ class Tag(pulumi.CustomResource):
366
370
  :param str resource_name: The unique name of the resulting resource.
367
371
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
368
372
  :param pulumi.ResourceOptions opts: Options for the resource.
369
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
373
+ :param pulumi.Input[builtins.str] category_id: The unique identifier of the parent category in
370
374
  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
375
+ :param pulumi.Input[builtins.str] description: A description for the tag.
376
+ :param pulumi.Input[builtins.str] name: The display name of the tag. The name must be unique
373
377
  within its category.
374
378
  """
375
379
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -383,7 +387,7 @@ class Tag(pulumi.CustomResource):
383
387
 
384
388
  @property
385
389
  @pulumi.getter(name="categoryId")
386
- def category_id(self) -> pulumi.Output[str]:
390
+ def category_id(self) -> pulumi.Output[builtins.str]:
387
391
  """
388
392
  The unique identifier of the parent category in
389
393
  which this tag will be created. Forces a new resource if changed.
@@ -392,7 +396,7 @@ class Tag(pulumi.CustomResource):
392
396
 
393
397
  @property
394
398
  @pulumi.getter
395
- def description(self) -> pulumi.Output[Optional[str]]:
399
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
396
400
  """
397
401
  A description for the tag.
398
402
  """
@@ -400,7 +404,7 @@ class Tag(pulumi.CustomResource):
400
404
 
401
405
  @property
402
406
  @pulumi.getter
403
- def name(self) -> pulumi.Output[str]:
407
+ def name(self) -> pulumi.Output[builtins.str]:
404
408
  """
405
409
  The display name of the tag. The name must be unique
406
410
  within its category.
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -19,24 +20,24 @@ __all__ = ['TagCategoryArgs', 'TagCategory']
19
20
  @pulumi.input_type
20
21
  class TagCategoryArgs:
21
22
  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):
23
+ associable_types: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
24
+ cardinality: pulumi.Input[builtins.str],
25
+ description: Optional[pulumi.Input[builtins.str]] = None,
26
+ name: Optional[pulumi.Input[builtins.str]] = None):
26
27
  """
27
28
  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
29
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] associable_types: A list object types that this category is
29
30
  valid to be assigned to. For a full list, click
30
31
  here.
31
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
32
+ :param pulumi.Input[builtins.str] cardinality: The number of tags that can be assigned from this
32
33
  category to a single object at once. Can be one of `SINGLE` (object can only
33
34
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
34
35
  multiple tags in this category). Forces a new resource if changed.
35
- :param pulumi.Input[str] description: A description for the category.
36
+ :param pulumi.Input[builtins.str] description: A description for the category.
36
37
 
37
38
  > **NOTE:** You can add associable types to a category, but you cannot remove
38
39
  them. Attempting to do so will result in an error.
39
- :param pulumi.Input[str] name: The name of the category.
40
+ :param pulumi.Input[builtins.str] name: The name of the category.
40
41
  """
41
42
  pulumi.set(__self__, "associable_types", associable_types)
42
43
  pulumi.set(__self__, "cardinality", cardinality)
@@ -47,7 +48,7 @@ class TagCategoryArgs:
47
48
 
48
49
  @property
49
50
  @pulumi.getter(name="associableTypes")
50
- def associable_types(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
51
+ def associable_types(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
51
52
  """
52
53
  A list object types that this category is
53
54
  valid to be assigned to. For a full list, click
@@ -56,12 +57,12 @@ class TagCategoryArgs:
56
57
  return pulumi.get(self, "associable_types")
57
58
 
58
59
  @associable_types.setter
59
- def associable_types(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
60
+ def associable_types(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
60
61
  pulumi.set(self, "associable_types", value)
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def cardinality(self) -> pulumi.Input[str]:
65
+ def cardinality(self) -> pulumi.Input[builtins.str]:
65
66
  """
66
67
  The number of tags that can be assigned from this
67
68
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -71,12 +72,12 @@ class TagCategoryArgs:
71
72
  return pulumi.get(self, "cardinality")
72
73
 
73
74
  @cardinality.setter
74
- def cardinality(self, value: pulumi.Input[str]):
75
+ def cardinality(self, value: pulumi.Input[builtins.str]):
75
76
  pulumi.set(self, "cardinality", value)
76
77
 
77
78
  @property
78
79
  @pulumi.getter
79
- def description(self) -> Optional[pulumi.Input[str]]:
80
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
80
81
  """
81
82
  A description for the category.
82
83
 
@@ -86,43 +87,43 @@ class TagCategoryArgs:
86
87
  return pulumi.get(self, "description")
87
88
 
88
89
  @description.setter
89
- def description(self, value: Optional[pulumi.Input[str]]):
90
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
90
91
  pulumi.set(self, "description", value)
91
92
 
92
93
  @property
93
94
  @pulumi.getter
94
- def name(self) -> Optional[pulumi.Input[str]]:
95
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
95
96
  """
96
97
  The name of the category.
97
98
  """
98
99
  return pulumi.get(self, "name")
99
100
 
100
101
  @name.setter
101
- def name(self, value: Optional[pulumi.Input[str]]):
102
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
102
103
  pulumi.set(self, "name", value)
103
104
 
104
105
 
105
106
  @pulumi.input_type
106
107
  class _TagCategoryState:
107
108
  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):
109
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
110
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
111
+ description: Optional[pulumi.Input[builtins.str]] = None,
112
+ name: Optional[pulumi.Input[builtins.str]] = None):
112
113
  """
113
114
  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
115
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] associable_types: A list object types that this category is
115
116
  valid to be assigned to. For a full list, click
116
117
  here.
117
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
118
+ :param pulumi.Input[builtins.str] cardinality: The number of tags that can be assigned from this
118
119
  category to a single object at once. Can be one of `SINGLE` (object can only
119
120
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
120
121
  multiple tags in this category). Forces a new resource if changed.
121
- :param pulumi.Input[str] description: A description for the category.
122
+ :param pulumi.Input[builtins.str] description: A description for the category.
122
123
 
123
124
  > **NOTE:** You can add associable types to a category, but you cannot remove
124
125
  them. Attempting to do so will result in an error.
125
- :param pulumi.Input[str] name: The name of the category.
126
+ :param pulumi.Input[builtins.str] name: The name of the category.
126
127
  """
127
128
  if associable_types is not None:
128
129
  pulumi.set(__self__, "associable_types", associable_types)
@@ -135,7 +136,7 @@ class _TagCategoryState:
135
136
 
136
137
  @property
137
138
  @pulumi.getter(name="associableTypes")
138
- def associable_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
139
+ def associable_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
139
140
  """
140
141
  A list object types that this category is
141
142
  valid to be assigned to. For a full list, click
@@ -144,12 +145,12 @@ class _TagCategoryState:
144
145
  return pulumi.get(self, "associable_types")
145
146
 
146
147
  @associable_types.setter
147
- def associable_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
148
+ def associable_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
148
149
  pulumi.set(self, "associable_types", value)
149
150
 
150
151
  @property
151
152
  @pulumi.getter
152
- def cardinality(self) -> Optional[pulumi.Input[str]]:
153
+ def cardinality(self) -> Optional[pulumi.Input[builtins.str]]:
153
154
  """
154
155
  The number of tags that can be assigned from this
155
156
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -159,12 +160,12 @@ class _TagCategoryState:
159
160
  return pulumi.get(self, "cardinality")
160
161
 
161
162
  @cardinality.setter
162
- def cardinality(self, value: Optional[pulumi.Input[str]]):
163
+ def cardinality(self, value: Optional[pulumi.Input[builtins.str]]):
163
164
  pulumi.set(self, "cardinality", value)
164
165
 
165
166
  @property
166
167
  @pulumi.getter
167
- def description(self) -> Optional[pulumi.Input[str]]:
168
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
168
169
  """
169
170
  A description for the category.
170
171
 
@@ -174,31 +175,34 @@ class _TagCategoryState:
174
175
  return pulumi.get(self, "description")
175
176
 
176
177
  @description.setter
177
- def description(self, value: Optional[pulumi.Input[str]]):
178
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
178
179
  pulumi.set(self, "description", value)
179
180
 
180
181
  @property
181
182
  @pulumi.getter
182
- def name(self) -> Optional[pulumi.Input[str]]:
183
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
183
184
  """
184
185
  The name of the category.
185
186
  """
186
187
  return pulumi.get(self, "name")
187
188
 
188
189
  @name.setter
189
- def name(self, value: Optional[pulumi.Input[str]]):
190
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
190
191
  pulumi.set(self, "name", value)
191
192
 
192
193
 
193
194
  class TagCategory(pulumi.CustomResource):
195
+
196
+ pulumi_type = "vsphere:index/tagCategory:TagCategory"
197
+
194
198
  @overload
195
199
  def __init__(__self__,
196
200
  resource_name: str,
197
201
  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,
202
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
203
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
204
+ description: Optional[pulumi.Input[builtins.str]] = None,
205
+ name: Optional[pulumi.Input[builtins.str]] = None,
202
206
  __props__=None):
203
207
  """
204
208
  The `TagCategory` resource can be used to create and manage tag
@@ -242,18 +246,18 @@ class TagCategory(pulumi.CustomResource):
242
246
 
243
247
  :param str resource_name: The name of the resource.
244
248
  :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
249
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] associable_types: A list object types that this category is
246
250
  valid to be assigned to. For a full list, click
247
251
  here.
248
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
252
+ :param pulumi.Input[builtins.str] cardinality: The number of tags that can be assigned from this
249
253
  category to a single object at once. Can be one of `SINGLE` (object can only
250
254
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
251
255
  multiple tags in this category). Forces a new resource if changed.
252
- :param pulumi.Input[str] description: A description for the category.
256
+ :param pulumi.Input[builtins.str] description: A description for the category.
253
257
 
254
258
  > **NOTE:** You can add associable types to a category, but you cannot remove
255
259
  them. Attempting to do so will result in an error.
256
- :param pulumi.Input[str] name: The name of the category.
260
+ :param pulumi.Input[builtins.str] name: The name of the category.
257
261
  """
258
262
  ...
259
263
  @overload
@@ -316,10 +320,10 @@ class TagCategory(pulumi.CustomResource):
316
320
  def _internal_init(__self__,
317
321
  resource_name: str,
318
322
  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,
323
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
324
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
325
+ description: Optional[pulumi.Input[builtins.str]] = None,
326
+ name: Optional[pulumi.Input[builtins.str]] = None,
323
327
  __props__=None):
324
328
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
325
329
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -347,10 +351,10 @@ class TagCategory(pulumi.CustomResource):
347
351
  def get(resource_name: str,
348
352
  id: pulumi.Input[str],
349
353
  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':
354
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
355
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
356
+ description: Optional[pulumi.Input[builtins.str]] = None,
357
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'TagCategory':
354
358
  """
355
359
  Get an existing TagCategory resource's state with the given name, id, and optional extra
356
360
  properties used to qualify the lookup.
@@ -358,18 +362,18 @@ class TagCategory(pulumi.CustomResource):
358
362
  :param str resource_name: The unique name of the resulting resource.
359
363
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
360
364
  :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
365
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] associable_types: A list object types that this category is
362
366
  valid to be assigned to. For a full list, click
363
367
  here.
364
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
368
+ :param pulumi.Input[builtins.str] cardinality: The number of tags that can be assigned from this
365
369
  category to a single object at once. Can be one of `SINGLE` (object can only
366
370
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
367
371
  multiple tags in this category). Forces a new resource if changed.
368
- :param pulumi.Input[str] description: A description for the category.
372
+ :param pulumi.Input[builtins.str] description: A description for the category.
369
373
 
370
374
  > **NOTE:** You can add associable types to a category, but you cannot remove
371
375
  them. Attempting to do so will result in an error.
372
- :param pulumi.Input[str] name: The name of the category.
376
+ :param pulumi.Input[builtins.str] name: The name of the category.
373
377
  """
374
378
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
375
379
 
@@ -383,7 +387,7 @@ class TagCategory(pulumi.CustomResource):
383
387
 
384
388
  @property
385
389
  @pulumi.getter(name="associableTypes")
386
- def associable_types(self) -> pulumi.Output[Sequence[str]]:
390
+ def associable_types(self) -> pulumi.Output[Sequence[builtins.str]]:
387
391
  """
388
392
  A list object types that this category is
389
393
  valid to be assigned to. For a full list, click
@@ -393,7 +397,7 @@ class TagCategory(pulumi.CustomResource):
393
397
 
394
398
  @property
395
399
  @pulumi.getter
396
- def cardinality(self) -> pulumi.Output[str]:
400
+ def cardinality(self) -> pulumi.Output[builtins.str]:
397
401
  """
398
402
  The number of tags that can be assigned from this
399
403
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -404,7 +408,7 @@ class TagCategory(pulumi.CustomResource):
404
408
 
405
409
  @property
406
410
  @pulumi.getter
407
- def description(self) -> pulumi.Output[Optional[str]]:
411
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
408
412
  """
409
413
  A description for the category.
410
414
 
@@ -415,7 +419,7 @@ class TagCategory(pulumi.CustomResource):
415
419
 
416
420
  @property
417
421
  @pulumi.getter
418
- def name(self) -> pulumi.Output[str]:
422
+ def name(self) -> pulumi.Output[builtins.str]:
419
423
  """
420
424
  The name of the category.
421
425
  """