Get-AzApplicationGateway
Bir uygulama ağ geçidi alır.
Syntax
Get-AzApplicationGateway
[-Name <String>]
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApplicationGateway cmdlet'i bir uygulama ağ geçidi alır.
Örnekler
Örnek 1: Belirtilen uygulama ağ geçidini alma
$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
Bu komut, ResourceGroup01 adlı kaynak grubuna ait ApplicationGateway01 adlı uygulama ağ geçidini alır ve $AppGw değişkeninde depolar.
Örnek 2: Kaynak grubundaki uygulama ağ geçitlerinin listesini alma
$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
Bu komut ResourceGroup01 adlı kaynak grubundaki tüm uygulama ağ geçitlerinin listesini alır ve $AppGwList değişkeninde depolar.
Örnek 3: Abonelikteki uygulama ağ geçitlerinin listesini alma
$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
Bu komut, abonelikteki tüm uygulama ağ geçitlerinin listesini alır ve $AppGwList değişkeninde depolar.
Örnek 4: Filtrelemeyi kullanarak abonelikteki uygulama ağ geçitlerinin listesini alma
$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
Bu komut, abonelikteki "ApplicationGateway01" ile başlayan tüm uygulama ağ geçitlerinin listesini alır ve $AppGwList değişkeninde depolar.
Parametreler
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Bu cmdlet'in aldığı uygulama ağ geçidinin adını belirtir.
Type: | String |
Aliases: | ResourceName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |
-ResourceGroupName
Uygulama ağ geçidini içeren kaynak grubunun adını belirtir.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | True |
Girişler
Çıkışlar
İlişkili Bağlantılar
Azure PowerShell
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin