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.
- pulumi_vsphere/__init__.py +12 -1
- pulumi_vsphere/_inputs.py +1172 -1172
- pulumi_vsphere/_utilities.py +1 -1
- pulumi_vsphere/compute_cluster.py +1226 -1484
- pulumi_vsphere/compute_cluster_host_group.py +124 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +88 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +109 -104
- pulumi_vsphere/compute_cluster_vm_group.py +58 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +126 -121
- pulumi_vsphere/config/__init__.py +2 -1
- pulumi_vsphere/config/__init__.pyi +2 -2
- pulumi_vsphere/config/vars.py +15 -15
- pulumi_vsphere/configuration_profile.py +286 -0
- pulumi_vsphere/content_library.py +64 -59
- pulumi_vsphere/content_library_item.py +109 -104
- pulumi_vsphere/custom_attribute.py +41 -36
- pulumi_vsphere/datacenter.py +80 -79
- pulumi_vsphere/datastore_cluster.py +531 -477
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +92 -87
- pulumi_vsphere/distributed_port_group.py +802 -818
- pulumi_vsphere/distributed_virtual_switch.py +1590 -1620
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +71 -70
- pulumi_vsphere/dpm_host_override.py +159 -70
- pulumi_vsphere/drs_vm_override.py +75 -70
- pulumi_vsphere/entity_permissions.py +40 -39
- pulumi_vsphere/file.py +148 -162
- pulumi_vsphere/folder.py +104 -99
- pulumi_vsphere/get_compute_cluster.py +18 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +18 -22
- pulumi_vsphere/get_configuration_profile.py +145 -0
- pulumi_vsphere/get_content_library.py +10 -10
- pulumi_vsphere/get_content_library_item.py +22 -22
- pulumi_vsphere/get_custom_attribute.py +12 -12
- pulumi_vsphere/get_datacenter.py +12 -12
- pulumi_vsphere/get_datastore.py +22 -22
- pulumi_vsphere/get_datastore_cluster.py +19 -19
- pulumi_vsphere/get_datastore_stats.py +22 -26
- pulumi_vsphere/get_distributed_virtual_switch.py +18 -18
- pulumi_vsphere/get_dynamic.py +22 -26
- pulumi_vsphere/get_folder.py +140 -18
- pulumi_vsphere/get_guest_os_customization.py +74 -21
- pulumi_vsphere/get_host.py +18 -18
- pulumi_vsphere/get_host_base_images.py +6 -6
- pulumi_vsphere/get_host_pci_device.py +30 -30
- pulumi_vsphere/get_host_thumbprint.py +22 -22
- pulumi_vsphere/get_host_vgpu_profile.py +17 -17
- pulumi_vsphere/get_license.py +26 -24
- pulumi_vsphere/get_network.py +80 -29
- pulumi_vsphere/get_ovf_vm_template.py +126 -126
- pulumi_vsphere/get_policy.py +10 -10
- pulumi_vsphere/get_resource_pool.py +77 -26
- pulumi_vsphere/get_role.py +26 -26
- pulumi_vsphere/get_tag.py +18 -18
- pulumi_vsphere/get_tag_category.py +16 -16
- pulumi_vsphere/get_vapp_container.py +16 -16
- pulumi_vsphere/get_virtual_machine.py +273 -273
- pulumi_vsphere/get_vmfs_disks.py +24 -24
- pulumi_vsphere/guest_os_customization.py +75 -74
- pulumi_vsphere/ha_vm_override.py +295 -374
- pulumi_vsphere/host.py +304 -249
- pulumi_vsphere/host_port_group.py +321 -341
- pulumi_vsphere/host_virtual_switch.py +373 -389
- pulumi_vsphere/license.py +125 -84
- pulumi_vsphere/nas_datastore.py +324 -261
- pulumi_vsphere/offline_software_depot.py +26 -21
- pulumi_vsphere/outputs.py +1003 -970
- pulumi_vsphere/provider.py +165 -146
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +691 -364
- pulumi_vsphere/role.py +46 -45
- pulumi_vsphere/storage_drs_vm_override.py +92 -87
- pulumi_vsphere/supervisor.py +210 -209
- pulumi_vsphere/tag.py +58 -53
- pulumi_vsphere/tag_category.py +75 -70
- pulumi_vsphere/vapp_container.py +262 -257
- pulumi_vsphere/vapp_entity.py +177 -172
- pulumi_vsphere/virtual_disk.py +130 -125
- pulumi_vsphere/virtual_machine.py +1339 -1443
- pulumi_vsphere/virtual_machine_class.py +109 -108
- pulumi_vsphere/virtual_machine_snapshot.py +122 -121
- pulumi_vsphere/vm_storage_policy.py +40 -39
- pulumi_vsphere/vmfs_datastore.py +189 -184
- pulumi_vsphere/vnic.py +145 -144
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA +4 -4
- pulumi_vsphere-4.17.0a1763710194.dist-info/RECORD +89 -0
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1739946909.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
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
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -19,84 +19,84 @@ __all__ = ['DistributedVirtualSwitchPvlanMappingInitArgs', 'DistributedVirtualSw
|
|
|
19
19
|
@pulumi.input_type
|
|
20
20
|
class DistributedVirtualSwitchPvlanMappingInitArgs:
|
|
21
21
|
def __init__(__self__, *,
|
|
22
|
-
distributed_virtual_switch_id: pulumi.Input[str],
|
|
23
|
-
primary_vlan_id: pulumi.Input[int],
|
|
24
|
-
pvlan_type: pulumi.Input[str],
|
|
25
|
-
secondary_vlan_id: pulumi.Input[int]):
|
|
22
|
+
distributed_virtual_switch_id: pulumi.Input[_builtins.str],
|
|
23
|
+
primary_vlan_id: pulumi.Input[_builtins.int],
|
|
24
|
+
pvlan_type: pulumi.Input[_builtins.str],
|
|
25
|
+
secondary_vlan_id: pulumi.Input[_builtins.int]):
|
|
26
26
|
"""
|
|
27
27
|
The set of arguments for constructing a DistributedVirtualSwitchPvlanMapping resource.
|
|
28
|
-
:param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
29
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
30
|
-
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
31
|
-
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
28
|
+
:param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
29
|
+
:param pulumi.Input[_builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
30
|
+
:param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
31
|
+
:param pulumi.Input[_builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
32
32
|
"""
|
|
33
33
|
pulumi.set(__self__, "distributed_virtual_switch_id", distributed_virtual_switch_id)
|
|
34
34
|
pulumi.set(__self__, "primary_vlan_id", primary_vlan_id)
|
|
35
35
|
pulumi.set(__self__, "pvlan_type", pvlan_type)
|
|
36
36
|
pulumi.set(__self__, "secondary_vlan_id", secondary_vlan_id)
|
|
37
37
|
|
|
38
|
-
@property
|
|
38
|
+
@_builtins.property
|
|
39
39
|
@pulumi.getter(name="distributedVirtualSwitchId")
|
|
40
|
-
def distributed_virtual_switch_id(self) -> pulumi.Input[str]:
|
|
40
|
+
def distributed_virtual_switch_id(self) -> pulumi.Input[_builtins.str]:
|
|
41
41
|
"""
|
|
42
42
|
The ID of the distributed virtual switch to attach this mapping to.
|
|
43
43
|
"""
|
|
44
44
|
return pulumi.get(self, "distributed_virtual_switch_id")
|
|
45
45
|
|
|
46
46
|
@distributed_virtual_switch_id.setter
|
|
47
|
-
def distributed_virtual_switch_id(self, value: pulumi.Input[str]):
|
|
47
|
+
def distributed_virtual_switch_id(self, value: pulumi.Input[_builtins.str]):
|
|
48
48
|
pulumi.set(self, "distributed_virtual_switch_id", value)
|
|
49
49
|
|
|
50
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
51
51
|
@pulumi.getter(name="primaryVlanId")
|
|
52
|
-
def primary_vlan_id(self) -> pulumi.Input[int]:
|
|
52
|
+
def primary_vlan_id(self) -> pulumi.Input[_builtins.int]:
|
|
53
53
|
"""
|
|
54
54
|
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
55
55
|
"""
|
|
56
56
|
return pulumi.get(self, "primary_vlan_id")
|
|
57
57
|
|
|
58
58
|
@primary_vlan_id.setter
|
|
59
|
-
def primary_vlan_id(self, value: pulumi.Input[int]):
|
|
59
|
+
def primary_vlan_id(self, value: pulumi.Input[_builtins.int]):
|
|
60
60
|
pulumi.set(self, "primary_vlan_id", value)
|
|
61
61
|
|
|
62
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
63
63
|
@pulumi.getter(name="pvlanType")
|
|
64
|
-
def pvlan_type(self) -> pulumi.Input[str]:
|
|
64
|
+
def pvlan_type(self) -> pulumi.Input[_builtins.str]:
|
|
65
65
|
"""
|
|
66
66
|
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
67
67
|
"""
|
|
68
68
|
return pulumi.get(self, "pvlan_type")
|
|
69
69
|
|
|
70
70
|
@pvlan_type.setter
|
|
71
|
-
def pvlan_type(self, value: pulumi.Input[str]):
|
|
71
|
+
def pvlan_type(self, value: pulumi.Input[_builtins.str]):
|
|
72
72
|
pulumi.set(self, "pvlan_type", value)
|
|
73
73
|
|
|
74
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
75
75
|
@pulumi.getter(name="secondaryVlanId")
|
|
76
|
-
def secondary_vlan_id(self) -> pulumi.Input[int]:
|
|
76
|
+
def secondary_vlan_id(self) -> pulumi.Input[_builtins.int]:
|
|
77
77
|
"""
|
|
78
78
|
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
79
79
|
"""
|
|
80
80
|
return pulumi.get(self, "secondary_vlan_id")
|
|
81
81
|
|
|
82
82
|
@secondary_vlan_id.setter
|
|
83
|
-
def secondary_vlan_id(self, value: pulumi.Input[int]):
|
|
83
|
+
def secondary_vlan_id(self, value: pulumi.Input[_builtins.int]):
|
|
84
84
|
pulumi.set(self, "secondary_vlan_id", value)
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
@pulumi.input_type
|
|
88
88
|
class _DistributedVirtualSwitchPvlanMappingState:
|
|
89
89
|
def __init__(__self__, *,
|
|
90
|
-
distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
|
|
91
|
-
primary_vlan_id: Optional[pulumi.Input[int]] = None,
|
|
92
|
-
pvlan_type: Optional[pulumi.Input[str]] = None,
|
|
93
|
-
secondary_vlan_id: Optional[pulumi.Input[int]] = None):
|
|
90
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
91
|
+
primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
92
|
+
pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
93
|
+
secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None):
|
|
94
94
|
"""
|
|
95
95
|
Input properties used for looking up and filtering DistributedVirtualSwitchPvlanMapping resources.
|
|
96
|
-
:param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
97
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
98
|
-
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
99
|
-
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
96
|
+
:param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
97
|
+
:param pulumi.Input[_builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
98
|
+
:param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
99
|
+
:param pulumi.Input[_builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
100
100
|
"""
|
|
101
101
|
if distributed_virtual_switch_id is not None:
|
|
102
102
|
pulumi.set(__self__, "distributed_virtual_switch_id", distributed_virtual_switch_id)
|
|
@@ -107,73 +107,74 @@ class _DistributedVirtualSwitchPvlanMappingState:
|
|
|
107
107
|
if secondary_vlan_id is not None:
|
|
108
108
|
pulumi.set(__self__, "secondary_vlan_id", secondary_vlan_id)
|
|
109
109
|
|
|
110
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
111
111
|
@pulumi.getter(name="distributedVirtualSwitchId")
|
|
112
|
-
def distributed_virtual_switch_id(self) -> Optional[pulumi.Input[str]]:
|
|
112
|
+
def distributed_virtual_switch_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
113
113
|
"""
|
|
114
114
|
The ID of the distributed virtual switch to attach this mapping to.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "distributed_virtual_switch_id")
|
|
117
117
|
|
|
118
118
|
@distributed_virtual_switch_id.setter
|
|
119
|
-
def distributed_virtual_switch_id(self, value: Optional[pulumi.Input[str]]):
|
|
119
|
+
def distributed_virtual_switch_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
120
|
pulumi.set(self, "distributed_virtual_switch_id", value)
|
|
121
121
|
|
|
122
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
123
123
|
@pulumi.getter(name="primaryVlanId")
|
|
124
|
-
def primary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
124
|
+
def primary_vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
125
125
|
"""
|
|
126
126
|
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "primary_vlan_id")
|
|
129
129
|
|
|
130
130
|
@primary_vlan_id.setter
|
|
131
|
-
def primary_vlan_id(self, value: Optional[pulumi.Input[int]]):
|
|
131
|
+
def primary_vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
132
132
|
pulumi.set(self, "primary_vlan_id", value)
|
|
133
133
|
|
|
134
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
135
135
|
@pulumi.getter(name="pvlanType")
|
|
136
|
-
def pvlan_type(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def pvlan_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
137
|
"""
|
|
138
138
|
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "pvlan_type")
|
|
141
141
|
|
|
142
142
|
@pvlan_type.setter
|
|
143
|
-
def pvlan_type(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
def pvlan_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
144
144
|
pulumi.set(self, "pvlan_type", value)
|
|
145
145
|
|
|
146
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
147
147
|
@pulumi.getter(name="secondaryVlanId")
|
|
148
|
-
def secondary_vlan_id(self) -> Optional[pulumi.Input[int]]:
|
|
148
|
+
def secondary_vlan_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
149
149
|
"""
|
|
150
150
|
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "secondary_vlan_id")
|
|
153
153
|
|
|
154
154
|
@secondary_vlan_id.setter
|
|
155
|
-
def secondary_vlan_id(self, value: Optional[pulumi.Input[int]]):
|
|
155
|
+
def secondary_vlan_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
156
156
|
pulumi.set(self, "secondary_vlan_id", value)
|
|
157
157
|
|
|
158
158
|
|
|
159
|
+
@pulumi.type_token("vsphere:index/distributedVirtualSwitchPvlanMapping:DistributedVirtualSwitchPvlanMapping")
|
|
159
160
|
class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
160
161
|
@overload
|
|
161
162
|
def __init__(__self__,
|
|
162
163
|
resource_name: str,
|
|
163
164
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
164
|
-
distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
|
|
165
|
-
primary_vlan_id: Optional[pulumi.Input[int]] = None,
|
|
166
|
-
pvlan_type: Optional[pulumi.Input[str]] = None,
|
|
167
|
-
secondary_vlan_id: Optional[pulumi.Input[int]] = None,
|
|
165
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
|
+
primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
167
|
+
pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
168
|
+
secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
168
169
|
__props__=None):
|
|
169
170
|
"""
|
|
170
171
|
Create a DistributedVirtualSwitchPvlanMapping resource with the given unique name, props, and options.
|
|
171
172
|
:param str resource_name: The name of the resource.
|
|
172
173
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
173
|
-
:param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
174
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
175
|
-
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
176
|
-
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
174
|
+
:param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
175
|
+
:param pulumi.Input[_builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
176
|
+
:param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
177
|
+
:param pulumi.Input[_builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
177
178
|
"""
|
|
178
179
|
...
|
|
179
180
|
@overload
|
|
@@ -198,10 +199,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
198
199
|
def _internal_init(__self__,
|
|
199
200
|
resource_name: str,
|
|
200
201
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
201
|
-
distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
|
|
202
|
-
primary_vlan_id: Optional[pulumi.Input[int]] = None,
|
|
203
|
-
pvlan_type: Optional[pulumi.Input[str]] = None,
|
|
204
|
-
secondary_vlan_id: Optional[pulumi.Input[int]] = None,
|
|
202
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
203
|
+
primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
204
|
+
pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
205
|
+
secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
205
206
|
__props__=None):
|
|
206
207
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
207
208
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -233,10 +234,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
233
234
|
def get(resource_name: str,
|
|
234
235
|
id: pulumi.Input[str],
|
|
235
236
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
236
|
-
distributed_virtual_switch_id: Optional[pulumi.Input[str]] = None,
|
|
237
|
-
primary_vlan_id: Optional[pulumi.Input[int]] = None,
|
|
238
|
-
pvlan_type: Optional[pulumi.Input[str]] = None,
|
|
239
|
-
secondary_vlan_id: Optional[pulumi.Input[int]] = None) -> 'DistributedVirtualSwitchPvlanMapping':
|
|
237
|
+
distributed_virtual_switch_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
238
|
+
primary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
239
|
+
pvlan_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
240
|
+
secondary_vlan_id: Optional[pulumi.Input[_builtins.int]] = None) -> 'DistributedVirtualSwitchPvlanMapping':
|
|
240
241
|
"""
|
|
241
242
|
Get an existing DistributedVirtualSwitchPvlanMapping resource's state with the given name, id, and optional extra
|
|
242
243
|
properties used to qualify the lookup.
|
|
@@ -244,10 +245,10 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
244
245
|
:param str resource_name: The unique name of the resulting resource.
|
|
245
246
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
246
247
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
247
|
-
:param pulumi.Input[str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
248
|
-
:param pulumi.Input[int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
249
|
-
:param pulumi.Input[str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
250
|
-
:param pulumi.Input[int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
248
|
+
:param pulumi.Input[_builtins.str] distributed_virtual_switch_id: The ID of the distributed virtual switch to attach this mapping to.
|
|
249
|
+
:param pulumi.Input[_builtins.int] primary_vlan_id: The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
250
|
+
:param pulumi.Input[_builtins.str] pvlan_type: The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
251
|
+
:param pulumi.Input[_builtins.int] secondary_vlan_id: The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
251
252
|
"""
|
|
252
253
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
253
254
|
|
|
@@ -259,33 +260,33 @@ class DistributedVirtualSwitchPvlanMapping(pulumi.CustomResource):
|
|
|
259
260
|
__props__.__dict__["secondary_vlan_id"] = secondary_vlan_id
|
|
260
261
|
return DistributedVirtualSwitchPvlanMapping(resource_name, opts=opts, __props__=__props__)
|
|
261
262
|
|
|
262
|
-
@property
|
|
263
|
+
@_builtins.property
|
|
263
264
|
@pulumi.getter(name="distributedVirtualSwitchId")
|
|
264
|
-
def distributed_virtual_switch_id(self) -> pulumi.Output[str]:
|
|
265
|
+
def distributed_virtual_switch_id(self) -> pulumi.Output[_builtins.str]:
|
|
265
266
|
"""
|
|
266
267
|
The ID of the distributed virtual switch to attach this mapping to.
|
|
267
268
|
"""
|
|
268
269
|
return pulumi.get(self, "distributed_virtual_switch_id")
|
|
269
270
|
|
|
270
|
-
@property
|
|
271
|
+
@_builtins.property
|
|
271
272
|
@pulumi.getter(name="primaryVlanId")
|
|
272
|
-
def primary_vlan_id(self) -> pulumi.Output[int]:
|
|
273
|
+
def primary_vlan_id(self) -> pulumi.Output[_builtins.int]:
|
|
273
274
|
"""
|
|
274
275
|
The primary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
275
276
|
"""
|
|
276
277
|
return pulumi.get(self, "primary_vlan_id")
|
|
277
278
|
|
|
278
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
279
280
|
@pulumi.getter(name="pvlanType")
|
|
280
|
-
def pvlan_type(self) -> pulumi.Output[str]:
|
|
281
|
+
def pvlan_type(self) -> pulumi.Output[_builtins.str]:
|
|
281
282
|
"""
|
|
282
283
|
The private VLAN type. Valid values are promiscuous, community and isolated.
|
|
283
284
|
"""
|
|
284
285
|
return pulumi.get(self, "pvlan_type")
|
|
285
286
|
|
|
286
|
-
@property
|
|
287
|
+
@_builtins.property
|
|
287
288
|
@pulumi.getter(name="secondaryVlanId")
|
|
288
|
-
def secondary_vlan_id(self) -> pulumi.Output[int]:
|
|
289
|
+
def secondary_vlan_id(self) -> pulumi.Output[_builtins.int]:
|
|
289
290
|
"""
|
|
290
291
|
The secondary VLAN ID. The VLAN IDs of 0 and 4095 are reserved and cannot be used in this property.
|
|
291
292
|
"""
|