你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
UrlRedirectActionParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the parameters for the url redirect action.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.UrlRedirectActionParametersTypeConverter))]
public class UrlRedirectActionParameters : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IUrlRedirectActionParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.UrlRedirectActionParametersTypeConverter))>]
type UrlRedirectActionParameters = class
interface IUrlRedirectActionParameters
interface IJsonSerializable
Public Class UrlRedirectActionParameters
Implements IUrlRedirectActionParameters
- Inheritance
-
UrlRedirectActionParameters
- Attributes
- Implements
Constructors
UrlRedirectActionParameters() |
Creates an new UrlRedirectActionParameters instance. |
Properties
CustomFragment |
Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #. |
CustomHostname |
Host to redirect. Leave empty to use the incoming host as the destination host. |
CustomPath |
The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path. |
CustomQueryString | |
DestinationProtocol |
Protocol to use for the redirect. The default value is MatchRequest |
RedirectType |
The redirect type the rule will use when redirecting traffic. |
TypeName |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of UrlRedirectActionParameters. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of UrlRedirectActionParameters. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IUrlRedirectActionParameters. |
FromJsonString(String) |
Creates a new instance of UrlRedirectActionParameters, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of UrlRedirectActionParameters into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |