pulumi-vsphere 4.15.0a1753206257__py3-none-any.whl → 4.16.0a1753398270__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 +1 -1
- pulumi_vsphere/_inputs.py +1171 -1172
- pulumi_vsphere/compute_cluster.py +1127 -1128
- pulumi_vsphere/compute_cluster_host_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
- pulumi_vsphere/compute_cluster_vm_group.py +52 -53
- pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
- pulumi_vsphere/config/__init__.py +1 -1
- pulumi_vsphere/config/__init__.pyi +1 -2
- pulumi_vsphere/config/vars.py +14 -15
- pulumi_vsphere/content_library.py +58 -59
- pulumi_vsphere/content_library_item.py +103 -104
- pulumi_vsphere/custom_attribute.py +35 -36
- pulumi_vsphere/datacenter.py +78 -79
- pulumi_vsphere/datastore_cluster.py +426 -427
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
- pulumi_vsphere/distributed_port_group.py +787 -788
- pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
- pulumi_vsphere/dpm_host_override.py +69 -70
- pulumi_vsphere/drs_vm_override.py +69 -70
- pulumi_vsphere/entity_permissions.py +38 -39
- pulumi_vsphere/file.py +120 -121
- pulumi_vsphere/folder.py +86 -87
- pulumi_vsphere/get_compute_cluster.py +17 -18
- pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
- pulumi_vsphere/get_content_library.py +9 -10
- pulumi_vsphere/get_content_library_item.py +21 -22
- pulumi_vsphere/get_custom_attribute.py +11 -12
- pulumi_vsphere/get_datacenter.py +11 -12
- pulumi_vsphere/get_datastore.py +21 -22
- pulumi_vsphere/get_datastore_cluster.py +17 -18
- pulumi_vsphere/get_datastore_stats.py +21 -22
- pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
- pulumi_vsphere/get_dynamic.py +21 -22
- pulumi_vsphere/get_folder.py +9 -10
- pulumi_vsphere/get_guest_os_customization.py +18 -19
- pulumi_vsphere/get_host.py +17 -18
- pulumi_vsphere/get_host_base_images.py +5 -6
- pulumi_vsphere/get_host_pci_device.py +29 -30
- pulumi_vsphere/get_host_thumbprint.py +21 -22
- pulumi_vsphere/get_host_vgpu_profile.py +16 -17
- pulumi_vsphere/get_license.py +19 -20
- pulumi_vsphere/get_network.py +42 -43
- pulumi_vsphere/get_ovf_vm_template.py +121 -122
- pulumi_vsphere/get_policy.py +9 -10
- pulumi_vsphere/get_resource_pool.py +21 -22
- pulumi_vsphere/get_role.py +25 -26
- pulumi_vsphere/get_tag.py +17 -18
- pulumi_vsphere/get_tag_category.py +15 -16
- pulumi_vsphere/get_vapp_container.py +15 -16
- pulumi_vsphere/get_virtual_machine.py +272 -273
- pulumi_vsphere/get_vmfs_disks.py +23 -24
- pulumi_vsphere/guest_os_customization.py +73 -74
- pulumi_vsphere/ha_vm_override.py +256 -257
- pulumi_vsphere/host.py +242 -243
- pulumi_vsphere/host_port_group.py +310 -311
- pulumi_vsphere/host_virtual_switch.py +358 -359
- pulumi_vsphere/license.py +71 -72
- pulumi_vsphere/nas_datastore.py +260 -261
- pulumi_vsphere/offline_software_depot.py +20 -21
- pulumi_vsphere/outputs.py +981 -982
- pulumi_vsphere/provider.py +120 -121
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +256 -257
- pulumi_vsphere/role.py +44 -45
- pulumi_vsphere/storage_drs_vm_override.py +86 -87
- pulumi_vsphere/supervisor.py +206 -207
- pulumi_vsphere/tag.py +52 -53
- pulumi_vsphere/tag_category.py +69 -70
- pulumi_vsphere/vapp_container.py +256 -257
- pulumi_vsphere/vapp_entity.py +171 -172
- pulumi_vsphere/virtual_disk.py +120 -121
- pulumi_vsphere/virtual_machine.py +1293 -1294
- pulumi_vsphere/virtual_machine_class.py +103 -104
- pulumi_vsphere/virtual_machine_snapshot.py +120 -121
- pulumi_vsphere/vm_storage_policy.py +38 -39
- pulumi_vsphere/vmfs_datastore.py +183 -184
- pulumi_vsphere/vnic.py +143 -144
- {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
- pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
- pulumi_vsphere-4.15.0a1753206257.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -41,27 +40,27 @@ class GetHostThumbprintResult:
|
|
|
41
40
|
raise TypeError("Expected argument 'port' to be a str")
|
|
42
41
|
pulumi.set(__self__, "port", port)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter
|
|
46
|
-
def address(self) ->
|
|
45
|
+
def address(self) -> _builtins.str:
|
|
47
46
|
return pulumi.get(self, "address")
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
The provider-assigned unique ID for this managed resource.
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter
|
|
59
|
-
def insecure(self) -> Optional[
|
|
58
|
+
def insecure(self) -> Optional[_builtins.bool]:
|
|
60
59
|
return pulumi.get(self, "insecure")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter
|
|
64
|
-
def port(self) -> Optional[
|
|
63
|
+
def port(self) -> Optional[_builtins.str]:
|
|
65
64
|
return pulumi.get(self, "port")
|
|
66
65
|
|
|
67
66
|
|
|
@@ -77,9 +76,9 @@ class AwaitableGetHostThumbprintResult(GetHostThumbprintResult):
|
|
|
77
76
|
port=self.port)
|
|
78
77
|
|
|
79
78
|
|
|
80
|
-
def get_host_thumbprint(address: Optional[
|
|
81
|
-
insecure: Optional[
|
|
82
|
-
port: Optional[
|
|
79
|
+
def get_host_thumbprint(address: Optional[_builtins.str] = None,
|
|
80
|
+
insecure: Optional[_builtins.bool] = None,
|
|
81
|
+
port: Optional[_builtins.str] = None,
|
|
83
82
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostThumbprintResult:
|
|
84
83
|
"""
|
|
85
84
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
@@ -102,10 +101,10 @@ def get_host_thumbprint(address: Optional[builtins.str] = None,
|
|
|
102
101
|
```
|
|
103
102
|
|
|
104
103
|
|
|
105
|
-
:param
|
|
104
|
+
:param _builtins.str address: The address of the ESXi host to retrieve the thumbprint
|
|
106
105
|
from.
|
|
107
|
-
:param
|
|
108
|
-
:param
|
|
106
|
+
:param _builtins.bool insecure: Disables SSL certificate verification. Default: `false`
|
|
107
|
+
:param _builtins.str port: The port to use connecting to the ESXi host. Default: 443
|
|
109
108
|
"""
|
|
110
109
|
__args__ = dict()
|
|
111
110
|
__args__['address'] = address
|
|
@@ -119,9 +118,9 @@ def get_host_thumbprint(address: Optional[builtins.str] = None,
|
|
|
119
118
|
id=pulumi.get(__ret__, 'id'),
|
|
120
119
|
insecure=pulumi.get(__ret__, 'insecure'),
|
|
121
120
|
port=pulumi.get(__ret__, 'port'))
|
|
122
|
-
def get_host_thumbprint_output(address: Optional[pulumi.Input[
|
|
123
|
-
insecure: Optional[pulumi.Input[Optional[
|
|
124
|
-
port: Optional[pulumi.Input[Optional[
|
|
121
|
+
def get_host_thumbprint_output(address: Optional[pulumi.Input[_builtins.str]] = None,
|
|
122
|
+
insecure: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
123
|
+
port: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
125
124
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostThumbprintResult]:
|
|
126
125
|
"""
|
|
127
126
|
The `vsphere_thumbprint` data source can be used to discover the host thumbprint
|
|
@@ -144,10 +143,10 @@ def get_host_thumbprint_output(address: Optional[pulumi.Input[builtins.str]] = N
|
|
|
144
143
|
```
|
|
145
144
|
|
|
146
145
|
|
|
147
|
-
:param
|
|
146
|
+
:param _builtins.str address: The address of the ESXi host to retrieve the thumbprint
|
|
148
147
|
from.
|
|
149
|
-
:param
|
|
150
|
-
:param
|
|
148
|
+
:param _builtins.bool insecure: Disables SSL certificate verification. Default: `false`
|
|
149
|
+
:param _builtins.str port: The port to use connecting to the ESXi host. Default: 443
|
|
151
150
|
"""
|
|
152
151
|
__args__ = dict()
|
|
153
152
|
__args__['address'] = address
|
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -42,32 +41,32 @@ class GetHostVgpuProfileResult:
|
|
|
42
41
|
raise TypeError("Expected argument 'vgpu_profiles' to be a list")
|
|
43
42
|
pulumi.set(__self__, "vgpu_profiles", vgpu_profiles)
|
|
44
43
|
|
|
45
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
46
45
|
@pulumi.getter(name="hostId")
|
|
47
|
-
def host_id(self) ->
|
|
46
|
+
def host_id(self) -> _builtins.str:
|
|
48
47
|
"""
|
|
49
48
|
The [managed objectID][docs-about-morefs] of the ESXi host.
|
|
50
49
|
"""
|
|
51
50
|
return pulumi.get(self, "host_id")
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
|
-
def id(self) ->
|
|
54
|
+
def id(self) -> _builtins.str:
|
|
56
55
|
"""
|
|
57
56
|
The provider-assigned unique ID for this managed resource.
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "id")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="nameRegex")
|
|
63
|
-
def name_regex(self) -> Optional[
|
|
62
|
+
def name_regex(self) -> Optional[_builtins.str]:
|
|
64
63
|
"""
|
|
65
64
|
(Optional) A regular expression that will be used to match the
|
|
66
65
|
host vGPU profile name.
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "name_regex")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter(name="vgpuProfiles")
|
|
72
71
|
def vgpu_profiles(self) -> Sequence['outputs.GetHostVgpuProfileVgpuProfileResult']:
|
|
73
72
|
"""
|
|
@@ -89,8 +88,8 @@ class AwaitableGetHostVgpuProfileResult(GetHostVgpuProfileResult):
|
|
|
89
88
|
vgpu_profiles=self.vgpu_profiles)
|
|
90
89
|
|
|
91
90
|
|
|
92
|
-
def get_host_vgpu_profile(host_id: Optional[
|
|
93
|
-
name_regex: Optional[
|
|
91
|
+
def get_host_vgpu_profile(host_id: Optional[_builtins.str] = None,
|
|
92
|
+
name_regex: Optional[_builtins.str] = None,
|
|
94
93
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetHostVgpuProfileResult:
|
|
95
94
|
"""
|
|
96
95
|
The `get_host_vgpu_profile` data source can be used to discover the
|
|
@@ -124,9 +123,9 @@ def get_host_vgpu_profile(host_id: Optional[builtins.str] = None,
|
|
|
124
123
|
```
|
|
125
124
|
|
|
126
125
|
|
|
127
|
-
:param
|
|
126
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
128
127
|
a host.
|
|
129
|
-
:param
|
|
128
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
130
129
|
host vGPU profile name.
|
|
131
130
|
|
|
132
131
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
|
@@ -142,8 +141,8 @@ def get_host_vgpu_profile(host_id: Optional[builtins.str] = None,
|
|
|
142
141
|
id=pulumi.get(__ret__, 'id'),
|
|
143
142
|
name_regex=pulumi.get(__ret__, 'name_regex'),
|
|
144
143
|
vgpu_profiles=pulumi.get(__ret__, 'vgpu_profiles'))
|
|
145
|
-
def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[
|
|
146
|
-
name_regex: Optional[pulumi.Input[Optional[
|
|
144
|
+
def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
145
|
+
name_regex: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
147
146
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostVgpuProfileResult]:
|
|
148
147
|
"""
|
|
149
148
|
The `get_host_vgpu_profile` data source can be used to discover the
|
|
@@ -177,9 +176,9 @@ def get_host_vgpu_profile_output(host_id: Optional[pulumi.Input[builtins.str]] =
|
|
|
177
176
|
```
|
|
178
177
|
|
|
179
178
|
|
|
180
|
-
:param
|
|
179
|
+
:param _builtins.str host_id: The [managed object reference ID][docs-about-morefs] of
|
|
181
180
|
a host.
|
|
182
|
-
:param
|
|
181
|
+
:param _builtins.str name_regex: A regular expression that will be used to match the
|
|
183
182
|
host vGPU profile name.
|
|
184
183
|
|
|
185
184
|
[docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
|
pulumi_vsphere/get_license.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -50,54 +49,54 @@ class GetLicenseResult:
|
|
|
50
49
|
raise TypeError("Expected argument 'used' to be a int")
|
|
51
50
|
pulumi.set(__self__, "used", used)
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter(name="editionKey")
|
|
55
|
-
def edition_key(self) ->
|
|
54
|
+
def edition_key(self) -> _builtins.str:
|
|
56
55
|
"""
|
|
57
56
|
The product edition of the license key.
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "edition_key")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def id(self) ->
|
|
62
|
+
def id(self) -> _builtins.str:
|
|
64
63
|
"""
|
|
65
64
|
The license key ID.
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "id")
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter
|
|
71
|
-
def labels(self) -> Mapping[str,
|
|
70
|
+
def labels(self) -> Mapping[str, _builtins.str]:
|
|
72
71
|
"""
|
|
73
72
|
A map of labels applied to the license key.
|
|
74
73
|
"""
|
|
75
74
|
return pulumi.get(self, "labels")
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter(name="licenseKey")
|
|
79
|
-
def license_key(self) ->
|
|
78
|
+
def license_key(self) -> _builtins.str:
|
|
80
79
|
return pulumi.get(self, "license_key")
|
|
81
80
|
|
|
82
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
83
82
|
@pulumi.getter
|
|
84
|
-
def name(self) ->
|
|
83
|
+
def name(self) -> _builtins.str:
|
|
85
84
|
"""
|
|
86
85
|
The display name for the license.
|
|
87
86
|
"""
|
|
88
87
|
return pulumi.get(self, "name")
|
|
89
88
|
|
|
90
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
91
90
|
@pulumi.getter
|
|
92
|
-
def total(self) ->
|
|
91
|
+
def total(self) -> _builtins.int:
|
|
93
92
|
"""
|
|
94
93
|
The total number of units contained in the license key.
|
|
95
94
|
"""
|
|
96
95
|
return pulumi.get(self, "total")
|
|
97
96
|
|
|
98
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
99
98
|
@pulumi.getter
|
|
100
|
-
def used(self) ->
|
|
99
|
+
def used(self) -> _builtins.int:
|
|
101
100
|
"""
|
|
102
101
|
The number of units assigned to this license key.
|
|
103
102
|
"""
|
|
@@ -119,7 +118,7 @@ class AwaitableGetLicenseResult(GetLicenseResult):
|
|
|
119
118
|
used=self.used)
|
|
120
119
|
|
|
121
120
|
|
|
122
|
-
def get_license(license_key: Optional[
|
|
121
|
+
def get_license(license_key: Optional[_builtins.str] = None,
|
|
123
122
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLicenseResult:
|
|
124
123
|
"""
|
|
125
124
|
The `License` data source can be used to get the general attributes of
|
|
@@ -135,7 +134,7 @@ def get_license(license_key: Optional[builtins.str] = None,
|
|
|
135
134
|
```
|
|
136
135
|
|
|
137
136
|
|
|
138
|
-
:param
|
|
137
|
+
:param _builtins.str license_key: The license key value.
|
|
139
138
|
"""
|
|
140
139
|
__args__ = dict()
|
|
141
140
|
__args__['licenseKey'] = license_key
|
|
@@ -150,7 +149,7 @@ def get_license(license_key: Optional[builtins.str] = None,
|
|
|
150
149
|
name=pulumi.get(__ret__, 'name'),
|
|
151
150
|
total=pulumi.get(__ret__, 'total'),
|
|
152
151
|
used=pulumi.get(__ret__, 'used'))
|
|
153
|
-
def get_license_output(license_key: Optional[pulumi.Input[
|
|
152
|
+
def get_license_output(license_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
154
153
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLicenseResult]:
|
|
155
154
|
"""
|
|
156
155
|
The `License` data source can be used to get the general attributes of
|
|
@@ -166,7 +165,7 @@ def get_license_output(license_key: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
166
165
|
```
|
|
167
166
|
|
|
168
167
|
|
|
169
|
-
:param
|
|
168
|
+
:param _builtins.str license_key: The license key value.
|
|
170
169
|
"""
|
|
171
170
|
__args__ = dict()
|
|
172
171
|
__args__['licenseKey'] = license_key
|
pulumi_vsphere/get_network.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
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 builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -58,47 +57,47 @@ class GetNetworkResult:
|
|
|
58
57
|
raise TypeError("Expected argument 'vpc_id' to be a str")
|
|
59
58
|
pulumi.set(__self__, "vpc_id", vpc_id)
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="datacenterId")
|
|
63
|
-
def datacenter_id(self) -> Optional[
|
|
62
|
+
def datacenter_id(self) -> Optional[_builtins.str]:
|
|
64
63
|
return pulumi.get(self, "datacenter_id")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter(name="distributedVirtualSwitchUuid")
|
|
68
|
-
def distributed_virtual_switch_uuid(self) -> Optional[
|
|
67
|
+
def distributed_virtual_switch_uuid(self) -> Optional[_builtins.str]:
|
|
69
68
|
return pulumi.get(self, "distributed_virtual_switch_uuid")
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
72
|
def filters(self) -> Optional[Sequence['outputs.GetNetworkFilterResult']]:
|
|
74
73
|
return pulumi.get(self, "filters")
|
|
75
74
|
|
|
76
|
-
@property
|
|
75
|
+
@_builtins.property
|
|
77
76
|
@pulumi.getter
|
|
78
|
-
def id(self) ->
|
|
77
|
+
def id(self) -> _builtins.str:
|
|
79
78
|
"""
|
|
80
79
|
The provider-assigned unique ID for this managed resource.
|
|
81
80
|
"""
|
|
82
81
|
return pulumi.get(self, "id")
|
|
83
82
|
|
|
84
|
-
@property
|
|
83
|
+
@_builtins.property
|
|
85
84
|
@pulumi.getter
|
|
86
|
-
def name(self) ->
|
|
85
|
+
def name(self) -> _builtins.str:
|
|
87
86
|
return pulumi.get(self, "name")
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter(name="retryInterval")
|
|
91
|
-
def retry_interval(self) -> Optional[
|
|
90
|
+
def retry_interval(self) -> Optional[_builtins.int]:
|
|
92
91
|
return pulumi.get(self, "retry_interval")
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter(name="retryTimeout")
|
|
96
|
-
def retry_timeout(self) -> Optional[
|
|
95
|
+
def retry_timeout(self) -> Optional[_builtins.int]:
|
|
97
96
|
return pulumi.get(self, "retry_timeout")
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter
|
|
101
|
-
def type(self) ->
|
|
100
|
+
def type(self) -> _builtins.str:
|
|
102
101
|
"""
|
|
103
102
|
The managed object type for the discovered network. This will be one
|
|
104
103
|
of `DistributedVirtualPortgroup` for distributed port groups, `Network` for
|
|
@@ -107,9 +106,9 @@ class GetNetworkResult:
|
|
|
107
106
|
"""
|
|
108
107
|
return pulumi.get(self, "type")
|
|
109
108
|
|
|
110
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
111
110
|
@pulumi.getter(name="vpcId")
|
|
112
|
-
def vpc_id(self) -> Optional[
|
|
111
|
+
def vpc_id(self) -> Optional[_builtins.str]:
|
|
113
112
|
return pulumi.get(self, "vpc_id")
|
|
114
113
|
|
|
115
114
|
|
|
@@ -130,13 +129,13 @@ class AwaitableGetNetworkResult(GetNetworkResult):
|
|
|
130
129
|
vpc_id=self.vpc_id)
|
|
131
130
|
|
|
132
131
|
|
|
133
|
-
def get_network(datacenter_id: Optional[
|
|
134
|
-
distributed_virtual_switch_uuid: Optional[
|
|
132
|
+
def get_network(datacenter_id: Optional[_builtins.str] = None,
|
|
133
|
+
distributed_virtual_switch_uuid: Optional[_builtins.str] = None,
|
|
135
134
|
filters: Optional[Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']]] = None,
|
|
136
|
-
name: Optional[
|
|
137
|
-
retry_interval: Optional[
|
|
138
|
-
retry_timeout: Optional[
|
|
139
|
-
vpc_id: Optional[
|
|
135
|
+
name: Optional[_builtins.str] = None,
|
|
136
|
+
retry_interval: Optional[_builtins.int] = None,
|
|
137
|
+
retry_timeout: Optional[_builtins.int] = None,
|
|
138
|
+
vpc_id: Optional[_builtins.str] = None,
|
|
140
139
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkResult:
|
|
141
140
|
"""
|
|
142
141
|
The `get_network` data source can be used to discover the ID of a network in
|
|
@@ -171,19 +170,19 @@ def get_network(datacenter_id: Optional[builtins.str] = None,
|
|
|
171
170
|
```
|
|
172
171
|
|
|
173
172
|
|
|
174
|
-
:param
|
|
173
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
175
174
|
of the datacenter the network is located in. This can be omitted if the
|
|
176
175
|
search path used in `name` is an absolute path. For default datacenters,
|
|
177
176
|
use the `id` attribute from an empty `Datacenter` data source.
|
|
178
|
-
:param
|
|
177
|
+
:param _builtins.str distributed_virtual_switch_uuid: For distributed port group type
|
|
179
178
|
network objects, the ID of the distributed virtual switch for which the port
|
|
180
179
|
group belongs. It is useful to differentiate port groups with same name using
|
|
181
180
|
the distributed virtual switch ID.
|
|
182
181
|
:param Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']] filters: Apply a filter for the discovered network.
|
|
183
|
-
:param
|
|
184
|
-
:param
|
|
185
|
-
:param
|
|
186
|
-
:param
|
|
182
|
+
:param _builtins.str name: The name of the network. This can be a name or path.
|
|
183
|
+
:param _builtins.int retry_interval: The interval in milliseconds to retry the read operation if `retry_timeout` is set. Default: 500.
|
|
184
|
+
:param _builtins.int retry_timeout: The timeout duration in seconds for the data source to retry read operations.
|
|
185
|
+
:param _builtins.str vpc_id: Select a VPC scope for retrieval of VPC subnets.
|
|
187
186
|
"""
|
|
188
187
|
__args__ = dict()
|
|
189
188
|
__args__['datacenterId'] = datacenter_id
|
|
@@ -206,13 +205,13 @@ def get_network(datacenter_id: Optional[builtins.str] = None,
|
|
|
206
205
|
retry_timeout=pulumi.get(__ret__, 'retry_timeout'),
|
|
207
206
|
type=pulumi.get(__ret__, 'type'),
|
|
208
207
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
209
|
-
def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[
|
|
210
|
-
distributed_virtual_switch_uuid: Optional[pulumi.Input[Optional[
|
|
208
|
+
def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
209
|
+
distributed_virtual_switch_uuid: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
211
210
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']]]]] = None,
|
|
212
|
-
name: Optional[pulumi.Input[
|
|
213
|
-
retry_interval: Optional[pulumi.Input[Optional[
|
|
214
|
-
retry_timeout: Optional[pulumi.Input[Optional[
|
|
215
|
-
vpc_id: Optional[pulumi.Input[Optional[
|
|
211
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
212
|
+
retry_interval: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
213
|
+
retry_timeout: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
214
|
+
vpc_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
216
215
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkResult]:
|
|
217
216
|
"""
|
|
218
217
|
The `get_network` data source can be used to discover the ID of a network in
|
|
@@ -247,19 +246,19 @@ def get_network_output(datacenter_id: Optional[pulumi.Input[Optional[builtins.st
|
|
|
247
246
|
```
|
|
248
247
|
|
|
249
248
|
|
|
250
|
-
:param
|
|
249
|
+
:param _builtins.str datacenter_id: The managed object reference ID
|
|
251
250
|
of the datacenter the network is located in. This can be omitted if the
|
|
252
251
|
search path used in `name` is an absolute path. For default datacenters,
|
|
253
252
|
use the `id` attribute from an empty `Datacenter` data source.
|
|
254
|
-
:param
|
|
253
|
+
:param _builtins.str distributed_virtual_switch_uuid: For distributed port group type
|
|
255
254
|
network objects, the ID of the distributed virtual switch for which the port
|
|
256
255
|
group belongs. It is useful to differentiate port groups with same name using
|
|
257
256
|
the distributed virtual switch ID.
|
|
258
257
|
:param Sequence[Union['GetNetworkFilterArgs', 'GetNetworkFilterArgsDict']] filters: Apply a filter for the discovered network.
|
|
259
|
-
:param
|
|
260
|
-
:param
|
|
261
|
-
:param
|
|
262
|
-
:param
|
|
258
|
+
:param _builtins.str name: The name of the network. This can be a name or path.
|
|
259
|
+
:param _builtins.int retry_interval: The interval in milliseconds to retry the read operation if `retry_timeout` is set. Default: 500.
|
|
260
|
+
:param _builtins.int retry_timeout: The timeout duration in seconds for the data source to retry read operations.
|
|
261
|
+
:param _builtins.str vpc_id: Select a VPC scope for retrieval of VPC subnets.
|
|
263
262
|
"""
|
|
264
263
|
__args__ = dict()
|
|
265
264
|
__args__['datacenterId'] = datacenter_id
|