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
pulumi_vsphere/vnic.py
CHANGED
|
@@ -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
|
|
@@ -21,28 +21,28 @@ __all__ = ['VnicArgs', 'Vnic']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class VnicArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
host: pulumi.Input[str],
|
|
25
|
-
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
24
|
+
host: pulumi.Input[_builtins.str],
|
|
25
|
+
distributed_port_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
distributed_switch_port: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
27
|
ipv4: Optional[pulumi.Input['VnicIpv4Args']] = None,
|
|
28
28
|
ipv6: Optional[pulumi.Input['VnicIpv6Args']] = None,
|
|
29
|
-
mac: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
mtu: Optional[pulumi.Input[int]] = None,
|
|
31
|
-
netstack: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
portgroup: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
29
|
+
mac: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
31
|
+
netstack: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
|
+
portgroup: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a Vnic resource.
|
|
36
|
-
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
37
|
-
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
38
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
36
|
+
:param pulumi.Input[_builtins.str] host: ESX host the interface belongs to
|
|
37
|
+
:param pulumi.Input[_builtins.str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
38
|
+
:param pulumi.Input[_builtins.str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
39
39
|
:param pulumi.Input['VnicIpv4Args'] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
40
40
|
:param pulumi.Input['VnicIpv6Args'] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
41
|
-
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
42
|
-
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
43
|
-
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
44
|
-
:param pulumi.Input[str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
41
|
+
:param pulumi.Input[_builtins.str] mac: MAC address of the interface.
|
|
42
|
+
:param pulumi.Input[_builtins.int] mtu: MTU of the interface.
|
|
43
|
+
:param pulumi.Input[_builtins.str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
44
|
+
:param pulumi.Input[_builtins.str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
45
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
46
46
|
"""
|
|
47
47
|
pulumi.set(__self__, "host", host)
|
|
48
48
|
if distributed_port_group is not None:
|
|
@@ -64,43 +64,43 @@ class VnicArgs:
|
|
|
64
64
|
if services is not None:
|
|
65
65
|
pulumi.set(__self__, "services", services)
|
|
66
66
|
|
|
67
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
68
68
|
@pulumi.getter
|
|
69
|
-
def host(self) -> pulumi.Input[str]:
|
|
69
|
+
def host(self) -> pulumi.Input[_builtins.str]:
|
|
70
70
|
"""
|
|
71
71
|
ESX host the interface belongs to
|
|
72
72
|
"""
|
|
73
73
|
return pulumi.get(self, "host")
|
|
74
74
|
|
|
75
75
|
@host.setter
|
|
76
|
-
def host(self, value: pulumi.Input[str]):
|
|
76
|
+
def host(self, value: pulumi.Input[_builtins.str]):
|
|
77
77
|
pulumi.set(self, "host", value)
|
|
78
78
|
|
|
79
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
80
80
|
@pulumi.getter(name="distributedPortGroup")
|
|
81
|
-
def distributed_port_group(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
+
def distributed_port_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
82
82
|
"""
|
|
83
83
|
Key of the distributed portgroup the nic will connect to.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "distributed_port_group")
|
|
86
86
|
|
|
87
87
|
@distributed_port_group.setter
|
|
88
|
-
def distributed_port_group(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
+
def distributed_port_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
89
89
|
pulumi.set(self, "distributed_port_group", value)
|
|
90
90
|
|
|
91
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
92
92
|
@pulumi.getter(name="distributedSwitchPort")
|
|
93
|
-
def distributed_switch_port(self) -> Optional[pulumi.Input[str]]:
|
|
93
|
+
def distributed_switch_port(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
94
94
|
"""
|
|
95
95
|
UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
96
96
|
"""
|
|
97
97
|
return pulumi.get(self, "distributed_switch_port")
|
|
98
98
|
|
|
99
99
|
@distributed_switch_port.setter
|
|
100
|
-
def distributed_switch_port(self, value: Optional[pulumi.Input[str]]):
|
|
100
|
+
def distributed_switch_port(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
101
101
|
pulumi.set(self, "distributed_switch_port", value)
|
|
102
102
|
|
|
103
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
104
104
|
@pulumi.getter
|
|
105
105
|
def ipv4(self) -> Optional[pulumi.Input['VnicIpv4Args']]:
|
|
106
106
|
"""
|
|
@@ -112,7 +112,7 @@ class VnicArgs:
|
|
|
112
112
|
def ipv4(self, value: Optional[pulumi.Input['VnicIpv4Args']]):
|
|
113
113
|
pulumi.set(self, "ipv4", value)
|
|
114
114
|
|
|
115
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
116
116
|
@pulumi.getter
|
|
117
117
|
def ipv6(self) -> Optional[pulumi.Input['VnicIpv6Args']]:
|
|
118
118
|
"""
|
|
@@ -124,92 +124,92 @@ class VnicArgs:
|
|
|
124
124
|
def ipv6(self, value: Optional[pulumi.Input['VnicIpv6Args']]):
|
|
125
125
|
pulumi.set(self, "ipv6", value)
|
|
126
126
|
|
|
127
|
-
@property
|
|
127
|
+
@_builtins.property
|
|
128
128
|
@pulumi.getter
|
|
129
|
-
def mac(self) -> Optional[pulumi.Input[str]]:
|
|
129
|
+
def mac(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
130
130
|
"""
|
|
131
131
|
MAC address of the interface.
|
|
132
132
|
"""
|
|
133
133
|
return pulumi.get(self, "mac")
|
|
134
134
|
|
|
135
135
|
@mac.setter
|
|
136
|
-
def mac(self, value: Optional[pulumi.Input[str]]):
|
|
136
|
+
def mac(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
137
137
|
pulumi.set(self, "mac", value)
|
|
138
138
|
|
|
139
|
-
@property
|
|
139
|
+
@_builtins.property
|
|
140
140
|
@pulumi.getter
|
|
141
|
-
def mtu(self) -> Optional[pulumi.Input[int]]:
|
|
141
|
+
def mtu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
142
142
|
"""
|
|
143
143
|
MTU of the interface.
|
|
144
144
|
"""
|
|
145
145
|
return pulumi.get(self, "mtu")
|
|
146
146
|
|
|
147
147
|
@mtu.setter
|
|
148
|
-
def mtu(self, value: Optional[pulumi.Input[int]]):
|
|
148
|
+
def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
149
149
|
pulumi.set(self, "mtu", value)
|
|
150
150
|
|
|
151
|
-
@property
|
|
151
|
+
@_builtins.property
|
|
152
152
|
@pulumi.getter
|
|
153
|
-
def netstack(self) -> Optional[pulumi.Input[str]]:
|
|
153
|
+
def netstack(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
154
154
|
"""
|
|
155
155
|
TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
156
156
|
"""
|
|
157
157
|
return pulumi.get(self, "netstack")
|
|
158
158
|
|
|
159
159
|
@netstack.setter
|
|
160
|
-
def netstack(self, value: Optional[pulumi.Input[str]]):
|
|
160
|
+
def netstack(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
161
161
|
pulumi.set(self, "netstack", value)
|
|
162
162
|
|
|
163
|
-
@property
|
|
163
|
+
@_builtins.property
|
|
164
164
|
@pulumi.getter
|
|
165
|
-
def portgroup(self) -> Optional[pulumi.Input[str]]:
|
|
165
|
+
def portgroup(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
166
166
|
"""
|
|
167
167
|
Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
168
168
|
"""
|
|
169
169
|
return pulumi.get(self, "portgroup")
|
|
170
170
|
|
|
171
171
|
@portgroup.setter
|
|
172
|
-
def portgroup(self, value: Optional[pulumi.Input[str]]):
|
|
172
|
+
def portgroup(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
173
173
|
pulumi.set(self, "portgroup", value)
|
|
174
174
|
|
|
175
|
-
@property
|
|
175
|
+
@_builtins.property
|
|
176
176
|
@pulumi.getter
|
|
177
|
-
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
177
|
+
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
178
178
|
"""
|
|
179
179
|
Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "services")
|
|
182
182
|
|
|
183
183
|
@services.setter
|
|
184
|
-
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
184
|
+
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
185
185
|
pulumi.set(self, "services", value)
|
|
186
186
|
|
|
187
187
|
|
|
188
188
|
@pulumi.input_type
|
|
189
189
|
class _VnicState:
|
|
190
190
|
def __init__(__self__, *,
|
|
191
|
-
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
192
|
-
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
193
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
191
|
+
distributed_port_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
192
|
+
distributed_switch_port: Optional[pulumi.Input[_builtins.str]] = None,
|
|
193
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
194
194
|
ipv4: Optional[pulumi.Input['VnicIpv4Args']] = None,
|
|
195
195
|
ipv6: Optional[pulumi.Input['VnicIpv6Args']] = None,
|
|
196
|
-
mac: Optional[pulumi.Input[str]] = None,
|
|
197
|
-
mtu: Optional[pulumi.Input[int]] = None,
|
|
198
|
-
netstack: Optional[pulumi.Input[str]] = None,
|
|
199
|
-
portgroup: Optional[pulumi.Input[str]] = None,
|
|
200
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
196
|
+
mac: Optional[pulumi.Input[_builtins.str]] = None,
|
|
197
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
198
|
+
netstack: Optional[pulumi.Input[_builtins.str]] = None,
|
|
199
|
+
portgroup: Optional[pulumi.Input[_builtins.str]] = None,
|
|
200
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
201
201
|
"""
|
|
202
202
|
Input properties used for looking up and filtering Vnic resources.
|
|
203
|
-
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
204
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
205
|
-
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
203
|
+
:param pulumi.Input[_builtins.str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
204
|
+
:param pulumi.Input[_builtins.str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
205
|
+
:param pulumi.Input[_builtins.str] host: ESX host the interface belongs to
|
|
206
206
|
:param pulumi.Input['VnicIpv4Args'] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
207
207
|
:param pulumi.Input['VnicIpv6Args'] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
208
|
-
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
209
|
-
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
210
|
-
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
211
|
-
:param pulumi.Input[str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
212
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
208
|
+
:param pulumi.Input[_builtins.str] mac: MAC address of the interface.
|
|
209
|
+
:param pulumi.Input[_builtins.int] mtu: MTU of the interface.
|
|
210
|
+
:param pulumi.Input[_builtins.str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
211
|
+
:param pulumi.Input[_builtins.str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
212
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
213
213
|
"""
|
|
214
214
|
if distributed_port_group is not None:
|
|
215
215
|
pulumi.set(__self__, "distributed_port_group", distributed_port_group)
|
|
@@ -232,43 +232,43 @@ class _VnicState:
|
|
|
232
232
|
if services is not None:
|
|
233
233
|
pulumi.set(__self__, "services", services)
|
|
234
234
|
|
|
235
|
-
@property
|
|
235
|
+
@_builtins.property
|
|
236
236
|
@pulumi.getter(name="distributedPortGroup")
|
|
237
|
-
def distributed_port_group(self) -> Optional[pulumi.Input[str]]:
|
|
237
|
+
def distributed_port_group(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
238
238
|
"""
|
|
239
239
|
Key of the distributed portgroup the nic will connect to.
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "distributed_port_group")
|
|
242
242
|
|
|
243
243
|
@distributed_port_group.setter
|
|
244
|
-
def distributed_port_group(self, value: Optional[pulumi.Input[str]]):
|
|
244
|
+
def distributed_port_group(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
245
245
|
pulumi.set(self, "distributed_port_group", value)
|
|
246
246
|
|
|
247
|
-
@property
|
|
247
|
+
@_builtins.property
|
|
248
248
|
@pulumi.getter(name="distributedSwitchPort")
|
|
249
|
-
def distributed_switch_port(self) -> Optional[pulumi.Input[str]]:
|
|
249
|
+
def distributed_switch_port(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
250
250
|
"""
|
|
251
251
|
UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
252
252
|
"""
|
|
253
253
|
return pulumi.get(self, "distributed_switch_port")
|
|
254
254
|
|
|
255
255
|
@distributed_switch_port.setter
|
|
256
|
-
def distributed_switch_port(self, value: Optional[pulumi.Input[str]]):
|
|
256
|
+
def distributed_switch_port(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
257
257
|
pulumi.set(self, "distributed_switch_port", value)
|
|
258
258
|
|
|
259
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
260
260
|
@pulumi.getter
|
|
261
|
-
def host(self) -> Optional[pulumi.Input[str]]:
|
|
261
|
+
def host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
262
262
|
"""
|
|
263
263
|
ESX host the interface belongs to
|
|
264
264
|
"""
|
|
265
265
|
return pulumi.get(self, "host")
|
|
266
266
|
|
|
267
267
|
@host.setter
|
|
268
|
-
def host(self, value: Optional[pulumi.Input[str]]):
|
|
268
|
+
def host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
269
269
|
pulumi.set(self, "host", value)
|
|
270
270
|
|
|
271
|
-
@property
|
|
271
|
+
@_builtins.property
|
|
272
272
|
@pulumi.getter
|
|
273
273
|
def ipv4(self) -> Optional[pulumi.Input['VnicIpv4Args']]:
|
|
274
274
|
"""
|
|
@@ -280,7 +280,7 @@ class _VnicState:
|
|
|
280
280
|
def ipv4(self, value: Optional[pulumi.Input['VnicIpv4Args']]):
|
|
281
281
|
pulumi.set(self, "ipv4", value)
|
|
282
282
|
|
|
283
|
-
@property
|
|
283
|
+
@_builtins.property
|
|
284
284
|
@pulumi.getter
|
|
285
285
|
def ipv6(self) -> Optional[pulumi.Input['VnicIpv6Args']]:
|
|
286
286
|
"""
|
|
@@ -292,82 +292,83 @@ class _VnicState:
|
|
|
292
292
|
def ipv6(self, value: Optional[pulumi.Input['VnicIpv6Args']]):
|
|
293
293
|
pulumi.set(self, "ipv6", value)
|
|
294
294
|
|
|
295
|
-
@property
|
|
295
|
+
@_builtins.property
|
|
296
296
|
@pulumi.getter
|
|
297
|
-
def mac(self) -> Optional[pulumi.Input[str]]:
|
|
297
|
+
def mac(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
298
298
|
"""
|
|
299
299
|
MAC address of the interface.
|
|
300
300
|
"""
|
|
301
301
|
return pulumi.get(self, "mac")
|
|
302
302
|
|
|
303
303
|
@mac.setter
|
|
304
|
-
def mac(self, value: Optional[pulumi.Input[str]]):
|
|
304
|
+
def mac(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
305
305
|
pulumi.set(self, "mac", value)
|
|
306
306
|
|
|
307
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
308
308
|
@pulumi.getter
|
|
309
|
-
def mtu(self) -> Optional[pulumi.Input[int]]:
|
|
309
|
+
def mtu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
310
310
|
"""
|
|
311
311
|
MTU of the interface.
|
|
312
312
|
"""
|
|
313
313
|
return pulumi.get(self, "mtu")
|
|
314
314
|
|
|
315
315
|
@mtu.setter
|
|
316
|
-
def mtu(self, value: Optional[pulumi.Input[int]]):
|
|
316
|
+
def mtu(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
317
317
|
pulumi.set(self, "mtu", value)
|
|
318
318
|
|
|
319
|
-
@property
|
|
319
|
+
@_builtins.property
|
|
320
320
|
@pulumi.getter
|
|
321
|
-
def netstack(self) -> Optional[pulumi.Input[str]]:
|
|
321
|
+
def netstack(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
322
322
|
"""
|
|
323
323
|
TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
324
324
|
"""
|
|
325
325
|
return pulumi.get(self, "netstack")
|
|
326
326
|
|
|
327
327
|
@netstack.setter
|
|
328
|
-
def netstack(self, value: Optional[pulumi.Input[str]]):
|
|
328
|
+
def netstack(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
329
329
|
pulumi.set(self, "netstack", value)
|
|
330
330
|
|
|
331
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
332
332
|
@pulumi.getter
|
|
333
|
-
def portgroup(self) -> Optional[pulumi.Input[str]]:
|
|
333
|
+
def portgroup(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
334
334
|
"""
|
|
335
335
|
Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
336
336
|
"""
|
|
337
337
|
return pulumi.get(self, "portgroup")
|
|
338
338
|
|
|
339
339
|
@portgroup.setter
|
|
340
|
-
def portgroup(self, value: Optional[pulumi.Input[str]]):
|
|
340
|
+
def portgroup(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
341
341
|
pulumi.set(self, "portgroup", value)
|
|
342
342
|
|
|
343
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
344
344
|
@pulumi.getter
|
|
345
|
-
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
345
|
+
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
346
346
|
"""
|
|
347
347
|
Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
348
348
|
"""
|
|
349
349
|
return pulumi.get(self, "services")
|
|
350
350
|
|
|
351
351
|
@services.setter
|
|
352
|
-
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
352
|
+
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
353
353
|
pulumi.set(self, "services", value)
|
|
354
354
|
|
|
355
355
|
|
|
356
|
+
@pulumi.type_token("vsphere:index/vnic:Vnic")
|
|
356
357
|
class Vnic(pulumi.CustomResource):
|
|
357
358
|
@overload
|
|
358
359
|
def __init__(__self__,
|
|
359
360
|
resource_name: str,
|
|
360
361
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
361
|
-
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
362
|
-
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
363
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
362
|
+
distributed_port_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
363
|
+
distributed_switch_port: Optional[pulumi.Input[_builtins.str]] = None,
|
|
364
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
364
365
|
ipv4: Optional[pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']]] = None,
|
|
365
366
|
ipv6: Optional[pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']]] = None,
|
|
366
|
-
mac: Optional[pulumi.Input[str]] = None,
|
|
367
|
-
mtu: Optional[pulumi.Input[int]] = None,
|
|
368
|
-
netstack: Optional[pulumi.Input[str]] = None,
|
|
369
|
-
portgroup: Optional[pulumi.Input[str]] = None,
|
|
370
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
367
|
+
mac: Optional[pulumi.Input[_builtins.str]] = None,
|
|
368
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
369
|
+
netstack: Optional[pulumi.Input[_builtins.str]] = None,
|
|
370
|
+
portgroup: Optional[pulumi.Input[_builtins.str]] = None,
|
|
371
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
371
372
|
__props__=None):
|
|
372
373
|
"""
|
|
373
374
|
Provides a VMware vSphere vnic resource.
|
|
@@ -454,16 +455,16 @@ class Vnic(pulumi.CustomResource):
|
|
|
454
455
|
|
|
455
456
|
:param str resource_name: The name of the resource.
|
|
456
457
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
457
|
-
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
458
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
459
|
-
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
458
|
+
:param pulumi.Input[_builtins.str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
459
|
+
:param pulumi.Input[_builtins.str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
460
|
+
:param pulumi.Input[_builtins.str] host: ESX host the interface belongs to
|
|
460
461
|
:param pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
461
462
|
:param pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
462
|
-
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
463
|
-
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
464
|
-
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
465
|
-
:param pulumi.Input[str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
466
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
463
|
+
:param pulumi.Input[_builtins.str] mac: MAC address of the interface.
|
|
464
|
+
:param pulumi.Input[_builtins.int] mtu: MTU of the interface.
|
|
465
|
+
:param pulumi.Input[_builtins.str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
466
|
+
:param pulumi.Input[_builtins.str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
467
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
467
468
|
"""
|
|
468
469
|
...
|
|
469
470
|
@overload
|
|
@@ -569,16 +570,16 @@ class Vnic(pulumi.CustomResource):
|
|
|
569
570
|
def _internal_init(__self__,
|
|
570
571
|
resource_name: str,
|
|
571
572
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
572
|
-
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
573
|
-
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
574
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
573
|
+
distributed_port_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
574
|
+
distributed_switch_port: Optional[pulumi.Input[_builtins.str]] = None,
|
|
575
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
575
576
|
ipv4: Optional[pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']]] = None,
|
|
576
577
|
ipv6: Optional[pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']]] = None,
|
|
577
|
-
mac: Optional[pulumi.Input[str]] = None,
|
|
578
|
-
mtu: Optional[pulumi.Input[int]] = None,
|
|
579
|
-
netstack: Optional[pulumi.Input[str]] = None,
|
|
580
|
-
portgroup: Optional[pulumi.Input[str]] = None,
|
|
581
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
578
|
+
mac: Optional[pulumi.Input[_builtins.str]] = None,
|
|
579
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
580
|
+
netstack: Optional[pulumi.Input[_builtins.str]] = None,
|
|
581
|
+
portgroup: Optional[pulumi.Input[_builtins.str]] = None,
|
|
582
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
582
583
|
__props__=None):
|
|
583
584
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
584
585
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -610,16 +611,16 @@ class Vnic(pulumi.CustomResource):
|
|
|
610
611
|
def get(resource_name: str,
|
|
611
612
|
id: pulumi.Input[str],
|
|
612
613
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
613
|
-
distributed_port_group: Optional[pulumi.Input[str]] = None,
|
|
614
|
-
distributed_switch_port: Optional[pulumi.Input[str]] = None,
|
|
615
|
-
host: Optional[pulumi.Input[str]] = None,
|
|
614
|
+
distributed_port_group: Optional[pulumi.Input[_builtins.str]] = None,
|
|
615
|
+
distributed_switch_port: Optional[pulumi.Input[_builtins.str]] = None,
|
|
616
|
+
host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
616
617
|
ipv4: Optional[pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']]] = None,
|
|
617
618
|
ipv6: Optional[pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']]] = None,
|
|
618
|
-
mac: Optional[pulumi.Input[str]] = None,
|
|
619
|
-
mtu: Optional[pulumi.Input[int]] = None,
|
|
620
|
-
netstack: Optional[pulumi.Input[str]] = None,
|
|
621
|
-
portgroup: Optional[pulumi.Input[str]] = None,
|
|
622
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'Vnic':
|
|
619
|
+
mac: Optional[pulumi.Input[_builtins.str]] = None,
|
|
620
|
+
mtu: Optional[pulumi.Input[_builtins.int]] = None,
|
|
621
|
+
netstack: Optional[pulumi.Input[_builtins.str]] = None,
|
|
622
|
+
portgroup: Optional[pulumi.Input[_builtins.str]] = None,
|
|
623
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'Vnic':
|
|
623
624
|
"""
|
|
624
625
|
Get an existing Vnic resource's state with the given name, id, and optional extra
|
|
625
626
|
properties used to qualify the lookup.
|
|
@@ -627,16 +628,16 @@ class Vnic(pulumi.CustomResource):
|
|
|
627
628
|
:param str resource_name: The unique name of the resulting resource.
|
|
628
629
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
629
630
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
630
|
-
:param pulumi.Input[str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
631
|
-
:param pulumi.Input[str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
632
|
-
:param pulumi.Input[str] host: ESX host the interface belongs to
|
|
631
|
+
:param pulumi.Input[_builtins.str] distributed_port_group: Key of the distributed portgroup the nic will connect to.
|
|
632
|
+
:param pulumi.Input[_builtins.str] distributed_switch_port: UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
633
|
+
:param pulumi.Input[_builtins.str] host: ESX host the interface belongs to
|
|
633
634
|
:param pulumi.Input[Union['VnicIpv4Args', 'VnicIpv4ArgsDict']] ipv4: IPv4 settings. Either this or `ipv6` needs to be set. See IPv4 options below.
|
|
634
635
|
:param pulumi.Input[Union['VnicIpv6Args', 'VnicIpv6ArgsDict']] ipv6: IPv6 settings. Either this or `ipv6` needs to be set. See IPv6 options below.
|
|
635
|
-
:param pulumi.Input[str] mac: MAC address of the interface.
|
|
636
|
-
:param pulumi.Input[int] mtu: MTU of the interface.
|
|
637
|
-
:param pulumi.Input[str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
638
|
-
:param pulumi.Input[str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
639
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
636
|
+
:param pulumi.Input[_builtins.str] mac: MAC address of the interface.
|
|
637
|
+
:param pulumi.Input[_builtins.int] mtu: MTU of the interface.
|
|
638
|
+
:param pulumi.Input[_builtins.str] netstack: TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
639
|
+
:param pulumi.Input[_builtins.str] portgroup: Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
640
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
640
641
|
"""
|
|
641
642
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
642
643
|
|
|
@@ -654,31 +655,31 @@ class Vnic(pulumi.CustomResource):
|
|
|
654
655
|
__props__.__dict__["services"] = services
|
|
655
656
|
return Vnic(resource_name, opts=opts, __props__=__props__)
|
|
656
657
|
|
|
657
|
-
@property
|
|
658
|
+
@_builtins.property
|
|
658
659
|
@pulumi.getter(name="distributedPortGroup")
|
|
659
|
-
def distributed_port_group(self) -> pulumi.Output[Optional[str]]:
|
|
660
|
+
def distributed_port_group(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
660
661
|
"""
|
|
661
662
|
Key of the distributed portgroup the nic will connect to.
|
|
662
663
|
"""
|
|
663
664
|
return pulumi.get(self, "distributed_port_group")
|
|
664
665
|
|
|
665
|
-
@property
|
|
666
|
+
@_builtins.property
|
|
666
667
|
@pulumi.getter(name="distributedSwitchPort")
|
|
667
|
-
def distributed_switch_port(self) -> pulumi.Output[Optional[str]]:
|
|
668
|
+
def distributed_switch_port(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
668
669
|
"""
|
|
669
670
|
UUID of the vdswitch the nic will be attached to. Do not set if you set portgroup.
|
|
670
671
|
"""
|
|
671
672
|
return pulumi.get(self, "distributed_switch_port")
|
|
672
673
|
|
|
673
|
-
@property
|
|
674
|
+
@_builtins.property
|
|
674
675
|
@pulumi.getter
|
|
675
|
-
def host(self) -> pulumi.Output[str]:
|
|
676
|
+
def host(self) -> pulumi.Output[_builtins.str]:
|
|
676
677
|
"""
|
|
677
678
|
ESX host the interface belongs to
|
|
678
679
|
"""
|
|
679
680
|
return pulumi.get(self, "host")
|
|
680
681
|
|
|
681
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
682
683
|
@pulumi.getter
|
|
683
684
|
def ipv4(self) -> pulumi.Output[Optional['outputs.VnicIpv4']]:
|
|
684
685
|
"""
|
|
@@ -686,7 +687,7 @@ class Vnic(pulumi.CustomResource):
|
|
|
686
687
|
"""
|
|
687
688
|
return pulumi.get(self, "ipv4")
|
|
688
689
|
|
|
689
|
-
@property
|
|
690
|
+
@_builtins.property
|
|
690
691
|
@pulumi.getter
|
|
691
692
|
def ipv6(self) -> pulumi.Output[Optional['outputs.VnicIpv6']]:
|
|
692
693
|
"""
|
|
@@ -694,41 +695,41 @@ class Vnic(pulumi.CustomResource):
|
|
|
694
695
|
"""
|
|
695
696
|
return pulumi.get(self, "ipv6")
|
|
696
697
|
|
|
697
|
-
@property
|
|
698
|
+
@_builtins.property
|
|
698
699
|
@pulumi.getter
|
|
699
|
-
def mac(self) -> pulumi.Output[str]:
|
|
700
|
+
def mac(self) -> pulumi.Output[_builtins.str]:
|
|
700
701
|
"""
|
|
701
702
|
MAC address of the interface.
|
|
702
703
|
"""
|
|
703
704
|
return pulumi.get(self, "mac")
|
|
704
705
|
|
|
705
|
-
@property
|
|
706
|
+
@_builtins.property
|
|
706
707
|
@pulumi.getter
|
|
707
|
-
def mtu(self) -> pulumi.Output[int]:
|
|
708
|
+
def mtu(self) -> pulumi.Output[_builtins.int]:
|
|
708
709
|
"""
|
|
709
710
|
MTU of the interface.
|
|
710
711
|
"""
|
|
711
712
|
return pulumi.get(self, "mtu")
|
|
712
713
|
|
|
713
|
-
@property
|
|
714
|
+
@_builtins.property
|
|
714
715
|
@pulumi.getter
|
|
715
|
-
def netstack(self) -> pulumi.Output[Optional[str]]:
|
|
716
|
+
def netstack(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
716
717
|
"""
|
|
717
718
|
TCP/IP stack setting for this interface. Possible values are `defaultTcpipStack``, 'vmotion', 'vSphereProvisioning'. Changing this will force the creation of a new interface since it's not possible to change the stack once it gets created. (Default:`defaultTcpipStack`)
|
|
718
719
|
"""
|
|
719
720
|
return pulumi.get(self, "netstack")
|
|
720
721
|
|
|
721
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
722
723
|
@pulumi.getter
|
|
723
|
-
def portgroup(self) -> pulumi.Output[Optional[str]]:
|
|
724
|
+
def portgroup(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
724
725
|
"""
|
|
725
726
|
Portgroup to attach the nic to. Do not set if you set distributed_switch_port.
|
|
726
727
|
"""
|
|
727
728
|
return pulumi.get(self, "portgroup")
|
|
728
729
|
|
|
729
|
-
@property
|
|
730
|
+
@_builtins.property
|
|
730
731
|
@pulumi.getter
|
|
731
|
-
def services(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
732
|
+
def services(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
732
733
|
"""
|
|
733
734
|
Enabled services setting for this interface. Currently support values are `vmotion`, `management`, and `vsan`.
|
|
734
735
|
"""
|
{pulumi_vsphere-4.14.0a1739946909.dist-info → pulumi_vsphere-4.17.0a1763710194.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: pulumi_vsphere
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.17.0a1763710194
|
|
4
4
|
Summary: A Pulumi package for creating vsphere resources
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Project-URL: Homepage, https://pulumi.io
|
|
@@ -9,9 +9,9 @@ Keywords: pulumi,vsphere
|
|
|
9
9
|
Requires-Python: >=3.9
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: parver>=0.2.1
|
|
12
|
-
Requires-Dist: pulumi<4.0.0,>=3.
|
|
12
|
+
Requires-Dist: pulumi<4.0.0,>=3.165.0
|
|
13
13
|
Requires-Dist: semver>=2.8.1
|
|
14
|
-
Requires-Dist: typing-extensions
|
|
14
|
+
Requires-Dist: typing-extensions<5,>=4.11; python_version < "3.11"
|
|
15
15
|
|
|
16
16
|
[](https://github.com/pulumi/pulumi-vsphere/actions)
|
|
17
17
|
[](https://slack.pulumi.com)
|