endpoints

package
v0.20241128.1084944 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-02-01/endpoints Documentation

The endpoints SDK allows for interaction with Azure Resource Manager cdn (API Version 2024-02-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/cdn/2024-02-01/endpoints"

Client Initialization

client := endpoints.NewEndpointsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: EndpointsClient.Create

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

payload := endpoints.Endpoint{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.Delete

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.Get

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EndpointsClient.ListByProfile

ctx := context.TODO()
id := endpoints.NewProfileID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName")

// alternatively `client.ListByProfile(ctx, id)` can be used to do batched pagination
items, err := client.ListByProfileComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EndpointsClient.ListResourceUsage

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

// alternatively `client.ListResourceUsage(ctx, id)` can be used to do batched pagination
items, err := client.ListResourceUsageComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EndpointsClient.LoadContent

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

payload := endpoints.LoadParameters{
	// ...
}


if err := client.LoadContentThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.PurgeContent

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

payload := endpoints.PurgeParameters{
	// ...
}


if err := client.PurgeContentThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.Start

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

if err := client.StartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.Stop

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

if err := client.StopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.Update

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

payload := endpoints.EndpointUpdateParameters{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: EndpointsClient.ValidateCustomDomain

ctx := context.TODO()
id := endpoints.NewEndpointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "profileName", "endpointName")

payload := endpoints.ValidateCustomDomainInput{
	// ...
}


read, err := client.ValidateCustomDomain(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAlgorithm

func PossibleValuesForAlgorithm() []string

func PossibleValuesForCacheBehavior

func PossibleValuesForCacheBehavior() []string

func PossibleValuesForCacheType

func PossibleValuesForCacheType() []string

func PossibleValuesForClientPortOperator

func PossibleValuesForClientPortOperator() []string

func PossibleValuesForCookiesOperator

func PossibleValuesForCookiesOperator() []string

func PossibleValuesForDeliveryRuleActionName

func PossibleValuesForDeliveryRuleActionName() []string

func PossibleValuesForDeliveryRuleActionParametersType

func PossibleValuesForDeliveryRuleActionParametersType() []string

func PossibleValuesForDeliveryRuleConditionParametersType

func PossibleValuesForDeliveryRuleConditionParametersType() []string

func PossibleValuesForDestinationProtocol

func PossibleValuesForDestinationProtocol() []string

func PossibleValuesForEndpointProvisioningState

func PossibleValuesForEndpointProvisioningState() []string

func PossibleValuesForEndpointResourceState

func PossibleValuesForEndpointResourceState() []string

func PossibleValuesForForwardingProtocol

func PossibleValuesForForwardingProtocol() []string

func PossibleValuesForGeoFilterActions

func PossibleValuesForGeoFilterActions() []string

func PossibleValuesForHTTPVersionOperator

func PossibleValuesForHTTPVersionOperator() []string

func PossibleValuesForHeaderAction

func PossibleValuesForHeaderAction() []string

func PossibleValuesForHealthProbeRequestType

func PossibleValuesForHealthProbeRequestType() []string

func PossibleValuesForHostNameOperator

func PossibleValuesForHostNameOperator() []string

func PossibleValuesForIsDeviceMatchValue

func PossibleValuesForIsDeviceMatchValue() []string

func PossibleValuesForIsDeviceOperator

func PossibleValuesForIsDeviceOperator() []string

func PossibleValuesForKeyVaultSigningKeyParametersType

func PossibleValuesForKeyVaultSigningKeyParametersType() []string

func PossibleValuesForMatchVariable

func PossibleValuesForMatchVariable() []string

func PossibleValuesForOperator

func PossibleValuesForOperator() []string

func PossibleValuesForOptimizationType

func PossibleValuesForOptimizationType() []string

func PossibleValuesForParamIndicator

func PossibleValuesForParamIndicator() []string

func PossibleValuesForPostArgsOperator

func PossibleValuesForPostArgsOperator() []string

func PossibleValuesForPrivateEndpointStatus

func PossibleValuesForPrivateEndpointStatus() []string

func PossibleValuesForProbeProtocol

func PossibleValuesForProbeProtocol() []string

func PossibleValuesForQueryStringBehavior

func PossibleValuesForQueryStringBehavior() []string

func PossibleValuesForQueryStringCachingBehavior

func PossibleValuesForQueryStringCachingBehavior() []string

func PossibleValuesForQueryStringOperator

func PossibleValuesForQueryStringOperator() []string

func PossibleValuesForRedirectType

func PossibleValuesForRedirectType() []string

func PossibleValuesForRemoteAddressOperator

func PossibleValuesForRemoteAddressOperator() []string

func PossibleValuesForRequestBodyOperator

func PossibleValuesForRequestBodyOperator() []string

func PossibleValuesForRequestHeaderOperator

func PossibleValuesForRequestHeaderOperator() []string

func PossibleValuesForRequestMethodMatchValue

func PossibleValuesForRequestMethodMatchValue() []string

func PossibleValuesForRequestMethodOperator

func PossibleValuesForRequestMethodOperator() []string

func PossibleValuesForRequestSchemeMatchValue

func PossibleValuesForRequestSchemeMatchValue() []string

func PossibleValuesForRequestUriOperator

func PossibleValuesForRequestUriOperator() []string

func PossibleValuesForResourceUsageUnit

func PossibleValuesForResourceUsageUnit() []string

func PossibleValuesForResponseBasedDetectedErrorTypes

func PossibleValuesForResponseBasedDetectedErrorTypes() []string

func PossibleValuesForRuleCacheBehavior

func PossibleValuesForRuleCacheBehavior() []string

func PossibleValuesForRuleIsCompressionEnabled

func PossibleValuesForRuleIsCompressionEnabled() []string

func PossibleValuesForRuleQueryStringCachingBehavior

func PossibleValuesForRuleQueryStringCachingBehavior() []string

func PossibleValuesForServerPortOperator

func PossibleValuesForServerPortOperator() []string

func PossibleValuesForSocketAddrOperator

func PossibleValuesForSocketAddrOperator() []string

func PossibleValuesForSslProtocol

func PossibleValuesForSslProtocol() []string

func PossibleValuesForSslProtocolOperator

func PossibleValuesForSslProtocolOperator() []string

func PossibleValuesForTransform

func PossibleValuesForTransform() []string

func PossibleValuesForURLFileExtensionOperator added in v0.20241009.1142232

func PossibleValuesForURLFileExtensionOperator() []string

func PossibleValuesForURLFileNameOperator added in v0.20241009.1142232

func PossibleValuesForURLFileNameOperator() []string

func PossibleValuesForURLPathOperator added in v0.20241009.1142232

func PossibleValuesForURLPathOperator() []string

func ValidateEndpointID

func ValidateEndpointID(input interface{}, key string) (warnings []string, errors []error)

ValidateEndpointID checks that 'input' can be parsed as a Endpoint ID

func ValidateProfileID

func ValidateProfileID(input interface{}, key string) (warnings []string, errors []error)

ValidateProfileID checks that 'input' can be parsed as a Profile ID

Types

type Algorithm

type Algorithm string
const (
	AlgorithmSHATwoFiveSix Algorithm = "SHA256"
)

func (*Algorithm) UnmarshalJSON

func (s *Algorithm) UnmarshalJSON(bytes []byte) error

type BaseDeliveryRuleActionImpl

type BaseDeliveryRuleActionImpl struct {
	Name DeliveryRuleActionName `json:"name"`
}

func (BaseDeliveryRuleActionImpl) DeliveryRuleAction

type BaseDeliveryRuleActionParametersImpl

type BaseDeliveryRuleActionParametersImpl struct {
	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (BaseDeliveryRuleActionParametersImpl) DeliveryRuleActionParameters

type BaseDeliveryRuleConditionImpl

type BaseDeliveryRuleConditionImpl struct {
	Name MatchVariable `json:"name"`
}

func (BaseDeliveryRuleConditionImpl) DeliveryRuleCondition

type BaseDeliveryRuleConditionParametersImpl

type BaseDeliveryRuleConditionParametersImpl struct {
	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (BaseDeliveryRuleConditionParametersImpl) DeliveryRuleConditionParameters

type CacheBehavior

type CacheBehavior string
const (
	CacheBehaviorBypassCache  CacheBehavior = "BypassCache"
	CacheBehaviorOverride     CacheBehavior = "Override"
	CacheBehaviorSetIfMissing CacheBehavior = "SetIfMissing"
)

func (*CacheBehavior) UnmarshalJSON

func (s *CacheBehavior) UnmarshalJSON(bytes []byte) error

type CacheConfiguration

type CacheConfiguration struct {
	CacheBehavior              *RuleCacheBehavior              `json:"cacheBehavior,omitempty"`
	CacheDuration              *string                         `json:"cacheDuration,omitempty"`
	IsCompressionEnabled       *RuleIsCompressionEnabled       `json:"isCompressionEnabled,omitempty"`
	QueryParameters            *string                         `json:"queryParameters,omitempty"`
	QueryStringCachingBehavior *RuleQueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"`
}

type CacheExpirationActionParameters

type CacheExpirationActionParameters struct {
	CacheBehavior CacheBehavior `json:"cacheBehavior"`
	CacheDuration *string       `json:"cacheDuration,omitempty"`
	CacheType     CacheType     `json:"cacheType"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (CacheExpirationActionParameters) DeliveryRuleActionParameters

func (CacheExpirationActionParameters) MarshalJSON

func (s CacheExpirationActionParameters) MarshalJSON() ([]byte, error)

type CacheKeyQueryStringActionParameters

type CacheKeyQueryStringActionParameters struct {
	QueryParameters     *string             `json:"queryParameters,omitempty"`
	QueryStringBehavior QueryStringBehavior `json:"queryStringBehavior"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (CacheKeyQueryStringActionParameters) DeliveryRuleActionParameters

func (CacheKeyQueryStringActionParameters) MarshalJSON

func (s CacheKeyQueryStringActionParameters) MarshalJSON() ([]byte, error)

type CacheType

type CacheType string
const (
	CacheTypeAll CacheType = "All"
)

func (*CacheType) UnmarshalJSON

func (s *CacheType) UnmarshalJSON(bytes []byte) error

type ClientPortMatchConditionParameters

type ClientPortMatchConditionParameters struct {
	MatchValues     *[]string          `json:"matchValues,omitempty"`
	NegateCondition *bool              `json:"negateCondition,omitempty"`
	Operator        ClientPortOperator `json:"operator"`
	Transforms      *[]Transform       `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (ClientPortMatchConditionParameters) DeliveryRuleConditionParameters

func (ClientPortMatchConditionParameters) MarshalJSON

func (s ClientPortMatchConditionParameters) MarshalJSON() ([]byte, error)

type ClientPortOperator

type ClientPortOperator string
const (
	ClientPortOperatorAny                ClientPortOperator = "Any"
	ClientPortOperatorBeginsWith         ClientPortOperator = "BeginsWith"
	ClientPortOperatorContains           ClientPortOperator = "Contains"
	ClientPortOperatorEndsWith           ClientPortOperator = "EndsWith"
	ClientPortOperatorEqual              ClientPortOperator = "Equal"
	ClientPortOperatorGreaterThan        ClientPortOperator = "GreaterThan"
	ClientPortOperatorGreaterThanOrEqual ClientPortOperator = "GreaterThanOrEqual"
	ClientPortOperatorLessThan           ClientPortOperator = "LessThan"
	ClientPortOperatorLessThanOrEqual    ClientPortOperator = "LessThanOrEqual"
	ClientPortOperatorRegEx              ClientPortOperator = "RegEx"
)

func (*ClientPortOperator) UnmarshalJSON

func (s *ClientPortOperator) UnmarshalJSON(bytes []byte) error

type CookiesMatchConditionParameters

type CookiesMatchConditionParameters struct {
	MatchValues     *[]string       `json:"matchValues,omitempty"`
	NegateCondition *bool           `json:"negateCondition,omitempty"`
	Operator        CookiesOperator `json:"operator"`
	Selector        *string         `json:"selector,omitempty"`
	Transforms      *[]Transform    `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (CookiesMatchConditionParameters) DeliveryRuleConditionParameters

func (CookiesMatchConditionParameters) MarshalJSON

func (s CookiesMatchConditionParameters) MarshalJSON() ([]byte, error)

type CookiesOperator

type CookiesOperator string
const (
	CookiesOperatorAny                CookiesOperator = "Any"
	CookiesOperatorBeginsWith         CookiesOperator = "BeginsWith"
	CookiesOperatorContains           CookiesOperator = "Contains"
	CookiesOperatorEndsWith           CookiesOperator = "EndsWith"
	CookiesOperatorEqual              CookiesOperator = "Equal"
	CookiesOperatorGreaterThan        CookiesOperator = "GreaterThan"
	CookiesOperatorGreaterThanOrEqual CookiesOperator = "GreaterThanOrEqual"
	CookiesOperatorLessThan           CookiesOperator = "LessThan"
	CookiesOperatorLessThanOrEqual    CookiesOperator = "LessThanOrEqual"
	CookiesOperatorRegEx              CookiesOperator = "RegEx"
)

func (*CookiesOperator) UnmarshalJSON

func (s *CookiesOperator) UnmarshalJSON(bytes []byte) error

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Endpoint
}

type DeepCreatedCustomDomain

type DeepCreatedCustomDomain struct {
	Name       string                             `json:"name"`
	Properties *DeepCreatedCustomDomainProperties `json:"properties,omitempty"`
}

type DeepCreatedCustomDomainProperties

type DeepCreatedCustomDomainProperties struct {
	HostName       string  `json:"hostName"`
	ValidationData *string `json:"validationData,omitempty"`
}

type DeepCreatedOrigin

type DeepCreatedOrigin struct {
	Name       string                       `json:"name"`
	Properties *DeepCreatedOriginProperties `json:"properties,omitempty"`
}

type DeepCreatedOriginGroup

type DeepCreatedOriginGroup struct {
	Name       string                            `json:"name"`
	Properties *DeepCreatedOriginGroupProperties `json:"properties,omitempty"`
}

type DeepCreatedOriginGroupProperties

type DeepCreatedOriginGroupProperties struct {
	HealthProbeSettings                                   *HealthProbeParameters                       `json:"healthProbeSettings,omitempty"`
	Origins                                               []ResourceReference                          `json:"origins"`
	ResponseBasedOriginErrorDetectionSettings             *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"`
	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int64                                       `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"`
}

type DeepCreatedOriginProperties

type DeepCreatedOriginProperties struct {
	Enabled                    *bool                  `json:"enabled,omitempty"`
	HTTPPort                   *int64                 `json:"httpPort,omitempty"`
	HTTPSPort                  *int64                 `json:"httpsPort,omitempty"`
	HostName                   string                 `json:"hostName"`
	OriginHostHeader           *string                `json:"originHostHeader,omitempty"`
	Priority                   *int64                 `json:"priority,omitempty"`
	PrivateEndpointStatus      *PrivateEndpointStatus `json:"privateEndpointStatus,omitempty"`
	PrivateLinkAlias           *string                `json:"privateLinkAlias,omitempty"`
	PrivateLinkApprovalMessage *string                `json:"privateLinkApprovalMessage,omitempty"`
	PrivateLinkLocation        *string                `json:"privateLinkLocation,omitempty"`
	PrivateLinkResourceId      *string                `json:"privateLinkResourceId,omitempty"`
	Weight                     *int64                 `json:"weight,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeliveryRule

type DeliveryRule struct {
	Actions    []DeliveryRuleAction     `json:"actions"`
	Conditions *[]DeliveryRuleCondition `json:"conditions,omitempty"`
	Name       *string                  `json:"name,omitempty"`
	Order      int64                    `json:"order"`
}

func (*DeliveryRule) UnmarshalJSON

func (s *DeliveryRule) UnmarshalJSON(bytes []byte) error

type DeliveryRuleAction

type DeliveryRuleAction interface {
	DeliveryRuleAction() BaseDeliveryRuleActionImpl
}

func UnmarshalDeliveryRuleActionImplementation

func UnmarshalDeliveryRuleActionImplementation(input []byte) (DeliveryRuleAction, error)

type DeliveryRuleActionName

type DeliveryRuleActionName string
const (
	DeliveryRuleActionNameCacheExpiration            DeliveryRuleActionName = "CacheExpiration"
	DeliveryRuleActionNameCacheKeyQueryString        DeliveryRuleActionName = "CacheKeyQueryString"
	DeliveryRuleActionNameModifyRequestHeader        DeliveryRuleActionName = "ModifyRequestHeader"
	DeliveryRuleActionNameModifyResponseHeader       DeliveryRuleActionName = "ModifyResponseHeader"
	DeliveryRuleActionNameOriginGroupOverride        DeliveryRuleActionName = "OriginGroupOverride"
	DeliveryRuleActionNameRouteConfigurationOverride DeliveryRuleActionName = "RouteConfigurationOverride"
	DeliveryRuleActionNameURLRedirect                DeliveryRuleActionName = "UrlRedirect"
	DeliveryRuleActionNameURLRewrite                 DeliveryRuleActionName = "UrlRewrite"
	DeliveryRuleActionNameURLSigning                 DeliveryRuleActionName = "UrlSigning"
)

func (*DeliveryRuleActionName) UnmarshalJSON

func (s *DeliveryRuleActionName) UnmarshalJSON(bytes []byte) error

type DeliveryRuleActionParameters

type DeliveryRuleActionParameters interface {
	DeliveryRuleActionParameters() BaseDeliveryRuleActionParametersImpl
}

func UnmarshalDeliveryRuleActionParametersImplementation

func UnmarshalDeliveryRuleActionParametersImplementation(input []byte) (DeliveryRuleActionParameters, error)

type DeliveryRuleActionParametersType

type DeliveryRuleActionParametersType string
const (
	DeliveryRuleActionParametersTypeDeliveryRuleCacheExpirationActionParameters             DeliveryRuleActionParametersType = "DeliveryRuleCacheExpirationActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleCacheKeyQueryStringBehaviorActionParameters DeliveryRuleActionParametersType = "DeliveryRuleCacheKeyQueryStringBehaviorActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleHeaderActionParameters                      DeliveryRuleActionParametersType = "DeliveryRuleHeaderActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleOriginGroupOverrideActionParameters         DeliveryRuleActionParametersType = "DeliveryRuleOriginGroupOverrideActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleRouteConfigurationOverrideActionParameters  DeliveryRuleActionParametersType = "DeliveryRuleRouteConfigurationOverrideActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleURLRedirectActionParameters                 DeliveryRuleActionParametersType = "DeliveryRuleUrlRedirectActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleURLRewriteActionParameters                  DeliveryRuleActionParametersType = "DeliveryRuleUrlRewriteActionParameters"
	DeliveryRuleActionParametersTypeDeliveryRuleURLSigningActionParameters                  DeliveryRuleActionParametersType = "DeliveryRuleUrlSigningActionParameters"
)

func (*DeliveryRuleActionParametersType) UnmarshalJSON

func (s *DeliveryRuleActionParametersType) UnmarshalJSON(bytes []byte) error

type DeliveryRuleCacheExpirationAction

type DeliveryRuleCacheExpirationAction struct {
	Parameters CacheExpirationActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (DeliveryRuleCacheExpirationAction) DeliveryRuleAction

func (DeliveryRuleCacheExpirationAction) MarshalJSON

func (s DeliveryRuleCacheExpirationAction) MarshalJSON() ([]byte, error)

type DeliveryRuleCacheKeyQueryStringAction

type DeliveryRuleCacheKeyQueryStringAction struct {
	Parameters CacheKeyQueryStringActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (DeliveryRuleCacheKeyQueryStringAction) DeliveryRuleAction

func (DeliveryRuleCacheKeyQueryStringAction) MarshalJSON

func (s DeliveryRuleCacheKeyQueryStringAction) MarshalJSON() ([]byte, error)

type DeliveryRuleClientPortCondition

type DeliveryRuleClientPortCondition struct {
	Parameters ClientPortMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleClientPortCondition) DeliveryRuleCondition

func (DeliveryRuleClientPortCondition) MarshalJSON

func (s DeliveryRuleClientPortCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleCondition

type DeliveryRuleCondition interface {
	DeliveryRuleCondition() BaseDeliveryRuleConditionImpl
}

func UnmarshalDeliveryRuleConditionImplementation

func UnmarshalDeliveryRuleConditionImplementation(input []byte) (DeliveryRuleCondition, error)

type DeliveryRuleConditionParameters

type DeliveryRuleConditionParameters interface {
	DeliveryRuleConditionParameters() BaseDeliveryRuleConditionParametersImpl
}

func UnmarshalDeliveryRuleConditionParametersImplementation

func UnmarshalDeliveryRuleConditionParametersImplementation(input []byte) (DeliveryRuleConditionParameters, error)

type DeliveryRuleConditionParametersType

type DeliveryRuleConditionParametersType string
const (
	DeliveryRuleConditionParametersTypeDeliveryRuleClientPortConditionParameters            DeliveryRuleConditionParametersType = "DeliveryRuleClientPortConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleCookiesConditionParameters               DeliveryRuleConditionParametersType = "DeliveryRuleCookiesConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleHTTPVersionConditionParameters           DeliveryRuleConditionParametersType = "DeliveryRuleHttpVersionConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleHostNameConditionParameters              DeliveryRuleConditionParametersType = "DeliveryRuleHostNameConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleIsDeviceConditionParameters              DeliveryRuleConditionParametersType = "DeliveryRuleIsDeviceConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRulePostArgsConditionParameters              DeliveryRuleConditionParametersType = "DeliveryRulePostArgsConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleQueryStringConditionParameters           DeliveryRuleConditionParametersType = "DeliveryRuleQueryStringConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleRemoteAddressConditionParameters         DeliveryRuleConditionParametersType = "DeliveryRuleRemoteAddressConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleRequestBodyConditionParameters           DeliveryRuleConditionParametersType = "DeliveryRuleRequestBodyConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleRequestHeaderConditionParameters         DeliveryRuleConditionParametersType = "DeliveryRuleRequestHeaderConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleRequestMethodConditionParameters         DeliveryRuleConditionParametersType = "DeliveryRuleRequestMethodConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleRequestSchemeConditionParameters         DeliveryRuleConditionParametersType = "DeliveryRuleRequestSchemeConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleRequestUriConditionParameters            DeliveryRuleConditionParametersType = "DeliveryRuleRequestUriConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleServerPortConditionParameters            DeliveryRuleConditionParametersType = "DeliveryRuleServerPortConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleSocketAddrConditionParameters            DeliveryRuleConditionParametersType = "DeliveryRuleSocketAddrConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleSslProtocolConditionParameters           DeliveryRuleConditionParametersType = "DeliveryRuleSslProtocolConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleURLFileExtensionMatchConditionParameters DeliveryRuleConditionParametersType = "DeliveryRuleUrlFileExtensionMatchConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleURLFilenameConditionParameters           DeliveryRuleConditionParametersType = "DeliveryRuleUrlFilenameConditionParameters"
	DeliveryRuleConditionParametersTypeDeliveryRuleURLPathMatchConditionParameters          DeliveryRuleConditionParametersType = "DeliveryRuleUrlPathMatchConditionParameters"
)

func (*DeliveryRuleConditionParametersType) UnmarshalJSON

func (s *DeliveryRuleConditionParametersType) UnmarshalJSON(bytes []byte) error

type DeliveryRuleCookiesCondition

type DeliveryRuleCookiesCondition struct {
	Parameters CookiesMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleCookiesCondition) DeliveryRuleCondition

func (DeliveryRuleCookiesCondition) MarshalJSON

func (s DeliveryRuleCookiesCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleHTTPVersionCondition

type DeliveryRuleHTTPVersionCondition struct {
	Parameters HTTPVersionMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleHTTPVersionCondition) DeliveryRuleCondition

func (DeliveryRuleHTTPVersionCondition) MarshalJSON

func (s DeliveryRuleHTTPVersionCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleHostNameCondition

type DeliveryRuleHostNameCondition struct {
	Parameters HostNameMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleHostNameCondition) DeliveryRuleCondition

func (DeliveryRuleHostNameCondition) MarshalJSON

func (s DeliveryRuleHostNameCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleIsDeviceCondition

type DeliveryRuleIsDeviceCondition struct {
	Parameters IsDeviceMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleIsDeviceCondition) DeliveryRuleCondition

func (DeliveryRuleIsDeviceCondition) MarshalJSON

func (s DeliveryRuleIsDeviceCondition) MarshalJSON() ([]byte, error)

type DeliveryRulePostArgsCondition

type DeliveryRulePostArgsCondition struct {
	Parameters PostArgsMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRulePostArgsCondition) DeliveryRuleCondition

func (DeliveryRulePostArgsCondition) MarshalJSON

func (s DeliveryRulePostArgsCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleQueryStringCondition

type DeliveryRuleQueryStringCondition struct {
	Parameters QueryStringMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleQueryStringCondition) DeliveryRuleCondition

func (DeliveryRuleQueryStringCondition) MarshalJSON

func (s DeliveryRuleQueryStringCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleRemoteAddressCondition

type DeliveryRuleRemoteAddressCondition struct {
	Parameters RemoteAddressMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleRemoteAddressCondition) DeliveryRuleCondition

func (DeliveryRuleRemoteAddressCondition) MarshalJSON

func (s DeliveryRuleRemoteAddressCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleRequestBodyCondition

type DeliveryRuleRequestBodyCondition struct {
	Parameters RequestBodyMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleRequestBodyCondition) DeliveryRuleCondition

func (DeliveryRuleRequestBodyCondition) MarshalJSON

func (s DeliveryRuleRequestBodyCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleRequestHeaderAction

type DeliveryRuleRequestHeaderAction struct {
	Parameters HeaderActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (DeliveryRuleRequestHeaderAction) DeliveryRuleAction

func (DeliveryRuleRequestHeaderAction) MarshalJSON

func (s DeliveryRuleRequestHeaderAction) MarshalJSON() ([]byte, error)

type DeliveryRuleRequestHeaderCondition

type DeliveryRuleRequestHeaderCondition struct {
	Parameters RequestHeaderMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleRequestHeaderCondition) DeliveryRuleCondition

func (DeliveryRuleRequestHeaderCondition) MarshalJSON

func (s DeliveryRuleRequestHeaderCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleRequestMethodCondition

type DeliveryRuleRequestMethodCondition struct {
	Parameters RequestMethodMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleRequestMethodCondition) DeliveryRuleCondition

func (DeliveryRuleRequestMethodCondition) MarshalJSON

func (s DeliveryRuleRequestMethodCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleRequestSchemeCondition

type DeliveryRuleRequestSchemeCondition struct {
	Parameters RequestSchemeMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleRequestSchemeCondition) DeliveryRuleCondition

func (DeliveryRuleRequestSchemeCondition) MarshalJSON

func (s DeliveryRuleRequestSchemeCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleRequestUriCondition

type DeliveryRuleRequestUriCondition struct {
	Parameters RequestUriMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleRequestUriCondition) DeliveryRuleCondition

func (DeliveryRuleRequestUriCondition) MarshalJSON

func (s DeliveryRuleRequestUriCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleResponseHeaderAction

type DeliveryRuleResponseHeaderAction struct {
	Parameters HeaderActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (DeliveryRuleResponseHeaderAction) DeliveryRuleAction

func (DeliveryRuleResponseHeaderAction) MarshalJSON

func (s DeliveryRuleResponseHeaderAction) MarshalJSON() ([]byte, error)

type DeliveryRuleRouteConfigurationOverrideAction

type DeliveryRuleRouteConfigurationOverrideAction struct {
	Parameters RouteConfigurationOverrideActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (DeliveryRuleRouteConfigurationOverrideAction) DeliveryRuleAction

func (DeliveryRuleRouteConfigurationOverrideAction) MarshalJSON

type DeliveryRuleServerPortCondition

type DeliveryRuleServerPortCondition struct {
	Parameters ServerPortMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleServerPortCondition) DeliveryRuleCondition

func (DeliveryRuleServerPortCondition) MarshalJSON

func (s DeliveryRuleServerPortCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleSocketAddrCondition

type DeliveryRuleSocketAddrCondition struct {
	Parameters SocketAddrMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleSocketAddrCondition) DeliveryRuleCondition

func (DeliveryRuleSocketAddrCondition) MarshalJSON

func (s DeliveryRuleSocketAddrCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleSslProtocolCondition

type DeliveryRuleSslProtocolCondition struct {
	Parameters SslProtocolMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleSslProtocolCondition) DeliveryRuleCondition

func (DeliveryRuleSslProtocolCondition) MarshalJSON

func (s DeliveryRuleSslProtocolCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleURLFileExtensionCondition added in v0.20241009.1142232

type DeliveryRuleURLFileExtensionCondition struct {
	Parameters URLFileExtensionMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleURLFileExtensionCondition) DeliveryRuleCondition added in v0.20241009.1142232

func (DeliveryRuleURLFileExtensionCondition) MarshalJSON added in v0.20241009.1142232

func (s DeliveryRuleURLFileExtensionCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleURLFileNameCondition added in v0.20241009.1142232

type DeliveryRuleURLFileNameCondition struct {
	Parameters URLFileNameMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleURLFileNameCondition) DeliveryRuleCondition added in v0.20241009.1142232

func (DeliveryRuleURLFileNameCondition) MarshalJSON added in v0.20241009.1142232

func (s DeliveryRuleURLFileNameCondition) MarshalJSON() ([]byte, error)

type DeliveryRuleURLPathCondition added in v0.20241009.1142232

type DeliveryRuleURLPathCondition struct {
	Parameters URLPathMatchConditionParameters `json:"parameters"`

	Name MatchVariable `json:"name"`
}

func (DeliveryRuleURLPathCondition) DeliveryRuleCondition added in v0.20241009.1142232

func (DeliveryRuleURLPathCondition) MarshalJSON added in v0.20241009.1142232

func (s DeliveryRuleURLPathCondition) MarshalJSON() ([]byte, error)

type DestinationProtocol

type DestinationProtocol string
const (
	DestinationProtocolHTTP         DestinationProtocol = "Http"
	DestinationProtocolHTTPS        DestinationProtocol = "Https"
	DestinationProtocolMatchRequest DestinationProtocol = "MatchRequest"
)

func (*DestinationProtocol) UnmarshalJSON

func (s *DestinationProtocol) UnmarshalJSON(bytes []byte) error

type Endpoint

type Endpoint struct {
	Id         *string                `json:"id,omitempty"`
	Location   string                 `json:"location"`
	Name       *string                `json:"name,omitempty"`
	Properties *EndpointProperties    `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Tags       *map[string]string     `json:"tags,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type EndpointId

type EndpointId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProfileName       string
	EndpointName      string
}

EndpointId is a struct representing the Resource ID for a Endpoint

func NewEndpointID

func NewEndpointID(subscriptionId string, resourceGroupName string, profileName string, endpointName string) EndpointId

NewEndpointID returns a new EndpointId struct

func ParseEndpointID

func ParseEndpointID(input string) (*EndpointId, error)

ParseEndpointID parses 'input' into a EndpointId

func ParseEndpointIDInsensitively

func ParseEndpointIDInsensitively(input string) (*EndpointId, error)

ParseEndpointIDInsensitively parses 'input' case-insensitively into a EndpointId note: this method should only be used for API response data and not user input

func (*EndpointId) FromParseResult

func (id *EndpointId) FromParseResult(input resourceids.ParseResult) error

func (EndpointId) ID

func (id EndpointId) ID() string

ID returns the formatted Endpoint ID

func (EndpointId) Segments

func (id EndpointId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Endpoint ID

func (EndpointId) String

func (id EndpointId) String() string

String returns a human-readable description of this Endpoint ID

type EndpointOperationPredicate

type EndpointOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (EndpointOperationPredicate) Matches

func (p EndpointOperationPredicate) Matches(input Endpoint) bool

type EndpointProperties

type EndpointProperties struct {
	ContentTypesToCompress           *[]string                                                           `json:"contentTypesToCompress,omitempty"`
	CustomDomains                    *[]DeepCreatedCustomDomain                                          `json:"customDomains,omitempty"`
	DefaultOriginGroup               *ResourceReference                                                  `json:"defaultOriginGroup,omitempty"`
	DeliveryPolicy                   *EndpointPropertiesUpdateParametersDeliveryPolicy                   `json:"deliveryPolicy,omitempty"`
	GeoFilters                       *[]GeoFilter                                                        `json:"geoFilters,omitempty"`
	HostName                         *string                                                             `json:"hostName,omitempty"`
	IsCompressionEnabled             *bool                                                               `json:"isCompressionEnabled,omitempty"`
	IsHTTPAllowed                    *bool                                                               `json:"isHttpAllowed,omitempty"`
	IsHTTPSAllowed                   *bool                                                               `json:"isHttpsAllowed,omitempty"`
	OptimizationType                 *OptimizationType                                                   `json:"optimizationType,omitempty"`
	OriginGroups                     *[]DeepCreatedOriginGroup                                           `json:"originGroups,omitempty"`
	OriginHostHeader                 *string                                                             `json:"originHostHeader,omitempty"`
	OriginPath                       *string                                                             `json:"originPath,omitempty"`
	Origins                          []DeepCreatedOrigin                                                 `json:"origins"`
	ProbePath                        *string                                                             `json:"probePath,omitempty"`
	ProvisioningState                *EndpointProvisioningState                                          `json:"provisioningState,omitempty"`
	QueryStringCachingBehavior       *QueryStringCachingBehavior                                         `json:"queryStringCachingBehavior,omitempty"`
	ResourceState                    *EndpointResourceState                                              `json:"resourceState,omitempty"`
	UrlSigningKeys                   *[]URLSigningKey                                                    `json:"urlSigningKeys,omitempty"`
	WebApplicationFirewallPolicyLink *EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

type EndpointPropertiesUpdateParameters

type EndpointPropertiesUpdateParameters struct {
	ContentTypesToCompress           *[]string                                                           `json:"contentTypesToCompress,omitempty"`
	DefaultOriginGroup               *ResourceReference                                                  `json:"defaultOriginGroup,omitempty"`
	DeliveryPolicy                   *EndpointPropertiesUpdateParametersDeliveryPolicy                   `json:"deliveryPolicy,omitempty"`
	GeoFilters                       *[]GeoFilter                                                        `json:"geoFilters,omitempty"`
	IsCompressionEnabled             *bool                                                               `json:"isCompressionEnabled,omitempty"`
	IsHTTPAllowed                    *bool                                                               `json:"isHttpAllowed,omitempty"`
	IsHTTPSAllowed                   *bool                                                               `json:"isHttpsAllowed,omitempty"`
	OptimizationType                 *OptimizationType                                                   `json:"optimizationType,omitempty"`
	OriginHostHeader                 *string                                                             `json:"originHostHeader,omitempty"`
	OriginPath                       *string                                                             `json:"originPath,omitempty"`
	ProbePath                        *string                                                             `json:"probePath,omitempty"`
	QueryStringCachingBehavior       *QueryStringCachingBehavior                                         `json:"queryStringCachingBehavior,omitempty"`
	UrlSigningKeys                   *[]URLSigningKey                                                    `json:"urlSigningKeys,omitempty"`
	WebApplicationFirewallPolicyLink *EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

type EndpointPropertiesUpdateParametersDeliveryPolicy

type EndpointPropertiesUpdateParametersDeliveryPolicy struct {
	Description *string        `json:"description,omitempty"`
	Rules       []DeliveryRule `json:"rules"`
}
type EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink struct {
	Id *string `json:"id,omitempty"`
}

type EndpointProvisioningState

type EndpointProvisioningState string
const (
	EndpointProvisioningStateCreating  EndpointProvisioningState = "Creating"
	EndpointProvisioningStateDeleting  EndpointProvisioningState = "Deleting"
	EndpointProvisioningStateFailed    EndpointProvisioningState = "Failed"
	EndpointProvisioningStateSucceeded EndpointProvisioningState = "Succeeded"
	EndpointProvisioningStateUpdating  EndpointProvisioningState = "Updating"
)

func (*EndpointProvisioningState) UnmarshalJSON

func (s *EndpointProvisioningState) UnmarshalJSON(bytes []byte) error

type EndpointResourceState

type EndpointResourceState string
const (
	EndpointResourceStateCreating EndpointResourceState = "Creating"
	EndpointResourceStateDeleting EndpointResourceState = "Deleting"
	EndpointResourceStateRunning  EndpointResourceState = "Running"
	EndpointResourceStateStarting EndpointResourceState = "Starting"
	EndpointResourceStateStopped  EndpointResourceState = "Stopped"
	EndpointResourceStateStopping EndpointResourceState = "Stopping"
)

func (*EndpointResourceState) UnmarshalJSON

func (s *EndpointResourceState) UnmarshalJSON(bytes []byte) error

type EndpointUpdateParameters

type EndpointUpdateParameters struct {
	Properties *EndpointPropertiesUpdateParameters `json:"properties,omitempty"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
}

type EndpointsClient

type EndpointsClient struct {
	Client *resourcemanager.Client
}

func NewEndpointsClientWithBaseURI

func NewEndpointsClientWithBaseURI(sdkApi sdkEnv.Api) (*EndpointsClient, error)

func (EndpointsClient) Create

func (c EndpointsClient) Create(ctx context.Context, id EndpointId, input Endpoint) (result CreateOperationResponse, err error)

Create ...

func (EndpointsClient) CreateThenPoll

func (c EndpointsClient) CreateThenPoll(ctx context.Context, id EndpointId, input Endpoint) error

CreateThenPoll performs Create then polls until it's completed

func (EndpointsClient) Delete

func (c EndpointsClient) Delete(ctx context.Context, id EndpointId) (result DeleteOperationResponse, err error)

Delete ...

func (EndpointsClient) DeleteThenPoll

func (c EndpointsClient) DeleteThenPoll(ctx context.Context, id EndpointId) error

DeleteThenPoll performs Delete then polls until it's completed

func (EndpointsClient) Get

func (c EndpointsClient) Get(ctx context.Context, id EndpointId) (result GetOperationResponse, err error)

Get ...

func (EndpointsClient) ListByProfile

func (c EndpointsClient) ListByProfile(ctx context.Context, id ProfileId) (result ListByProfileOperationResponse, err error)

ListByProfile ...

func (EndpointsClient) ListByProfileComplete

func (c EndpointsClient) ListByProfileComplete(ctx context.Context, id ProfileId) (ListByProfileCompleteResult, error)

ListByProfileComplete retrieves all the results into a single object

func (EndpointsClient) ListByProfileCompleteMatchingPredicate

func (c EndpointsClient) ListByProfileCompleteMatchingPredicate(ctx context.Context, id ProfileId, predicate EndpointOperationPredicate) (result ListByProfileCompleteResult, err error)

ListByProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EndpointsClient) ListResourceUsage

func (c EndpointsClient) ListResourceUsage(ctx context.Context, id EndpointId) (result ListResourceUsageOperationResponse, err error)

ListResourceUsage ...

func (EndpointsClient) ListResourceUsageComplete

func (c EndpointsClient) ListResourceUsageComplete(ctx context.Context, id EndpointId) (ListResourceUsageCompleteResult, error)

ListResourceUsageComplete retrieves all the results into a single object

func (EndpointsClient) ListResourceUsageCompleteMatchingPredicate

func (c EndpointsClient) ListResourceUsageCompleteMatchingPredicate(ctx context.Context, id EndpointId, predicate ResourceUsageOperationPredicate) (result ListResourceUsageCompleteResult, err error)

ListResourceUsageCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EndpointsClient) LoadContent

func (c EndpointsClient) LoadContent(ctx context.Context, id EndpointId, input LoadParameters) (result LoadContentOperationResponse, err error)

LoadContent ...

func (EndpointsClient) LoadContentThenPoll

func (c EndpointsClient) LoadContentThenPoll(ctx context.Context, id EndpointId, input LoadParameters) error

LoadContentThenPoll performs LoadContent then polls until it's completed

func (EndpointsClient) PurgeContent

func (c EndpointsClient) PurgeContent(ctx context.Context, id EndpointId, input PurgeParameters) (result PurgeContentOperationResponse, err error)

PurgeContent ...

func (EndpointsClient) PurgeContentThenPoll

func (c EndpointsClient) PurgeContentThenPoll(ctx context.Context, id EndpointId, input PurgeParameters) error

PurgeContentThenPoll performs PurgeContent then polls until it's completed

func (EndpointsClient) Start

func (c EndpointsClient) Start(ctx context.Context, id EndpointId) (result StartOperationResponse, err error)

Start ...

func (EndpointsClient) StartThenPoll

func (c EndpointsClient) StartThenPoll(ctx context.Context, id EndpointId) error

StartThenPoll performs Start then polls until it's completed

func (EndpointsClient) Stop

func (c EndpointsClient) Stop(ctx context.Context, id EndpointId) (result StopOperationResponse, err error)

Stop ...

func (EndpointsClient) StopThenPoll

func (c EndpointsClient) StopThenPoll(ctx context.Context, id EndpointId) error

StopThenPoll performs Stop then polls until it's completed

func (EndpointsClient) Update

Update ...

func (EndpointsClient) UpdateThenPoll

func (c EndpointsClient) UpdateThenPoll(ctx context.Context, id EndpointId, input EndpointUpdateParameters) error

UpdateThenPoll performs Update then polls until it's completed

func (EndpointsClient) ValidateCustomDomain

ValidateCustomDomain ...

type ForwardingProtocol

type ForwardingProtocol string
const (
	ForwardingProtocolHTTPOnly     ForwardingProtocol = "HttpOnly"
	ForwardingProtocolHTTPSOnly    ForwardingProtocol = "HttpsOnly"
	ForwardingProtocolMatchRequest ForwardingProtocol = "MatchRequest"
)

func (*ForwardingProtocol) UnmarshalJSON

func (s *ForwardingProtocol) UnmarshalJSON(bytes []byte) error

type GeoFilter

type GeoFilter struct {
	Action       GeoFilterActions `json:"action"`
	CountryCodes []string         `json:"countryCodes"`
	RelativePath string           `json:"relativePath"`
}

type GeoFilterActions

type GeoFilterActions string
const (
	GeoFilterActionsAllow GeoFilterActions = "Allow"
	GeoFilterActionsBlock GeoFilterActions = "Block"
)

func (*GeoFilterActions) UnmarshalJSON

func (s *GeoFilterActions) UnmarshalJSON(bytes []byte) error

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Endpoint
}

type HTTPErrorRangeParameters

type HTTPErrorRangeParameters struct {
	Begin *int64 `json:"begin,omitempty"`
	End   *int64 `json:"end,omitempty"`
}

type HTTPVersionMatchConditionParameters

type HTTPVersionMatchConditionParameters struct {
	MatchValues     *[]string           `json:"matchValues,omitempty"`
	NegateCondition *bool               `json:"negateCondition,omitempty"`
	Operator        HTTPVersionOperator `json:"operator"`
	Transforms      *[]Transform        `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (HTTPVersionMatchConditionParameters) DeliveryRuleConditionParameters

func (HTTPVersionMatchConditionParameters) MarshalJSON

func (s HTTPVersionMatchConditionParameters) MarshalJSON() ([]byte, error)

type HTTPVersionOperator

type HTTPVersionOperator string
const (
	HTTPVersionOperatorEqual HTTPVersionOperator = "Equal"
)

func (*HTTPVersionOperator) UnmarshalJSON

func (s *HTTPVersionOperator) UnmarshalJSON(bytes []byte) error

type HeaderAction

type HeaderAction string
const (
	HeaderActionAppend    HeaderAction = "Append"
	HeaderActionDelete    HeaderAction = "Delete"
	HeaderActionOverwrite HeaderAction = "Overwrite"
)

func (*HeaderAction) UnmarshalJSON

func (s *HeaderAction) UnmarshalJSON(bytes []byte) error

type HeaderActionParameters

type HeaderActionParameters struct {
	HeaderAction HeaderAction `json:"headerAction"`
	HeaderName   string       `json:"headerName"`
	Value        *string      `json:"value,omitempty"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (HeaderActionParameters) DeliveryRuleActionParameters

func (s HeaderActionParameters) DeliveryRuleActionParameters() BaseDeliveryRuleActionParametersImpl

func (HeaderActionParameters) MarshalJSON

func (s HeaderActionParameters) MarshalJSON() ([]byte, error)

type HealthProbeParameters

type HealthProbeParameters struct {
	ProbeIntervalInSeconds *int64                  `json:"probeIntervalInSeconds,omitempty"`
	ProbePath              *string                 `json:"probePath,omitempty"`
	ProbeProtocol          *ProbeProtocol          `json:"probeProtocol,omitempty"`
	ProbeRequestType       *HealthProbeRequestType `json:"probeRequestType,omitempty"`
}

type HealthProbeRequestType

type HealthProbeRequestType string
const (
	HealthProbeRequestTypeGET    HealthProbeRequestType = "GET"
	HealthProbeRequestTypeHEAD   HealthProbeRequestType = "HEAD"
	HealthProbeRequestTypeNotSet HealthProbeRequestType = "NotSet"
)

func (*HealthProbeRequestType) UnmarshalJSON

func (s *HealthProbeRequestType) UnmarshalJSON(bytes []byte) error

type HostNameMatchConditionParameters

type HostNameMatchConditionParameters struct {
	MatchValues     *[]string        `json:"matchValues,omitempty"`
	NegateCondition *bool            `json:"negateCondition,omitempty"`
	Operator        HostNameOperator `json:"operator"`
	Transforms      *[]Transform     `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (HostNameMatchConditionParameters) DeliveryRuleConditionParameters

func (HostNameMatchConditionParameters) MarshalJSON

func (s HostNameMatchConditionParameters) MarshalJSON() ([]byte, error)

type HostNameOperator

type HostNameOperator string
const (
	HostNameOperatorAny                HostNameOperator = "Any"
	HostNameOperatorBeginsWith         HostNameOperator = "BeginsWith"
	HostNameOperatorContains           HostNameOperator = "Contains"
	HostNameOperatorEndsWith           HostNameOperator = "EndsWith"
	HostNameOperatorEqual              HostNameOperator = "Equal"
	HostNameOperatorGreaterThan        HostNameOperator = "GreaterThan"
	HostNameOperatorGreaterThanOrEqual HostNameOperator = "GreaterThanOrEqual"
	HostNameOperatorLessThan           HostNameOperator = "LessThan"
	HostNameOperatorLessThanOrEqual    HostNameOperator = "LessThanOrEqual"
	HostNameOperatorRegEx              HostNameOperator = "RegEx"
)

func (*HostNameOperator) UnmarshalJSON

func (s *HostNameOperator) UnmarshalJSON(bytes []byte) error

type IsDeviceMatchConditionParameters

type IsDeviceMatchConditionParameters struct {
	MatchValues     *[]IsDeviceMatchValue `json:"matchValues,omitempty"`
	NegateCondition *bool                 `json:"negateCondition,omitempty"`
	Operator        IsDeviceOperator      `json:"operator"`
	Transforms      *[]Transform          `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (IsDeviceMatchConditionParameters) DeliveryRuleConditionParameters

func (IsDeviceMatchConditionParameters) MarshalJSON

func (s IsDeviceMatchConditionParameters) MarshalJSON() ([]byte, error)

type IsDeviceMatchValue

type IsDeviceMatchValue string
const (
	IsDeviceMatchValueDesktop IsDeviceMatchValue = "Desktop"
	IsDeviceMatchValueMobile  IsDeviceMatchValue = "Mobile"
)

func (*IsDeviceMatchValue) UnmarshalJSON

func (s *IsDeviceMatchValue) UnmarshalJSON(bytes []byte) error

type IsDeviceOperator

type IsDeviceOperator string
const (
	IsDeviceOperatorEqual IsDeviceOperator = "Equal"
)

func (*IsDeviceOperator) UnmarshalJSON

func (s *IsDeviceOperator) UnmarshalJSON(bytes []byte) error

type KeyVaultSigningKeyParameters

type KeyVaultSigningKeyParameters struct {
	ResourceGroupName string                           `json:"resourceGroupName"`
	SecretName        string                           `json:"secretName"`
	SecretVersion     string                           `json:"secretVersion"`
	SubscriptionId    string                           `json:"subscriptionId"`
	TypeName          KeyVaultSigningKeyParametersType `json:"typeName"`
	VaultName         string                           `json:"vaultName"`
}

type KeyVaultSigningKeyParametersType

type KeyVaultSigningKeyParametersType string
const (
	KeyVaultSigningKeyParametersTypeKeyVaultSigningKeyParameters KeyVaultSigningKeyParametersType = "KeyVaultSigningKeyParameters"
)

func (*KeyVaultSigningKeyParametersType) UnmarshalJSON

func (s *KeyVaultSigningKeyParametersType) UnmarshalJSON(bytes []byte) error

type ListByProfileCompleteResult

type ListByProfileCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Endpoint
}

type ListByProfileCustomPager

type ListByProfileCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByProfileCustomPager) NextPageLink() *odata.Link

type ListByProfileOperationResponse

type ListByProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Endpoint
}

type ListResourceUsageCompleteResult

type ListResourceUsageCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ResourceUsage
}

type ListResourceUsageCustomPager

type ListResourceUsageCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListResourceUsageCustomPager) NextPageLink() *odata.Link

type ListResourceUsageOperationResponse

type ListResourceUsageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceUsage
}

type LoadContentOperationResponse

type LoadContentOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type LoadParameters

type LoadParameters struct {
	ContentPaths []string `json:"contentPaths"`
}

type MatchVariable

type MatchVariable string
const (
	MatchVariableClientPort       MatchVariable = "ClientPort"
	MatchVariableCookies          MatchVariable = "Cookies"
	MatchVariableHTTPVersion      MatchVariable = "HttpVersion"
	MatchVariableHostName         MatchVariable = "HostName"
	MatchVariableIsDevice         MatchVariable = "IsDevice"
	MatchVariablePostArgs         MatchVariable = "PostArgs"
	MatchVariableQueryString      MatchVariable = "QueryString"
	MatchVariableRemoteAddress    MatchVariable = "RemoteAddress"
	MatchVariableRequestBody      MatchVariable = "RequestBody"
	MatchVariableRequestHeader    MatchVariable = "RequestHeader"
	MatchVariableRequestMethod    MatchVariable = "RequestMethod"
	MatchVariableRequestScheme    MatchVariable = "RequestScheme"
	MatchVariableRequestUri       MatchVariable = "RequestUri"
	MatchVariableServerPort       MatchVariable = "ServerPort"
	MatchVariableSocketAddr       MatchVariable = "SocketAddr"
	MatchVariableSslProtocol      MatchVariable = "SslProtocol"
	MatchVariableURLFileExtension MatchVariable = "UrlFileExtension"
	MatchVariableURLFileName      MatchVariable = "UrlFileName"
	MatchVariableURLPath          MatchVariable = "UrlPath"
)

func (*MatchVariable) UnmarshalJSON

func (s *MatchVariable) UnmarshalJSON(bytes []byte) error

type Operator

type Operator string
const (
	OperatorEqual Operator = "Equal"
)

func (*Operator) UnmarshalJSON

func (s *Operator) UnmarshalJSON(bytes []byte) error

type OptimizationType

type OptimizationType string
const (
	OptimizationTypeDynamicSiteAcceleration     OptimizationType = "DynamicSiteAcceleration"
	OptimizationTypeGeneralMediaStreaming       OptimizationType = "GeneralMediaStreaming"
	OptimizationTypeGeneralWebDelivery          OptimizationType = "GeneralWebDelivery"
	OptimizationTypeLargeFileDownload           OptimizationType = "LargeFileDownload"
	OptimizationTypeVideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming"
)

func (*OptimizationType) UnmarshalJSON

func (s *OptimizationType) UnmarshalJSON(bytes []byte) error

type OriginGroupOverride

type OriginGroupOverride struct {
	ForwardingProtocol *ForwardingProtocol `json:"forwardingProtocol,omitempty"`
	OriginGroup        *ResourceReference  `json:"originGroup,omitempty"`
}

type OriginGroupOverrideAction

type OriginGroupOverrideAction struct {
	Parameters OriginGroupOverrideActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (OriginGroupOverrideAction) DeliveryRuleAction

func (OriginGroupOverrideAction) MarshalJSON

func (s OriginGroupOverrideAction) MarshalJSON() ([]byte, error)

type OriginGroupOverrideActionParameters

type OriginGroupOverrideActionParameters struct {
	OriginGroup ResourceReference `json:"originGroup"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (OriginGroupOverrideActionParameters) DeliveryRuleActionParameters

func (OriginGroupOverrideActionParameters) MarshalJSON

func (s OriginGroupOverrideActionParameters) MarshalJSON() ([]byte, error)

type ParamIndicator

type ParamIndicator string
const (
	ParamIndicatorExpires   ParamIndicator = "Expires"
	ParamIndicatorKeyId     ParamIndicator = "KeyId"
	ParamIndicatorSignature ParamIndicator = "Signature"
)

func (*ParamIndicator) UnmarshalJSON

func (s *ParamIndicator) UnmarshalJSON(bytes []byte) error

type PostArgsMatchConditionParameters

type PostArgsMatchConditionParameters struct {
	MatchValues     *[]string        `json:"matchValues,omitempty"`
	NegateCondition *bool            `json:"negateCondition,omitempty"`
	Operator        PostArgsOperator `json:"operator"`
	Selector        *string          `json:"selector,omitempty"`
	Transforms      *[]Transform     `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (PostArgsMatchConditionParameters) DeliveryRuleConditionParameters

func (PostArgsMatchConditionParameters) MarshalJSON

func (s PostArgsMatchConditionParameters) MarshalJSON() ([]byte, error)

type PostArgsOperator

type PostArgsOperator string
const (
	PostArgsOperatorAny                PostArgsOperator = "Any"
	PostArgsOperatorBeginsWith         PostArgsOperator = "BeginsWith"
	PostArgsOperatorContains           PostArgsOperator = "Contains"
	PostArgsOperatorEndsWith           PostArgsOperator = "EndsWith"
	PostArgsOperatorEqual              PostArgsOperator = "Equal"
	PostArgsOperatorGreaterThan        PostArgsOperator = "GreaterThan"
	PostArgsOperatorGreaterThanOrEqual PostArgsOperator = "GreaterThanOrEqual"
	PostArgsOperatorLessThan           PostArgsOperator = "LessThan"
	PostArgsOperatorLessThanOrEqual    PostArgsOperator = "LessThanOrEqual"
	PostArgsOperatorRegEx              PostArgsOperator = "RegEx"
)

func (*PostArgsOperator) UnmarshalJSON

func (s *PostArgsOperator) UnmarshalJSON(bytes []byte) error

type PrivateEndpointStatus

type PrivateEndpointStatus string
const (
	PrivateEndpointStatusApproved     PrivateEndpointStatus = "Approved"
	PrivateEndpointStatusDisconnected PrivateEndpointStatus = "Disconnected"
	PrivateEndpointStatusPending      PrivateEndpointStatus = "Pending"
	PrivateEndpointStatusRejected     PrivateEndpointStatus = "Rejected"
	PrivateEndpointStatusTimeout      PrivateEndpointStatus = "Timeout"
)

func (*PrivateEndpointStatus) UnmarshalJSON

func (s *PrivateEndpointStatus) UnmarshalJSON(bytes []byte) error

type ProbeProtocol

type ProbeProtocol string
const (
	ProbeProtocolHTTP   ProbeProtocol = "Http"
	ProbeProtocolHTTPS  ProbeProtocol = "Https"
	ProbeProtocolNotSet ProbeProtocol = "NotSet"
)

func (*ProbeProtocol) UnmarshalJSON

func (s *ProbeProtocol) UnmarshalJSON(bytes []byte) error

type ProfileId

type ProfileId struct {
	SubscriptionId    string
	ResourceGroupName string
	ProfileName       string
}

ProfileId is a struct representing the Resource ID for a Profile

func NewProfileID

func NewProfileID(subscriptionId string, resourceGroupName string, profileName string) ProfileId

NewProfileID returns a new ProfileId struct

func ParseProfileID

func ParseProfileID(input string) (*ProfileId, error)

ParseProfileID parses 'input' into a ProfileId

func ParseProfileIDInsensitively

func ParseProfileIDInsensitively(input string) (*ProfileId, error)

ParseProfileIDInsensitively parses 'input' case-insensitively into a ProfileId note: this method should only be used for API response data and not user input

func (*ProfileId) FromParseResult

func (id *ProfileId) FromParseResult(input resourceids.ParseResult) error

func (ProfileId) ID

func (id ProfileId) ID() string

ID returns the formatted Profile ID

func (ProfileId) Segments

func (id ProfileId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Profile ID

func (ProfileId) String

func (id ProfileId) String() string

String returns a human-readable description of this Profile ID

type PurgeContentOperationResponse

type PurgeContentOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type PurgeParameters

type PurgeParameters struct {
	ContentPaths []string `json:"contentPaths"`
}

type QueryStringBehavior

type QueryStringBehavior string
const (
	QueryStringBehaviorExclude    QueryStringBehavior = "Exclude"
	QueryStringBehaviorExcludeAll QueryStringBehavior = "ExcludeAll"
	QueryStringBehaviorInclude    QueryStringBehavior = "Include"
	QueryStringBehaviorIncludeAll QueryStringBehavior = "IncludeAll"
)

func (*QueryStringBehavior) UnmarshalJSON

func (s *QueryStringBehavior) UnmarshalJSON(bytes []byte) error

type QueryStringCachingBehavior

type QueryStringCachingBehavior string
const (
	QueryStringCachingBehaviorBypassCaching     QueryStringCachingBehavior = "BypassCaching"
	QueryStringCachingBehaviorIgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString"
	QueryStringCachingBehaviorNotSet            QueryStringCachingBehavior = "NotSet"
	QueryStringCachingBehaviorUseQueryString    QueryStringCachingBehavior = "UseQueryString"
)

func (*QueryStringCachingBehavior) UnmarshalJSON

func (s *QueryStringCachingBehavior) UnmarshalJSON(bytes []byte) error

type QueryStringMatchConditionParameters

type QueryStringMatchConditionParameters struct {
	MatchValues     *[]string           `json:"matchValues,omitempty"`
	NegateCondition *bool               `json:"negateCondition,omitempty"`
	Operator        QueryStringOperator `json:"operator"`
	Transforms      *[]Transform        `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (QueryStringMatchConditionParameters) DeliveryRuleConditionParameters

func (QueryStringMatchConditionParameters) MarshalJSON

func (s QueryStringMatchConditionParameters) MarshalJSON() ([]byte, error)

type QueryStringOperator

type QueryStringOperator string
const (
	QueryStringOperatorAny                QueryStringOperator = "Any"
	QueryStringOperatorBeginsWith         QueryStringOperator = "BeginsWith"
	QueryStringOperatorContains           QueryStringOperator = "Contains"
	QueryStringOperatorEndsWith           QueryStringOperator = "EndsWith"
	QueryStringOperatorEqual              QueryStringOperator = "Equal"
	QueryStringOperatorGreaterThan        QueryStringOperator = "GreaterThan"
	QueryStringOperatorGreaterThanOrEqual QueryStringOperator = "GreaterThanOrEqual"
	QueryStringOperatorLessThan           QueryStringOperator = "LessThan"
	QueryStringOperatorLessThanOrEqual    QueryStringOperator = "LessThanOrEqual"
	QueryStringOperatorRegEx              QueryStringOperator = "RegEx"
)

func (*QueryStringOperator) UnmarshalJSON

func (s *QueryStringOperator) UnmarshalJSON(bytes []byte) error

type RawDeliveryRuleActionImpl

type RawDeliveryRuleActionImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawDeliveryRuleActionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawDeliveryRuleActionImpl) DeliveryRuleAction

type RawDeliveryRuleActionParametersImpl

type RawDeliveryRuleActionParametersImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawDeliveryRuleActionParametersImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawDeliveryRuleActionParametersImpl) DeliveryRuleActionParameters

type RawDeliveryRuleConditionImpl

type RawDeliveryRuleConditionImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawDeliveryRuleConditionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawDeliveryRuleConditionImpl) DeliveryRuleCondition

type RawDeliveryRuleConditionParametersImpl

type RawDeliveryRuleConditionParametersImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawDeliveryRuleConditionParametersImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawDeliveryRuleConditionParametersImpl) DeliveryRuleConditionParameters

type RedirectType

type RedirectType string
const (
	RedirectTypeFound             RedirectType = "Found"
	RedirectTypeMoved             RedirectType = "Moved"
	RedirectTypePermanentRedirect RedirectType = "PermanentRedirect"
	RedirectTypeTemporaryRedirect RedirectType = "TemporaryRedirect"
)

func (*RedirectType) UnmarshalJSON

func (s *RedirectType) UnmarshalJSON(bytes []byte) error

type RemoteAddressMatchConditionParameters

type RemoteAddressMatchConditionParameters struct {
	MatchValues     *[]string             `json:"matchValues,omitempty"`
	NegateCondition *bool                 `json:"negateCondition,omitempty"`
	Operator        RemoteAddressOperator `json:"operator"`
	Transforms      *[]Transform          `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (RemoteAddressMatchConditionParameters) DeliveryRuleConditionParameters

func (RemoteAddressMatchConditionParameters) MarshalJSON

func (s RemoteAddressMatchConditionParameters) MarshalJSON() ([]byte, error)

type RemoteAddressOperator

type RemoteAddressOperator string
const (
	RemoteAddressOperatorAny      RemoteAddressOperator = "Any"
	RemoteAddressOperatorGeoMatch RemoteAddressOperator = "GeoMatch"
	RemoteAddressOperatorIPMatch  RemoteAddressOperator = "IPMatch"
)

func (*RemoteAddressOperator) UnmarshalJSON

func (s *RemoteAddressOperator) UnmarshalJSON(bytes []byte) error

type RequestBodyMatchConditionParameters

type RequestBodyMatchConditionParameters struct {
	MatchValues     *[]string           `json:"matchValues,omitempty"`
	NegateCondition *bool               `json:"negateCondition,omitempty"`
	Operator        RequestBodyOperator `json:"operator"`
	Transforms      *[]Transform        `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (RequestBodyMatchConditionParameters) DeliveryRuleConditionParameters

func (RequestBodyMatchConditionParameters) MarshalJSON

func (s RequestBodyMatchConditionParameters) MarshalJSON() ([]byte, error)

type RequestBodyOperator

type RequestBodyOperator string
const (
	RequestBodyOperatorAny                RequestBodyOperator = "Any"
	RequestBodyOperatorBeginsWith         RequestBodyOperator = "BeginsWith"
	RequestBodyOperatorContains           RequestBodyOperator = "Contains"
	RequestBodyOperatorEndsWith           RequestBodyOperator = "EndsWith"
	RequestBodyOperatorEqual              RequestBodyOperator = "Equal"
	RequestBodyOperatorGreaterThan        RequestBodyOperator = "GreaterThan"
	RequestBodyOperatorGreaterThanOrEqual RequestBodyOperator = "GreaterThanOrEqual"
	RequestBodyOperatorLessThan           RequestBodyOperator = "LessThan"
	RequestBodyOperatorLessThanOrEqual    RequestBodyOperator = "LessThanOrEqual"
	RequestBodyOperatorRegEx              RequestBodyOperator = "RegEx"
)

func (*RequestBodyOperator) UnmarshalJSON

func (s *RequestBodyOperator) UnmarshalJSON(bytes []byte) error

type RequestHeaderMatchConditionParameters

type RequestHeaderMatchConditionParameters struct {
	MatchValues     *[]string             `json:"matchValues,omitempty"`
	NegateCondition *bool                 `json:"negateCondition,omitempty"`
	Operator        RequestHeaderOperator `json:"operator"`
	Selector        *string               `json:"selector,omitempty"`
	Transforms      *[]Transform          `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (RequestHeaderMatchConditionParameters) DeliveryRuleConditionParameters

func (RequestHeaderMatchConditionParameters) MarshalJSON

func (s RequestHeaderMatchConditionParameters) MarshalJSON() ([]byte, error)

type RequestHeaderOperator

type RequestHeaderOperator string
const (
	RequestHeaderOperatorAny                RequestHeaderOperator = "Any"
	RequestHeaderOperatorBeginsWith         RequestHeaderOperator = "BeginsWith"
	RequestHeaderOperatorContains           RequestHeaderOperator = "Contains"
	RequestHeaderOperatorEndsWith           RequestHeaderOperator = "EndsWith"
	RequestHeaderOperatorEqual              RequestHeaderOperator = "Equal"
	RequestHeaderOperatorGreaterThan        RequestHeaderOperator = "GreaterThan"
	RequestHeaderOperatorGreaterThanOrEqual RequestHeaderOperator = "GreaterThanOrEqual"
	RequestHeaderOperatorLessThan           RequestHeaderOperator = "LessThan"
	RequestHeaderOperatorLessThanOrEqual    RequestHeaderOperator = "LessThanOrEqual"
	RequestHeaderOperatorRegEx              RequestHeaderOperator = "RegEx"
)

func (*RequestHeaderOperator) UnmarshalJSON

func (s *RequestHeaderOperator) UnmarshalJSON(bytes []byte) error

type RequestMethodMatchConditionParameters

type RequestMethodMatchConditionParameters struct {
	MatchValues     *[]RequestMethodMatchValue `json:"matchValues,omitempty"`
	NegateCondition *bool                      `json:"negateCondition,omitempty"`
	Operator        RequestMethodOperator      `json:"operator"`
	Transforms      *[]Transform               `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (RequestMethodMatchConditionParameters) DeliveryRuleConditionParameters

func (RequestMethodMatchConditionParameters) MarshalJSON

func (s RequestMethodMatchConditionParameters) MarshalJSON() ([]byte, error)

type RequestMethodMatchValue

type RequestMethodMatchValue string
const (
	RequestMethodMatchValueDELETE  RequestMethodMatchValue = "DELETE"
	RequestMethodMatchValueGET     RequestMethodMatchValue = "GET"
	RequestMethodMatchValueHEAD    RequestMethodMatchValue = "HEAD"
	RequestMethodMatchValueOPTIONS RequestMethodMatchValue = "OPTIONS"
	RequestMethodMatchValuePOST    RequestMethodMatchValue = "POST"
	RequestMethodMatchValuePUT     RequestMethodMatchValue = "PUT"
	RequestMethodMatchValueTRACE   RequestMethodMatchValue = "TRACE"
)

func (*RequestMethodMatchValue) UnmarshalJSON

func (s *RequestMethodMatchValue) UnmarshalJSON(bytes []byte) error

type RequestMethodOperator

type RequestMethodOperator string
const (
	RequestMethodOperatorEqual RequestMethodOperator = "Equal"
)

func (*RequestMethodOperator) UnmarshalJSON

func (s *RequestMethodOperator) UnmarshalJSON(bytes []byte) error

type RequestSchemeMatchConditionParameters

type RequestSchemeMatchConditionParameters struct {
	MatchValues     *[]RequestSchemeMatchValue `json:"matchValues,omitempty"`
	NegateCondition *bool                      `json:"negateCondition,omitempty"`
	Operator        Operator                   `json:"operator"`
	Transforms      *[]Transform               `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (RequestSchemeMatchConditionParameters) DeliveryRuleConditionParameters

func (RequestSchemeMatchConditionParameters) MarshalJSON

func (s RequestSchemeMatchConditionParameters) MarshalJSON() ([]byte, error)

type RequestSchemeMatchValue

type RequestSchemeMatchValue string
const (
	RequestSchemeMatchValueHTTP  RequestSchemeMatchValue = "HTTP"
	RequestSchemeMatchValueHTTPS RequestSchemeMatchValue = "HTTPS"
)

func (*RequestSchemeMatchValue) UnmarshalJSON

func (s *RequestSchemeMatchValue) UnmarshalJSON(bytes []byte) error

type RequestUriMatchConditionParameters

type RequestUriMatchConditionParameters struct {
	MatchValues     *[]string          `json:"matchValues,omitempty"`
	NegateCondition *bool              `json:"negateCondition,omitempty"`
	Operator        RequestUriOperator `json:"operator"`
	Transforms      *[]Transform       `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (RequestUriMatchConditionParameters) DeliveryRuleConditionParameters

func (RequestUriMatchConditionParameters) MarshalJSON

func (s RequestUriMatchConditionParameters) MarshalJSON() ([]byte, error)

type RequestUriOperator

type RequestUriOperator string
const (
	RequestUriOperatorAny                RequestUriOperator = "Any"
	RequestUriOperatorBeginsWith         RequestUriOperator = "BeginsWith"
	RequestUriOperatorContains           RequestUriOperator = "Contains"
	RequestUriOperatorEndsWith           RequestUriOperator = "EndsWith"
	RequestUriOperatorEqual              RequestUriOperator = "Equal"
	RequestUriOperatorGreaterThan        RequestUriOperator = "GreaterThan"
	RequestUriOperatorGreaterThanOrEqual RequestUriOperator = "GreaterThanOrEqual"
	RequestUriOperatorLessThan           RequestUriOperator = "LessThan"
	RequestUriOperatorLessThanOrEqual    RequestUriOperator = "LessThanOrEqual"
	RequestUriOperatorRegEx              RequestUriOperator = "RegEx"
)

func (*RequestUriOperator) UnmarshalJSON

func (s *RequestUriOperator) UnmarshalJSON(bytes []byte) error

type ResourceReference

type ResourceReference struct {
	Id *string `json:"id,omitempty"`
}

type ResourceUsage

type ResourceUsage struct {
	CurrentValue *int64             `json:"currentValue,omitempty"`
	Limit        *int64             `json:"limit,omitempty"`
	ResourceType *string            `json:"resourceType,omitempty"`
	Unit         *ResourceUsageUnit `json:"unit,omitempty"`
}

type ResourceUsageOperationPredicate

type ResourceUsageOperationPredicate struct {
	CurrentValue *int64
	Limit        *int64
	ResourceType *string
}

func (ResourceUsageOperationPredicate) Matches

type ResourceUsageUnit

type ResourceUsageUnit string
const (
	ResourceUsageUnitCount ResourceUsageUnit = "count"
)

func (*ResourceUsageUnit) UnmarshalJSON

func (s *ResourceUsageUnit) UnmarshalJSON(bytes []byte) error

type ResponseBasedDetectedErrorTypes

type ResponseBasedDetectedErrorTypes string
const (
	ResponseBasedDetectedErrorTypesNone             ResponseBasedDetectedErrorTypes = "None"
	ResponseBasedDetectedErrorTypesTcpAndHTTPErrors ResponseBasedDetectedErrorTypes = "TcpAndHttpErrors"
	ResponseBasedDetectedErrorTypesTcpErrorsOnly    ResponseBasedDetectedErrorTypes = "TcpErrorsOnly"
)

func (*ResponseBasedDetectedErrorTypes) UnmarshalJSON

func (s *ResponseBasedDetectedErrorTypes) UnmarshalJSON(bytes []byte) error

type ResponseBasedOriginErrorDetectionParameters

type ResponseBasedOriginErrorDetectionParameters struct {
	HTTPErrorRanges                          *[]HTTPErrorRangeParameters      `json:"httpErrorRanges,omitempty"`
	ResponseBasedDetectedErrorTypes          *ResponseBasedDetectedErrorTypes `json:"responseBasedDetectedErrorTypes,omitempty"`
	ResponseBasedFailoverThresholdPercentage *int64                           `json:"responseBasedFailoverThresholdPercentage,omitempty"`
}

type RouteConfigurationOverrideActionParameters

type RouteConfigurationOverrideActionParameters struct {
	CacheConfiguration  *CacheConfiguration  `json:"cacheConfiguration,omitempty"`
	OriginGroupOverride *OriginGroupOverride `json:"originGroupOverride,omitempty"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (RouteConfigurationOverrideActionParameters) DeliveryRuleActionParameters

func (RouteConfigurationOverrideActionParameters) MarshalJSON

type RuleCacheBehavior

type RuleCacheBehavior string
const (
	RuleCacheBehaviorHonorOrigin             RuleCacheBehavior = "HonorOrigin"
	RuleCacheBehaviorOverrideAlways          RuleCacheBehavior = "OverrideAlways"
	RuleCacheBehaviorOverrideIfOriginMissing RuleCacheBehavior = "OverrideIfOriginMissing"
)

func (*RuleCacheBehavior) UnmarshalJSON

func (s *RuleCacheBehavior) UnmarshalJSON(bytes []byte) error

type RuleIsCompressionEnabled

type RuleIsCompressionEnabled string
const (
	RuleIsCompressionEnabledDisabled RuleIsCompressionEnabled = "Disabled"
	RuleIsCompressionEnabledEnabled  RuleIsCompressionEnabled = "Enabled"
)

func (*RuleIsCompressionEnabled) UnmarshalJSON

func (s *RuleIsCompressionEnabled) UnmarshalJSON(bytes []byte) error

type RuleQueryStringCachingBehavior

type RuleQueryStringCachingBehavior string
const (
	RuleQueryStringCachingBehaviorIgnoreQueryString            RuleQueryStringCachingBehavior = "IgnoreQueryString"
	RuleQueryStringCachingBehaviorIgnoreSpecifiedQueryStrings  RuleQueryStringCachingBehavior = "IgnoreSpecifiedQueryStrings"
	RuleQueryStringCachingBehaviorIncludeSpecifiedQueryStrings RuleQueryStringCachingBehavior = "IncludeSpecifiedQueryStrings"
	RuleQueryStringCachingBehaviorUseQueryString               RuleQueryStringCachingBehavior = "UseQueryString"
)

func (*RuleQueryStringCachingBehavior) UnmarshalJSON

func (s *RuleQueryStringCachingBehavior) UnmarshalJSON(bytes []byte) error

type ServerPortMatchConditionParameters

type ServerPortMatchConditionParameters struct {
	MatchValues     *[]string          `json:"matchValues,omitempty"`
	NegateCondition *bool              `json:"negateCondition,omitempty"`
	Operator        ServerPortOperator `json:"operator"`
	Transforms      *[]Transform       `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (ServerPortMatchConditionParameters) DeliveryRuleConditionParameters

func (ServerPortMatchConditionParameters) MarshalJSON

func (s ServerPortMatchConditionParameters) MarshalJSON() ([]byte, error)

type ServerPortOperator

type ServerPortOperator string
const (
	ServerPortOperatorAny                ServerPortOperator = "Any"
	ServerPortOperatorBeginsWith         ServerPortOperator = "BeginsWith"
	ServerPortOperatorContains           ServerPortOperator = "Contains"
	ServerPortOperatorEndsWith           ServerPortOperator = "EndsWith"
	ServerPortOperatorEqual              ServerPortOperator = "Equal"
	ServerPortOperatorGreaterThan        ServerPortOperator = "GreaterThan"
	ServerPortOperatorGreaterThanOrEqual ServerPortOperator = "GreaterThanOrEqual"
	ServerPortOperatorLessThan           ServerPortOperator = "LessThan"
	ServerPortOperatorLessThanOrEqual    ServerPortOperator = "LessThanOrEqual"
	ServerPortOperatorRegEx              ServerPortOperator = "RegEx"
)

func (*ServerPortOperator) UnmarshalJSON

func (s *ServerPortOperator) UnmarshalJSON(bytes []byte) error

type SocketAddrMatchConditionParameters

type SocketAddrMatchConditionParameters struct {
	MatchValues     *[]string          `json:"matchValues,omitempty"`
	NegateCondition *bool              `json:"negateCondition,omitempty"`
	Operator        SocketAddrOperator `json:"operator"`
	Transforms      *[]Transform       `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (SocketAddrMatchConditionParameters) DeliveryRuleConditionParameters

func (SocketAddrMatchConditionParameters) MarshalJSON

func (s SocketAddrMatchConditionParameters) MarshalJSON() ([]byte, error)

type SocketAddrOperator

type SocketAddrOperator string
const (
	SocketAddrOperatorAny     SocketAddrOperator = "Any"
	SocketAddrOperatorIPMatch SocketAddrOperator = "IPMatch"
)

func (*SocketAddrOperator) UnmarshalJSON

func (s *SocketAddrOperator) UnmarshalJSON(bytes []byte) error

type SslProtocol

type SslProtocol string
const (
	SslProtocolTLSvOne         SslProtocol = "TLSv1"
	SslProtocolTLSvOnePointOne SslProtocol = "TLSv1.1"
	SslProtocolTLSvOnePointTwo SslProtocol = "TLSv1.2"
)

func (*SslProtocol) UnmarshalJSON

func (s *SslProtocol) UnmarshalJSON(bytes []byte) error

type SslProtocolMatchConditionParameters

type SslProtocolMatchConditionParameters struct {
	MatchValues     *[]SslProtocol      `json:"matchValues,omitempty"`
	NegateCondition *bool               `json:"negateCondition,omitempty"`
	Operator        SslProtocolOperator `json:"operator"`
	Transforms      *[]Transform        `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (SslProtocolMatchConditionParameters) DeliveryRuleConditionParameters

func (SslProtocolMatchConditionParameters) MarshalJSON

func (s SslProtocolMatchConditionParameters) MarshalJSON() ([]byte, error)

type SslProtocolOperator

type SslProtocolOperator string
const (
	SslProtocolOperatorEqual SslProtocolOperator = "Equal"
)

func (*SslProtocolOperator) UnmarshalJSON

func (s *SslProtocolOperator) UnmarshalJSON(bytes []byte) error

type StartOperationResponse

type StartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Endpoint
}

type StopOperationResponse

type StopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Endpoint
}

type Transform

type Transform string
const (
	TransformLowercase   Transform = "Lowercase"
	TransformRemoveNulls Transform = "RemoveNulls"
	TransformTrim        Transform = "Trim"
	TransformURLDecode   Transform = "UrlDecode"
	TransformURLEncode   Transform = "UrlEncode"
	TransformUppercase   Transform = "Uppercase"
)

func (*Transform) UnmarshalJSON

func (s *Transform) UnmarshalJSON(bytes []byte) error

type URLFileExtensionMatchConditionParameters added in v0.20241009.1142232

type URLFileExtensionMatchConditionParameters struct {
	MatchValues     *[]string                `json:"matchValues,omitempty"`
	NegateCondition *bool                    `json:"negateCondition,omitempty"`
	Operator        URLFileExtensionOperator `json:"operator"`
	Transforms      *[]Transform             `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (URLFileExtensionMatchConditionParameters) DeliveryRuleConditionParameters added in v0.20241009.1142232

func (URLFileExtensionMatchConditionParameters) MarshalJSON added in v0.20241009.1142232

type URLFileExtensionOperator added in v0.20241009.1142232

type URLFileExtensionOperator string
const (
	URLFileExtensionOperatorAny                URLFileExtensionOperator = "Any"
	URLFileExtensionOperatorBeginsWith         URLFileExtensionOperator = "BeginsWith"
	URLFileExtensionOperatorContains           URLFileExtensionOperator = "Contains"
	URLFileExtensionOperatorEndsWith           URLFileExtensionOperator = "EndsWith"
	URLFileExtensionOperatorEqual              URLFileExtensionOperator = "Equal"
	URLFileExtensionOperatorGreaterThan        URLFileExtensionOperator = "GreaterThan"
	URLFileExtensionOperatorGreaterThanOrEqual URLFileExtensionOperator = "GreaterThanOrEqual"
	URLFileExtensionOperatorLessThan           URLFileExtensionOperator = "LessThan"
	URLFileExtensionOperatorLessThanOrEqual    URLFileExtensionOperator = "LessThanOrEqual"
	URLFileExtensionOperatorRegEx              URLFileExtensionOperator = "RegEx"
)

func (*URLFileExtensionOperator) UnmarshalJSON added in v0.20241009.1142232

func (s *URLFileExtensionOperator) UnmarshalJSON(bytes []byte) error

type URLFileNameMatchConditionParameters added in v0.20241009.1142232

type URLFileNameMatchConditionParameters struct {
	MatchValues     *[]string           `json:"matchValues,omitempty"`
	NegateCondition *bool               `json:"negateCondition,omitempty"`
	Operator        URLFileNameOperator `json:"operator"`
	Transforms      *[]Transform        `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (URLFileNameMatchConditionParameters) DeliveryRuleConditionParameters added in v0.20241009.1142232

func (URLFileNameMatchConditionParameters) MarshalJSON added in v0.20241009.1142232

func (s URLFileNameMatchConditionParameters) MarshalJSON() ([]byte, error)

type URLFileNameOperator added in v0.20241009.1142232

type URLFileNameOperator string
const (
	URLFileNameOperatorAny                URLFileNameOperator = "Any"
	URLFileNameOperatorBeginsWith         URLFileNameOperator = "BeginsWith"
	URLFileNameOperatorContains           URLFileNameOperator = "Contains"
	URLFileNameOperatorEndsWith           URLFileNameOperator = "EndsWith"
	URLFileNameOperatorEqual              URLFileNameOperator = "Equal"
	URLFileNameOperatorGreaterThan        URLFileNameOperator = "GreaterThan"
	URLFileNameOperatorGreaterThanOrEqual URLFileNameOperator = "GreaterThanOrEqual"
	URLFileNameOperatorLessThan           URLFileNameOperator = "LessThan"
	URLFileNameOperatorLessThanOrEqual    URLFileNameOperator = "LessThanOrEqual"
	URLFileNameOperatorRegEx              URLFileNameOperator = "RegEx"
)

func (*URLFileNameOperator) UnmarshalJSON added in v0.20241009.1142232

func (s *URLFileNameOperator) UnmarshalJSON(bytes []byte) error

type URLPathMatchConditionParameters added in v0.20241009.1142232

type URLPathMatchConditionParameters struct {
	MatchValues     *[]string       `json:"matchValues,omitempty"`
	NegateCondition *bool           `json:"negateCondition,omitempty"`
	Operator        URLPathOperator `json:"operator"`
	Transforms      *[]Transform    `json:"transforms,omitempty"`

	TypeName DeliveryRuleConditionParametersType `json:"typeName"`
}

func (URLPathMatchConditionParameters) DeliveryRuleConditionParameters added in v0.20241009.1142232

func (URLPathMatchConditionParameters) MarshalJSON added in v0.20241009.1142232

func (s URLPathMatchConditionParameters) MarshalJSON() ([]byte, error)

type URLPathOperator added in v0.20241009.1142232

type URLPathOperator string
const (
	URLPathOperatorAny                URLPathOperator = "Any"
	URLPathOperatorBeginsWith         URLPathOperator = "BeginsWith"
	URLPathOperatorContains           URLPathOperator = "Contains"
	URLPathOperatorEndsWith           URLPathOperator = "EndsWith"
	URLPathOperatorEqual              URLPathOperator = "Equal"
	URLPathOperatorGreaterThan        URLPathOperator = "GreaterThan"
	URLPathOperatorGreaterThanOrEqual URLPathOperator = "GreaterThanOrEqual"
	URLPathOperatorLessThan           URLPathOperator = "LessThan"
	URLPathOperatorLessThanOrEqual    URLPathOperator = "LessThanOrEqual"
	URLPathOperatorRegEx              URLPathOperator = "RegEx"
	URLPathOperatorWildcard           URLPathOperator = "Wildcard"
)

func (*URLPathOperator) UnmarshalJSON added in v0.20241009.1142232

func (s *URLPathOperator) UnmarshalJSON(bytes []byte) error

type URLRedirectAction added in v0.20241009.1142232

type URLRedirectAction struct {
	Parameters URLRedirectActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (URLRedirectAction) DeliveryRuleAction added in v0.20241009.1142232

func (s URLRedirectAction) DeliveryRuleAction() BaseDeliveryRuleActionImpl

func (URLRedirectAction) MarshalJSON added in v0.20241009.1142232

func (s URLRedirectAction) MarshalJSON() ([]byte, error)

type URLRedirectActionParameters added in v0.20241009.1142232

type URLRedirectActionParameters struct {
	CustomFragment      *string              `json:"customFragment,omitempty"`
	CustomHostname      *string              `json:"customHostname,omitempty"`
	CustomPath          *string              `json:"customPath,omitempty"`
	CustomQueryString   *string              `json:"customQueryString,omitempty"`
	DestinationProtocol *DestinationProtocol `json:"destinationProtocol,omitempty"`
	RedirectType        RedirectType         `json:"redirectType"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (URLRedirectActionParameters) DeliveryRuleActionParameters added in v0.20241009.1142232

func (s URLRedirectActionParameters) DeliveryRuleActionParameters() BaseDeliveryRuleActionParametersImpl

func (URLRedirectActionParameters) MarshalJSON added in v0.20241009.1142232

func (s URLRedirectActionParameters) MarshalJSON() ([]byte, error)

type URLRewriteAction added in v0.20241009.1142232

type URLRewriteAction struct {
	Parameters URLRewriteActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (URLRewriteAction) DeliveryRuleAction added in v0.20241009.1142232

func (s URLRewriteAction) DeliveryRuleAction() BaseDeliveryRuleActionImpl

func (URLRewriteAction) MarshalJSON added in v0.20241009.1142232

func (s URLRewriteAction) MarshalJSON() ([]byte, error)

type URLRewriteActionParameters added in v0.20241009.1142232

type URLRewriteActionParameters struct {
	Destination           string `json:"destination"`
	PreserveUnmatchedPath *bool  `json:"preserveUnmatchedPath,omitempty"`
	SourcePattern         string `json:"sourcePattern"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (URLRewriteActionParameters) DeliveryRuleActionParameters added in v0.20241009.1142232

func (s URLRewriteActionParameters) DeliveryRuleActionParameters() BaseDeliveryRuleActionParametersImpl

func (URLRewriteActionParameters) MarshalJSON added in v0.20241009.1142232

func (s URLRewriteActionParameters) MarshalJSON() ([]byte, error)

type URLSigningAction added in v0.20241009.1142232

type URLSigningAction struct {
	Parameters URLSigningActionParameters `json:"parameters"`

	Name DeliveryRuleActionName `json:"name"`
}

func (URLSigningAction) DeliveryRuleAction added in v0.20241009.1142232

func (s URLSigningAction) DeliveryRuleAction() BaseDeliveryRuleActionImpl

func (URLSigningAction) MarshalJSON added in v0.20241009.1142232

func (s URLSigningAction) MarshalJSON() ([]byte, error)

type URLSigningActionParameters added in v0.20241009.1142232

type URLSigningActionParameters struct {
	Algorithm             *Algorithm                   `json:"algorithm,omitempty"`
	ParameterNameOverride *[]URLSigningParamIdentifier `json:"parameterNameOverride,omitempty"`

	TypeName DeliveryRuleActionParametersType `json:"typeName"`
}

func (URLSigningActionParameters) DeliveryRuleActionParameters added in v0.20241009.1142232

func (s URLSigningActionParameters) DeliveryRuleActionParameters() BaseDeliveryRuleActionParametersImpl

func (URLSigningActionParameters) MarshalJSON added in v0.20241009.1142232

func (s URLSigningActionParameters) MarshalJSON() ([]byte, error)

type URLSigningKey added in v0.20241009.1142232

type URLSigningKey struct {
	KeyId               string                       `json:"keyId"`
	KeySourceParameters KeyVaultSigningKeyParameters `json:"keySourceParameters"`
}

type URLSigningParamIdentifier added in v0.20241009.1142232

type URLSigningParamIdentifier struct {
	ParamIndicator ParamIndicator `json:"paramIndicator"`
	ParamName      string         `json:"paramName"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Endpoint
}

type ValidateCustomDomainInput

type ValidateCustomDomainInput struct {
	HostName string `json:"hostName"`
}

type ValidateCustomDomainOperationResponse

type ValidateCustomDomainOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ValidateCustomDomainOutput
}

type ValidateCustomDomainOutput

type ValidateCustomDomainOutput struct {
	CustomDomainValidated *bool   `json:"customDomainValidated,omitempty"`
	Message               *string `json:"message,omitempty"`
	Reason                *string `json:"reason,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL