UrlRewriteAction 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 url rewrite action for the delivery rule.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.UrlRewriteActionTypeConverter))]
public class UrlRewriteAction : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IUrlRewriteAction, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.UrlRewriteActionTypeConverter))>]
type UrlRewriteAction = class
interface IUrlRewriteAction
interface IJsonSerializable
interface IDeliveryRuleAction1
interface IValidates
Public Class UrlRewriteAction
Implements IUrlRewriteAction, IValidates
- Inheritance
-
UrlRewriteAction
- Attributes
- Implements
Constructors
UrlRewriteAction() |
Creates an new UrlRewriteAction instance. |
Properties
Name |
The name of the action for the delivery rule. |
ParameterDestination |
Define the relative URL to which the above requests will be rewritten by. |
ParameterPreserveUnmatchedPath |
Whether to preserve unmatched path. Default value is true. |
ParameterSourcePattern |
define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched. |
ParameterTypeName |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of UrlRewriteAction. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of UrlRewriteAction. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IUrlRewriteAction. |
FromJsonString(String) |
Creates a new instance of UrlRewriteAction, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of UrlRewriteAction into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |