Get-AzApplicationGateway
Ruft ein Anwendungsgateway ab.
Syntax
Get-AzApplicationGateway
[-Name <String>]
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Das Cmdlet Get-AzApplicationGateway ruft ein Anwendungsgateway ab.
Beispiele
Beispiel 1: Abrufen eines angegebenen Anwendungsgateways
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Sku : Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySku
SslPolicy :
GatewayIPConfigurations : {appGatewayFrontendIP}
AuthenticationCertificates : {}
SslCertificates : {}
TrustedRootCertificates : {}
FrontendIPConfigurations : {appGatewayFrontendIP}
FrontendPorts : {appGatewayFrontendPort}
Probes : {}
BackendAddressPools : {appGatewayBackendPool}
BackendHttpSettingsCollection : {appGatewayBackendHttpSettings}
HttpListeners : {appGatewayHttpListener}
UrlPathMaps : {}
RequestRoutingRules : {rule1}
RewriteRuleSets : {}
RedirectConfigurations : {}
WebApplicationFirewallConfiguration :
AutoscaleConfiguration :
CustomErrorConfigurations : {}
EnableHttp2 :
EnableFips :
ForceFirewallPolicyAssociation :
Zones : {}
OperationalState : Running
ProvisioningState : Succeeded
Identity :
DefaultPredefinedSslPolicy : AppGwSslPolicy20150501
GatewayIpConfigurationsText : []
AuthenticationCertificatesText : []
SslCertificatesText : []
FrontendIpConfigurationsText : []
FrontendPortsText : []
BackendAddressPoolsText : []
BackendHttpSettingsCollectionText : []
HttpListenersText : []
RewriteRuleSetsText : []
RequestRoutingRulesText : []
ProbesText : []
UrlPathMapsText : []
IdentityText : null
SslPolicyText : null
ResourceGroupName : tjp-rg
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/applicationGateways
Tag : {}
TagsTable :
Name : ApplicationGateway01
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/provide
rs/Microsoft.Network/applicationGateways/ApplicationGateway01
Dieser Befehl ruft das Anwendungsgateway01 ab, das zur Ressourcengruppe "ResourceGroup01" gehört, und speichert es in der variablen $AppGw.
Beispiel 2: Abrufen einer Liste von Anwendungsgateways in einer Ressourcengruppe
$AppGwList = Get-AzApplicationGateway -ResourceGroupName "ResourceGroup01"
Sku : Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySku
SslPolicy :
GatewayIPConfigurations : {appGatewayFrontendIP}
AuthenticationCertificates : {}
SslCertificates : {}
TrustedRootCertificates : {}
FrontendIPConfigurations : {appGatewayFrontendIP}
FrontendPorts : {appGatewayFrontendPort}
Probes : {}
BackendAddressPools : {appGatewayBackendPool}
BackendHttpSettingsCollection : {appGatewayBackendHttpSettings}
HttpListeners : {appGatewayHttpListener}
UrlPathMaps : {}
RequestRoutingRules : {rule1}
RewriteRuleSets : {}
RedirectConfigurations : {}
WebApplicationFirewallConfiguration :
AutoscaleConfiguration :
CustomErrorConfigurations : {}
EnableHttp2 :
EnableFips :
ForceFirewallPolicyAssociation :
Zones : {}
OperationalState : Running
ProvisioningState : Succeeded
Identity :
DefaultPredefinedSslPolicy : AppGwSslPolicy20150501
GatewayIpConfigurationsText : []
AuthenticationCertificatesText : []
SslCertificatesText : []
FrontendIpConfigurationsText : []
FrontendPortsText : []
BackendAddressPoolsText : []
BackendHttpSettingsCollectionText : []
HttpListenersText : []
RewriteRuleSetsText : []
RequestRoutingRulesText : []
ProbesText : []
UrlPathMapsText : []
IdentityText : null
SslPolicyText : null
ResourceGroupName : tjp-rg
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/applicationGateways
Tag : {}
TagsTable :
Name : ApplicationGateway01
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/provide
rs/Microsoft.Network/applicationGateways/ApplicationGateway01
Dieser Befehl ruft eine Liste aller Anwendungsgateways in der Ressourcengruppe "ResourceGroup01" ab und speichert sie in der variablen $AppGwList.
Beispiel 3: Abrufen einer Liste von Anwendungsgateways in einem Abonnement
$AppGwList = Get-AzApplicationGateway
Sku : Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySku
SslPolicy :
GatewayIPConfigurations : {appGatewayFrontendIP}
AuthenticationCertificates : {}
SslCertificates : {}
TrustedRootCertificates : {}
FrontendIPConfigurations : {appGatewayFrontendIP}
FrontendPorts : {appGatewayFrontendPort}
Probes : {}
BackendAddressPools : {appGatewayBackendPool}
BackendHttpSettingsCollection : {appGatewayBackendHttpSettings}
HttpListeners : {appGatewayHttpListener}
UrlPathMaps : {}
RequestRoutingRules : {rule1}
RewriteRuleSets : {}
RedirectConfigurations : {}
WebApplicationFirewallConfiguration :
AutoscaleConfiguration :
CustomErrorConfigurations : {}
EnableHttp2 :
EnableFips :
ForceFirewallPolicyAssociation :
Zones : {}
OperationalState : Running
ProvisioningState : Succeeded
Identity :
DefaultPredefinedSslPolicy : AppGwSslPolicy20150501
GatewayIpConfigurationsText : []
AuthenticationCertificatesText : []
SslCertificatesText : []
FrontendIpConfigurationsText : []
FrontendPortsText : []
BackendAddressPoolsText : []
BackendHttpSettingsCollectionText : []
HttpListenersText : []
RewriteRuleSetsText : []
RequestRoutingRulesText : []
ProbesText : []
UrlPathMapsText : []
IdentityText : null
SslPolicyText : null
ResourceGroupName : tjp-rg
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/applicationGateways
Tag : {}
TagsTable :
Name : ApplicationGateway01
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/provide
rs/Microsoft.Network/applicationGateways/ApplicationGateway01
Dieser Befehl ruft eine Liste aller Anwendungsgateways im Abonnement ab und speichert sie in der variablen $AppGwList.
Beispiel 4: Abrufen einer Liste von Anwendungsgateways in einem Abonnement mithilfe von Filtern
$AppGwList = Get-AzApplicationGateway -Name ApplicationGateway*
Sku : Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySku
SslPolicy :
GatewayIPConfigurations : {appGatewayFrontendIP}
AuthenticationCertificates : {}
SslCertificates : {}
TrustedRootCertificates : {}
FrontendIPConfigurations : {appGatewayFrontendIP}
FrontendPorts : {appGatewayFrontendPort}
Probes : {}
BackendAddressPools : {appGatewayBackendPool}
BackendHttpSettingsCollection : {appGatewayBackendHttpSettings}
HttpListeners : {appGatewayHttpListener}
UrlPathMaps : {}
RequestRoutingRules : {rule1}
RewriteRuleSets : {}
RedirectConfigurations : {}
WebApplicationFirewallConfiguration :
AutoscaleConfiguration :
CustomErrorConfigurations : {}
EnableHttp2 :
EnableFips :
ForceFirewallPolicyAssociation :
Zones : {}
OperationalState : Running
ProvisioningState : Succeeded
Identity :
DefaultPredefinedSslPolicy : AppGwSslPolicy20150501
GatewayIpConfigurationsText : []
AuthenticationCertificatesText : []
SslCertificatesText : []
FrontendIpConfigurationsText : []
FrontendPortsText : []
BackendAddressPoolsText : []
BackendHttpSettingsCollectionText : []
HttpListenersText : []
RewriteRuleSetsText : []
RequestRoutingRulesText : []
ProbesText : []
UrlPathMapsText : []
IdentityText : null
SslPolicyText : null
ResourceGroupName : tjp-rg
Location : westus
ResourceGuid : 00000000-0000-0000-0000-000000000000
Type : Microsoft.Network/applicationGateways
Tag : {}
TagsTable :
Name : ApplicationGateway01
Etag : W/"00000000-0000-0000-0000-000000000000"
Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/provide
rs/Microsoft.Network/applicationGateways/ApplicationGateway01
Dieser Befehl ruft eine Liste aller Anwendungsgateways im Abonnement ab, die mit "ApplicationGateway01" beginnen und in der $AppGwList Variablen speichern.
Parameter
-DefaultProfile
Die Anmeldeinformationen, Konten, Mandanten und Abonnements, die für die Kommunikation mit Azure verwendet werden.
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-Name
Gibt den Namen des Anwendungsgateways an, das dieses Cmdlet abruft.
Typ: | String |
Aliase: | ResourceName |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |
-ResourceGroupName
Gibt den Namen der Ressourcengruppe an, die das Anwendungsgateway enthält.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | True |