次の方法で共有


UrlRedirectActionParameters コンストラクター

定義

オーバーロード

UrlRedirectActionParameters()

UrlRedirectActionParameters クラスの新しいインスタンスを初期化します。

UrlRedirectActionParameters(String, String, String, String, String, String)

UrlRedirectActionParameters クラスの新しいインスタンスを初期化します。

UrlRedirectActionParameters()

UrlRedirectActionParameters クラスの新しいインスタンスを初期化します。

public UrlRedirectActionParameters ();
Public Sub New ()

適用対象

UrlRedirectActionParameters(String, String, String, String, String, String)

UrlRedirectActionParameters クラスの新しいインスタンスを初期化します。

public UrlRedirectActionParameters (string redirectType, string destinationProtocol = default, string customPath = default, string customHostname = default, string customQueryString = default, string customFragment = default);
new Microsoft.Azure.Management.Cdn.Models.UrlRedirectActionParameters : string * string * string * string * string * string -> Microsoft.Azure.Management.Cdn.Models.UrlRedirectActionParameters
Public Sub New (redirectType As String, Optional destinationProtocol As String = Nothing, Optional customPath As String = Nothing, Optional customHostname As String = Nothing, Optional customQueryString As String = Nothing, Optional customFragment As String = Nothing)

パラメーター

redirectType
String

トラフィックのリダイレクト時にルールが使用するリダイレクトの種類。 使用できる値は、'Moved'、'Found'、'TemporaryRedirect'、'PermanentRedirect' です。

destinationProtocol
String

リダイレクトに使用するプロトコル。 既定値は MatchRequest です。 使用できる値は、'MatchRequest'、'Http'、'Https' です。

customPath
String

リダイレクトする完全なパス。 パスを空にすることはできず、/で始まる必要があります。 受信パスを宛先パスとして使用するには、空のままにします。

customHostname
String

リダイレクトするホスト。 受信ホストを宛先ホストとして使用するには、空のままにします。

customQueryString
String

リダイレクト URL に配置するクエリ文字列のセット。 この値を設定すると、既存のクエリ文字列が置き換えられます。受信クエリ文字列を保持するには、空のままにします。 クエリ文字列は key>=<value> 形式である<必要があります。 ? と & は自動的に追加されるため、それらを含めないでください。

customFragment
String

リダイレクト URL に追加するフラグメント。 フラグメントは、#の後に来る URL の一部です。 #を含めないでください。

適用対象