Get-​Azure​Rm​Api​Management​Authorization​Server

Gets an API Management authorization server.

Syntax

Get-AzureRmApiManagementAuthorizationServer
   -Context <PsApiManagementContext>
   [-ServerId <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<CommonParameters>]

Description

The Get-AzureRmApiManagementAuthorizationServer cmdlet gets all Azure API Management authorization servers or specified authorization servers.

Examples

Example 1: Get all authorization servers

PS C:\>Get-AzureRmApiManagementAuthrizarionServer -Context $ApiMgmtContext

This command gets all API Management authorization servers.

Example 2: Get a specified authorization server

PS C:\>Get-AzureRmApiManagementCertificate -Context $ApiMgmtContext -ServerId "0123456789"

This command gets the specified authorization server.

Required Parameters

-Context
Type:PsApiManagementContext
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServerId
Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

IList<Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer>