frontdoors

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForBackendEnabledState

func PossibleValuesForBackendEnabledState() []string

func PossibleValuesForCustomHttpsProvisioningState

func PossibleValuesForCustomHttpsProvisioningState() []string

func PossibleValuesForCustomHttpsProvisioningSubstate

func PossibleValuesForCustomHttpsProvisioningSubstate() []string

func PossibleValuesForDynamicCompressionEnabled

func PossibleValuesForDynamicCompressionEnabled() []string

func PossibleValuesForEnforceCertificateNameCheckEnabledState

func PossibleValuesForEnforceCertificateNameCheckEnabledState() []string

func PossibleValuesForFrontDoorCertificateSource

func PossibleValuesForFrontDoorCertificateSource() []string

func PossibleValuesForFrontDoorCertificateType

func PossibleValuesForFrontDoorCertificateType() []string

func PossibleValuesForFrontDoorEnabledState

func PossibleValuesForFrontDoorEnabledState() []string

func PossibleValuesForFrontDoorForwardingProtocol

func PossibleValuesForFrontDoorForwardingProtocol() []string

func PossibleValuesForFrontDoorHealthProbeMethod

func PossibleValuesForFrontDoorHealthProbeMethod() []string

func PossibleValuesForFrontDoorProtocol

func PossibleValuesForFrontDoorProtocol() []string

func PossibleValuesForFrontDoorQuery

func PossibleValuesForFrontDoorQuery() []string

func PossibleValuesForFrontDoorRedirectProtocol

func PossibleValuesForFrontDoorRedirectProtocol() []string

func PossibleValuesForFrontDoorRedirectType

func PossibleValuesForFrontDoorRedirectType() []string

func PossibleValuesForFrontDoorResourceState

func PossibleValuesForFrontDoorResourceState() []string

func PossibleValuesForFrontDoorTlsProtocolType

func PossibleValuesForFrontDoorTlsProtocolType() []string

func PossibleValuesForHeaderActionType

func PossibleValuesForHeaderActionType() []string

func PossibleValuesForHealthProbeEnabled

func PossibleValuesForHealthProbeEnabled() []string

func PossibleValuesForMatchProcessingBehavior

func PossibleValuesForMatchProcessingBehavior() []string

func PossibleValuesForMinimumTLSVersion

func PossibleValuesForMinimumTLSVersion() []string

func PossibleValuesForPrivateEndpointStatus

func PossibleValuesForPrivateEndpointStatus() []string

func PossibleValuesForRoutingRuleEnabledState

func PossibleValuesForRoutingRuleEnabledState() []string

func PossibleValuesForRulesEngineMatchVariable

func PossibleValuesForRulesEngineMatchVariable() []string

func PossibleValuesForRulesEngineOperator

func PossibleValuesForRulesEngineOperator() []string

func PossibleValuesForSessionAffinityEnabledState

func PossibleValuesForSessionAffinityEnabledState() []string

func PossibleValuesForTransform

func PossibleValuesForTransform() []string

func ValidateFrontDoorID

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

ValidateFrontDoorID checks that 'input' can be parsed as a Front Door ID

func ValidateFrontendEndpointID

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

ValidateFrontendEndpointID checks that 'input' can be parsed as a Frontend Endpoint ID

func ValidateResourceGroupID

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

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateRulesEngineID

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

ValidateRulesEngineID checks that 'input' can be parsed as a Rules Engine ID

func ValidateSubscriptionID

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

ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID

Types

type Backend

type Backend struct {
	Address                    *string                `json:"address,omitempty"`
	BackendHostHeader          *string                `json:"backendHostHeader,omitempty"`
	EnabledState               *BackendEnabledState   `json:"enabledState,omitempty"`
	HttpPort                   *int64                 `json:"httpPort,omitempty"`
	HttpsPort                  *int64                 `json:"httpsPort,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 BackendEnabledState

type BackendEnabledState string
const (
	BackendEnabledStateDisabled BackendEnabledState = "Disabled"
	BackendEnabledStateEnabled  BackendEnabledState = "Enabled"
)

type BackendPool

type BackendPool struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *BackendPoolProperties `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type BackendPoolProperties

type BackendPoolProperties struct {
	Backends              *[]Backend              `json:"backends,omitempty"`
	HealthProbeSettings   *SubResource            `json:"healthProbeSettings,omitempty"`
	LoadBalancingSettings *SubResource            `json:"loadBalancingSettings,omitempty"`
	ResourceState         *FrontDoorResourceState `json:"resourceState,omitempty"`
}

type BackendPoolsSettings

type BackendPoolsSettings struct {
	EnforceCertificateNameCheck *EnforceCertificateNameCheckEnabledState `json:"enforceCertificateNameCheck,omitempty"`
	SendRecvTimeoutSeconds      *int64                                   `json:"sendRecvTimeoutSeconds,omitempty"`
}

type CacheConfiguration

type CacheConfiguration struct {
	CacheDuration                *string                    `json:"cacheDuration,omitempty"`
	DynamicCompression           *DynamicCompressionEnabled `json:"dynamicCompression,omitempty"`
	QueryParameterStripDirective *FrontDoorQuery            `json:"queryParameterStripDirective,omitempty"`
	QueryParameters              *string                    `json:"queryParameters,omitempty"`
}

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CustomHttpsConfiguration

type CustomHttpsConfiguration struct {
	CertificateSource                    FrontDoorCertificateSource            `json:"certificateSource"`
	FrontDoorCertificateSourceParameters *FrontDoorCertificateSourceParameters `json:"frontDoorCertificateSourceParameters,omitempty"`
	KeyVaultCertificateSourceParameters  *KeyVaultCertificateSourceParameters  `json:"keyVaultCertificateSourceParameters,omitempty"`
	MinimumTlsVersion                    MinimumTLSVersion                     `json:"minimumTlsVersion"`
	ProtocolType                         FrontDoorTlsProtocolType              `json:"protocolType"`
}

type CustomHttpsProvisioningState

type CustomHttpsProvisioningState string
const (
	CustomHttpsProvisioningStateDisabled  CustomHttpsProvisioningState = "Disabled"
	CustomHttpsProvisioningStateDisabling CustomHttpsProvisioningState = "Disabling"
	CustomHttpsProvisioningStateEnabled   CustomHttpsProvisioningState = "Enabled"
	CustomHttpsProvisioningStateEnabling  CustomHttpsProvisioningState = "Enabling"
	CustomHttpsProvisioningStateFailed    CustomHttpsProvisioningState = "Failed"
)

type CustomHttpsProvisioningSubstate

type CustomHttpsProvisioningSubstate string
const (
	CustomHttpsProvisioningSubstateCertificateDeleted                            CustomHttpsProvisioningSubstate = "CertificateDeleted"
	CustomHttpsProvisioningSubstateCertificateDeployed                           CustomHttpsProvisioningSubstate = "CertificateDeployed"
	CustomHttpsProvisioningSubstateDeletingCertificate                           CustomHttpsProvisioningSubstate = "DeletingCertificate"
	CustomHttpsProvisioningSubstateDeployingCertificate                          CustomHttpsProvisioningSubstate = "DeployingCertificate"
	CustomHttpsProvisioningSubstateDomainControlValidationRequestApproved        CustomHttpsProvisioningSubstate = "DomainControlValidationRequestApproved"
	CustomHttpsProvisioningSubstateDomainControlValidationRequestRejected        CustomHttpsProvisioningSubstate = "DomainControlValidationRequestRejected"
	CustomHttpsProvisioningSubstateDomainControlValidationRequestTimedOut        CustomHttpsProvisioningSubstate = "DomainControlValidationRequestTimedOut"
	CustomHttpsProvisioningSubstateIssuingCertificate                            CustomHttpsProvisioningSubstate = "IssuingCertificate"
	CustomHttpsProvisioningSubstatePendingDomainControlValidationREquestApproval CustomHttpsProvisioningSubstate = "PendingDomainControlValidationREquestApproval"
	CustomHttpsProvisioningSubstateSubmittingDomainControlValidationRequest      CustomHttpsProvisioningSubstate = "SubmittingDomainControlValidationRequest"
)

type DeleteResponse

type DeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DynamicCompressionEnabled

type DynamicCompressionEnabled string
const (
	DynamicCompressionEnabledDisabled DynamicCompressionEnabled = "Disabled"
	DynamicCompressionEnabledEnabled  DynamicCompressionEnabled = "Enabled"
)

type EndpointsPurgeContentResponse

type EndpointsPurgeContentResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type EnforceCertificateNameCheckEnabledState

type EnforceCertificateNameCheckEnabledState string
const (
	EnforceCertificateNameCheckEnabledStateDisabled EnforceCertificateNameCheckEnabledState = "Disabled"
	EnforceCertificateNameCheckEnabledStateEnabled  EnforceCertificateNameCheckEnabledState = "Enabled"
)

type ForwardingConfiguration

type ForwardingConfiguration struct {
	BackendPool          *SubResource                 `json:"backendPool,omitempty"`
	CacheConfiguration   *CacheConfiguration          `json:"cacheConfiguration,omitempty"`
	CustomForwardingPath *string                      `json:"customForwardingPath,omitempty"`
	ForwardingProtocol   *FrontDoorForwardingProtocol `json:"forwardingProtocol,omitempty"`
}

func (ForwardingConfiguration) MarshalJSON

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

type FrontDoor

type FrontDoor struct {
	Id         *string              `json:"id,omitempty"`
	Location   *string              `json:"location,omitempty"`
	Name       *string              `json:"name,omitempty"`
	Properties *FrontDoorProperties `json:"properties,omitempty"`
	Tags       *map[string]string   `json:"tags,omitempty"`
	Type       *string              `json:"type,omitempty"`
}

type FrontDoorCertificateSource

type FrontDoorCertificateSource string
const (
	FrontDoorCertificateSourceAzureKeyVault FrontDoorCertificateSource = "AzureKeyVault"
	FrontDoorCertificateSourceFrontDoor     FrontDoorCertificateSource = "FrontDoor"
)

type FrontDoorCertificateSourceParameters

type FrontDoorCertificateSourceParameters struct {
	CertificateType *FrontDoorCertificateType `json:"certificateType,omitempty"`
}

type FrontDoorCertificateType

type FrontDoorCertificateType string
const (
	FrontDoorCertificateTypeDedicated FrontDoorCertificateType = "Dedicated"
)

type FrontDoorEnabledState

type FrontDoorEnabledState string
const (
	FrontDoorEnabledStateDisabled FrontDoorEnabledState = "Disabled"
	FrontDoorEnabledStateEnabled  FrontDoorEnabledState = "Enabled"
)

type FrontDoorForwardingProtocol

type FrontDoorForwardingProtocol string
const (
	FrontDoorForwardingProtocolHttpOnly     FrontDoorForwardingProtocol = "HttpOnly"
	FrontDoorForwardingProtocolHttpsOnly    FrontDoorForwardingProtocol = "HttpsOnly"
	FrontDoorForwardingProtocolMatchRequest FrontDoorForwardingProtocol = "MatchRequest"
)

type FrontDoorHealthProbeMethod

type FrontDoorHealthProbeMethod string
const (
	FrontDoorHealthProbeMethodGET  FrontDoorHealthProbeMethod = "GET"
	FrontDoorHealthProbeMethodHEAD FrontDoorHealthProbeMethod = "HEAD"
)

type FrontDoorId

type FrontDoorId struct {
	SubscriptionId    string
	ResourceGroupName string
	FrontDoorName     string
}

FrontDoorId is a struct representing the Resource ID for a Front Door

func NewFrontDoorID

func NewFrontDoorID(subscriptionId string, resourceGroupName string, frontDoorName string) FrontDoorId

NewFrontDoorID returns a new FrontDoorId struct

func ParseFrontDoorID

func ParseFrontDoorID(input string) (*FrontDoorId, error)

ParseFrontDoorID parses 'input' into a FrontDoorId

func ParseFrontDoorIDInsensitively

func ParseFrontDoorIDInsensitively(input string) (*FrontDoorId, error)

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

func (FrontDoorId) ID

func (id FrontDoorId) ID() string

ID returns the formatted Front Door ID

func (FrontDoorId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Front Door ID

func (FrontDoorId) String

func (id FrontDoorId) String() string

String returns a human-readable description of this Front Door ID

type FrontDoorPredicate

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

func (FrontDoorPredicate) Matches

func (p FrontDoorPredicate) Matches(input FrontDoor) bool

type FrontDoorProperties

type FrontDoorProperties struct {
	BackendPools          *[]BackendPool                `json:"backendPools,omitempty"`
	BackendPoolsSettings  *BackendPoolsSettings         `json:"backendPoolsSettings,omitempty"`
	Cname                 *string                       `json:"cname,omitempty"`
	EnabledState          *FrontDoorEnabledState        `json:"enabledState,omitempty"`
	FriendlyName          *string                       `json:"friendlyName,omitempty"`
	FrontdoorId           *string                       `json:"frontdoorId,omitempty"`
	FrontendEndpoints     *[]FrontendEndpoint           `json:"frontendEndpoints,omitempty"`
	HealthProbeSettings   *[]HealthProbeSettingsModel   `json:"healthProbeSettings,omitempty"`
	LoadBalancingSettings *[]LoadBalancingSettingsModel `json:"loadBalancingSettings,omitempty"`
	ProvisioningState     *string                       `json:"provisioningState,omitempty"`
	ResourceState         *FrontDoorResourceState       `json:"resourceState,omitempty"`
	RoutingRules          *[]RoutingRule                `json:"routingRules,omitempty"`
	RulesEngines          *[]RulesEngine                `json:"rulesEngines,omitempty"`
}

type FrontDoorProtocol

type FrontDoorProtocol string
const (
	FrontDoorProtocolHttp  FrontDoorProtocol = "Http"
	FrontDoorProtocolHttps FrontDoorProtocol = "Https"
)

type FrontDoorQuery

type FrontDoorQuery string
const (
	FrontDoorQueryStripAll       FrontDoorQuery = "StripAll"
	FrontDoorQueryStripAllExcept FrontDoorQuery = "StripAllExcept"
	FrontDoorQueryStripNone      FrontDoorQuery = "StripNone"
	FrontDoorQueryStripOnly      FrontDoorQuery = "StripOnly"
)

type FrontDoorRedirectProtocol

type FrontDoorRedirectProtocol string
const (
	FrontDoorRedirectProtocolHttpOnly     FrontDoorRedirectProtocol = "HttpOnly"
	FrontDoorRedirectProtocolHttpsOnly    FrontDoorRedirectProtocol = "HttpsOnly"
	FrontDoorRedirectProtocolMatchRequest FrontDoorRedirectProtocol = "MatchRequest"
)

type FrontDoorRedirectType

type FrontDoorRedirectType string
const (
	FrontDoorRedirectTypeFound             FrontDoorRedirectType = "Found"
	FrontDoorRedirectTypeMoved             FrontDoorRedirectType = "Moved"
	FrontDoorRedirectTypePermanentRedirect FrontDoorRedirectType = "PermanentRedirect"
	FrontDoorRedirectTypeTemporaryRedirect FrontDoorRedirectType = "TemporaryRedirect"
)

type FrontDoorResourceState

type FrontDoorResourceState string
const (
	FrontDoorResourceStateCreating  FrontDoorResourceState = "Creating"
	FrontDoorResourceStateDeleting  FrontDoorResourceState = "Deleting"
	FrontDoorResourceStateDisabled  FrontDoorResourceState = "Disabled"
	FrontDoorResourceStateDisabling FrontDoorResourceState = "Disabling"
	FrontDoorResourceStateEnabled   FrontDoorResourceState = "Enabled"
	FrontDoorResourceStateEnabling  FrontDoorResourceState = "Enabling"
)

type FrontDoorTlsProtocolType

type FrontDoorTlsProtocolType string
const (
	FrontDoorTlsProtocolTypeServerNameIndication FrontDoorTlsProtocolType = "ServerNameIndication"
)

type FrontDoorsClient

type FrontDoorsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewFrontDoorsClientWithBaseURI

func NewFrontDoorsClientWithBaseURI(endpoint string) FrontDoorsClient

func (FrontDoorsClient) CreateOrUpdate

func (c FrontDoorsClient) CreateOrUpdate(ctx context.Context, id FrontDoorId, input FrontDoor) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (FrontDoorsClient) CreateOrUpdateThenPoll

func (c FrontDoorsClient) CreateOrUpdateThenPoll(ctx context.Context, id FrontDoorId, input FrontDoor) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FrontDoorsClient) Delete

func (c FrontDoorsClient) Delete(ctx context.Context, id FrontDoorId) (result DeleteResponse, err error)

Delete ...

func (FrontDoorsClient) DeleteThenPoll

func (c FrontDoorsClient) DeleteThenPoll(ctx context.Context, id FrontDoorId) error

DeleteThenPoll performs Delete then polls until it's completed

func (FrontDoorsClient) EndpointsPurgeContent

func (c FrontDoorsClient) EndpointsPurgeContent(ctx context.Context, id FrontDoorId, input PurgeParameters) (result EndpointsPurgeContentResponse, err error)

EndpointsPurgeContent ...

func (FrontDoorsClient) EndpointsPurgeContentThenPoll

func (c FrontDoorsClient) EndpointsPurgeContentThenPoll(ctx context.Context, id FrontDoorId, input PurgeParameters) error

EndpointsPurgeContentThenPoll performs EndpointsPurgeContent then polls until it's completed

func (FrontDoorsClient) FrontendEndpointsDisableHttps

func (c FrontDoorsClient) FrontendEndpointsDisableHttps(ctx context.Context, id FrontendEndpointId) (result FrontendEndpointsDisableHttpsResponse, err error)

FrontendEndpointsDisableHttps ...

func (FrontDoorsClient) FrontendEndpointsDisableHttpsThenPoll

func (c FrontDoorsClient) FrontendEndpointsDisableHttpsThenPoll(ctx context.Context, id FrontendEndpointId) error

FrontendEndpointsDisableHttpsThenPoll performs FrontendEndpointsDisableHttps then polls until it's completed

func (FrontDoorsClient) FrontendEndpointsEnableHttps

func (c FrontDoorsClient) FrontendEndpointsEnableHttps(ctx context.Context, id FrontendEndpointId, input CustomHttpsConfiguration) (result FrontendEndpointsEnableHttpsResponse, err error)

FrontendEndpointsEnableHttps ...

func (FrontDoorsClient) FrontendEndpointsEnableHttpsThenPoll

func (c FrontDoorsClient) FrontendEndpointsEnableHttpsThenPoll(ctx context.Context, id FrontendEndpointId, input CustomHttpsConfiguration) error

FrontendEndpointsEnableHttpsThenPoll performs FrontendEndpointsEnableHttps then polls until it's completed

func (FrontDoorsClient) FrontendEndpointsGet

func (c FrontDoorsClient) FrontendEndpointsGet(ctx context.Context, id FrontendEndpointId) (result FrontendEndpointsGetResponse, err error)

FrontendEndpointsGet ...

func (FrontDoorsClient) FrontendEndpointsListByFrontDoor

func (c FrontDoorsClient) FrontendEndpointsListByFrontDoor(ctx context.Context, id FrontDoorId) (resp FrontendEndpointsListByFrontDoorResponse, err error)

FrontendEndpointsListByFrontDoor ...

func (FrontDoorsClient) FrontendEndpointsListByFrontDoorComplete

func (c FrontDoorsClient) FrontendEndpointsListByFrontDoorComplete(ctx context.Context, id FrontDoorId) (FrontendEndpointsListByFrontDoorCompleteResult, error)

FrontendEndpointsListByFrontDoorComplete retrieves all of the results into a single object

func (FrontDoorsClient) FrontendEndpointsListByFrontDoorCompleteMatchingPredicate

func (c FrontDoorsClient) FrontendEndpointsListByFrontDoorCompleteMatchingPredicate(ctx context.Context, id FrontDoorId, predicate FrontendEndpointPredicate) (resp FrontendEndpointsListByFrontDoorCompleteResult, err error)

FrontendEndpointsListByFrontDoorCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (FrontDoorsClient) Get

func (c FrontDoorsClient) Get(ctx context.Context, id FrontDoorId) (result GetResponse, err error)

Get ...

func (FrontDoorsClient) List

func (c FrontDoorsClient) List(ctx context.Context, id SubscriptionId) (resp ListResponse, err error)

List ...

func (FrontDoorsClient) ListByResourceGroup

func (c FrontDoorsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)

ListByResourceGroup ...

func (FrontDoorsClient) ListByResourceGroupComplete

func (c FrontDoorsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)

ListByResourceGroupComplete retrieves all of the results into a single object

func (FrontDoorsClient) ListByResourceGroupCompleteMatchingPredicate

func (c FrontDoorsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate FrontDoorPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (FrontDoorsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (FrontDoorsClient) ListCompleteMatchingPredicate

func (c FrontDoorsClient) ListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate FrontDoorPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (FrontDoorsClient) RulesEnginesCreateOrUpdate

func (c FrontDoorsClient) RulesEnginesCreateOrUpdate(ctx context.Context, id RulesEngineId, input RulesEngine) (result RulesEnginesCreateOrUpdateResponse, err error)

RulesEnginesCreateOrUpdate ...

func (FrontDoorsClient) RulesEnginesCreateOrUpdateThenPoll

func (c FrontDoorsClient) RulesEnginesCreateOrUpdateThenPoll(ctx context.Context, id RulesEngineId, input RulesEngine) error

RulesEnginesCreateOrUpdateThenPoll performs RulesEnginesCreateOrUpdate then polls until it's completed

func (FrontDoorsClient) RulesEnginesDelete

func (c FrontDoorsClient) RulesEnginesDelete(ctx context.Context, id RulesEngineId) (result RulesEnginesDeleteResponse, err error)

RulesEnginesDelete ...

func (FrontDoorsClient) RulesEnginesDeleteThenPoll

func (c FrontDoorsClient) RulesEnginesDeleteThenPoll(ctx context.Context, id RulesEngineId) error

RulesEnginesDeleteThenPoll performs RulesEnginesDelete then polls until it's completed

func (FrontDoorsClient) RulesEnginesGet

func (c FrontDoorsClient) RulesEnginesGet(ctx context.Context, id RulesEngineId) (result RulesEnginesGetResponse, err error)

RulesEnginesGet ...

func (FrontDoorsClient) RulesEnginesListByFrontDoor

func (c FrontDoorsClient) RulesEnginesListByFrontDoor(ctx context.Context, id FrontDoorId) (resp RulesEnginesListByFrontDoorResponse, err error)

RulesEnginesListByFrontDoor ...

func (FrontDoorsClient) RulesEnginesListByFrontDoorComplete

func (c FrontDoorsClient) RulesEnginesListByFrontDoorComplete(ctx context.Context, id FrontDoorId) (RulesEnginesListByFrontDoorCompleteResult, error)

RulesEnginesListByFrontDoorComplete retrieves all of the results into a single object

func (FrontDoorsClient) RulesEnginesListByFrontDoorCompleteMatchingPredicate

func (c FrontDoorsClient) RulesEnginesListByFrontDoorCompleteMatchingPredicate(ctx context.Context, id FrontDoorId, predicate RulesEnginePredicate) (resp RulesEnginesListByFrontDoorCompleteResult, err error)

RulesEnginesListByFrontDoorCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (FrontDoorsClient) ValidateCustomDomain

func (c FrontDoorsClient) ValidateCustomDomain(ctx context.Context, id FrontDoorId, input ValidateCustomDomainInput) (result ValidateCustomDomainResponse, err error)

ValidateCustomDomain ...

type FrontendEndpoint

type FrontendEndpoint struct {
	Id         *string                     `json:"id,omitempty"`
	Name       *string                     `json:"name,omitempty"`
	Properties *FrontendEndpointProperties `json:"properties,omitempty"`
	Type       *string                     `json:"type,omitempty"`
}

type FrontendEndpointId

type FrontendEndpointId struct {
	SubscriptionId       string
	ResourceGroupName    string
	FrontDoorName        string
	FrontendEndpointName string
}

FrontendEndpointId is a struct representing the Resource ID for a Frontend Endpoint

func NewFrontendEndpointID

func NewFrontendEndpointID(subscriptionId string, resourceGroupName string, frontDoorName string, frontendEndpointName string) FrontendEndpointId

NewFrontendEndpointID returns a new FrontendEndpointId struct

func ParseFrontendEndpointID

func ParseFrontendEndpointID(input string) (*FrontendEndpointId, error)

ParseFrontendEndpointID parses 'input' into a FrontendEndpointId

func ParseFrontendEndpointIDInsensitively

func ParseFrontendEndpointIDInsensitively(input string) (*FrontendEndpointId, error)

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

func (FrontendEndpointId) ID

func (id FrontendEndpointId) ID() string

ID returns the formatted Frontend Endpoint ID

func (FrontendEndpointId) Segments

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

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

func (FrontendEndpointId) String

func (id FrontendEndpointId) String() string

String returns a human-readable description of this Frontend Endpoint ID

type FrontendEndpointPredicate

type FrontendEndpointPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (FrontendEndpointPredicate) Matches

type FrontendEndpointProperties

type FrontendEndpointProperties struct {
	CustomHttpsConfiguration         *CustomHttpsConfiguration                                         `json:"customHttpsConfiguration,omitempty"`
	CustomHttpsProvisioningState     *CustomHttpsProvisioningState                                     `json:"customHttpsProvisioningState,omitempty"`
	CustomHttpsProvisioningSubstate  *CustomHttpsProvisioningSubstate                                  `json:"customHttpsProvisioningSubstate,omitempty"`
	HostName                         *string                                                           `json:"hostName,omitempty"`
	ResourceState                    *FrontDoorResourceState                                           `json:"resourceState,omitempty"`
	SessionAffinityEnabledState      *SessionAffinityEnabledState                                      `json:"sessionAffinityEnabledState,omitempty"`
	SessionAffinityTtlSeconds        *int64                                                            `json:"sessionAffinityTtlSeconds,omitempty"`
	WebApplicationFirewallPolicyLink *FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}
type FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink struct {
	Id *string `json:"id,omitempty"`
}

type FrontendEndpointsDisableHttpsResponse

type FrontendEndpointsDisableHttpsResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type FrontendEndpointsEnableHttpsResponse

type FrontendEndpointsEnableHttpsResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type FrontendEndpointsGetResponse

type FrontendEndpointsGetResponse struct {
	HttpResponse *http.Response
	Model        *FrontendEndpoint
}

type FrontendEndpointsListByFrontDoorCompleteResult

type FrontendEndpointsListByFrontDoorCompleteResult struct {
	Items []FrontendEndpoint
}

type FrontendEndpointsListByFrontDoorResponse

type FrontendEndpointsListByFrontDoorResponse struct {
	HttpResponse *http.Response
	Model        *[]FrontendEndpoint
	// contains filtered or unexported fields
}

func (FrontendEndpointsListByFrontDoorResponse) HasMore

func (FrontendEndpointsListByFrontDoorResponse) LoadMore

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *FrontDoor
}

type HeaderAction

type HeaderAction struct {
	HeaderActionType HeaderActionType `json:"headerActionType"`
	HeaderName       string           `json:"headerName"`
	Value            *string          `json:"value,omitempty"`
}

type HeaderActionType

type HeaderActionType string
const (
	HeaderActionTypeAppend    HeaderActionType = "Append"
	HeaderActionTypeDelete    HeaderActionType = "Delete"
	HeaderActionTypeOverwrite HeaderActionType = "Overwrite"
)

type HealthProbeEnabled

type HealthProbeEnabled string
const (
	HealthProbeEnabledDisabled HealthProbeEnabled = "Disabled"
	HealthProbeEnabledEnabled  HealthProbeEnabled = "Enabled"
)

type HealthProbeSettingsModel

type HealthProbeSettingsModel struct {
	Id         *string                        `json:"id,omitempty"`
	Name       *string                        `json:"name,omitempty"`
	Properties *HealthProbeSettingsProperties `json:"properties,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type HealthProbeSettingsProperties

type HealthProbeSettingsProperties struct {
	EnabledState      *HealthProbeEnabled         `json:"enabledState,omitempty"`
	HealthProbeMethod *FrontDoorHealthProbeMethod `json:"healthProbeMethod,omitempty"`
	IntervalInSeconds *int64                      `json:"intervalInSeconds,omitempty"`
	Path              *string                     `json:"path,omitempty"`
	Protocol          *FrontDoorProtocol          `json:"protocol,omitempty"`
	ResourceState     *FrontDoorResourceState     `json:"resourceState,omitempty"`
}

type KeyVaultCertificateSourceParameters

type KeyVaultCertificateSourceParameters struct {
	SecretName    *string                                   `json:"secretName,omitempty"`
	SecretVersion *string                                   `json:"secretVersion,omitempty"`
	Vault         *KeyVaultCertificateSourceParametersVault `json:"vault,omitempty"`
}

type KeyVaultCertificateSourceParametersVault

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

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []FrontDoor
}

type ListByResourceGroupResponse

type ListByResourceGroupResponse struct {
	HttpResponse *http.Response
	Model        *[]FrontDoor
	// contains filtered or unexported fields
}

func (ListByResourceGroupResponse) HasMore

func (r ListByResourceGroupResponse) HasMore() bool

func (ListByResourceGroupResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []FrontDoor
}

type ListResponse

type ListResponse struct {
	HttpResponse *http.Response
	Model        *[]FrontDoor
	// contains filtered or unexported fields
}

func (ListResponse) HasMore

func (r ListResponse) HasMore() bool

func (ListResponse) LoadMore

func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, err error)

type LoadBalancingSettingsModel

type LoadBalancingSettingsModel struct {
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *LoadBalancingSettingsProperties `json:"properties,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type LoadBalancingSettingsProperties

type LoadBalancingSettingsProperties struct {
	AdditionalLatencyMilliseconds *int64                  `json:"additionalLatencyMilliseconds,omitempty"`
	ResourceState                 *FrontDoorResourceState `json:"resourceState,omitempty"`
	SampleSize                    *int64                  `json:"sampleSize,omitempty"`
	SuccessfulSamplesRequired     *int64                  `json:"successfulSamplesRequired,omitempty"`
}

type MatchProcessingBehavior

type MatchProcessingBehavior string
const (
	MatchProcessingBehaviorContinue MatchProcessingBehavior = "Continue"
	MatchProcessingBehaviorStop     MatchProcessingBehavior = "Stop"
)

type MinimumTLSVersion

type MinimumTLSVersion string
const (
	MinimumTLSVersionOnePointTwo  MinimumTLSVersion = "1.2"
	MinimumTLSVersionOnePointZero MinimumTLSVersion = "1.0"
)

type PrivateEndpointStatus

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

type PurgeParameters

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

type RedirectConfiguration

type RedirectConfiguration struct {
	CustomFragment    *string                    `json:"customFragment,omitempty"`
	CustomHost        *string                    `json:"customHost,omitempty"`
	CustomPath        *string                    `json:"customPath,omitempty"`
	CustomQueryString *string                    `json:"customQueryString,omitempty"`
	RedirectProtocol  *FrontDoorRedirectProtocol `json:"redirectProtocol,omitempty"`
	RedirectType      *FrontDoorRedirectType     `json:"redirectType,omitempty"`
}

func (RedirectConfiguration) MarshalJSON

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

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

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

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments

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

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

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type RouteConfiguration

type RouteConfiguration interface {
}

type RoutingRule

type RoutingRule struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *RoutingRuleProperties `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type RoutingRuleEnabledState

type RoutingRuleEnabledState string
const (
	RoutingRuleEnabledStateDisabled RoutingRuleEnabledState = "Disabled"
	RoutingRuleEnabledStateEnabled  RoutingRuleEnabledState = "Enabled"
)

type RoutingRuleProperties

type RoutingRuleProperties struct {
	AcceptedProtocols                *[]FrontDoorProtocol                                         `json:"acceptedProtocols,omitempty"`
	EnabledState                     *RoutingRuleEnabledState                                     `json:"enabledState,omitempty"`
	FrontendEndpoints                *[]SubResource                                               `json:"frontendEndpoints,omitempty"`
	PatternsToMatch                  *[]string                                                    `json:"patternsToMatch,omitempty"`
	ResourceState                    *FrontDoorResourceState                                      `json:"resourceState,omitempty"`
	RouteConfiguration               RouteConfiguration                                           `json:"routeConfiguration"`
	RulesEngine                      *SubResource                                                 `json:"rulesEngine,omitempty"`
	WebApplicationFirewallPolicyLink *RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

func (*RoutingRuleProperties) UnmarshalJSON

func (s *RoutingRuleProperties) UnmarshalJSON(bytes []byte) error
type RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink struct {
	Id *string `json:"id,omitempty"`
}

type RulesEngine

type RulesEngine struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *RulesEngineProperties `json:"properties,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type RulesEngineAction

type RulesEngineAction struct {
	RequestHeaderActions       *[]HeaderAction    `json:"requestHeaderActions,omitempty"`
	ResponseHeaderActions      *[]HeaderAction    `json:"responseHeaderActions,omitempty"`
	RouteConfigurationOverride RouteConfiguration `json:"routeConfigurationOverride"`
}

func (*RulesEngineAction) UnmarshalJSON

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

type RulesEngineId

type RulesEngineId struct {
	SubscriptionId    string
	ResourceGroupName string
	FrontDoorName     string
	RulesEngineName   string
}

RulesEngineId is a struct representing the Resource ID for a Rules Engine

func NewRulesEngineID

func NewRulesEngineID(subscriptionId string, resourceGroupName string, frontDoorName string, rulesEngineName string) RulesEngineId

NewRulesEngineID returns a new RulesEngineId struct

func ParseRulesEngineID

func ParseRulesEngineID(input string) (*RulesEngineId, error)

ParseRulesEngineID parses 'input' into a RulesEngineId

func ParseRulesEngineIDInsensitively

func ParseRulesEngineIDInsensitively(input string) (*RulesEngineId, error)

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

func (RulesEngineId) ID

func (id RulesEngineId) ID() string

ID returns the formatted Rules Engine ID

func (RulesEngineId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Rules Engine ID

func (RulesEngineId) String

func (id RulesEngineId) String() string

String returns a human-readable description of this Rules Engine ID

type RulesEngineMatchCondition

type RulesEngineMatchCondition struct {
	NegateCondition          *bool                    `json:"negateCondition,omitempty"`
	RulesEngineMatchValue    []string                 `json:"rulesEngineMatchValue"`
	RulesEngineMatchVariable RulesEngineMatchVariable `json:"rulesEngineMatchVariable"`
	RulesEngineOperator      RulesEngineOperator      `json:"rulesEngineOperator"`
	Selector                 *string                  `json:"selector,omitempty"`
	Transforms               *[]Transform             `json:"transforms,omitempty"`
}

type RulesEngineMatchVariable

type RulesEngineMatchVariable string
const (
	RulesEngineMatchVariableIsMobile                 RulesEngineMatchVariable = "IsMobile"
	RulesEngineMatchVariablePostArgs                 RulesEngineMatchVariable = "PostArgs"
	RulesEngineMatchVariableQueryString              RulesEngineMatchVariable = "QueryString"
	RulesEngineMatchVariableRemoteAddr               RulesEngineMatchVariable = "RemoteAddr"
	RulesEngineMatchVariableRequestBody              RulesEngineMatchVariable = "RequestBody"
	RulesEngineMatchVariableRequestFilename          RulesEngineMatchVariable = "RequestFilename"
	RulesEngineMatchVariableRequestFilenameExtension RulesEngineMatchVariable = "RequestFilenameExtension"
	RulesEngineMatchVariableRequestHeader            RulesEngineMatchVariable = "RequestHeader"
	RulesEngineMatchVariableRequestMethod            RulesEngineMatchVariable = "RequestMethod"
	RulesEngineMatchVariableRequestPath              RulesEngineMatchVariable = "RequestPath"
	RulesEngineMatchVariableRequestScheme            RulesEngineMatchVariable = "RequestScheme"
	RulesEngineMatchVariableRequestUri               RulesEngineMatchVariable = "RequestUri"
)

type RulesEngineOperator

type RulesEngineOperator string
const (
	RulesEngineOperatorAny                RulesEngineOperator = "Any"
	RulesEngineOperatorBeginsWith         RulesEngineOperator = "BeginsWith"
	RulesEngineOperatorContains           RulesEngineOperator = "Contains"
	RulesEngineOperatorEndsWith           RulesEngineOperator = "EndsWith"
	RulesEngineOperatorEqual              RulesEngineOperator = "Equal"
	RulesEngineOperatorGeoMatch           RulesEngineOperator = "GeoMatch"
	RulesEngineOperatorGreaterThan        RulesEngineOperator = "GreaterThan"
	RulesEngineOperatorGreaterThanOrEqual RulesEngineOperator = "GreaterThanOrEqual"
	RulesEngineOperatorIPMatch            RulesEngineOperator = "IPMatch"
	RulesEngineOperatorLessThan           RulesEngineOperator = "LessThan"
	RulesEngineOperatorLessThanOrEqual    RulesEngineOperator = "LessThanOrEqual"
)

type RulesEnginePredicate

type RulesEnginePredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (RulesEnginePredicate) Matches

func (p RulesEnginePredicate) Matches(input RulesEngine) bool

type RulesEngineProperties

type RulesEngineProperties struct {
	ResourceState *FrontDoorResourceState `json:"resourceState,omitempty"`
	Rules         *[]RulesEngineRule      `json:"rules,omitempty"`
}

type RulesEngineRule

type RulesEngineRule struct {
	Action                  RulesEngineAction            `json:"action"`
	MatchConditions         *[]RulesEngineMatchCondition `json:"matchConditions,omitempty"`
	MatchProcessingBehavior *MatchProcessingBehavior     `json:"matchProcessingBehavior,omitempty"`
	Name                    string                       `json:"name"`
	Priority                int64                        `json:"priority"`
}

type RulesEnginesCreateOrUpdateResponse

type RulesEnginesCreateOrUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RulesEnginesDeleteResponse

type RulesEnginesDeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type RulesEnginesGetResponse

type RulesEnginesGetResponse struct {
	HttpResponse *http.Response
	Model        *RulesEngine
}

type RulesEnginesListByFrontDoorCompleteResult

type RulesEnginesListByFrontDoorCompleteResult struct {
	Items []RulesEngine
}

type RulesEnginesListByFrontDoorResponse

type RulesEnginesListByFrontDoorResponse struct {
	HttpResponse *http.Response
	Model        *[]RulesEngine
	// contains filtered or unexported fields
}

func (RulesEnginesListByFrontDoorResponse) HasMore

func (RulesEnginesListByFrontDoorResponse) LoadMore

type SessionAffinityEnabledState

type SessionAffinityEnabledState string
const (
	SessionAffinityEnabledStateDisabled SessionAffinityEnabledState = "Disabled"
	SessionAffinityEnabledStateEnabled  SessionAffinityEnabledState = "Enabled"
)

type SubResource

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

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

SubscriptionId is a struct representing the Resource ID for a Subscription

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

NewSubscriptionID returns a new SubscriptionId struct

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses 'input' into a SubscriptionId

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

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

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

ID returns the formatted Subscription ID

func (SubscriptionId) Segments

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

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

func (SubscriptionId) String

func (id SubscriptionId) String() string

String returns a human-readable description of this Subscription ID

type Transform

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

type ValidateCustomDomainInput

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

type ValidateCustomDomainOutput

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

type ValidateCustomDomainResponse

type ValidateCustomDomainResponse struct {
	HttpResponse *http.Response
	Model        *ValidateCustomDomainOutput
}

Source Files

Jump to

Keyboard shortcuts

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