Skip to content

Commit

Permalink
Update doc via platyPS and GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
FortiPower GitHub Actions Bot committed Jan 16, 2025
1 parent 64c6b48 commit 83fc77c
Show file tree
Hide file tree
Showing 5 changed files with 877 additions and 0 deletions.
228 changes: 228 additions & 0 deletions docs/Add-FGTSystemSDNConnector.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
---
external help file: PowerFGT-help.xml
Module Name: PowerFGT
online version:
schema: 2.0.0
---

# Add-FGTSystemSDNConnector

## SYNOPSIS
Add a SDN Connector

## SYNTAX

```
Add-FGTSystemSDNConnector [-name] <String> -server <String> -username <String> -password <SecureString>
[-status] [-verify_certificate] [-update_interval <Int32>] [-data <Hashtable>] [-vdom <String[]>]
[-connection <PSObject>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
Add a SDN Connector (Status, server, type ...
)

## EXAMPLES

### EXAMPLE 1
```
$mypassword = ConvertTo-SecureString mysecret -AsPlainText -Force
PS C:\>Add-FGTSystemSDNConnector -name MySDNConnector -server MyVcenter -username [email protected] -password $mypassword
```

Create a new SDN Connector type vCenter/ESX with username and password

### EXAMPLE 2
```
$mypassword = ConvertTo-SecureString mysecret -AsPlainText -Force
PS C:\>Add-FGTSystemSDNConnector -name MySDNConnector -server MyVcenter -username [email protected] -password $mypassword -status:$false -verify_certificate:false
```

Create a new SDN Connector type vCenter/ESX with username and password with disable status and verify-certificate

### EXAMPLE 3
```
$data = @{ 'server-port' = "8443" }
PS C:\>$mypassword = ConvertTo-SecureString mysecret -AsPlainText -Force
PS C:\>Add-FGTSystemSDNConnector -name MySDNConnector -server MyVcenter -username [email protected] -password $mypassword -data $data
```

This creates a new SDN Connector with server-port enable using -data parameter

## PARAMETERS

### -name
{{ Fill name Description }}

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -server
{{ Fill server Description }}
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -username
{{ Fill username Description }}
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -password
{{ Fill password Description }}
```yaml
Type: SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -status
{{ Fill status Description }}
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -verify_certificate
{{ Fill verify_certificate Description }}
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -update_interval
{{ Fill update_interval Description }}
```yaml
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```
### -data
{{ Fill data Description }}
```yaml
Type: Hashtable
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -vdom
{{ Fill vdom Description }}
```yaml
Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -connection
{{ Fill connection Description }}
```yaml
Type: PSObject
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $DefaultFGTConnection
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
## OUTPUTS
## NOTES
## RELATED LINKS
75 changes: 75 additions & 0 deletions docs/Confirm-FGTSDNConnector.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
external help file: PowerFGT-help.xml
Module Name: PowerFGT
online version:
schema: 2.0.0
---

# Confirm-FGTSDNConnector

## SYNOPSIS
{{ Fill in the Synopsis }}

## SYNTAX

```
Confirm-FGTSDNConnector [-argument] <Object> [-ProgressAction <ActionPreference>] [<CommonParameters>]
```

## DESCRIPTION
{{ Fill in the Description }}

## EXAMPLES

### Example 1
```powershell
PS C:\> {{ Add example code here }}
```

{{ Add example description here }}

## PARAMETERS

### -argument
{{ Fill argument Description }}

```yaml
Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -ProgressAction
{{ Fill ProgressAction Description }}
```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### None
## OUTPUTS
### System.Object
## NOTES
## RELATED LINKS
Loading

0 comments on commit 83fc77c

Please sign in to comment.