Compartir a través de


Get-AzApiManagementBackend

Obtenga los detalles del back-end.

Syntax

Get-AzApiManagementBackend
   -Context <PsApiManagementContext>
   [-BackendId <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzApiManagementBackend
   [-BackendId <String>]
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Obtenga los detalles del back-end.

Ejemplos

Ejemplo 1: Obtener todos los back-end

$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementBackend -Context $apimContext

Obtiene una lista de todos los back-end configurados en el servicio Api Management.

Ejemplo 2: Obtener el back-end especificado por el identificador 123

$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementBackend -Context $apimContext -backendId 123

Obtenga los detalles del back-end especificado identificado por el identificador '123'

Parámetros

-BackendId

Identificador de un back-end. Si se especifica, intentará buscar el back-end por el identificador. Este parámetro es opcional.

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

-Context

Instancia de PsApiManagementContext. Este parámetro es obligatorio.

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

-DefaultProfile

Las credenciales, la cuenta, el inquilino y la suscripción que se usan para la comunicación con Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

Identificador de recursos de Arm del back-end. Si se especifica, intentará buscar el back-end por el identificador. Este parámetro es obligatorio.

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

Entradas

PsApiManagementContext

String

Salidas

PsApiManagementBackend