Skip to content

Latest commit

 

History

History
289 lines (214 loc) · 7.32 KB

New-IntersightFabricSpanSession.md

File metadata and controls

289 lines (214 loc) · 7.32 KB
external help file Module Name online version schema
Intersight.PowerShell.dll-Help.xml
Intersight.PowerShell
2.0.0

New-IntersightFabricSpanSession

SYNOPSIS

Fill in the Synopsis

SYNTAX


New-IntersightFabricSpanSession [-AdditionalProperties< System.Collections.Generic.Dictionary`2[string,object]>][-AdminState< FabricSpanSession.AdminStateEnum>][-DestPorts< System.Collections.Generic.List`1[FabricAbstractSpanDestPortRelationship]>][-Moid< string>][[-Name]< string>][-NetworkElement< NetworkElementRelationship>][-SourcePortChannels< System.Collections.Generic.List`1[FabricAbstractSpanSourcePortChannelRelationship]>][-SourcePorts< System.Collections.Generic.List`1[FabricAbstractSpanSourcePortRelationship]>][-SourceVirtualIfs< System.Collections.Generic.List`1[FabricAbstractSpanSourceVirtualIfRelationship]>][-SourceVlans< System.Collections.Generic.List`1[FabricSpanSourceVlanRelationship]>][-SpanControlPackets< FabricSpanSession.SpanControlPacketsEnum>][-Tags< System.Collections.Generic.List`1[MoTag]>][-Json< SwitchParameter>][-WithHttpInfo< SwitchParameter>]

DESCRIPTION

Create a 'FabricSpanSession' resource.

PARAMETERS

-AdditionalProperties

Type: System.Collections.Generic.Dictionary`2[string,object]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-AdminState

Admin state to enable or disable the SPAN session.\n* Disabled - Admin configured Disabled State.\n* Enabled - Admin configured Enabled State.

Type: FabricSpanSession.AdminStateEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-DestPorts

An array of relationships to fabricAbstractSpanDestPort resources.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: System.Collections.Generic.List`1[FabricAbstractSpanDestPortRelationship]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Moid

The unique identifier of this Managed Object instance.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Name

Name of the SPAN session. The name can only contain letters (a-z, A-Z), numbers (0-9), hyphen (-), period (.) or an underscore (_).

Type: string
Parameter Sets: (All)
Aliases:

Required: true
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

-NetworkElement

A reference to a networkElement resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: NetworkElementRelationship
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-SourcePortChannels

An array of relationships to fabricAbstractSpanSourcePortChannel resources.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: System.Collections.Generic.List`1[FabricAbstractSpanSourcePortChannelRelationship]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-SourcePorts

An array of relationships to fabricAbstractSpanSourcePort resources.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: System.Collections.Generic.List`1[FabricAbstractSpanSourcePortRelationship]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-SourceVirtualIfs

An array of relationships to fabricAbstractSpanSourceVirtualIf resources.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: System.Collections.Generic.List`1[FabricAbstractSpanSourceVirtualIfRelationship]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-SourceVlans

An array of relationships to fabricSpanSourceVlan resources.

Note:- To get the relationship object pass the MO to the cmdlet Get-IntersightMoMoRef or use the cmdlet Initialize-IntersightMoMoRef.

Type: System.Collections.Generic.List`1[FabricSpanSourceVlanRelationship]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-SpanControlPackets

Admin state to enable or disable spanning control packets.\n* Disabled - Admin configured Disabled State.\n* Enabled - Admin configured Enabled State.

Type: FabricSpanSession.SpanControlPacketsEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Tags

Note :- Use Initialize-IntersightMoTag to create the object of complex type MoTag

Type: System.Collections.Generic.List`1[MoTag]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Json

Returns the json payload received in response.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

-WithHttpInfo

Returns the HTTP response with headers and content.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True 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.

EXAMPLES

Example 1

PS C:\> New-IntersightFabricSpanSession

{ Add example description here }

INPUTS

System.Int32

System.String

OUTPUTS

TestModule.FavoriteStuff

NOTES

RELATED LINKS

Get-IntersightFabricSpanSession

Initialize-IntersightMoVersionContext

Remove-IntersightFabricSpanSession

Set-IntersightFabricSpanSession