< Back
Get-NsxServiceProfile
Post
NAME Get-NsxServiceProfile
SYNOPSIS
Retrieves Service Profiles associated with Service Definitions.
SYNTAX
Get-NsxServiceProfile [[-Name] <String>] [-Connection <PSObject>] [<CommonParameters>]
Get-NsxServiceProfile [-ServiceDefinition <XmlElement>] [-Connection <PSObject>] [<CommonParameters>]
Get-NsxServiceProfile [-ObjectId <String>] [-Connection <PSObject>] [<CommonParameters>]
DESCRIPTION
A Service Definition describes the integration of some default internal and
registered thirdparty services such as load balancing or layer 7 firewalling.
A Service Definition can have one or more Service Profiles defined that
expose functionality that can be leveraged in a service instance when
defining a Guest Introspection rule in a Security Policy.
This cmdlet retrieves Service Profile objects.
PARAMETERS
-ServiceDefinition <XmlElement>
Service Definition as returned by Get-NsxServiceDefinition.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the Service Profile to retrieve.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ObjectId <String>
ObjectId of the Service Profile to retrieve.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object.
Required? false
Position? named
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-NsxServiceDefinitionProfile
Get all Service Profiles defined.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NsxServiceDefinition "ThirdPartySi" | Get-NsxServiceDefinitionProfile
Get all Service Profiles for the specified Service Definition.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-NsxServiceDefinitionProfile -ObjectID "serviceprofile-3"
Get the Service Profile with objectid serviceprofile-3
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-NsxServiceDefinitionProfile MyAvService
Get the specified Service Profile by name
RELATED LINKS
SYNOPSIS
Retrieves Service Profiles associated with Service Definitions.
SYNTAX
Get-NsxServiceProfile [[-Name] <String>] [-Connection <PSObject>] [<CommonParameters>]
Get-NsxServiceProfile [-ServiceDefinition <XmlElement>] [-Connection <PSObject>] [<CommonParameters>]
Get-NsxServiceProfile [-ObjectId <String>] [-Connection <PSObject>] [<CommonParameters>]
DESCRIPTION
A Service Definition describes the integration of some default internal and
registered thirdparty services such as load balancing or layer 7 firewalling.
A Service Definition can have one or more Service Profiles defined that
expose functionality that can be leveraged in a service instance when
defining a Guest Introspection rule in a Security Policy.
This cmdlet retrieves Service Profile objects.
PARAMETERS
-ServiceDefinition <XmlElement>
Service Definition as returned by Get-NsxServiceDefinition.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Name of the Service Profile to retrieve.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ObjectId <String>
ObjectId of the Service Profile to retrieve.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object.
Required? false
Position? named
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-NsxServiceDefinitionProfile
Get all Service Profiles defined.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-NsxServiceDefinition "ThirdPartySi" | Get-NsxServiceDefinitionProfile
Get all Service Profiles for the specified Service Definition.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-NsxServiceDefinitionProfile -ObjectID "serviceprofile-3"
Get the Service Profile with objectid serviceprofile-3
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-NsxServiceDefinitionProfile MyAvService
Get the specified Service Profile by name
RELATED LINKS