Get-AzApiManagementGateway
전체 또는 특정 API 관리 게이트웨이를 가져옵니다.
Syntax
Get-AzApiManagementGateway
-Context <PsApiManagementContext>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzApiManagementGateway
-Context <PsApiManagementContext>
-GatewayId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApiManagementGateway cmdlet은 전체 또는 특정 API 관리 게이트웨이를 가져옵니다.
예제
예제 1: 모든 게이트웨이 가져오기
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementGateway -Context $apimContext
이 명령은 모든 게이트웨이를 가져옵니다.
예제 2: ID로 게이트웨이 가져오기
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementGateway -Context $apimContext -GatewayId "0123456789"
이 명령은 게이트웨이 0123456789 가져옵니다.
매개 변수
-Context
PsApiManagementContext의 인스턴스입니다. 이 매개 변수는 필수입니다.
Type: | PsApiManagementContext |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GatewayId
게이트웨이의 식별자입니다. 지정된 경우 식별자를 통해 게이트웨이를 찾으려고 합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |