forked from vmware-archive/powernsx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPowerNSX.psd1
366 lines (319 loc) · 11.5 KB
/
PowerNSX.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
#
# Module manifest for module 'PowerNSX'
#
# Generated by: Nick Bradford
#
# Generated on: 30/03/2016
#
<#
Copyright © 2015 VMware, Inc. All Rights Reserved.
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License version 2, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTIBILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.
You should have received a copy of the General Public License version 2 along with this program.
If not, see https://www.gnu.org/licenses/gpl-2.0.html.
The full text of the General Public License 2.0 is provided in the COPYING file.
Some files may be comprised of various open source software components, each of which
has its own license that is located in the source code of the respective component.
#>
@{
# Script module or binary module file associated with this manifest.
RootModule = 'PowerNSX.psm1'
# Version number of this module.
ModuleVersion = '2.0.0'
# ID used to uniquely identify this module
GUID = 'ea3b0bdc-83a3-4cae-9920-7257beae8614'
# Author of this module
Author = 'Nick Bradford'
# Company or vendor of this module
CompanyName = 'VMware'
# Copyright statement for this module
Copyright = 'Copyright © 2015 VMware, Inc. All Rights Reserved.'
# Description of the functionality provided by this module
Description = 'PowerNSX is a PowerShell module that abstracts the VMware NSX API to a set of easily used PowerShell functions.
This module is not supported by VMware, and comes with no warranties express or implied. Please test and validate its functionality before using in a production environment.
It aims to focus on exposing New, Update, Remove and Get operations for all key NSX functions as well as adding additional functionality to extend the capabilities of NSX management beyond the native UI or API.
It is unlikely that it will ever expose 100% of the NSX API, but feature requests are welcomed if you find a particular function you require to be lacking.
PowerNSX is currently a work in progress and is not yet feature complete.'
# Minimum version of the Windows PowerShell engine required by this module
PowerShellVersion = '3.0'
# Name of the Windows PowerShell host required by this module
# PowerShellHostName = ''
# Minimum version of the Windows PowerShell host required by this module
# PowerShellHostVersion = ''
# Minimum version of Microsoft .NET Framework required by this module
DotNetFrameworkVersion = '4.0'
# Minimum version of the common language runtime (CLR) required by this module
# CLRVersion = ''
# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
# Modules that must be imported into the global environment prior to importing this module
# This REQUIRES that PowerCLI v6 be installed (v5 was snapin based). This will
# autoload these modules when powernsx loads. If v5 PowerCLI support is required, these
# will have to be removed manually.
RequiredModules = @(
"VMware.VimAutomation.Common",
"VMware.VimAutomation.Core",
"VMware.VimAutomation.Vds"
)
# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()
# Format files (.ps1xml) to be loaded when importing this module
# FormatsToProcess = @()
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()
# Functions to export from this module
FunctionsToExport = @(
'Add-XmlElement',
'Format-Xml',
'Invoke-NsxRestMethod',
'Invoke-NsxWebRequest',
'Connect-NsxServer',
'Disconnect-NsxServer',
'Get-PowerNsxVersion',
'Get-NsxClusterStatus',
'Invoke-NsxCli',
'Get-NsxCliDfwFilter',
'Get-NsxCliDfwRule',
'Get-NsxCliDfwAddrSet',
'New-NsxManager',
'Set-NsxManager',
'New-NsxController',
'Get-NsxController',
'New-NsxIpPool',
'Get-NsxIpPool',
'Get-NsxVdsContext',
'New-NsxVdsContext',
'Remove-NsxVdsContext',
'New-NsxClusterVxlanConfig',
'Install-NsxCluster',
'Remove-NsxCluster',
'Remove-NsxClusterVxlanConfig',
'New-NsxSegmentIdRange',
'Get-NsxSegmentIdRange',
'Remove-NsxSegmentIdRange',
'Get-NsxTransportZone',
'New-NsxTransportZone',
'Remove-NsxTransportZone',
'Get-NsxLogicalSwitch',
'New-NsxLogicalSwitch',
'Remove-NsxLogicalSwitch',
'Get-NsxSpoofguardPolicy',
'New-NsxSpoofguardPolicy',
'Remove-NsxSpoofguardPolicy',
'Publish-NsxSpoofguardPolicy',
'Get-NsxSpoofguardNic',
'Grant-NsxSpoofguardNicApproval',
'Revoke-NsxSpoofguardNicApproval',
'Get-NsxLogicalRouter',
'New-NsxLogicalRouterInterfaceSpec',
'New-NsxLogicalRouter',
'Remove-NsxLogicalRouter',
'Set-NsxLogicalRouterInterface',
'New-NsxLogicalRouterInterface',
'Remove-NsxLogicalRouterInterface',
'Get-NsxLogicalRouterInterface',
'New-NsxAddressSpec',
'New-NsxEdgeInterfaceSpec',
'New-NsxEdgeSubInterfaceSpec',
'Set-NsxEdgeInterface',
'Clear-NsxEdgeInterface',
'Get-NsxEdgeInterface',
'New-NsxEdgeSubInterface',
'Remove-NsxEdgeSubInterface',
'Get-NsxEdgeSubInterface',
'Get-NsxEdgeInterfaceAddress',
'Add-NsxEdgeInterfaceAddress',
'Remove-NsxEdgeInterfaceAddress',
'Get-NsxEdge',
'New-NsxEdge',
'Repair-NsxEdge',
'Set-NsxEdge',
'Remove-NsxEdge',
'Enable-NsxEdgeSsh',
'Disable-NsxEdgeSsh',
'Set-NsxEdgeNat',
'Get-NsxEdgeNat',
'Get-NsxEdgeNatRule',
'New-NsxEdgeNatRule',
'Remove-NsxEdgeNatRule',
'Get-NsxEdgeCsr',
'New-NsxEdgeCsr',
'Remove-NsxEdgeCrl',
'Get-NsxEdgeCertificate',
'New-NsxEdgeCertificate',
'Remove-NsxEdgeCertificate',
'Get-NsxSslVpn',
'Set-NsxSslVpn',
'New-NsxSslVpnAuthServer',
'Get-NsxSslVpnAuthServer',
'New-NsxSslVpnUser',
'Get-NsxSslVpnUser',
'Remove-NsxSslVpnUser',
'New-NsxSslVpnIpPool',
'Get-NsxSslVpnIpPool',
'Remove-NsxSslVpnIpPool',
'New-NsxSslVpnPrivateNetwork',
'Get-NsxSslVpnPrivateNetwork',
'Remove-NsxSslVpnPrivateNetwork',
'New-NsxSslVpnClientInstallationPackage',
'Get-NsxSslVpnClientInstallationPackage',
'Remove-NsxSslVpnClientInstallationPackage',
'Set-NsxEdgeRouting',
'Get-NsxEdgeRouting',
'Get-NsxEdgeStaticRoute',
'New-NsxEdgeStaticRoute',
'Remove-NsxEdgeStaticRoute',
'Get-NsxEdgePrefix',
'New-NsxEdgePrefix',
'Remove-NsxEdgePrefix',
'Get-NsxEdgeBgp',
'Set-NsxEdgeBgp',
'Get-NsxEdgeBgpNeighbour',
'New-NsxEdgeBgpNeighbour',
'Remove-NsxEdgeBgpNeighbour',
'Get-NsxEdgeOspf',
'Set-NsxEdgeOspf',
'Get-NsxEdgeOspfArea',
'Remove-NsxEdgeOspfArea',
'New-NsxEdgeOspfArea',
'Get-NsxEdgeOspfInterface',
'Remove-NsxEdgeOspfInterface',
'New-NsxEdgeOspfInterface',
'Get-NsxEdgeRedistributionRule',
'Remove-NsxEdgeRedistributionRule',
'New-NsxEdgeRedistributionRule',
'Set-NsxLogicalRouterRouting',
'Get-NsxLogicalRouterRouting',
'Get-NsxLogicalRouterStaticRoute',
'New-NsxLogicalRouterStaticRoute',
'Remove-NsxLogicalRouterStaticRoute',
'Get-NsxLogicalRouterPrefix',
'New-NsxLogicalRouterPrefix',
'Remove-NsxLogicalRouterPrefix',
'Get-NsxLogicalRouterBgp',
'Set-NsxLogicalRouterBgp',
'Get-NsxLogicalRouterBgpNeighbour',
'New-NsxLogicalRouterBgpNeighbour',
'Remove-NsxLogicalRouterBgpNeighbour',
'Get-NsxLogicalRouterOspf',
'Set-NsxLogicalRouterOspf',
'Get-NsxLogicalRouterOspfArea',
'Remove-NsxLogicalRouterOspfArea',
'New-NsxLogicalRouterOspfArea',
'Get-NsxLogicalRouterOspfInterface',
'Remove-NsxLogicalRouterOspfInterface',
'New-NsxLogicalRouterOspfInterface',
'Get-NsxLogicalRouterRedistributionRule',
'Remove-NsxLogicalRouterRedistributionRule',
'New-NsxLogicalRouterRedistributionRule',
'Get-NsxSecurityGroup',
'New-NsxSecurityGroup',
'Remove-NsxSecurityGroup',
'Add-NsxSecurityGroupMember',
'Remove-NsxSecurityGroupMember',
'New-NsxSecurityTag',
'Get-NsxSecurityTag',
'Remove-NsxSecurityTag',
'Get-NsxSecurityTagAssignment',
'New-NsxSecurityTagAssignment',
'Remove-NsxSecurityTagAssignment',
'Get-NsxIpSet',
'New-NsxIpSet',
'Remove-NsxIpSet',
'Get-NsxMacSet',
'New-NsxMacSet',
'Remove-NsxMacSet',
'Get-NsxService',
'New-NsxService',
'Remove-NsxService',
'Get-NsxFirewallSection',
'New-NsxFirewallSection',
'Remove-NsxFirewallSection',
'Get-NsxFirewallRule',
'New-NsxFirewallRule',
'Remove-NsxFirewallRule',
'Get-NsxLoadBalancer',
'Set-NsxLoadBalancer',
'Get-NsxLoadBalancerMonitor',
'New-NsxLoadBalancerMonitor',
'Remove-NsxLoadBalancerMonitor',
'Get-NsxLoadBalancerApplicationProfile',
'New-NsxLoadBalancerApplicationProfile',
'Remove-NsxLoadBalancerApplicationProfile',
'New-NsxLoadBalancerMemberSpec',
'New-NsxLoadBalancerPool',
'Get-NsxLoadBalancerPool',
'Remove-NsxLoadBalancerPool',
'Get-NsxLoadBalancerPoolMember',
'Add-NsxLoadBalancerPoolMember',
'Remove-NsxLoadBalancerPoolMember',
'Get-NsxLoadBalancerVip',
'Add-NsxLoadBalancerVip',
'Remove-NsxLoadBalancerVip',
'Get-NsxSecurityPolicy',
'Remove-NsxSecurityPolicy',
'Get-NsxSecurityGroupEffectiveMembers',
'Find-NsxWhereVMUsed',
'Get-NsxBackingPortGroup',
'Get-NsxBackingDVSwitch',
'Update-PowerNsx',
'Get-NsxFirewallExclusionListMember',
'Add-NsxFirewallExclusionListMember',
'Remove-NsxFirewallExclusionListMember',
'Get-NsxManagerSsoConfig',
'Get-NsxManagerVcenterConfig',
'Get-NsxManagerTimeSettings',
'Get-NsxManagerSyslogServer',
'Get-NsxManagerNetwork',
'Get-NsxManagerBackup',
'Get-NsxManagerComponentSummary',
'Get-NsxManagerSystemSummary',
'New-NsxServiceGroup',
'Add-NsxServiceGroupMember',
'Get-NsxServiceGroup',
'Get-NsxServiceGroupMember',
'Remove-NsxServiceGroup',
'Get-NsxLoadBalancerStats',
'Get-NsxFirewallSavedConfiguration',
'New-NsxLoadBalancerApplicationRule',
'Get-NsxLoadBalancerApplicationRule'
)
# Cmdlets to export from this module
CmdletsToExport = '*'
# Variables to export from this module
VariablesToExport = '*'
# Aliases to export from this module
AliasesToExport = '*'
# DSC resources to export from this module
# DscResourcesToExport = @()
# List of all modules packaged with this module
# ModuleList = @()
# List of all files packaged with this module
# FileList = @()
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{
PSData = @{
# Tags applied to this module. These help with module discovery in online galleries.
# Tags = @()
# A URL to the license for this module.
# LicenseUri = ''
# A URL to the main website for this project.
ProjectUri = 'https://vmware.github.io/powernsx'
# A URL to an icon representing this module.
# IconUri = ''
# ReleaseNotes of this module
# ReleaseNotes = ''
} # End of PSData hashtable
} # End of PrivateData hashtable
# HelpInfo URI of this module
# HelpInfoURI = ''
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''
}