/// <summary> /// Initializes a new instance of the ForwardingConfiguration class. /// </summary> /// <param name="customForwardingPath">A custom path used to rewrite /// resource paths matched by this rule. Leave empty to use incoming /// path.</param> /// <param name="forwardingProtocol">Protocol this rule will use when /// forwarding traffic to backends. Possible values include: /// 'HttpOnly', 'HttpsOnly', 'MatchRequest'</param> /// <param name="cacheConfiguration">The caching configuration /// associated with this rule.</param> /// <param name="backendPool">A reference to the BackendPool which this /// rule routes to.</param> public ForwardingConfiguration(string customForwardingPath = default(string), string forwardingProtocol = default(string), CacheConfiguration cacheConfiguration = default(CacheConfiguration), SubResource backendPool = default(SubResource)) { CustomForwardingPath = customForwardingPath; ForwardingProtocol = forwardingProtocol; CacheConfiguration = cacheConfiguration; BackendPool = backendPool; CustomInit(); }
/// <summary> /// Initializes a new instance of the RoutingRuleUpdateParameters /// class. /// </summary> /// <param name="frontendEndpoints">Frontend endpoints associated with /// this rule</param> /// <param name="acceptedProtocols">Protocol schemes to match for this /// rule</param> /// <param name="patternsToMatch">The route patterns of the /// rule.</param> /// <param name="customForwardingPath">A custom path used to rewrite /// resource paths matched by this rule. Leave empty to use incoming /// path.</param> /// <param name="forwardingProtocol">Protocol this rule will use when /// forwarding traffic to backends. Possible values include: /// 'HttpOnly', 'HttpsOnly', 'MatchRequest'</param> /// <param name="cacheConfiguration">The caching configuration /// associated with this rule.</param> /// <param name="backendPool">A reference to the BackendPool which this /// rule routes to.</param> /// <param name="enabledState">Whether to enable use of this rule. /// Permitted values are 'Enabled' or 'Disabled'. Possible values /// include: 'Enabled', 'Disabled'</param> public RoutingRuleUpdateParameters(IList <SubResource> frontendEndpoints = default(IList <SubResource>), IList <string> acceptedProtocols = default(IList <string>), IList <string> patternsToMatch = default(IList <string>), string customForwardingPath = default(string), string forwardingProtocol = default(string), CacheConfiguration cacheConfiguration = default(CacheConfiguration), SubResource backendPool = default(SubResource), string enabledState = default(string)) { FrontendEndpoints = frontendEndpoints; AcceptedProtocols = acceptedProtocols; PatternsToMatch = patternsToMatch; CustomForwardingPath = customForwardingPath; ForwardingProtocol = forwardingProtocol; CacheConfiguration = cacheConfiguration; BackendPool = backendPool; EnabledState = enabledState; CustomInit(); }