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

Gets an API Management authorization server.

Syntax

Get-AzureRmApiManagementAuthorizationServer
   -Context <PsApiManagementContext>
   [-ServerId <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

-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>