New-AzApplicationGatewayUrlPathMapConfig
バックエンド サーバー プールへの URL パス マッピングの配列を作成します。
構文
New-AzApplicationGatewayUrlPathMapConfig
-Name <String>
-PathRules <PSApplicationGatewayPathRule[]>
-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>
-DefaultBackendHttpSettings <PSApplicationGatewayBackendHttpSettings>
[-DefaultRewriteRuleSet <PSApplicationGatewayRewriteRuleSet>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzApplicationGatewayUrlPathMapConfig
-Name <String>
-PathRules <PSApplicationGatewayPathRule[]>
-DefaultBackendAddressPoolId <String>
-DefaultBackendHttpSettingsId <String>
[-DefaultRewriteRuleSetId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzApplicationGatewayUrlPathMapConfig
-Name <String>
-PathRules <PSApplicationGatewayPathRule[]>
[-DefaultRewriteRuleSet <PSApplicationGatewayRewriteRuleSet>]
-DefaultRedirectConfiguration <PSApplicationGatewayRedirectConfiguration>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
New-AzApplicationGatewayUrlPathMapConfig
-Name <String>
-PathRules <PSApplicationGatewayPathRule[]>
[-DefaultRewriteRuleSetId <String>]
-DefaultRedirectConfigurationId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
New-AzApplicationGatewayUrlPathMapConfig コマンドレットは、バックエンド サーバー プールへの URL パス マッピングの配列を作成します。
例
例 1: バックエンド サーバー プールへの URL パス マッピングの配列を作成する
New-AzApplicationGatewayUrlPathMapConfig -Name $UrlPathMapName -PathRules $VideoPathRule, $ImagePathRule -DefaultBackendAddressPool $Pool -DefaultBackendHttpSettings $PoolSetting02
このコマンドは、バックエンド サーバー プールへの URL パス マッピングの配列を作成します。
パラメーター
-DefaultBackendAddressPool
pathRules パラメーターで指定された規則が一致しない場合にルーティングする既定のバックエンド アドレス プールを指定します。
Type: | PSApplicationGatewayBackendAddressPool |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultBackendAddressPoolId
既定のバックエンド アドレス プール ID を指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultBackendHttpSettings
pathRules パラメーターで指定された規則が一致しない場合に使用する既定のバックエンド HTTP 設定を指定します。
Type: | PSApplicationGatewayBackendHttpSettings |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultBackendHttpSettingsId
既定のバックエンド HTTP 設定 ID を指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
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 |
-DefaultRedirectConfiguration
アプリケーション ゲートウェイの既定の RedirectConfiguration
Type: | PSApplicationGatewayRedirectConfiguration |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultRedirectConfigurationId
アプリケーション ゲートウェイの既定の RedirectConfiguration の ID
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultRewriteRuleSet
Application Gateway の既定の書き換え規則セット
Type: | PSApplicationGatewayRewriteRuleSet |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultRewriteRuleSetId
アプリケーション ゲートウェイの既定の書き換え規則セットの ID
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
このコマンドレットで作成する URL パス マップ名を指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PathRules
パス規則の一覧を指定します。 パス ルールは順序が区別され、指定された順序で適用されることに注意してください。
Type: | PSApplicationGatewayPathRule[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
None
出力
PSApplicationGatewayUrlPathMap
関連リンク
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示