pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1746734806__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 +919 -917
  4. pulumi_vsphere/compute_cluster_host_group.py +44 -42
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +72 -70
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +72 -70
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +86 -84
  8. pulumi_vsphere/compute_cluster_vm_group.py +44 -42
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +100 -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 +44 -42
  14. pulumi_vsphere/content_library_item.py +86 -84
  15. pulumi_vsphere/custom_attribute.py +30 -28
  16. pulumi_vsphere/datacenter.py +65 -63
  17. pulumi_vsphere/datastore_cluster.py +352 -350
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +72 -70
  19. pulumi_vsphere/distributed_port_group.py +646 -644
  20. pulumi_vsphere/distributed_virtual_switch.py +1283 -1281
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +58 -56
  22. pulumi_vsphere/dpm_host_override.py +58 -56
  23. pulumi_vsphere/drs_vm_override.py +58 -56
  24. pulumi_vsphere/entity_permissions.py +30 -28
  25. pulumi_vsphere/file.py +96 -94
  26. pulumi_vsphere/folder.py +72 -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 +58 -56
  57. pulumi_vsphere/ha_vm_override.py +212 -210
  58. pulumi_vsphere/host.py +198 -196
  59. pulumi_vsphere/host_port_group.py +254 -252
  60. pulumi_vsphere/host_virtual_switch.py +296 -294
  61. pulumi_vsphere/license.py +58 -56
  62. pulumi_vsphere/nas_datastore.py +212 -210
  63. pulumi_vsphere/offline_software_depot.py +16 -14
  64. pulumi_vsphere/outputs.py +721 -720
  65. pulumi_vsphere/provider.py +119 -97
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +212 -210
  68. pulumi_vsphere/role.py +37 -35
  69. pulumi_vsphere/storage_drs_vm_override.py +72 -70
  70. pulumi_vsphere/supervisor.py +156 -154
  71. pulumi_vsphere/tag.py +44 -42
  72. pulumi_vsphere/tag_category.py +58 -56
  73. pulumi_vsphere/vapp_container.py +212 -210
  74. pulumi_vsphere/vapp_entity.py +142 -140
  75. pulumi_vsphere/virtual_disk.py +100 -98
  76. pulumi_vsphere/virtual_machine.py +1041 -1039
  77. pulumi_vsphere/virtual_machine_class.py +86 -84
  78. pulumi_vsphere/virtual_machine_snapshot.py +100 -98
  79. pulumi_vsphere/vm_storage_policy.py +30 -28
  80. pulumi_vsphere/vmfs_datastore.py +149 -147
  81. pulumi_vsphere/vnic.py +114 -112
  82. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.dist-info}/METADATA +4 -4
  83. pulumi_vsphere-4.14.0a1746734806.dist-info/RECORD +87 -0
  84. {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1746734806.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.0a1746734806.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,19 @@ 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
 
139
+ @pulumi.type_token("vsphere:index/tag:Tag")
138
140
  class Tag(pulumi.CustomResource):
139
141
  @overload
140
142
  def __init__(__self__,
141
143
  resource_name: str,
142
144
  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,
145
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
146
+ description: Optional[pulumi.Input[builtins.str]] = None,
147
+ name: Optional[pulumi.Input[builtins.str]] = None,
146
148
  __props__=None):
147
149
  """
148
150
  The `Tag` resource can be used to create and manage tags, which allow
@@ -224,10 +226,10 @@ class Tag(pulumi.CustomResource):
224
226
 
225
227
  :param str resource_name: The name of the resource.
226
228
  :param pulumi.ResourceOptions opts: Options for the resource.
227
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
229
+ :param pulumi.Input[builtins.str] category_id: The unique identifier of the parent category in
228
230
  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
231
+ :param pulumi.Input[builtins.str] description: A description for the tag.
232
+ :param pulumi.Input[builtins.str] name: The display name of the tag. The name must be unique
231
233
  within its category.
232
234
  """
233
235
  ...
@@ -329,9 +331,9 @@ class Tag(pulumi.CustomResource):
329
331
  def _internal_init(__self__,
330
332
  resource_name: str,
331
333
  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,
334
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
335
+ description: Optional[pulumi.Input[builtins.str]] = None,
336
+ name: Optional[pulumi.Input[builtins.str]] = None,
335
337
  __props__=None):
336
338
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
337
339
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -356,9 +358,9 @@ class Tag(pulumi.CustomResource):
356
358
  def get(resource_name: str,
357
359
  id: pulumi.Input[str],
358
360
  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':
361
+ category_id: Optional[pulumi.Input[builtins.str]] = None,
362
+ description: Optional[pulumi.Input[builtins.str]] = None,
363
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'Tag':
362
364
  """
363
365
  Get an existing Tag resource's state with the given name, id, and optional extra
364
366
  properties used to qualify the lookup.
@@ -366,10 +368,10 @@ class Tag(pulumi.CustomResource):
366
368
  :param str resource_name: The unique name of the resulting resource.
367
369
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
368
370
  :param pulumi.ResourceOptions opts: Options for the resource.
369
- :param pulumi.Input[str] category_id: The unique identifier of the parent category in
371
+ :param pulumi.Input[builtins.str] category_id: The unique identifier of the parent category in
370
372
  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
373
+ :param pulumi.Input[builtins.str] description: A description for the tag.
374
+ :param pulumi.Input[builtins.str] name: The display name of the tag. The name must be unique
373
375
  within its category.
374
376
  """
375
377
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -383,7 +385,7 @@ class Tag(pulumi.CustomResource):
383
385
 
384
386
  @property
385
387
  @pulumi.getter(name="categoryId")
386
- def category_id(self) -> pulumi.Output[str]:
388
+ def category_id(self) -> pulumi.Output[builtins.str]:
387
389
  """
388
390
  The unique identifier of the parent category in
389
391
  which this tag will be created. Forces a new resource if changed.
@@ -392,7 +394,7 @@ class Tag(pulumi.CustomResource):
392
394
 
393
395
  @property
394
396
  @pulumi.getter
395
- def description(self) -> pulumi.Output[Optional[str]]:
397
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
396
398
  """
397
399
  A description for the tag.
398
400
  """
@@ -400,7 +402,7 @@ class Tag(pulumi.CustomResource):
400
402
 
401
403
  @property
402
404
  @pulumi.getter
403
- def name(self) -> pulumi.Output[str]:
405
+ def name(self) -> pulumi.Output[builtins.str]:
404
406
  """
405
407
  The display name of the tag. The name must be unique
406
408
  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,32 @@ 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
 
194
+ @pulumi.type_token("vsphere:index/tagCategory:TagCategory")
193
195
  class TagCategory(pulumi.CustomResource):
194
196
  @overload
195
197
  def __init__(__self__,
196
198
  resource_name: str,
197
199
  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,
200
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
201
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
202
+ description: Optional[pulumi.Input[builtins.str]] = None,
203
+ name: Optional[pulumi.Input[builtins.str]] = None,
202
204
  __props__=None):
203
205
  """
204
206
  The `TagCategory` resource can be used to create and manage tag
@@ -242,18 +244,18 @@ class TagCategory(pulumi.CustomResource):
242
244
 
243
245
  :param str resource_name: The name of the resource.
244
246
  :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
247
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] associable_types: A list object types that this category is
246
248
  valid to be assigned to. For a full list, click
247
249
  here.
248
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
250
+ :param pulumi.Input[builtins.str] cardinality: The number of tags that can be assigned from this
249
251
  category to a single object at once. Can be one of `SINGLE` (object can only
250
252
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
251
253
  multiple tags in this category). Forces a new resource if changed.
252
- :param pulumi.Input[str] description: A description for the category.
254
+ :param pulumi.Input[builtins.str] description: A description for the category.
253
255
 
254
256
  > **NOTE:** You can add associable types to a category, but you cannot remove
255
257
  them. Attempting to do so will result in an error.
256
- :param pulumi.Input[str] name: The name of the category.
258
+ :param pulumi.Input[builtins.str] name: The name of the category.
257
259
  """
258
260
  ...
259
261
  @overload
@@ -316,10 +318,10 @@ class TagCategory(pulumi.CustomResource):
316
318
  def _internal_init(__self__,
317
319
  resource_name: str,
318
320
  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,
321
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
322
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
323
+ description: Optional[pulumi.Input[builtins.str]] = None,
324
+ name: Optional[pulumi.Input[builtins.str]] = None,
323
325
  __props__=None):
324
326
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
325
327
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -347,10 +349,10 @@ class TagCategory(pulumi.CustomResource):
347
349
  def get(resource_name: str,
348
350
  id: pulumi.Input[str],
349
351
  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':
352
+ associable_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
353
+ cardinality: Optional[pulumi.Input[builtins.str]] = None,
354
+ description: Optional[pulumi.Input[builtins.str]] = None,
355
+ name: Optional[pulumi.Input[builtins.str]] = None) -> 'TagCategory':
354
356
  """
355
357
  Get an existing TagCategory resource's state with the given name, id, and optional extra
356
358
  properties used to qualify the lookup.
@@ -358,18 +360,18 @@ class TagCategory(pulumi.CustomResource):
358
360
  :param str resource_name: The unique name of the resulting resource.
359
361
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
360
362
  :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
363
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] associable_types: A list object types that this category is
362
364
  valid to be assigned to. For a full list, click
363
365
  here.
364
- :param pulumi.Input[str] cardinality: The number of tags that can be assigned from this
366
+ :param pulumi.Input[builtins.str] cardinality: The number of tags that can be assigned from this
365
367
  category to a single object at once. Can be one of `SINGLE` (object can only
366
368
  be assigned one tag in this category), to `MULTIPLE` (object can be assigned
367
369
  multiple tags in this category). Forces a new resource if changed.
368
- :param pulumi.Input[str] description: A description for the category.
370
+ :param pulumi.Input[builtins.str] description: A description for the category.
369
371
 
370
372
  > **NOTE:** You can add associable types to a category, but you cannot remove
371
373
  them. Attempting to do so will result in an error.
372
- :param pulumi.Input[str] name: The name of the category.
374
+ :param pulumi.Input[builtins.str] name: The name of the category.
373
375
  """
374
376
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
375
377
 
@@ -383,7 +385,7 @@ class TagCategory(pulumi.CustomResource):
383
385
 
384
386
  @property
385
387
  @pulumi.getter(name="associableTypes")
386
- def associable_types(self) -> pulumi.Output[Sequence[str]]:
388
+ def associable_types(self) -> pulumi.Output[Sequence[builtins.str]]:
387
389
  """
388
390
  A list object types that this category is
389
391
  valid to be assigned to. For a full list, click
@@ -393,7 +395,7 @@ class TagCategory(pulumi.CustomResource):
393
395
 
394
396
  @property
395
397
  @pulumi.getter
396
- def cardinality(self) -> pulumi.Output[str]:
398
+ def cardinality(self) -> pulumi.Output[builtins.str]:
397
399
  """
398
400
  The number of tags that can be assigned from this
399
401
  category to a single object at once. Can be one of `SINGLE` (object can only
@@ -404,7 +406,7 @@ class TagCategory(pulumi.CustomResource):
404
406
 
405
407
  @property
406
408
  @pulumi.getter
407
- def description(self) -> pulumi.Output[Optional[str]]:
409
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
408
410
  """
409
411
  A description for the category.
410
412
 
@@ -415,7 +417,7 @@ class TagCategory(pulumi.CustomResource):
415
417
 
416
418
  @property
417
419
  @pulumi.getter
418
- def name(self) -> pulumi.Output[str]:
420
+ def name(self) -> pulumi.Output[builtins.str]:
419
421
  """
420
422
  The name of the category.
421
423
  """