// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package storage

import (
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps"
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime/core"
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime/secrets"
	"github.com/rotisserie/eris"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/runtime/schema"
)

// +kubebuilder:rbac:groups=cdn.azure.com,resources=rules,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups=cdn.azure.com,resources={rules/status,rules/finalizers},verbs=get;update;patch

// +kubebuilder:object:root=true
// +kubebuilder:resource:categories={azure,cdn}
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
// Storage version of v1api20230501.Rule
// Generator information:
// - Generated from: /cdn/resource-manager/Microsoft.Cdn/Cdn/stable/2023-05-01/afdx.json
// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
type Rule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Rule_Spec   `json:"spec,omitempty"`
	Status            Rule_STATUS `json:"status,omitempty"`
}

var _ conditions.Conditioner = &Rule{}

// GetConditions returns the conditions of the resource
func (rule *Rule) GetConditions() conditions.Conditions {
	return rule.Status.Conditions
}

// SetConditions sets the conditions on the resource status
func (rule *Rule) SetConditions(conditions conditions.Conditions) {
	rule.Status.Conditions = conditions
}

var _ configmaps.Exporter = &Rule{}

// ConfigMapDestinationExpressions returns the Spec.OperatorSpec.ConfigMapExpressions property
func (rule *Rule) ConfigMapDestinationExpressions() []*core.DestinationExpression {
	if rule.Spec.OperatorSpec == nil {
		return nil
	}
	return rule.Spec.OperatorSpec.ConfigMapExpressions
}

var _ secrets.Exporter = &Rule{}

// SecretDestinationExpressions returns the Spec.OperatorSpec.SecretExpressions property
func (rule *Rule) SecretDestinationExpressions() []*core.DestinationExpression {
	if rule.Spec.OperatorSpec == nil {
		return nil
	}
	return rule.Spec.OperatorSpec.SecretExpressions
}

var _ genruntime.KubernetesResource = &Rule{}

// AzureName returns the Azure name of the resource
func (rule *Rule) AzureName() string {
	return rule.Spec.AzureName
}

// GetAPIVersion returns the ARM API version of the resource. This is always "2023-05-01"
func (rule Rule) GetAPIVersion() string {
	return "2023-05-01"
}

// GetResourceScope returns the scope of the resource
func (rule *Rule) GetResourceScope() genruntime.ResourceScope {
	return genruntime.ResourceScopeResourceGroup
}

// GetSpec returns the specification of this resource
func (rule *Rule) GetSpec() genruntime.ConvertibleSpec {
	return &rule.Spec
}

// GetStatus returns the status of this resource
func (rule *Rule) GetStatus() genruntime.ConvertibleStatus {
	return &rule.Status
}

// GetSupportedOperations returns the operations supported by the resource
func (rule *Rule) GetSupportedOperations() []genruntime.ResourceOperation {
	return []genruntime.ResourceOperation{
		genruntime.ResourceOperationDelete,
		genruntime.ResourceOperationGet,
		genruntime.ResourceOperationPut,
	}
}

// GetType returns the ARM Type of the resource. This is always "Microsoft.Cdn/profiles/ruleSets/rules"
func (rule *Rule) GetType() string {
	return "Microsoft.Cdn/profiles/ruleSets/rules"
}

// NewEmptyStatus returns a new empty (blank) status
func (rule *Rule) NewEmptyStatus() genruntime.ConvertibleStatus {
	return &Rule_STATUS{}
}

// Owner returns the ResourceReference of the owner
func (rule *Rule) Owner() *genruntime.ResourceReference {
	if rule.Spec.Owner == nil {
		return nil
	}

	group, kind := genruntime.LookupOwnerGroupKind(rule.Spec)
	return rule.Spec.Owner.AsResourceReference(group, kind)
}

// SetStatus sets the status of this resource
func (rule *Rule) SetStatus(status genruntime.ConvertibleStatus) error {
	// If we have exactly the right type of status, assign it
	if st, ok := status.(*Rule_STATUS); ok {
		rule.Status = *st
		return nil
	}

	// Convert status to required version
	var st Rule_STATUS
	err := status.ConvertStatusTo(&st)
	if err != nil {
		return eris.Wrap(err, "failed to convert status")
	}

	rule.Status = st
	return nil
}

// Hub marks that this Rule is the hub type for conversion
func (rule *Rule) Hub() {}

// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (rule *Rule) OriginalGVK() *schema.GroupVersionKind {
	return &schema.GroupVersionKind{
		Group:   GroupVersion.Group,
		Version: rule.Spec.OriginalVersion,
		Kind:    "Rule",
	}
}

// +kubebuilder:object:root=true
// Storage version of v1api20230501.Rule
// Generator information:
// - Generated from: /cdn/resource-manager/Microsoft.Cdn/Cdn/stable/2023-05-01/afdx.json
// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/ruleSets/{ruleSetName}/rules/{ruleName}
type RuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Rule `json:"items"`
}

// Storage version of v1api20230501.Rule_Spec
type Rule_Spec struct {
	Actions []DeliveryRuleAction `json:"actions,omitempty"`

	// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
	// doesn't have to be.
	AzureName               string            `json:"azureName,omitempty"`
	MatchProcessingBehavior *string           `json:"matchProcessingBehavior,omitempty"`
	OperatorSpec            *RuleOperatorSpec `json:"operatorSpec,omitempty"`
	Order                   *int              `json:"order,omitempty"`
	OriginalVersion         string            `json:"originalVersion,omitempty"`

	// +kubebuilder:validation:Required
	// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
	// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
	// reference to a cdn.azure.com/RuleSet resource
	Owner          *genruntime.KnownResourceReference `group:"cdn.azure.com" json:"owner,omitempty" kind:"RuleSet"`
	PropertyBag    genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	RuleConditions []DeliveryRuleCondition            `json:"ruleconditions,omitempty"`
}

var _ genruntime.ConvertibleSpec = &Rule_Spec{}

// ConvertSpecFrom populates our Rule_Spec from the provided source
func (rule *Rule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
	if source == rule {
		return eris.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec")
	}

	return source.ConvertSpecTo(rule)
}

// ConvertSpecTo populates the provided destination from our Rule_Spec
func (rule *Rule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
	if destination == rule {
		return eris.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec")
	}

	return destination.ConvertSpecFrom(rule)
}

// Storage version of v1api20230501.Rule_STATUS
type Rule_STATUS struct {
	Actions                 []DeliveryRuleAction_STATUS    `json:"actions,omitempty"`
	Conditions              []conditions.Condition         `json:"conditions,omitempty"`
	DeploymentStatus        *string                        `json:"deploymentStatus,omitempty"`
	Id                      *string                        `json:"id,omitempty"`
	MatchProcessingBehavior *string                        `json:"matchProcessingBehavior,omitempty"`
	Name                    *string                        `json:"name,omitempty"`
	Order                   *int                           `json:"order,omitempty"`
	PropertyBag             genruntime.PropertyBag         `json:"$propertyBag,omitempty"`
	ProvisioningState       *string                        `json:"provisioningState,omitempty"`
	RuleConditions          []DeliveryRuleCondition_STATUS `json:"ruleconditions,omitempty"`
	RuleSetName             *string                        `json:"ruleSetName,omitempty"`
	SystemData              *SystemData_STATUS             `json:"systemData,omitempty"`
	Type                    *string                        `json:"type,omitempty"`
}

var _ genruntime.ConvertibleStatus = &Rule_STATUS{}

// ConvertStatusFrom populates our Rule_STATUS from the provided source
func (rule *Rule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
	if source == rule {
		return eris.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus")
	}

	return source.ConvertStatusTo(rule)
}

// ConvertStatusTo populates the provided destination from our Rule_STATUS
func (rule *Rule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
	if destination == rule {
		return eris.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus")
	}

	return destination.ConvertStatusFrom(rule)
}

// Storage version of v1api20230501.DeliveryRuleAction
// An action for the delivery rule.
type DeliveryRuleAction struct {
	CacheExpiration            *DeliveryRuleCacheExpirationAction            `json:"cacheExpiration,omitempty"`
	CacheKeyQueryString        *DeliveryRuleCacheKeyQueryStringAction        `json:"cacheKeyQueryString,omitempty"`
	ModifyRequestHeader        *DeliveryRuleRequestHeaderAction              `json:"modifyRequestHeader,omitempty"`
	ModifyResponseHeader       *DeliveryRuleResponseHeaderAction             `json:"modifyResponseHeader,omitempty"`
	OriginGroupOverride        *OriginGroupOverrideAction                    `json:"originGroupOverride,omitempty"`
	PropertyBag                genruntime.PropertyBag                        `json:"$propertyBag,omitempty"`
	RouteConfigurationOverride *DeliveryRuleRouteConfigurationOverrideAction `json:"routeConfigurationOverride,omitempty"`
	UrlRedirect                *UrlRedirectAction                            `json:"urlRedirect,omitempty"`
	UrlRewrite                 *UrlRewriteAction                             `json:"urlRewrite,omitempty"`
	UrlSigning                 *UrlSigningAction                             `json:"urlSigning,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleAction_STATUS
// An action for the delivery rule.
type DeliveryRuleAction_STATUS struct {
	CacheExpiration            *DeliveryRuleCacheExpirationAction_STATUS            `json:"cacheExpiration,omitempty"`
	CacheKeyQueryString        *DeliveryRuleCacheKeyQueryStringAction_STATUS        `json:"cacheKeyQueryString,omitempty"`
	ModifyRequestHeader        *DeliveryRuleRequestHeaderAction_STATUS              `json:"modifyRequestHeader,omitempty"`
	ModifyResponseHeader       *DeliveryRuleResponseHeaderAction_STATUS             `json:"modifyResponseHeader,omitempty"`
	OriginGroupOverride        *OriginGroupOverrideAction_STATUS                    `json:"originGroupOverride,omitempty"`
	PropertyBag                genruntime.PropertyBag                               `json:"$propertyBag,omitempty"`
	RouteConfigurationOverride *DeliveryRuleRouteConfigurationOverrideAction_STATUS `json:"routeConfigurationOverride,omitempty"`
	UrlRedirect                *UrlRedirectAction_STATUS                            `json:"urlRedirect,omitempty"`
	UrlRewrite                 *UrlRewriteAction_STATUS                             `json:"urlRewrite,omitempty"`
	UrlSigning                 *UrlSigningAction_STATUS                             `json:"urlSigning,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCondition
// A condition for the delivery rule.
type DeliveryRuleCondition struct {
	ClientPort       *DeliveryRuleClientPortCondition       `json:"clientPort,omitempty"`
	Cookies          *DeliveryRuleCookiesCondition          `json:"cookies,omitempty"`
	HostName         *DeliveryRuleHostNameCondition         `json:"hostName,omitempty"`
	HttpVersion      *DeliveryRuleHttpVersionCondition      `json:"httpVersion,omitempty"`
	IsDevice         *DeliveryRuleIsDeviceCondition         `json:"isDevice,omitempty"`
	PostArgs         *DeliveryRulePostArgsCondition         `json:"postArgs,omitempty"`
	PropertyBag      genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
	QueryString      *DeliveryRuleQueryStringCondition      `json:"queryString,omitempty"`
	RemoteAddress    *DeliveryRuleRemoteAddressCondition    `json:"remoteAddress,omitempty"`
	RequestBody      *DeliveryRuleRequestBodyCondition      `json:"requestBody,omitempty"`
	RequestHeader    *DeliveryRuleRequestHeaderCondition    `json:"requestHeader,omitempty"`
	RequestMethod    *DeliveryRuleRequestMethodCondition    `json:"requestMethod,omitempty"`
	RequestScheme    *DeliveryRuleRequestSchemeCondition    `json:"requestScheme,omitempty"`
	RequestUri       *DeliveryRuleRequestUriCondition       `json:"requestUri,omitempty"`
	ServerPort       *DeliveryRuleServerPortCondition       `json:"serverPort,omitempty"`
	SocketAddr       *DeliveryRuleSocketAddrCondition       `json:"socketAddr,omitempty"`
	SslProtocol      *DeliveryRuleSslProtocolCondition      `json:"sslProtocol,omitempty"`
	UrlFileExtension *DeliveryRuleUrlFileExtensionCondition `json:"urlFileExtension,omitempty"`
	UrlFileName      *DeliveryRuleUrlFileNameCondition      `json:"urlFileName,omitempty"`
	UrlPath          *DeliveryRuleUrlPathCondition          `json:"urlPath,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCondition_STATUS
// A condition for the delivery rule.
type DeliveryRuleCondition_STATUS struct {
	ClientPort       *DeliveryRuleClientPortCondition_STATUS       `json:"clientPort,omitempty"`
	Cookies          *DeliveryRuleCookiesCondition_STATUS          `json:"cookies,omitempty"`
	HostName         *DeliveryRuleHostNameCondition_STATUS         `json:"hostName,omitempty"`
	HttpVersion      *DeliveryRuleHttpVersionCondition_STATUS      `json:"httpVersion,omitempty"`
	IsDevice         *DeliveryRuleIsDeviceCondition_STATUS         `json:"isDevice,omitempty"`
	PostArgs         *DeliveryRulePostArgsCondition_STATUS         `json:"postArgs,omitempty"`
	PropertyBag      genruntime.PropertyBag                        `json:"$propertyBag,omitempty"`
	QueryString      *DeliveryRuleQueryStringCondition_STATUS      `json:"queryString,omitempty"`
	RemoteAddress    *DeliveryRuleRemoteAddressCondition_STATUS    `json:"remoteAddress,omitempty"`
	RequestBody      *DeliveryRuleRequestBodyCondition_STATUS      `json:"requestBody,omitempty"`
	RequestHeader    *DeliveryRuleRequestHeaderCondition_STATUS    `json:"requestHeader,omitempty"`
	RequestMethod    *DeliveryRuleRequestMethodCondition_STATUS    `json:"requestMethod,omitempty"`
	RequestScheme    *DeliveryRuleRequestSchemeCondition_STATUS    `json:"requestScheme,omitempty"`
	RequestUri       *DeliveryRuleRequestUriCondition_STATUS       `json:"requestUri,omitempty"`
	ServerPort       *DeliveryRuleServerPortCondition_STATUS       `json:"serverPort,omitempty"`
	SocketAddr       *DeliveryRuleSocketAddrCondition_STATUS       `json:"socketAddr,omitempty"`
	SslProtocol      *DeliveryRuleSslProtocolCondition_STATUS      `json:"sslProtocol,omitempty"`
	UrlFileExtension *DeliveryRuleUrlFileExtensionCondition_STATUS `json:"urlFileExtension,omitempty"`
	UrlFileName      *DeliveryRuleUrlFileNameCondition_STATUS      `json:"urlFileName,omitempty"`
	UrlPath          *DeliveryRuleUrlPathCondition_STATUS          `json:"urlPath,omitempty"`
}

// Storage version of v1api20230501.RuleOperatorSpec
// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
type RuleOperatorSpec struct {
	ConfigMapExpressions []*core.DestinationExpression `json:"configMapExpressions,omitempty"`
	PropertyBag          genruntime.PropertyBag        `json:"$propertyBag,omitempty"`
	SecretExpressions    []*core.DestinationExpression `json:"secretExpressions,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCacheExpirationAction
type DeliveryRuleCacheExpirationAction struct {
	Name        *string                          `json:"name,omitempty"`
	Parameters  *CacheExpirationActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag           `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCacheExpirationAction_STATUS
type DeliveryRuleCacheExpirationAction_STATUS struct {
	Name        *string                                 `json:"name,omitempty"`
	Parameters  *CacheExpirationActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                  `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCacheKeyQueryStringAction
type DeliveryRuleCacheKeyQueryStringAction struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *CacheKeyQueryStringActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCacheKeyQueryStringAction_STATUS
type DeliveryRuleCacheKeyQueryStringAction_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *CacheKeyQueryStringActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleClientPortCondition
type DeliveryRuleClientPortCondition struct {
	Name        *string                             `json:"name,omitempty"`
	Parameters  *ClientPortMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag              `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleClientPortCondition_STATUS
type DeliveryRuleClientPortCondition_STATUS struct {
	Name        *string                                    `json:"name,omitempty"`
	Parameters  *ClientPortMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                     `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCookiesCondition
type DeliveryRuleCookiesCondition struct {
	Name        *string                          `json:"name,omitempty"`
	Parameters  *CookiesMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag           `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleCookiesCondition_STATUS
type DeliveryRuleCookiesCondition_STATUS struct {
	Name        *string                                 `json:"name,omitempty"`
	Parameters  *CookiesMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                  `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleHostNameCondition
type DeliveryRuleHostNameCondition struct {
	Name        *string                           `json:"name,omitempty"`
	Parameters  *HostNameMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag            `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleHostNameCondition_STATUS
type DeliveryRuleHostNameCondition_STATUS struct {
	Name        *string                                  `json:"name,omitempty"`
	Parameters  *HostNameMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                   `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleHttpVersionCondition
type DeliveryRuleHttpVersionCondition struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *HttpVersionMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleHttpVersionCondition_STATUS
type DeliveryRuleHttpVersionCondition_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *HttpVersionMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleIsDeviceCondition
type DeliveryRuleIsDeviceCondition struct {
	Name        *string                           `json:"name,omitempty"`
	Parameters  *IsDeviceMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag            `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleIsDeviceCondition_STATUS
type DeliveryRuleIsDeviceCondition_STATUS struct {
	Name        *string                                  `json:"name,omitempty"`
	Parameters  *IsDeviceMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                   `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRulePostArgsCondition
type DeliveryRulePostArgsCondition struct {
	Name        *string                           `json:"name,omitempty"`
	Parameters  *PostArgsMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag            `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRulePostArgsCondition_STATUS
type DeliveryRulePostArgsCondition_STATUS struct {
	Name        *string                                  `json:"name,omitempty"`
	Parameters  *PostArgsMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                   `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleQueryStringCondition
type DeliveryRuleQueryStringCondition struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *QueryStringMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleQueryStringCondition_STATUS
type DeliveryRuleQueryStringCondition_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *QueryStringMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRemoteAddressCondition
type DeliveryRuleRemoteAddressCondition struct {
	Name        *string                                `json:"name,omitempty"`
	Parameters  *RemoteAddressMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRemoteAddressCondition_STATUS
type DeliveryRuleRemoteAddressCondition_STATUS struct {
	Name        *string                                       `json:"name,omitempty"`
	Parameters  *RemoteAddressMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                        `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestBodyCondition
type DeliveryRuleRequestBodyCondition struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *RequestBodyMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestBodyCondition_STATUS
type DeliveryRuleRequestBodyCondition_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *RequestBodyMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestHeaderAction
type DeliveryRuleRequestHeaderAction struct {
	Name        *string                 `json:"name,omitempty"`
	Parameters  *HeaderActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag  `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestHeaderAction_STATUS
type DeliveryRuleRequestHeaderAction_STATUS struct {
	Name        *string                        `json:"name,omitempty"`
	Parameters  *HeaderActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag         `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestHeaderCondition
type DeliveryRuleRequestHeaderCondition struct {
	Name        *string                                `json:"name,omitempty"`
	Parameters  *RequestHeaderMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestHeaderCondition_STATUS
type DeliveryRuleRequestHeaderCondition_STATUS struct {
	Name        *string                                       `json:"name,omitempty"`
	Parameters  *RequestHeaderMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                        `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestMethodCondition
type DeliveryRuleRequestMethodCondition struct {
	Name        *string                                `json:"name,omitempty"`
	Parameters  *RequestMethodMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestMethodCondition_STATUS
type DeliveryRuleRequestMethodCondition_STATUS struct {
	Name        *string                                       `json:"name,omitempty"`
	Parameters  *RequestMethodMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                        `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestSchemeCondition
type DeliveryRuleRequestSchemeCondition struct {
	Name        *string                                `json:"name,omitempty"`
	Parameters  *RequestSchemeMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                 `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestSchemeCondition_STATUS
type DeliveryRuleRequestSchemeCondition_STATUS struct {
	Name        *string                                       `json:"name,omitempty"`
	Parameters  *RequestSchemeMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                        `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestUriCondition
type DeliveryRuleRequestUriCondition struct {
	Name        *string                             `json:"name,omitempty"`
	Parameters  *RequestUriMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag              `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRequestUriCondition_STATUS
type DeliveryRuleRequestUriCondition_STATUS struct {
	Name        *string                                    `json:"name,omitempty"`
	Parameters  *RequestUriMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                     `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleResponseHeaderAction
type DeliveryRuleResponseHeaderAction struct {
	Name        *string                 `json:"name,omitempty"`
	Parameters  *HeaderActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag  `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleResponseHeaderAction_STATUS
type DeliveryRuleResponseHeaderAction_STATUS struct {
	Name        *string                        `json:"name,omitempty"`
	Parameters  *HeaderActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag         `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRouteConfigurationOverrideAction
type DeliveryRuleRouteConfigurationOverrideAction struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *RouteConfigurationOverrideActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleRouteConfigurationOverrideAction_STATUS
type DeliveryRuleRouteConfigurationOverrideAction_STATUS struct {
	Name        *string                                            `json:"name,omitempty"`
	Parameters  *RouteConfigurationOverrideActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                             `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleServerPortCondition
type DeliveryRuleServerPortCondition struct {
	Name        *string                             `json:"name,omitempty"`
	Parameters  *ServerPortMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag              `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleServerPortCondition_STATUS
type DeliveryRuleServerPortCondition_STATUS struct {
	Name        *string                                    `json:"name,omitempty"`
	Parameters  *ServerPortMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                     `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleSocketAddrCondition
type DeliveryRuleSocketAddrCondition struct {
	Name        *string                             `json:"name,omitempty"`
	Parameters  *SocketAddrMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag              `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleSocketAddrCondition_STATUS
type DeliveryRuleSocketAddrCondition_STATUS struct {
	Name        *string                                    `json:"name,omitempty"`
	Parameters  *SocketAddrMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                     `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleSslProtocolCondition
type DeliveryRuleSslProtocolCondition struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *SslProtocolMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleSslProtocolCondition_STATUS
type DeliveryRuleSslProtocolCondition_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *SslProtocolMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleUrlFileExtensionCondition
type DeliveryRuleUrlFileExtensionCondition struct {
	Name        *string                                   `json:"name,omitempty"`
	Parameters  *UrlFileExtensionMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                    `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleUrlFileExtensionCondition_STATUS
type DeliveryRuleUrlFileExtensionCondition_STATUS struct {
	Name        *string                                          `json:"name,omitempty"`
	Parameters  *UrlFileExtensionMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                           `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleUrlFileNameCondition
type DeliveryRuleUrlFileNameCondition struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *UrlFileNameMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleUrlFileNameCondition_STATUS
type DeliveryRuleUrlFileNameCondition_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *UrlFileNameMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleUrlPathCondition
type DeliveryRuleUrlPathCondition struct {
	Name        *string                          `json:"name,omitempty"`
	Parameters  *UrlPathMatchConditionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag           `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.DeliveryRuleUrlPathCondition_STATUS
type DeliveryRuleUrlPathCondition_STATUS struct {
	Name        *string                                 `json:"name,omitempty"`
	Parameters  *UrlPathMatchConditionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                  `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.OriginGroupOverrideAction
type OriginGroupOverrideAction struct {
	Name        *string                              `json:"name,omitempty"`
	Parameters  *OriginGroupOverrideActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag               `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.OriginGroupOverrideAction_STATUS
type OriginGroupOverrideAction_STATUS struct {
	Name        *string                                     `json:"name,omitempty"`
	Parameters  *OriginGroupOverrideActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag                      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlRedirectAction
type UrlRedirectAction struct {
	Name        *string                      `json:"name,omitempty"`
	Parameters  *UrlRedirectActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag       `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlRedirectAction_STATUS
type UrlRedirectAction_STATUS struct {
	Name        *string                             `json:"name,omitempty"`
	Parameters  *UrlRedirectActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag              `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlRewriteAction
type UrlRewriteAction struct {
	Name        *string                     `json:"name,omitempty"`
	Parameters  *UrlRewriteActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlRewriteAction_STATUS
type UrlRewriteAction_STATUS struct {
	Name        *string                            `json:"name,omitempty"`
	Parameters  *UrlRewriteActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlSigningAction
type UrlSigningAction struct {
	Name        *string                     `json:"name,omitempty"`
	Parameters  *UrlSigningActionParameters `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag      `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlSigningAction_STATUS
type UrlSigningAction_STATUS struct {
	Name        *string                            `json:"name,omitempty"`
	Parameters  *UrlSigningActionParameters_STATUS `json:"parameters,omitempty"`
	PropertyBag genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.CacheExpirationActionParameters
// Defines the parameters for the cache expiration action.
type CacheExpirationActionParameters struct {
	CacheBehavior *string                `json:"cacheBehavior,omitempty"`
	CacheDuration *string                `json:"cacheDuration,omitempty"`
	CacheType     *string                `json:"cacheType,omitempty"`
	PropertyBag   genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	TypeName      *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.CacheExpirationActionParameters_STATUS
// Defines the parameters for the cache expiration action.
type CacheExpirationActionParameters_STATUS struct {
	CacheBehavior *string                `json:"cacheBehavior,omitempty"`
	CacheDuration *string                `json:"cacheDuration,omitempty"`
	CacheType     *string                `json:"cacheType,omitempty"`
	PropertyBag   genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	TypeName      *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.CacheKeyQueryStringActionParameters
// Defines the parameters for the cache-key query string action.
type CacheKeyQueryStringActionParameters struct {
	PropertyBag         genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	QueryParameters     *string                `json:"queryParameters,omitempty"`
	QueryStringBehavior *string                `json:"queryStringBehavior,omitempty"`
	TypeName            *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.CacheKeyQueryStringActionParameters_STATUS
// Defines the parameters for the cache-key query string action.
type CacheKeyQueryStringActionParameters_STATUS struct {
	PropertyBag         genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	QueryParameters     *string                `json:"queryParameters,omitempty"`
	QueryStringBehavior *string                `json:"queryStringBehavior,omitempty"`
	TypeName            *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.ClientPortMatchConditionParameters
// Defines the parameters for ClientPort match conditions
type ClientPortMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.ClientPortMatchConditionParameters_STATUS
// Defines the parameters for ClientPort match conditions
type ClientPortMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.CookiesMatchConditionParameters
// Defines the parameters for Cookies match conditions
type CookiesMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Selector        *string                `json:"selector,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.CookiesMatchConditionParameters_STATUS
// Defines the parameters for Cookies match conditions
type CookiesMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Selector        *string                `json:"selector,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.HeaderActionParameters
// Defines the parameters for the request header action.
type HeaderActionParameters struct {
	HeaderAction *string                `json:"headerAction,omitempty"`
	HeaderName   *string                `json:"headerName,omitempty"`
	PropertyBag  genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	TypeName     *string                `json:"typeName,omitempty"`
	Value        *string                `json:"value,omitempty"`
}

// Storage version of v1api20230501.HeaderActionParameters_STATUS
// Defines the parameters for the request header action.
type HeaderActionParameters_STATUS struct {
	HeaderAction *string                `json:"headerAction,omitempty"`
	HeaderName   *string                `json:"headerName,omitempty"`
	PropertyBag  genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	TypeName     *string                `json:"typeName,omitempty"`
	Value        *string                `json:"value,omitempty"`
}

// Storage version of v1api20230501.HostNameMatchConditionParameters
// Defines the parameters for HostName match conditions
type HostNameMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.HostNameMatchConditionParameters_STATUS
// Defines the parameters for HostName match conditions
type HostNameMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.HttpVersionMatchConditionParameters
// Defines the parameters for HttpVersion match conditions
type HttpVersionMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.HttpVersionMatchConditionParameters_STATUS
// Defines the parameters for HttpVersion match conditions
type HttpVersionMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.IsDeviceMatchConditionParameters
// Defines the parameters for IsDevice match conditions
type IsDeviceMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.IsDeviceMatchConditionParameters_STATUS
// Defines the parameters for IsDevice match conditions
type IsDeviceMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.OriginGroupOverrideActionParameters
// Defines the parameters for the origin group override action.
type OriginGroupOverrideActionParameters struct {
	OriginGroup *ResourceReference     `json:"originGroup,omitempty"`
	PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	TypeName    *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.OriginGroupOverrideActionParameters_STATUS
// Defines the parameters for the origin group override action.
type OriginGroupOverrideActionParameters_STATUS struct {
	OriginGroup *ResourceReference_STATUS `json:"originGroup,omitempty"`
	PropertyBag genruntime.PropertyBag    `json:"$propertyBag,omitempty"`
	TypeName    *string                   `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.PostArgsMatchConditionParameters
// Defines the parameters for PostArgs match conditions
type PostArgsMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Selector        *string                `json:"selector,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.PostArgsMatchConditionParameters_STATUS
// Defines the parameters for PostArgs match conditions
type PostArgsMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Selector        *string                `json:"selector,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.QueryStringMatchConditionParameters
// Defines the parameters for QueryString match conditions
type QueryStringMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.QueryStringMatchConditionParameters_STATUS
// Defines the parameters for QueryString match conditions
type QueryStringMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RemoteAddressMatchConditionParameters
// Defines the parameters for RemoteAddress match conditions
type RemoteAddressMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RemoteAddressMatchConditionParameters_STATUS
// Defines the parameters for RemoteAddress match conditions
type RemoteAddressMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestBodyMatchConditionParameters
// Defines the parameters for RequestBody match conditions
type RequestBodyMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestBodyMatchConditionParameters_STATUS
// Defines the parameters for RequestBody match conditions
type RequestBodyMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestHeaderMatchConditionParameters
// Defines the parameters for RequestHeader match conditions
type RequestHeaderMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Selector        *string                `json:"selector,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestHeaderMatchConditionParameters_STATUS
// Defines the parameters for RequestHeader match conditions
type RequestHeaderMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Selector        *string                `json:"selector,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestMethodMatchConditionParameters
// Defines the parameters for RequestMethod match conditions
type RequestMethodMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestMethodMatchConditionParameters_STATUS
// Defines the parameters for RequestMethod match conditions
type RequestMethodMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestSchemeMatchConditionParameters
// Defines the parameters for RequestScheme match conditions
type RequestSchemeMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestSchemeMatchConditionParameters_STATUS
// Defines the parameters for RequestScheme match conditions
type RequestSchemeMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestUriMatchConditionParameters
// Defines the parameters for RequestUri match conditions
type RequestUriMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RequestUriMatchConditionParameters_STATUS
// Defines the parameters for RequestUri match conditions
type RequestUriMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RouteConfigurationOverrideActionParameters
// Defines the parameters for the route configuration override action.
type RouteConfigurationOverrideActionParameters struct {
	CacheConfiguration  *CacheConfiguration    `json:"cacheConfiguration,omitempty"`
	OriginGroupOverride *OriginGroupOverride   `json:"originGroupOverride,omitempty"`
	PropertyBag         genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	TypeName            *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.RouteConfigurationOverrideActionParameters_STATUS
// Defines the parameters for the route configuration override action.
type RouteConfigurationOverrideActionParameters_STATUS struct {
	CacheConfiguration  *CacheConfiguration_STATUS  `json:"cacheConfiguration,omitempty"`
	OriginGroupOverride *OriginGroupOverride_STATUS `json:"originGroupOverride,omitempty"`
	PropertyBag         genruntime.PropertyBag      `json:"$propertyBag,omitempty"`
	TypeName            *string                     `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.ServerPortMatchConditionParameters
// Defines the parameters for ServerPort match conditions
type ServerPortMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.ServerPortMatchConditionParameters_STATUS
// Defines the parameters for ServerPort match conditions
type ServerPortMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.SocketAddrMatchConditionParameters
// Defines the parameters for SocketAddress match conditions
type SocketAddrMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.SocketAddrMatchConditionParameters_STATUS
// Defines the parameters for SocketAddress match conditions
type SocketAddrMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.SslProtocolMatchConditionParameters
// Defines the parameters for SslProtocol match conditions
type SslProtocolMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.SslProtocolMatchConditionParameters_STATUS
// Defines the parameters for SslProtocol match conditions
type SslProtocolMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlFileExtensionMatchConditionParameters
// Defines the parameters for UrlFileExtension match conditions
type UrlFileExtensionMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlFileExtensionMatchConditionParameters_STATUS
// Defines the parameters for UrlFileExtension match conditions
type UrlFileExtensionMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlFileNameMatchConditionParameters
// Defines the parameters for UrlFilename match conditions
type UrlFileNameMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlFileNameMatchConditionParameters_STATUS
// Defines the parameters for UrlFilename match conditions
type UrlFileNameMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlPathMatchConditionParameters
// Defines the parameters for UrlPath match conditions
type UrlPathMatchConditionParameters struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlPathMatchConditionParameters_STATUS
// Defines the parameters for UrlPath match conditions
type UrlPathMatchConditionParameters_STATUS struct {
	MatchValues     []string               `json:"matchValues,omitempty"`
	NegateCondition *bool                  `json:"negateCondition,omitempty"`
	Operator        *string                `json:"operator,omitempty"`
	PropertyBag     genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	Transforms      []string               `json:"transforms,omitempty"`
	TypeName        *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlRedirectActionParameters
// Defines the parameters for the url redirect action.
type UrlRedirectActionParameters struct {
	CustomFragment      *string                `json:"customFragment,omitempty"`
	CustomHostname      *string                `json:"customHostname,omitempty"`
	CustomPath          *string                `json:"customPath,omitempty"`
	CustomQueryString   *string                `json:"customQueryString,omitempty"`
	DestinationProtocol *string                `json:"destinationProtocol,omitempty"`
	PropertyBag         genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	RedirectType        *string                `json:"redirectType,omitempty"`
	TypeName            *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlRedirectActionParameters_STATUS
// Defines the parameters for the url redirect action.
type UrlRedirectActionParameters_STATUS struct {
	CustomFragment      *string                `json:"customFragment,omitempty"`
	CustomHostname      *string                `json:"customHostname,omitempty"`
	CustomPath          *string                `json:"customPath,omitempty"`
	CustomQueryString   *string                `json:"customQueryString,omitempty"`
	DestinationProtocol *string                `json:"destinationProtocol,omitempty"`
	PropertyBag         genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	RedirectType        *string                `json:"redirectType,omitempty"`
	TypeName            *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlRewriteActionParameters
// Defines the parameters for the url rewrite action.
type UrlRewriteActionParameters struct {
	Destination           *string                `json:"destination,omitempty"`
	PreserveUnmatchedPath *bool                  `json:"preserveUnmatchedPath,omitempty"`
	PropertyBag           genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	SourcePattern         *string                `json:"sourcePattern,omitempty"`
	TypeName              *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlRewriteActionParameters_STATUS
// Defines the parameters for the url rewrite action.
type UrlRewriteActionParameters_STATUS struct {
	Destination           *string                `json:"destination,omitempty"`
	PreserveUnmatchedPath *bool                  `json:"preserveUnmatchedPath,omitempty"`
	PropertyBag           genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	SourcePattern         *string                `json:"sourcePattern,omitempty"`
	TypeName              *string                `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlSigningActionParameters
// Defines the parameters for the Url Signing action.
type UrlSigningActionParameters struct {
	Algorithm             *string                     `json:"algorithm,omitempty"`
	ParameterNameOverride []UrlSigningParamIdentifier `json:"parameterNameOverride,omitempty"`
	PropertyBag           genruntime.PropertyBag      `json:"$propertyBag,omitempty"`
	TypeName              *string                     `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.UrlSigningActionParameters_STATUS
// Defines the parameters for the Url Signing action.
type UrlSigningActionParameters_STATUS struct {
	Algorithm             *string                            `json:"algorithm,omitempty"`
	ParameterNameOverride []UrlSigningParamIdentifier_STATUS `json:"parameterNameOverride,omitempty"`
	PropertyBag           genruntime.PropertyBag             `json:"$propertyBag,omitempty"`
	TypeName              *string                            `json:"typeName,omitempty"`
}

// Storage version of v1api20230501.CacheConfiguration
// Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.
type CacheConfiguration struct {
	CacheBehavior              *string                `json:"cacheBehavior,omitempty"`
	CacheDuration              *string                `json:"cacheDuration,omitempty"`
	IsCompressionEnabled       *string                `json:"isCompressionEnabled,omitempty"`
	PropertyBag                genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	QueryParameters            *string                `json:"queryParameters,omitempty"`
	QueryStringCachingBehavior *string                `json:"queryStringCachingBehavior,omitempty"`
}

// Storage version of v1api20230501.CacheConfiguration_STATUS
// Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.
type CacheConfiguration_STATUS struct {
	CacheBehavior              *string                `json:"cacheBehavior,omitempty"`
	CacheDuration              *string                `json:"cacheDuration,omitempty"`
	IsCompressionEnabled       *string                `json:"isCompressionEnabled,omitempty"`
	PropertyBag                genruntime.PropertyBag `json:"$propertyBag,omitempty"`
	QueryParameters            *string                `json:"queryParameters,omitempty"`
	QueryStringCachingBehavior *string                `json:"queryStringCachingBehavior,omitempty"`
}

// Storage version of v1api20230501.OriginGroupOverride
// Defines the parameters for the origin group override configuration.
type OriginGroupOverride struct {
	ForwardingProtocol *string                `json:"forwardingProtocol,omitempty"`
	OriginGroup        *ResourceReference     `json:"originGroup,omitempty"`
	PropertyBag        genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.OriginGroupOverride_STATUS
// Defines the parameters for the origin group override configuration.
type OriginGroupOverride_STATUS struct {
	ForwardingProtocol *string                   `json:"forwardingProtocol,omitempty"`
	OriginGroup        *ResourceReference_STATUS `json:"originGroup,omitempty"`
	PropertyBag        genruntime.PropertyBag    `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlSigningParamIdentifier
// Defines how to identify a parameter for a specific purpose e.g. expires
type UrlSigningParamIdentifier struct {
	ParamIndicator *string                `json:"paramIndicator,omitempty"`
	ParamName      *string                `json:"paramName,omitempty"`
	PropertyBag    genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

// Storage version of v1api20230501.UrlSigningParamIdentifier_STATUS
// Defines how to identify a parameter for a specific purpose e.g. expires
type UrlSigningParamIdentifier_STATUS struct {
	ParamIndicator *string                `json:"paramIndicator,omitempty"`
	ParamName      *string                `json:"paramName,omitempty"`
	PropertyBag    genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}

func init() {
	SchemeBuilder.Register(&Rule{}, &RuleList{})
}
