Uses of Class
com.azure.resourcemanager.cdn.models.PolicySettings
Packages that use PolicySettings
Package
Description
Package containing the inner data models for CdnManagementClient.
Package containing the data models for CdnManagementClient.
-
Uses of PolicySettings in com.azure.resourcemanager.cdn.fluent.models
Methods in com.azure.resourcemanager.cdn.fluent.models that return PolicySettingsModifier and TypeMethodDescriptionCdnWebApplicationFirewallPolicyInner.policySettings()Get the policySettings property: Describes policySettings for policy.CdnWebApplicationFirewallPolicyProperties.policySettings()Get the policySettings property: Describes policySettings for policy.Methods in com.azure.resourcemanager.cdn.fluent.models with parameters of type PolicySettingsModifier and TypeMethodDescriptionCdnWebApplicationFirewallPolicyInner.withPolicySettings(PolicySettings policySettings) Set the policySettings property: Describes policySettings for policy.CdnWebApplicationFirewallPolicyProperties.withPolicySettings(PolicySettings policySettings) Set the policySettings property: Describes policySettings for policy. -
Uses of PolicySettings in com.azure.resourcemanager.cdn.models
Methods in com.azure.resourcemanager.cdn.models that return PolicySettingsModifier and TypeMethodDescriptionstatic PolicySettingsPolicySettings.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PolicySettings from the JsonReader.PolicySettings.withDefaultCustomBlockResponseBody(String defaultCustomBlockResponseBody) Set the defaultCustomBlockResponseBody property: If the action type is block, customer can override the response body.PolicySettings.withDefaultCustomBlockResponseStatusCode(PolicySettingsDefaultCustomBlockResponseStatusCode defaultCustomBlockResponseStatusCode) Set the defaultCustomBlockResponseStatusCode property: If the action type is block, this field defines the default customer overridable http response status code.PolicySettings.withDefaultRedirectUrl(String defaultRedirectUrl) Set the defaultRedirectUrl property: If action type is redirect, this field represents the default redirect URL for the client.PolicySettings.withEnabledState(PolicyEnabledState enabledState) Set the enabledState property: describes if the policy is in enabled state or disabled state.PolicySettings.withMode(PolicyMode mode) Set the mode property: Describes if it is in detection mode or prevention mode at policy level.