Skip to content

Commit 796952b

Browse files
Merge pull request #30 from AnirbanPaul/patch-22
Update get-networkcontrollerserviceinsertion.md
2 parents fef3ded + 04edb7a commit 796952b

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

docset/windows/network-controller/get-networkcontrollerserviceinsertion.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ms.assetid: 255B584B-C53D-471F-891F-842C7F1EE20A
2020
# Get-NetworkControllerServiceInsertion
2121

2222
## SYNOPSIS
23+
This cmdlet retrieves the properties of a service insertion resource from the Network Controller.
2324

2425
## SYNTAX
2526

@@ -29,13 +30,19 @@ Get-NetworkControllerServiceInsertion [[-ResourceId] <String[]>] -ConnectionUri
2930
```
3031

3132
## DESCRIPTION
33+
This cmdlet retrieves the properties of a service insertion resource from the Network Controller. Service insertion is useful for cases like port mirroring, so that traffic from one VM can be mirrored to another VM, say for inspection purposes.
3234

3335
## EXAMPLES
34-
36+
This example retrieves the properties of a service insertion resource named SI1, from the Network Controller.
37+
```
38+
Get-NetworkControllerServiceInsertion -ConnectionUri https://networkcontroller -ResourceId SI1
39+
```
3540

3641
## PARAMETERS
3742

3843
### -CertificateThumbprint
44+
Specifies the digital public key X.509 certificate of a user account that has permission to perform this action.This is the certificate thumbprint of the certificate.This thumbprint must also be provided in the *ClientCertificateThumbprint* parameter in the **Install-NetworkController** or **Set-NetworkController** cmdlet so that Network Controller can authorize this user.
45+
3946
```yaml
4047
Type: String
4148
Parameter Sets: (All)
@@ -49,6 +56,8 @@ Accept wildcard characters: False
4956
```
5057
5158
### -ConnectionUri
59+
Specifies the Uniform Resource Identifier (URI) of the Network Controller, used by all Representational State Transfer (REST) clients to connect to Network Controller.
60+
5261
```yaml
5362
Type: Uri
5463
Parameter Sets: (All)
@@ -62,6 +71,8 @@ Accept wildcard characters: False
6271
```
6372
6473
### -Credential
74+
Specifies a user credential that has permission to perform this action.The default value is the current user.This user must be present in the security group provided in the *ClientSecurityGroup* parameter in the **Install-NetworkController** cmdlet.
75+
6576
```yaml
6677
Type: PSCredential
6778
Parameter Sets: (All)
@@ -88,6 +99,8 @@ Accept wildcard characters: False
8899
```
89100
90101
### -ResourceId
102+
Specifies the unique identifier for the service insertion resource.
103+
91104
```yaml
92105
Type: String[]
93106
Parameter Sets: (All)
@@ -106,6 +119,21 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
106119
## INPUTS
107120
108121
## OUTPUTS
122+
Following properties for service insertion can be retrieved:
123+
For each service insertion rule, the following can be specified:   
124+
1. Description of rule   
125+
2. Protocol   
126+
3. Starting source port   
127+
4. Ending source port   
128+
5. Starting destination port   
129+
6. Ending destination port   
130+
7. Source subnet(s)   
131+
8. Destination subnet(s)
132+
133+
For each destination element where service insertion has to be applied:   
134+
1. Description   
135+
2. Destination network interface   
136+
3. Order of the element
109137
110138
## NOTES
111139

0 commit comments

Comments
 (0)