ArmCdnModelFactory.DeliveryRuleCondition(String) Method
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.
A condition for the delivery rule. Please note this is the abstract base class. The derived classes available for instantiation are: DeliveryRuleClientPortCondition, DeliveryRuleCookiesCondition, DeliveryRuleHostNameCondition, DeliveryRuleHttpVersionCondition, DeliveryRuleIsDeviceCondition, DeliveryRulePostArgsCondition, DeliveryRuleQueryStringCondition, DeliveryRuleRemoteAddressCondition, DeliveryRuleRequestBodyCondition, DeliveryRuleRequestHeaderCondition, DeliveryRuleRequestMethodCondition, DeliveryRuleRequestSchemeCondition, DeliveryRuleRequestUriCondition, DeliveryRuleServerPortCondition, DeliveryRuleSocketAddressCondition, DeliveryRuleSslProtocolCondition, DeliveryRuleUriFileExtensionCondition, DeliveryRuleUriFileNameCondition, and DeliveryRuleUriPathCondition.
public static Azure.ResourceManager.Cdn.Models.DeliveryRuleCondition DeliveryRuleCondition(string name = default);
static member DeliveryRuleCondition : string -> Azure.ResourceManager.Cdn.Models.DeliveryRuleCondition
Public Shared Function DeliveryRuleCondition (Optional name As String = Nothing) As DeliveryRuleCondition
Parameters
- name
- String
The name of the condition for the delivery rule.
Returns
A new DeliveryRuleCondition instance for mocking.