...

Package frontdoor

import "github.com/Azure/azure-sdk-for-go/services/frontdoor/mgmt/2020-01-01/frontdoor"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package frontdoor implements the Azure ARM Frontdoor service API version .

FrontDoor Client

Index ▾

Constants
func UserAgent() string
func Version() string
type ActionType
    func PossibleActionTypeValues() []ActionType
type AggregationInterval
    func PossibleAggregationIntervalValues() []AggregationInterval
type Availability
    func PossibleAvailabilityValues() []Availability
type AzureAsyncOperationResult
type Backend
    func (b Backend) MarshalJSON() ([]byte, error)
type BackendEnabledState
    func PossibleBackendEnabledStateValues() []BackendEnabledState
type BackendPool
    func (bp BackendPool) MarshalJSON() ([]byte, error)
    func (bp *BackendPool) UnmarshalJSON(body []byte) error
type BackendPoolListResult
    func (bplr BackendPoolListResult) MarshalJSON() ([]byte, error)
type BackendPoolProperties
type BackendPoolUpdateParameters
type BackendPoolsSettings
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
    func (client BaseClient) CheckFrontDoorNameAvailability(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)
    func (client BaseClient) CheckFrontDoorNameAvailabilityPreparer(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)
    func (client BaseClient) CheckFrontDoorNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
    func (client BaseClient) CheckFrontDoorNameAvailabilitySender(req *http.Request) (*http.Response, error)
    func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscription(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)
    func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionPreparer(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)
    func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
    func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error)
type BasicRouteConfiguration
type CacheConfiguration
type CertificateSource
    func PossibleCertificateSourceValues() []CertificateSource
type CertificateSourceParameters
type CertificateType
    func PossibleCertificateTypeValues() []CertificateType
type CheckNameAvailabilityInput
type CheckNameAvailabilityOutput
    func (cnao CheckNameAvailabilityOutput) MarshalJSON() ([]byte, error)
type CustomHTTPSConfiguration
    func (chc CustomHTTPSConfiguration) MarshalJSON() ([]byte, error)
    func (chc *CustomHTTPSConfiguration) UnmarshalJSON(body []byte) error
type CustomHTTPSProvisioningState
    func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState
type CustomHTTPSProvisioningSubstate
    func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate
type CustomRule
type CustomRuleEnabledState
    func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState
type CustomRuleList
type DynamicCompressionEnabled
    func PossibleDynamicCompressionEnabledValues() []DynamicCompressionEnabled
type EnabledState
    func PossibleEnabledStateValues() []EnabledState
type Endpoint
type EndpointType
    func PossibleEndpointTypeValues() []EndpointType
type EndpointsClient
    func NewEndpointsClient(subscriptionID string) EndpointsClient
    func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient
    func (client EndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, frontDoorName string, contentFilePaths PurgeParameters) (result EndpointsPurgeContentFuture, err error)
    func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, contentFilePaths PurgeParameters) (*http.Request, error)
    func (client EndpointsClient) PurgeContentResponder(resp *http.Response) (result autorest.Response, err error)
    func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error)
type EndpointsPurgeContentFuture
    func (future *EndpointsPurgeContentFuture) UnmarshalJSON(body []byte) error
type EnforceCertificateNameCheckEnabledState
    func PossibleEnforceCertificateNameCheckEnabledStateValues() []EnforceCertificateNameCheckEnabledState
type Error
type ErrorDetails
type ErrorResponse
    func (er ErrorResponse) MarshalJSON() ([]byte, error)
type Experiment
    func (e Experiment) MarshalJSON() ([]byte, error)
    func (e *Experiment) UnmarshalJSON(body []byte) error
type ExperimentList
    func (el ExperimentList) IsEmpty() bool
    func (el ExperimentList) MarshalJSON() ([]byte, error)
type ExperimentListIterator
    func NewExperimentListIterator(page ExperimentListPage) ExperimentListIterator
    func (iter *ExperimentListIterator) Next() error
    func (iter *ExperimentListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ExperimentListIterator) NotDone() bool
    func (iter ExperimentListIterator) Response() ExperimentList
    func (iter ExperimentListIterator) Value() Experiment
type ExperimentListPage
    func NewExperimentListPage(cur ExperimentList, getNextPage func(context.Context, ExperimentList) (ExperimentList, error)) ExperimentListPage
    func (page *ExperimentListPage) Next() error
    func (page *ExperimentListPage) NextWithContext(ctx context.Context) (err error)
    func (page ExperimentListPage) NotDone() bool
    func (page ExperimentListPage) Response() ExperimentList
    func (page ExperimentListPage) Values() []Experiment
type ExperimentProperties
    func (ep ExperimentProperties) MarshalJSON() ([]byte, error)
type ExperimentUpdateModel
    func (eum ExperimentUpdateModel) MarshalJSON() ([]byte, error)
    func (eum *ExperimentUpdateModel) UnmarshalJSON(body []byte) error
type ExperimentUpdateProperties
type ExperimentsClient
    func NewExperimentsClient(subscriptionID string) ExperimentsClient
    func NewExperimentsClientWithBaseURI(baseURI string, subscriptionID string) ExperimentsClient
    func (client ExperimentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters Experiment) (result ExperimentsCreateOrUpdateFuture, err error)
    func (client ExperimentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters Experiment) (*http.Request, error)
    func (client ExperimentsClient) CreateOrUpdateResponder(resp *http.Response) (result Experiment, err error)
    func (client ExperimentsClient) CreateOrUpdateSender(req *http.Request) (future ExperimentsCreateOrUpdateFuture, err error)
    func (client ExperimentsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (result ExperimentsDeleteFuture, err error)
    func (client ExperimentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (*http.Request, error)
    func (client ExperimentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ExperimentsClient) DeleteSender(req *http.Request) (future ExperimentsDeleteFuture, err error)
    func (client ExperimentsClient) Get(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (result Experiment, err error)
    func (client ExperimentsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (*http.Request, error)
    func (client ExperimentsClient) GetResponder(resp *http.Response) (result Experiment, err error)
    func (client ExperimentsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ExperimentsClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result ExperimentListPage, err error)
    func (client ExperimentsClient) ListByProfileComplete(ctx context.Context, resourceGroupName string, profileName string) (result ExperimentListIterator, err error)
    func (client ExperimentsClient) ListByProfilePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
    func (client ExperimentsClient) ListByProfileResponder(resp *http.Response) (result ExperimentList, err error)
    func (client ExperimentsClient) ListByProfileSender(req *http.Request) (*http.Response, error)
    func (client ExperimentsClient) Update(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters ExperimentUpdateModel) (result ExperimentsUpdateFuture, err error)
    func (client ExperimentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters ExperimentUpdateModel) (*http.Request, error)
    func (client ExperimentsClient) UpdateResponder(resp *http.Response) (result Experiment, err error)
    func (client ExperimentsClient) UpdateSender(req *http.Request) (future ExperimentsUpdateFuture, err error)
type ExperimentsCreateOrUpdateFuture
    func (future *ExperimentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type ExperimentsDeleteFuture
    func (future *ExperimentsDeleteFuture) UnmarshalJSON(body []byte) error
type ExperimentsUpdateFuture
    func (future *ExperimentsUpdateFuture) UnmarshalJSON(body []byte) error
type ForwardingConfiguration
    func (fc ForwardingConfiguration) AsBasicRouteConfiguration() (BasicRouteConfiguration, bool)
    func (fc ForwardingConfiguration) AsForwardingConfiguration() (*ForwardingConfiguration, bool)
    func (fc ForwardingConfiguration) AsRedirectConfiguration() (*RedirectConfiguration, bool)
    func (fc ForwardingConfiguration) AsRouteConfiguration() (*RouteConfiguration, bool)
    func (fc ForwardingConfiguration) MarshalJSON() ([]byte, error)
type ForwardingProtocol
    func PossibleForwardingProtocolValues() []ForwardingProtocol
type FrontDoor
    func (fd FrontDoor) MarshalJSON() ([]byte, error)
    func (fd *FrontDoor) UnmarshalJSON(body []byte) error
type FrontDoorsClient
    func NewFrontDoorsClient(subscriptionID string) FrontDoorsClient
    func NewFrontDoorsClientWithBaseURI(baseURI string, subscriptionID string) FrontDoorsClient
    func (client FrontDoorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, frontDoorParameters FrontDoor) (result FrontDoorsCreateOrUpdateFutureType, err error)
    func (client FrontDoorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontDoorParameters FrontDoor) (*http.Request, error)
    func (client FrontDoorsClient) CreateOrUpdateResponder(resp *http.Response) (result FrontDoor, err error)
    func (client FrontDoorsClient) CreateOrUpdateSender(req *http.Request) (future FrontDoorsCreateOrUpdateFutureType, err error)
    func (client FrontDoorsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoorsDeleteFutureType, err error)
    func (client FrontDoorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
    func (client FrontDoorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client FrontDoorsClient) DeleteSender(req *http.Request) (future FrontDoorsDeleteFutureType, err error)
    func (client FrontDoorsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoor, err error)
    func (client FrontDoorsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
    func (client FrontDoorsClient) GetResponder(resp *http.Response) (result FrontDoor, err error)
    func (client FrontDoorsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client FrontDoorsClient) List(ctx context.Context) (result ListResultPage, err error)
    func (client FrontDoorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
    func (client FrontDoorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
    func (client FrontDoorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client FrontDoorsClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
    func (client FrontDoorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client FrontDoorsClient) ListComplete(ctx context.Context) (result ListResultIterator, err error)
    func (client FrontDoorsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client FrontDoorsClient) ListResponder(resp *http.Response) (result ListResult, err error)
    func (client FrontDoorsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client FrontDoorsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties ValidateCustomDomainInput) (result ValidateCustomDomainOutput, err error)
    func (client FrontDoorsClient) ValidateCustomDomainPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties ValidateCustomDomainInput) (*http.Request, error)
    func (client FrontDoorsClient) ValidateCustomDomainResponder(resp *http.Response) (result ValidateCustomDomainOutput, err error)
    func (client FrontDoorsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error)
type FrontDoorsCreateOrUpdateFutureType
    func (future *FrontDoorsCreateOrUpdateFutureType) UnmarshalJSON(body []byte) error
type FrontDoorsDeleteFutureType
    func (future *FrontDoorsDeleteFutureType) UnmarshalJSON(body []byte) error
type FrontendEndpoint
    func (fe FrontendEndpoint) MarshalJSON() ([]byte, error)
    func (fe *FrontendEndpoint) UnmarshalJSON(body []byte) error
type FrontendEndpointLink
type FrontendEndpointProperties
    func (fep FrontendEndpointProperties) MarshalJSON() ([]byte, error)
type FrontendEndpointUpdateParameters
type FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink
type FrontendEndpointsClient
    func NewFrontendEndpointsClient(subscriptionID string) FrontendEndpointsClient
    func NewFrontendEndpointsClientWithBaseURI(baseURI string, subscriptionID string) FrontendEndpointsClient
    func (client FrontendEndpointsClient) DisableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result FrontendEndpointsDisableHTTPSFuture, err error)
    func (client FrontendEndpointsClient) DisableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)
    func (client FrontendEndpointsClient) DisableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)
    func (client FrontendEndpointsClient) DisableHTTPSSender(req *http.Request) (future FrontendEndpointsDisableHTTPSFuture, err error)
    func (client FrontendEndpointsClient) EnableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration CustomHTTPSConfiguration) (result FrontendEndpointsEnableHTTPSFuture, err error)
    func (client FrontendEndpointsClient) EnableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration CustomHTTPSConfiguration) (*http.Request, error)
    func (client FrontendEndpointsClient) EnableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)
    func (client FrontendEndpointsClient) EnableHTTPSSender(req *http.Request) (future FrontendEndpointsEnableHTTPSFuture, err error)
    func (client FrontendEndpointsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result FrontendEndpoint, err error)
    func (client FrontendEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)
    func (client FrontendEndpointsClient) GetResponder(resp *http.Response) (result FrontendEndpoint, err error)
    func (client FrontendEndpointsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client FrontendEndpointsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultPage, err error)
    func (client FrontendEndpointsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultIterator, err error)
    func (client FrontendEndpointsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
    func (client FrontendEndpointsClient) ListByFrontDoorResponder(resp *http.Response) (result FrontendEndpointsListResult, err error)
    func (client FrontendEndpointsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
type FrontendEndpointsDisableHTTPSFuture
    func (future *FrontendEndpointsDisableHTTPSFuture) UnmarshalJSON(body []byte) error
type FrontendEndpointsEnableHTTPSFuture
    func (future *FrontendEndpointsEnableHTTPSFuture) UnmarshalJSON(body []byte) error
type FrontendEndpointsListResult
    func (felr FrontendEndpointsListResult) IsEmpty() bool
    func (felr FrontendEndpointsListResult) MarshalJSON() ([]byte, error)
type FrontendEndpointsListResultIterator
    func NewFrontendEndpointsListResultIterator(page FrontendEndpointsListResultPage) FrontendEndpointsListResultIterator
    func (iter *FrontendEndpointsListResultIterator) Next() error
    func (iter *FrontendEndpointsListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter FrontendEndpointsListResultIterator) NotDone() bool
    func (iter FrontendEndpointsListResultIterator) Response() FrontendEndpointsListResult
    func (iter FrontendEndpointsListResultIterator) Value() FrontendEndpoint
type FrontendEndpointsListResultPage
    func NewFrontendEndpointsListResultPage(cur FrontendEndpointsListResult, getNextPage func(context.Context, FrontendEndpointsListResult) (FrontendEndpointsListResult, error)) FrontendEndpointsListResultPage
    func (page *FrontendEndpointsListResultPage) Next() error
    func (page *FrontendEndpointsListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page FrontendEndpointsListResultPage) NotDone() bool
    func (page FrontendEndpointsListResultPage) Response() FrontendEndpointsListResult
    func (page FrontendEndpointsListResultPage) Values() []FrontendEndpoint
type HeaderAction
type HeaderActionType
    func PossibleHeaderActionTypeValues() []HeaderActionType
type HealthProbeEnabled
    func PossibleHealthProbeEnabledValues() []HealthProbeEnabled
type HealthProbeMethod
    func PossibleHealthProbeMethodValues() []HealthProbeMethod
type HealthProbeSettingsListResult
    func (hpslr HealthProbeSettingsListResult) MarshalJSON() ([]byte, error)
type HealthProbeSettingsModel
    func (hpsm HealthProbeSettingsModel) MarshalJSON() ([]byte, error)
    func (hpsm *HealthProbeSettingsModel) UnmarshalJSON(body []byte) error
type HealthProbeSettingsProperties
type HealthProbeSettingsUpdateParameters
type KeyVaultCertificateSourceParameters
type KeyVaultCertificateSourceParametersVault
type LatencyMetric
    func (lm LatencyMetric) MarshalJSON() ([]byte, error)
type LatencyScorecard
    func (ls LatencyScorecard) MarshalJSON() ([]byte, error)
    func (ls *LatencyScorecard) UnmarshalJSON(body []byte) error
type LatencyScorecardAggregationInterval
    func PossibleLatencyScorecardAggregationIntervalValues() []LatencyScorecardAggregationInterval
type LatencyScorecardProperties
    func (lsp LatencyScorecardProperties) MarshalJSON() ([]byte, error)
type ListResult
    func (lr ListResult) IsEmpty() bool
    func (lr ListResult) MarshalJSON() ([]byte, error)
type ListResultIterator
    func NewListResultIterator(page ListResultPage) ListResultIterator
    func (iter *ListResultIterator) Next() error
    func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ListResultIterator) NotDone() bool
    func (iter ListResultIterator) Response() ListResult
    func (iter ListResultIterator) Value() FrontDoor
type ListResultPage
    func NewListResultPage(cur ListResult, getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage
    func (page *ListResultPage) Next() error
    func (page *ListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ListResultPage) NotDone() bool
    func (page ListResultPage) Response() ListResult
    func (page ListResultPage) Values() []FrontDoor
type LoadBalancingSettingsListResult
    func (lbslr LoadBalancingSettingsListResult) MarshalJSON() ([]byte, error)
type LoadBalancingSettingsModel
    func (lbsm LoadBalancingSettingsModel) MarshalJSON() ([]byte, error)
    func (lbsm *LoadBalancingSettingsModel) UnmarshalJSON(body []byte) error
type LoadBalancingSettingsProperties
type LoadBalancingSettingsUpdateParameters
type ManagedRuleDefinition
    func (mrd ManagedRuleDefinition) MarshalJSON() ([]byte, error)
type ManagedRuleEnabledState
    func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState
type ManagedRuleExclusion
type ManagedRuleExclusionMatchVariable
    func PossibleManagedRuleExclusionMatchVariableValues() []ManagedRuleExclusionMatchVariable
type ManagedRuleExclusionSelectorMatchOperator
    func PossibleManagedRuleExclusionSelectorMatchOperatorValues() []ManagedRuleExclusionSelectorMatchOperator
type ManagedRuleGroupDefinition
    func (mrgd ManagedRuleGroupDefinition) MarshalJSON() ([]byte, error)
type ManagedRuleGroupOverride
type ManagedRuleOverride
type ManagedRuleSet
type ManagedRuleSetDefinition
    func (mrsd ManagedRuleSetDefinition) MarshalJSON() ([]byte, error)
    func (mrsd *ManagedRuleSetDefinition) UnmarshalJSON(body []byte) error
type ManagedRuleSetDefinitionList
    func (mrsdl ManagedRuleSetDefinitionList) IsEmpty() bool
    func (mrsdl ManagedRuleSetDefinitionList) MarshalJSON() ([]byte, error)
type ManagedRuleSetDefinitionListIterator
    func NewManagedRuleSetDefinitionListIterator(page ManagedRuleSetDefinitionListPage) ManagedRuleSetDefinitionListIterator
    func (iter *ManagedRuleSetDefinitionListIterator) Next() error
    func (iter *ManagedRuleSetDefinitionListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ManagedRuleSetDefinitionListIterator) NotDone() bool
    func (iter ManagedRuleSetDefinitionListIterator) Response() ManagedRuleSetDefinitionList
    func (iter ManagedRuleSetDefinitionListIterator) Value() ManagedRuleSetDefinition
type ManagedRuleSetDefinitionListPage
    func NewManagedRuleSetDefinitionListPage(cur ManagedRuleSetDefinitionList, getNextPage func(context.Context, ManagedRuleSetDefinitionList) (ManagedRuleSetDefinitionList, error)) ManagedRuleSetDefinitionListPage
    func (page *ManagedRuleSetDefinitionListPage) Next() error
    func (page *ManagedRuleSetDefinitionListPage) NextWithContext(ctx context.Context) (err error)
    func (page ManagedRuleSetDefinitionListPage) NotDone() bool
    func (page ManagedRuleSetDefinitionListPage) Response() ManagedRuleSetDefinitionList
    func (page ManagedRuleSetDefinitionListPage) Values() []ManagedRuleSetDefinition
type ManagedRuleSetDefinitionProperties
    func (mrsdp ManagedRuleSetDefinitionProperties) MarshalJSON() ([]byte, error)
type ManagedRuleSetList
type ManagedRuleSetsClient
    func NewManagedRuleSetsClient(subscriptionID string) ManagedRuleSetsClient
    func NewManagedRuleSetsClientWithBaseURI(baseURI string, subscriptionID string) ManagedRuleSetsClient
    func (client ManagedRuleSetsClient) List(ctx context.Context) (result ManagedRuleSetDefinitionListPage, err error)
    func (client ManagedRuleSetsClient) ListComplete(ctx context.Context) (result ManagedRuleSetDefinitionListIterator, err error)
    func (client ManagedRuleSetsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client ManagedRuleSetsClient) ListResponder(resp *http.Response) (result ManagedRuleSetDefinitionList, err error)
    func (client ManagedRuleSetsClient) ListSender(req *http.Request) (*http.Response, error)
type MatchCondition
type MatchProcessingBehavior
    func PossibleMatchProcessingBehaviorValues() []MatchProcessingBehavior
type MatchVariable
    func PossibleMatchVariableValues() []MatchVariable
type MinimumTLSVersion
    func PossibleMinimumTLSVersionValues() []MinimumTLSVersion
type NetworkExperimentProfilesClient
    func NewNetworkExperimentProfilesClient(subscriptionID string) NetworkExperimentProfilesClient
    func NewNetworkExperimentProfilesClientWithBaseURI(baseURI string, subscriptionID string) NetworkExperimentProfilesClient
    func (client NetworkExperimentProfilesClient) CreateOrUpdate(ctx context.Context, profileName string, resourceGroupName string, parameters Profile) (result NetworkExperimentProfilesCreateOrUpdateFuture, err error)
    func (client NetworkExperimentProfilesClient) CreateOrUpdatePreparer(ctx context.Context, profileName string, resourceGroupName string, parameters Profile) (*http.Request, error)
    func (client NetworkExperimentProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result Profile, err error)
    func (client NetworkExperimentProfilesClient) CreateOrUpdateSender(req *http.Request) (future NetworkExperimentProfilesCreateOrUpdateFuture, err error)
    func (client NetworkExperimentProfilesClient) Delete(ctx context.Context, resourceGroupName string, profileName string) (result NetworkExperimentProfilesDeleteFuture, err error)
    func (client NetworkExperimentProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
    func (client NetworkExperimentProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client NetworkExperimentProfilesClient) DeleteSender(req *http.Request) (future NetworkExperimentProfilesDeleteFuture, err error)
    func (client NetworkExperimentProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string) (result Profile, err error)
    func (client NetworkExperimentProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
    func (client NetworkExperimentProfilesClient) GetResponder(resp *http.Response) (result Profile, err error)
    func (client NetworkExperimentProfilesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client NetworkExperimentProfilesClient) List(ctx context.Context) (result ProfileListPage, err error)
    func (client NetworkExperimentProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListPage, err error)
    func (client NetworkExperimentProfilesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProfileListIterator, err error)
    func (client NetworkExperimentProfilesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client NetworkExperimentProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ProfileList, err error)
    func (client NetworkExperimentProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client NetworkExperimentProfilesClient) ListComplete(ctx context.Context) (result ProfileListIterator, err error)
    func (client NetworkExperimentProfilesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client NetworkExperimentProfilesClient) ListResponder(resp *http.Response) (result ProfileList, err error)
    func (client NetworkExperimentProfilesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client NetworkExperimentProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, parameters ProfileUpdateModel) (result NetworkExperimentProfilesUpdateFuture, err error)
    func (client NetworkExperimentProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, parameters ProfileUpdateModel) (*http.Request, error)
    func (client NetworkExperimentProfilesClient) UpdateResponder(resp *http.Response) (result Profile, err error)
    func (client NetworkExperimentProfilesClient) UpdateSender(req *http.Request) (future NetworkExperimentProfilesUpdateFuture, err error)
type NetworkExperimentProfilesCreateOrUpdateFuture
    func (future *NetworkExperimentProfilesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type NetworkExperimentProfilesDeleteFuture
    func (future *NetworkExperimentProfilesDeleteFuture) UnmarshalJSON(body []byte) error
type NetworkExperimentProfilesUpdateFuture
    func (future *NetworkExperimentProfilesUpdateFuture) UnmarshalJSON(body []byte) error
type NetworkExperimentResourceState
    func PossibleNetworkExperimentResourceStateValues() []NetworkExperimentResourceState
type NetworkOperationStatus
    func PossibleNetworkOperationStatusValues() []NetworkOperationStatus
type OdataType
    func PossibleOdataTypeValues() []OdataType
type Operator
    func PossibleOperatorValues() []Operator
type PoliciesClient
    func NewPoliciesClient(subscriptionID string) PoliciesClient
    func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient
    func (client PoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (result PoliciesCreateOrUpdateFuture, err error)
    func (client PoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (*http.Request, error)
    func (client PoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)
    func (client PoliciesClient) CreateOrUpdateSender(req *http.Request) (future PoliciesCreateOrUpdateFuture, err error)
    func (client PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result PoliciesDeleteFuture, err error)
    func (client PoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
    func (client PoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client PoliciesClient) DeleteSender(req *http.Request) (future PoliciesDeleteFuture, err error)
    func (client PoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPolicy, err error)
    func (client PoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
    func (client PoliciesClient) GetResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)
    func (client PoliciesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client PoliciesClient) List(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListPage, err error)
    func (client PoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListIterator, err error)
    func (client PoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client PoliciesClient) ListResponder(resp *http.Response) (result WebApplicationFirewallPolicyList, err error)
    func (client PoliciesClient) ListSender(req *http.Request) (*http.Response, error)
type PoliciesCreateOrUpdateFuture
    func (future *PoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type PoliciesDeleteFuture
    func (future *PoliciesDeleteFuture) UnmarshalJSON(body []byte) error
type PolicyEnabledState
    func PossiblePolicyEnabledStateValues() []PolicyEnabledState
type PolicyMode
    func PossiblePolicyModeValues() []PolicyMode
type PolicyResourceState
    func PossiblePolicyResourceStateValues() []PolicyResourceState
type PolicySettings
type PreconfiguredEndpoint
    func (peVar PreconfiguredEndpoint) MarshalJSON() ([]byte, error)
    func (peVar *PreconfiguredEndpoint) UnmarshalJSON(body []byte) error
type PreconfiguredEndpointList
    func (pel PreconfiguredEndpointList) IsEmpty() bool
    func (pel PreconfiguredEndpointList) MarshalJSON() ([]byte, error)
type PreconfiguredEndpointListIterator
    func NewPreconfiguredEndpointListIterator(page PreconfiguredEndpointListPage) PreconfiguredEndpointListIterator
    func (iter *PreconfiguredEndpointListIterator) Next() error
    func (iter *PreconfiguredEndpointListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PreconfiguredEndpointListIterator) NotDone() bool
    func (iter PreconfiguredEndpointListIterator) Response() PreconfiguredEndpointList
    func (iter PreconfiguredEndpointListIterator) Value() PreconfiguredEndpoint
type PreconfiguredEndpointListPage
    func NewPreconfiguredEndpointListPage(cur PreconfiguredEndpointList, getNextPage func(context.Context, PreconfiguredEndpointList) (PreconfiguredEndpointList, error)) PreconfiguredEndpointListPage
    func (page *PreconfiguredEndpointListPage) Next() error
    func (page *PreconfiguredEndpointListPage) NextWithContext(ctx context.Context) (err error)
    func (page PreconfiguredEndpointListPage) NotDone() bool
    func (page PreconfiguredEndpointListPage) Response() PreconfiguredEndpointList
    func (page PreconfiguredEndpointListPage) Values() []PreconfiguredEndpoint
type PreconfiguredEndpointProperties
type PreconfiguredEndpointsClient
    func NewPreconfiguredEndpointsClient(subscriptionID string) PreconfiguredEndpointsClient
    func NewPreconfiguredEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PreconfiguredEndpointsClient
    func (client PreconfiguredEndpointsClient) List(ctx context.Context, resourceGroupName string, profileName string) (result PreconfiguredEndpointListPage, err error)
    func (client PreconfiguredEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string, profileName string) (result PreconfiguredEndpointListIterator, err error)
    func (client PreconfiguredEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
    func (client PreconfiguredEndpointsClient) ListResponder(resp *http.Response) (result PreconfiguredEndpointList, err error)
    func (client PreconfiguredEndpointsClient) ListSender(req *http.Request) (*http.Response, error)
type PrivateEndpointStatus
    func PossiblePrivateEndpointStatusValues() []PrivateEndpointStatus
type Profile
    func (p Profile) MarshalJSON() ([]byte, error)
    func (p *Profile) UnmarshalJSON(body []byte) error
type ProfileList
    func (pl ProfileList) IsEmpty() bool
    func (pl ProfileList) MarshalJSON() ([]byte, error)
type ProfileListIterator
    func NewProfileListIterator(page ProfileListPage) ProfileListIterator
    func (iter *ProfileListIterator) Next() error
    func (iter *ProfileListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ProfileListIterator) NotDone() bool
    func (iter ProfileListIterator) Response() ProfileList
    func (iter ProfileListIterator) Value() Profile
type ProfileListPage
    func NewProfileListPage(cur ProfileList, getNextPage func(context.Context, ProfileList) (ProfileList, error)) ProfileListPage
    func (page *ProfileListPage) Next() error
    func (page *ProfileListPage) NextWithContext(ctx context.Context) (err error)
    func (page ProfileListPage) NotDone() bool
    func (page ProfileListPage) Response() ProfileList
    func (page ProfileListPage) Values() []Profile
type ProfileProperties
type ProfileUpdateModel
    func (pum ProfileUpdateModel) MarshalJSON() ([]byte, error)
    func (pum *ProfileUpdateModel) UnmarshalJSON(body []byte) error
type ProfileUpdateProperties
type Properties
    func (p Properties) MarshalJSON() ([]byte, error)
type Protocol
    func PossibleProtocolValues() []Protocol
type PurgeParameters
type Query
    func PossibleQueryValues() []Query
type RedirectConfiguration
    func (rc RedirectConfiguration) AsBasicRouteConfiguration() (BasicRouteConfiguration, bool)
    func (rc RedirectConfiguration) AsForwardingConfiguration() (*ForwardingConfiguration, bool)
    func (rc RedirectConfiguration) AsRedirectConfiguration() (*RedirectConfiguration, bool)
    func (rc RedirectConfiguration) AsRouteConfiguration() (*RouteConfiguration, bool)
    func (rc RedirectConfiguration) MarshalJSON() ([]byte, error)
type RedirectProtocol
    func PossibleRedirectProtocolValues() []RedirectProtocol
type RedirectType
    func PossibleRedirectTypeValues() []RedirectType
type ReportsClient
    func NewReportsClient(subscriptionID string) ReportsClient
    func NewReportsClientWithBaseURI(baseURI string, subscriptionID string) ReportsClient
    func (client ReportsClient) GetLatencyScorecards(ctx context.Context, resourceGroupName string, profileName string, experimentName string, aggregationInterval LatencyScorecardAggregationInterval, endDateTimeUTC string, country string) (result LatencyScorecard, err error)
    func (client ReportsClient) GetLatencyScorecardsPreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, aggregationInterval LatencyScorecardAggregationInterval, endDateTimeUTC string, country string) (*http.Request, error)
    func (client ReportsClient) GetLatencyScorecardsResponder(resp *http.Response) (result LatencyScorecard, err error)
    func (client ReportsClient) GetLatencyScorecardsSender(req *http.Request) (*http.Response, error)
    func (client ReportsClient) GetTimeseries(ctx context.Context, resourceGroupName string, profileName string, experimentName string, startDateTimeUTC date.Time, endDateTimeUTC date.Time, aggregationInterval TimeseriesAggregationInterval, timeseriesType TimeseriesType, endpoint string, country string) (result Timeseries, err error)
    func (client ReportsClient) GetTimeseriesPreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, startDateTimeUTC date.Time, endDateTimeUTC date.Time, aggregationInterval TimeseriesAggregationInterval, timeseriesType TimeseriesType, endpoint string, country string) (*http.Request, error)
    func (client ReportsClient) GetTimeseriesResponder(resp *http.Response) (result Timeseries, err error)
    func (client ReportsClient) GetTimeseriesSender(req *http.Request) (*http.Response, error)
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceState
    func PossibleResourceStateValues() []ResourceState
type ResourceType
    func PossibleResourceTypeValues() []ResourceType
type RouteConfiguration
    func (rc RouteConfiguration) AsBasicRouteConfiguration() (BasicRouteConfiguration, bool)
    func (rc RouteConfiguration) AsForwardingConfiguration() (*ForwardingConfiguration, bool)
    func (rc RouteConfiguration) AsRedirectConfiguration() (*RedirectConfiguration, bool)
    func (rc RouteConfiguration) AsRouteConfiguration() (*RouteConfiguration, bool)
    func (rc RouteConfiguration) MarshalJSON() ([]byte, error)
type RoutingRule
    func (rr RoutingRule) MarshalJSON() ([]byte, error)
    func (rr *RoutingRule) UnmarshalJSON(body []byte) error
type RoutingRuleEnabledState
    func PossibleRoutingRuleEnabledStateValues() []RoutingRuleEnabledState
type RoutingRuleListResult
    func (rrlr RoutingRuleListResult) MarshalJSON() ([]byte, error)
type RoutingRuleProperties
    func (rrp *RoutingRuleProperties) UnmarshalJSON(body []byte) error
type RoutingRuleUpdateParameters
    func (rrup *RoutingRuleUpdateParameters) UnmarshalJSON(body []byte) error
type RuleType
    func PossibleRuleTypeValues() []RuleType
type RulesEngine
    func (re RulesEngine) MarshalJSON() ([]byte, error)
    func (re *RulesEngine) UnmarshalJSON(body []byte) error
type RulesEngineAction
    func (rea *RulesEngineAction) UnmarshalJSON(body []byte) error
type RulesEngineListResult
    func (relr RulesEngineListResult) IsEmpty() bool
    func (relr RulesEngineListResult) MarshalJSON() ([]byte, error)
type RulesEngineListResultIterator
    func NewRulesEngineListResultIterator(page RulesEngineListResultPage) RulesEngineListResultIterator
    func (iter *RulesEngineListResultIterator) Next() error
    func (iter *RulesEngineListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter RulesEngineListResultIterator) NotDone() bool
    func (iter RulesEngineListResultIterator) Response() RulesEngineListResult
    func (iter RulesEngineListResultIterator) Value() RulesEngine
type RulesEngineListResultPage
    func NewRulesEngineListResultPage(cur RulesEngineListResult, getNextPage func(context.Context, RulesEngineListResult) (RulesEngineListResult, error)) RulesEngineListResultPage
    func (page *RulesEngineListResultPage) Next() error
    func (page *RulesEngineListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page RulesEngineListResultPage) NotDone() bool
    func (page RulesEngineListResultPage) Response() RulesEngineListResult
    func (page RulesEngineListResultPage) Values() []RulesEngine
type RulesEngineMatchCondition
type RulesEngineMatchVariable
    func PossibleRulesEngineMatchVariableValues() []RulesEngineMatchVariable
type RulesEngineOperator
    func PossibleRulesEngineOperatorValues() []RulesEngineOperator
type RulesEngineProperties
type RulesEngineRule
type RulesEngineUpdateParameters
type RulesEnginesClient
    func NewRulesEnginesClient(subscriptionID string) RulesEnginesClient
    func NewRulesEnginesClientWithBaseURI(baseURI string, subscriptionID string) RulesEnginesClient
    func (client RulesEnginesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string, rulesEngineParameters RulesEngine) (result RulesEnginesCreateOrUpdateFuture, err error)
    func (client RulesEnginesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string, rulesEngineParameters RulesEngine) (*http.Request, error)
    func (client RulesEnginesClient) CreateOrUpdateResponder(resp *http.Response) (result RulesEngine, err error)
    func (client RulesEnginesClient) CreateOrUpdateSender(req *http.Request) (future RulesEnginesCreateOrUpdateFuture, err error)
    func (client RulesEnginesClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (result RulesEnginesDeleteFuture, err error)
    func (client RulesEnginesClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (*http.Request, error)
    func (client RulesEnginesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client RulesEnginesClient) DeleteSender(req *http.Request) (future RulesEnginesDeleteFuture, err error)
    func (client RulesEnginesClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (result RulesEngine, err error)
    func (client RulesEnginesClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (*http.Request, error)
    func (client RulesEnginesClient) GetResponder(resp *http.Response) (result RulesEngine, err error)
    func (client RulesEnginesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client RulesEnginesClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result RulesEngineListResultPage, err error)
    func (client RulesEnginesClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result RulesEngineListResultIterator, err error)
    func (client RulesEnginesClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
    func (client RulesEnginesClient) ListByFrontDoorResponder(resp *http.Response) (result RulesEngineListResult, err error)
    func (client RulesEnginesClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
type RulesEnginesCreateOrUpdateFuture
    func (future *RulesEnginesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type RulesEnginesDeleteFuture
    func (future *RulesEnginesDeleteFuture) UnmarshalJSON(body []byte) error
type SessionAffinityEnabledState
    func PossibleSessionAffinityEnabledStateValues() []SessionAffinityEnabledState
type State
    func PossibleStateValues() []State
type SubResource
type TagsObject
    func (toVar TagsObject) MarshalJSON() ([]byte, error)
type Timeseries
    func (t Timeseries) MarshalJSON() ([]byte, error)
    func (t *Timeseries) UnmarshalJSON(body []byte) error
type TimeseriesAggregationInterval
    func PossibleTimeseriesAggregationIntervalValues() []TimeseriesAggregationInterval
type TimeseriesDataPoint
type TimeseriesProperties
type TimeseriesType
    func PossibleTimeseriesTypeValues() []TimeseriesType
type Transform
    func PossibleTransformValues() []Transform
type TransformType
    func PossibleTransformTypeValues() []TransformType
type UpdateParameters
type ValidateCustomDomainInput
type ValidateCustomDomainOutput
    func (vcdo ValidateCustomDomainOutput) MarshalJSON() ([]byte, error)
type WebApplicationFirewallPolicy
    func (wafp WebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)
    func (wafp *WebApplicationFirewallPolicy) UnmarshalJSON(body []byte) error
type WebApplicationFirewallPolicyList
    func (wafpl WebApplicationFirewallPolicyList) IsEmpty() bool
    func (wafpl WebApplicationFirewallPolicyList) MarshalJSON() ([]byte, error)
type WebApplicationFirewallPolicyListIterator
    func NewWebApplicationFirewallPolicyListIterator(page WebApplicationFirewallPolicyListPage) WebApplicationFirewallPolicyListIterator
    func (iter *WebApplicationFirewallPolicyListIterator) Next() error
    func (iter *WebApplicationFirewallPolicyListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter WebApplicationFirewallPolicyListIterator) NotDone() bool
    func (iter WebApplicationFirewallPolicyListIterator) Response() WebApplicationFirewallPolicyList
    func (iter WebApplicationFirewallPolicyListIterator) Value() WebApplicationFirewallPolicy
type WebApplicationFirewallPolicyListPage
    func NewWebApplicationFirewallPolicyListPage(cur WebApplicationFirewallPolicyList, getNextPage func(context.Context, WebApplicationFirewallPolicyList) (WebApplicationFirewallPolicyList, error)) WebApplicationFirewallPolicyListPage
    func (page *WebApplicationFirewallPolicyListPage) Next() error
    func (page *WebApplicationFirewallPolicyListPage) NextWithContext(ctx context.Context) (err error)
    func (page WebApplicationFirewallPolicyListPage) NotDone() bool
    func (page WebApplicationFirewallPolicyListPage) Response() WebApplicationFirewallPolicyList
    func (page WebApplicationFirewallPolicyListPage) Values() []WebApplicationFirewallPolicy
type WebApplicationFirewallPolicyProperties
    func (wafpp WebApplicationFirewallPolicyProperties) MarshalJSON() ([]byte, error)

Package files

client.go endpoints.go enums.go experiments.go frontdoors.go frontendendpoints.go managedrulesets.go models.go networkexperimentprofiles.go policies.go preconfiguredendpoints.go reports.go rulesengines.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Frontdoor
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type ActionType

ActionType enumerates the values for action type.

type ActionType string
const (
    // Allow ...
    Allow ActionType = "Allow"
    // Block ...
    Block ActionType = "Block"
    // Log ...
    Log ActionType = "Log"
    // Redirect ...
    Redirect ActionType = "Redirect"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type AggregationInterval

AggregationInterval enumerates the values for aggregation interval.

type AggregationInterval string
const (
    // Daily ...
    Daily AggregationInterval = "Daily"
    // Hourly ...
    Hourly AggregationInterval = "Hourly"
)

func PossibleAggregationIntervalValues

func PossibleAggregationIntervalValues() []AggregationInterval

PossibleAggregationIntervalValues returns an array of possible values for the AggregationInterval const type.

type Availability

Availability enumerates the values for availability.

type Availability string
const (
    // Available ...
    Available Availability = "Available"
    // Unavailable ...
    Unavailable Availability = "Unavailable"
)

func PossibleAvailabilityValues

func PossibleAvailabilityValues() []Availability

PossibleAvailabilityValues returns an array of possible values for the Availability const type.

type AzureAsyncOperationResult

AzureAsyncOperationResult the response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure.

type AzureAsyncOperationResult struct {
    // Status - Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values include: 'InProgress', 'Succeeded', 'Failed'
    Status NetworkOperationStatus `json:"status,omitempty"`
    Error  *Error                 `json:"error,omitempty"`
}

type Backend

Backend backend address of a frontDoor load balancer.

type Backend struct {
    // Address - Location of the backend (IP address or FQDN)
    Address *string `json:"address,omitempty"`
    // PrivateLinkAlias - The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
    PrivateLinkAlias *string `json:"privateLinkAlias,omitempty"`
    // PrivateEndpointStatus - READ-ONLY; The Approval status for the connection to the Private Link. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected', 'Timeout'
    PrivateEndpointStatus PrivateEndpointStatus `json:"privateEndpointStatus,omitempty"`
    // PrivateLinkApprovalMessage - A custom message to be included in the approval request to connect to the Private Link
    PrivateLinkApprovalMessage *string `json:"privateLinkApprovalMessage,omitempty"`
    // HTTPPort - The HTTP TCP port number. Must be between 1 and 65535.
    HTTPPort *int32 `json:"httpPort,omitempty"`
    // HTTPSPort - The HTTPS TCP port number. Must be between 1 and 65535.
    HTTPSPort *int32 `json:"httpsPort,omitempty"`
    // EnabledState - Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
    EnabledState BackendEnabledState `json:"enabledState,omitempty"`
    // Priority - Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.
    Priority *int32 `json:"priority,omitempty"`
    // Weight - Weight of this endpoint for load balancing purposes.
    Weight *int32 `json:"weight,omitempty"`
    // BackendHostHeader - The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.
    BackendHostHeader *string `json:"backendHostHeader,omitempty"`
}

func (Backend) MarshalJSON

func (b Backend) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Backend.

type BackendEnabledState

BackendEnabledState enumerates the values for backend enabled state.

type BackendEnabledState string
const (
    // Disabled ...
    Disabled BackendEnabledState = "Disabled"
    // Enabled ...
    Enabled BackendEnabledState = "Enabled"
)

func PossibleBackendEnabledStateValues

func PossibleBackendEnabledStateValues() []BackendEnabledState

PossibleBackendEnabledStateValues returns an array of possible values for the BackendEnabledState const type.

type BackendPool

BackendPool a backend pool is a collection of backends that can be routed to.

type BackendPool struct {
    // BackendPoolProperties - Properties of the Front Door Backend Pool
    *BackendPoolProperties `json:"properties,omitempty"`
    // Name - Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

func (BackendPool) MarshalJSON

func (bp BackendPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackendPool.

func (*BackendPool) UnmarshalJSON

func (bp *BackendPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BackendPool struct.

type BackendPoolListResult

BackendPoolListResult result of the request to list Backend Pools. It contains a list of Backend Pools objects and a URL link to get the next set of results.

type BackendPoolListResult struct {
    // Value - READ-ONLY; List of Backend Pools within a Front Door.
    Value *[]BackendPool `json:"value,omitempty"`
    // NextLink - URL to get the next set of BackendPool objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (BackendPoolListResult) MarshalJSON

func (bplr BackendPoolListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BackendPoolListResult.

type BackendPoolProperties

BackendPoolProperties the JSON object that contains the properties required to create a Backend Pool.

type BackendPoolProperties struct {
    // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // Backends - The set of backends for this pool
    Backends *[]Backend `json:"backends,omitempty"`
    // LoadBalancingSettings - Load balancing settings for a backend pool
    LoadBalancingSettings *SubResource `json:"loadBalancingSettings,omitempty"`
    // HealthProbeSettings - L7 health probe settings for a backend pool
    HealthProbeSettings *SubResource `json:"healthProbeSettings,omitempty"`
}

type BackendPoolUpdateParameters

BackendPoolUpdateParameters a collection of backends that can be routed to.

type BackendPoolUpdateParameters struct {
    // Backends - The set of backends for this pool
    Backends *[]Backend `json:"backends,omitempty"`
    // LoadBalancingSettings - Load balancing settings for a backend pool
    LoadBalancingSettings *SubResource `json:"loadBalancingSettings,omitempty"`
    // HealthProbeSettings - L7 health probe settings for a backend pool
    HealthProbeSettings *SubResource `json:"healthProbeSettings,omitempty"`
}

type BackendPoolsSettings

BackendPoolsSettings settings that apply to all backend pools.

type BackendPoolsSettings struct {
    // EnforceCertificateNameCheck - Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests. Possible values include: 'EnforceCertificateNameCheckEnabledStateEnabled', 'EnforceCertificateNameCheckEnabledStateDisabled'
    EnforceCertificateNameCheck EnforceCertificateNameCheckEnabledState `json:"enforceCertificateNameCheck,omitempty"`
    // SendRecvTimeoutSeconds - Send and receive timeout on forwarding request to the backend. When timeout is reached, the request fails and returns.
    SendRecvTimeoutSeconds *int32 `json:"sendRecvTimeoutSeconds,omitempty"`
}

type BaseClient

BaseClient is the base client for Frontdoor.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (BaseClient) CheckFrontDoorNameAvailability

func (client BaseClient) CheckFrontDoorNameAvailability(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)

CheckFrontDoorNameAvailability check the availability of a Front Door resource name. Parameters: checkFrontDoorNameAvailabilityInput - input to check.

func (BaseClient) CheckFrontDoorNameAvailabilityPreparer

func (client BaseClient) CheckFrontDoorNameAvailabilityPreparer(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)

CheckFrontDoorNameAvailabilityPreparer prepares the CheckFrontDoorNameAvailability request.

func (BaseClient) CheckFrontDoorNameAvailabilityResponder

func (client BaseClient) CheckFrontDoorNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)

CheckFrontDoorNameAvailabilityResponder handles the response to the CheckFrontDoorNameAvailability request. The method always closes the http.Response Body.

func (BaseClient) CheckFrontDoorNameAvailabilitySender

func (client BaseClient) CheckFrontDoorNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckFrontDoorNameAvailabilitySender sends the CheckFrontDoorNameAvailability request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscription

func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscription(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)

CheckFrontDoorNameAvailabilityWithSubscription check the availability of a Front Door subdomain. Parameters: checkFrontDoorNameAvailabilityInput - input to check.

func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionPreparer

func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionPreparer(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)

CheckFrontDoorNameAvailabilityWithSubscriptionPreparer prepares the CheckFrontDoorNameAvailabilityWithSubscription request.

func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder

func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)

CheckFrontDoorNameAvailabilityWithSubscriptionResponder handles the response to the CheckFrontDoorNameAvailabilityWithSubscription request. The method always closes the http.Response Body.

func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionSender

func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error)

CheckFrontDoorNameAvailabilityWithSubscriptionSender sends the CheckFrontDoorNameAvailabilityWithSubscription request. The method will close the http.Response Body if it receives an error.

type BasicRouteConfiguration

BasicRouteConfiguration base class for all types of Route.

type BasicRouteConfiguration interface {
    AsForwardingConfiguration() (*ForwardingConfiguration, bool)
    AsRedirectConfiguration() (*RedirectConfiguration, bool)
    AsRouteConfiguration() (*RouteConfiguration, bool)
}

type CacheConfiguration

CacheConfiguration caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.

type CacheConfiguration struct {
    // QueryParameterStripDirective - Treatment of URL query terms when forming the cache key. Possible values include: 'StripNone', 'StripAll', 'StripOnly', 'StripAllExcept'
    QueryParameterStripDirective Query `json:"queryParameterStripDirective,omitempty"`
    // QueryParameters - query parameters to include or exclude (comma separated).
    QueryParameters *string `json:"queryParameters,omitempty"`
    // DynamicCompression - Whether to use dynamic compression for cached content. Possible values include: 'DynamicCompressionEnabledEnabled', 'DynamicCompressionEnabledDisabled'
    DynamicCompression DynamicCompressionEnabled `json:"dynamicCompression,omitempty"`
    // CacheDuration - The duration for which the content needs to be cached. Allowed format is in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations). HTTP requires the value to be no more than a year
    CacheDuration *string `json:"cacheDuration,omitempty"`
}

type CertificateSource

CertificateSource enumerates the values for certificate source.

type CertificateSource string
const (
    // CertificateSourceAzureKeyVault ...
    CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault"
    // CertificateSourceFrontDoor ...
    CertificateSourceFrontDoor CertificateSource = "FrontDoor"
)

func PossibleCertificateSourceValues

func PossibleCertificateSourceValues() []CertificateSource

PossibleCertificateSourceValues returns an array of possible values for the CertificateSource const type.

type CertificateSourceParameters

CertificateSourceParameters parameters required for enabling SSL with Front Door-managed certificates

type CertificateSourceParameters struct {
    // CertificateType - Defines the type of the certificate used for secure connections to a frontendEndpoint. Possible values include: 'Dedicated'
    CertificateType CertificateType `json:"certificateType,omitempty"`
}

type CertificateType

CertificateType enumerates the values for certificate type.

type CertificateType string
const (
    // Dedicated ...
    Dedicated CertificateType = "Dedicated"
)

func PossibleCertificateTypeValues

func PossibleCertificateTypeValues() []CertificateType

PossibleCertificateTypeValues returns an array of possible values for the CertificateType const type.

type CheckNameAvailabilityInput

CheckNameAvailabilityInput input of CheckNameAvailability API.

type CheckNameAvailabilityInput struct {
    // Name - The resource name to validate.
    Name *string `json:"name,omitempty"`
    // Type - The type of the resource whose name is to be validated. Possible values include: 'MicrosoftNetworkfrontDoors', 'MicrosoftNetworkfrontDoorsfrontendEndpoints'
    Type ResourceType `json:"type,omitempty"`
}

type CheckNameAvailabilityOutput

CheckNameAvailabilityOutput output of check name availability API.

type CheckNameAvailabilityOutput struct {
    autorest.Response `json:"-"`
    // NameAvailability - READ-ONLY; Indicates whether the name is available. Possible values include: 'Available', 'Unavailable'
    NameAvailability Availability `json:"nameAvailability,omitempty"`
    // Reason - READ-ONLY; The reason why the name is not available.
    Reason *string `json:"reason,omitempty"`
    // Message - READ-ONLY; The detailed error message describing why the name is not available.
    Message *string `json:"message,omitempty"`
}

func (CheckNameAvailabilityOutput) MarshalJSON

func (cnao CheckNameAvailabilityOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CheckNameAvailabilityOutput.

type CustomHTTPSConfiguration

CustomHTTPSConfiguration https settings for a domain

type CustomHTTPSConfiguration struct {
    // CertificateSource - Defines the source of the SSL certificate. Possible values include: 'CertificateSourceAzureKeyVault', 'CertificateSourceFrontDoor'
    CertificateSource CertificateSource `json:"certificateSource,omitempty"`
    // ProtocolType - Defines the TLS extension protocol that is used for secure delivery
    ProtocolType *string `json:"protocolType,omitempty"`
    // MinimumTLSVersion - The minimum TLS version required from the clients to establish an SSL handshake with Front Door. Possible values include: 'OneFullStopZero', 'OneFullStopTwo'
    MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"`
    // KeyVaultCertificateSourceParameters - KeyVault certificate source parameters (if certificateSource=AzureKeyVault)
    *KeyVaultCertificateSourceParameters `json:"keyVaultCertificateSourceParameters,omitempty"`
    // CertificateSourceParameters - Parameters required for enabling SSL with Front Door-managed certificates (if certificateSource=FrontDoor)
    *CertificateSourceParameters `json:"frontDoorCertificateSourceParameters,omitempty"`
}

func (CustomHTTPSConfiguration) MarshalJSON

func (chc CustomHTTPSConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomHTTPSConfiguration.

func (*CustomHTTPSConfiguration) UnmarshalJSON

func (chc *CustomHTTPSConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomHTTPSConfiguration struct.

type CustomHTTPSProvisioningState

CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.

type CustomHTTPSProvisioningState string
const (
    // CustomHTTPSProvisioningStateDisabled ...
    CustomHTTPSProvisioningStateDisabled CustomHTTPSProvisioningState = "Disabled"
    // CustomHTTPSProvisioningStateDisabling ...
    CustomHTTPSProvisioningStateDisabling CustomHTTPSProvisioningState = "Disabling"
    // CustomHTTPSProvisioningStateEnabled ...
    CustomHTTPSProvisioningStateEnabled CustomHTTPSProvisioningState = "Enabled"
    // CustomHTTPSProvisioningStateEnabling ...
    CustomHTTPSProvisioningStateEnabling CustomHTTPSProvisioningState = "Enabling"
    // CustomHTTPSProvisioningStateFailed ...
    CustomHTTPSProvisioningStateFailed CustomHTTPSProvisioningState = "Failed"
)

func PossibleCustomHTTPSProvisioningStateValues

func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState

PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type.

type CustomHTTPSProvisioningSubstate

CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate.

type CustomHTTPSProvisioningSubstate string
const (
    // CertificateDeleted ...
    CertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted"
    // CertificateDeployed ...
    CertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed"
    // DeletingCertificate ...
    DeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate"
    // DeployingCertificate ...
    DeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate"
    // DomainControlValidationRequestApproved ...
    DomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved"
    // DomainControlValidationRequestRejected ...
    DomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected"
    // DomainControlValidationRequestTimedOut ...
    DomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut"
    // IssuingCertificate ...
    IssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate"
    // PendingDomainControlValidationREquestApproval ...
    PendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval"
    // SubmittingDomainControlValidationRequest ...
    SubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest"
)

func PossibleCustomHTTPSProvisioningSubstateValues

func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate

PossibleCustomHTTPSProvisioningSubstateValues returns an array of possible values for the CustomHTTPSProvisioningSubstate const type.

type CustomRule

CustomRule defines contents of a web application rule

type CustomRule struct {
    // Name - Describes the name of the rule.
    Name *string `json:"name,omitempty"`
    // Priority - Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
    Priority *int32 `json:"priority,omitempty"`
    // EnabledState - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Possible values include: 'CustomRuleEnabledStateDisabled', 'CustomRuleEnabledStateEnabled'
    EnabledState CustomRuleEnabledState `json:"enabledState,omitempty"`
    // RuleType - Describes type of rule. Possible values include: 'MatchRule', 'RateLimitRule'
    RuleType RuleType `json:"ruleType,omitempty"`
    // RateLimitDurationInMinutes - Time window for resetting the rate limit count. Default is 1 minute.
    RateLimitDurationInMinutes *int32 `json:"rateLimitDurationInMinutes,omitempty"`
    // RateLimitThreshold - Number of allowed requests per client within the time window.
    RateLimitThreshold *int32 `json:"rateLimitThreshold,omitempty"`
    // MatchConditions - List of match conditions.
    MatchConditions *[]MatchCondition `json:"matchConditions,omitempty"`
    // Action - Describes what action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'
    Action ActionType `json:"action,omitempty"`
}

type CustomRuleEnabledState

CustomRuleEnabledState enumerates the values for custom rule enabled state.

type CustomRuleEnabledState string
const (
    // CustomRuleEnabledStateDisabled ...
    CustomRuleEnabledStateDisabled CustomRuleEnabledState = "Disabled"
    // CustomRuleEnabledStateEnabled ...
    CustomRuleEnabledStateEnabled CustomRuleEnabledState = "Enabled"
)

func PossibleCustomRuleEnabledStateValues

func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState

PossibleCustomRuleEnabledStateValues returns an array of possible values for the CustomRuleEnabledState const type.

type CustomRuleList

CustomRuleList defines contents of custom rules

type CustomRuleList struct {
    // Rules - List of rules
    Rules *[]CustomRule `json:"rules,omitempty"`
}

type DynamicCompressionEnabled

DynamicCompressionEnabled enumerates the values for dynamic compression enabled.

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

func PossibleDynamicCompressionEnabledValues

func PossibleDynamicCompressionEnabledValues() []DynamicCompressionEnabled

PossibleDynamicCompressionEnabledValues returns an array of possible values for the DynamicCompressionEnabled const type.

type EnabledState

EnabledState enumerates the values for enabled state.

type EnabledState string
const (
    // EnabledStateDisabled ...
    EnabledStateDisabled EnabledState = "Disabled"
    // EnabledStateEnabled ...
    EnabledStateEnabled EnabledState = "Enabled"
)

func PossibleEnabledStateValues

func PossibleEnabledStateValues() []EnabledState

PossibleEnabledStateValues returns an array of possible values for the EnabledState const type.

type Endpoint

Endpoint defines the endpoint properties

type Endpoint struct {
    // Name - The name of the endpoint
    Name *string `json:"name,omitempty"`
    // Endpoint - The endpoint URL
    Endpoint *string `json:"endpoint,omitempty"`
}

type EndpointType

EndpointType enumerates the values for endpoint type.

type EndpointType string
const (
    // AFD ...
    AFD EndpointType = "AFD"
    // ATM ...
    ATM EndpointType = "ATM"
    // AzureRegion ...
    AzureRegion EndpointType = "AzureRegion"
    // CDN ...
    CDN EndpointType = "CDN"
)

func PossibleEndpointTypeValues

func PossibleEndpointTypeValues() []EndpointType

PossibleEndpointTypeValues returns an array of possible values for the EndpointType const type.

type EndpointsClient

EndpointsClient is the frontDoor Client

type EndpointsClient struct {
    BaseClient
}

func NewEndpointsClient

func NewEndpointsClient(subscriptionID string) EndpointsClient

NewEndpointsClient creates an instance of the EndpointsClient client.

func NewEndpointsClientWithBaseURI

func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient

NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EndpointsClient) PurgeContent

func (client EndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, frontDoorName string, contentFilePaths PurgeParameters) (result EndpointsPurgeContentFuture, err error)

PurgeContent removes a content from Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. contentFilePaths - the path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.

func (EndpointsClient) PurgeContentPreparer

func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, contentFilePaths PurgeParameters) (*http.Request, error)

PurgeContentPreparer prepares the PurgeContent request.

func (EndpointsClient) PurgeContentResponder

func (client EndpointsClient) PurgeContentResponder(resp *http.Response) (result autorest.Response, err error)

PurgeContentResponder handles the response to the PurgeContent request. The method always closes the http.Response Body.

func (EndpointsClient) PurgeContentSender

func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error)

PurgeContentSender sends the PurgeContent request. The method will close the http.Response Body if it receives an error.

type EndpointsPurgeContentFuture

EndpointsPurgeContentFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type EndpointsPurgeContentFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(EndpointsClient) (autorest.Response, error)
}

func (*EndpointsPurgeContentFuture) UnmarshalJSON

func (future *EndpointsPurgeContentFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EnforceCertificateNameCheckEnabledState

EnforceCertificateNameCheckEnabledState enumerates the values for enforce certificate name check enabled state.

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

func PossibleEnforceCertificateNameCheckEnabledStateValues

func PossibleEnforceCertificateNameCheckEnabledStateValues() []EnforceCertificateNameCheckEnabledState

PossibleEnforceCertificateNameCheckEnabledStateValues returns an array of possible values for the EnforceCertificateNameCheckEnabledState const type.

type Error

Error ...

type Error struct {
    Code       *string         `json:"code,omitempty"`
    Message    *string         `json:"message,omitempty"`
    Target     *string         `json:"target,omitempty"`
    Details    *[]ErrorDetails `json:"details,omitempty"`
    InnerError *string         `json:"innerError,omitempty"`
}

type ErrorDetails

ErrorDetails ...

type ErrorDetails struct {
    Code    *string `json:"code,omitempty"`
    Target  *string `json:"target,omitempty"`
    Message *string `json:"message,omitempty"`
}

type ErrorResponse

ErrorResponse error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message.

type ErrorResponse struct {
    // Code - READ-ONLY; Error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; Error message indicating why the operation failed.
    Message *string `json:"message,omitempty"`
}

func (ErrorResponse) MarshalJSON

func (er ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponse.

type Experiment

Experiment defines the properties of an Experiment

type Experiment struct {
    autorest.Response `json:"-"`
    // ExperimentProperties - The properties of an Experiment
    *ExperimentProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (Experiment) MarshalJSON

func (e Experiment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Experiment.

func (*Experiment) UnmarshalJSON

func (e *Experiment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Experiment struct.

type ExperimentList

ExperimentList defines a list of Experiments. It contains a list of Experiment objects and a URL link to get the next set of results.

type ExperimentList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Experiments within a resource group.
    Value *[]Experiment `json:"value,omitempty"`
    // NextLink - URL to get the next set of Experiment objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ExperimentList) IsEmpty

func (el ExperimentList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ExperimentList) MarshalJSON

func (el ExperimentList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExperimentList.

type ExperimentListIterator

ExperimentListIterator provides access to a complete listing of Experiment values.

type ExperimentListIterator struct {
    // contains filtered or unexported fields
}

func NewExperimentListIterator

func NewExperimentListIterator(page ExperimentListPage) ExperimentListIterator

Creates a new instance of the ExperimentListIterator type.

func (*ExperimentListIterator) Next

func (iter *ExperimentListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExperimentListIterator) NextWithContext

func (iter *ExperimentListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExperimentListIterator) NotDone

func (iter ExperimentListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExperimentListIterator) Response

func (iter ExperimentListIterator) Response() ExperimentList

Response returns the raw server response from the last page request.

func (ExperimentListIterator) Value

func (iter ExperimentListIterator) Value() Experiment

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExperimentListPage

ExperimentListPage contains a page of Experiment values.

type ExperimentListPage struct {
    // contains filtered or unexported fields
}

func NewExperimentListPage

func NewExperimentListPage(cur ExperimentList, getNextPage func(context.Context, ExperimentList) (ExperimentList, error)) ExperimentListPage

Creates a new instance of the ExperimentListPage type.

func (*ExperimentListPage) Next

func (page *ExperimentListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExperimentListPage) NextWithContext

func (page *ExperimentListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExperimentListPage) NotDone

func (page ExperimentListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExperimentListPage) Response

func (page ExperimentListPage) Response() ExperimentList

Response returns the raw server response from the last page request.

func (ExperimentListPage) Values

func (page ExperimentListPage) Values() []Experiment

Values returns the slice of values for the current page or nil if there are no values.

type ExperimentProperties

ExperimentProperties defines the properties of an experiment

type ExperimentProperties struct {
    // Description - The description of the details or intents of the Experiment
    Description *string `json:"description,omitempty"`
    // EndpointA - The endpoint A of an experiment
    EndpointA *Endpoint `json:"endpointA,omitempty"`
    // EndpointB - The endpoint B of an experiment
    EndpointB *Endpoint `json:"endpointB,omitempty"`
    // EnabledState - The state of the Experiment. Possible values include: 'StateEnabled', 'StateDisabled'
    EnabledState State `json:"enabledState,omitempty"`
    // ResourceState - Resource status. Possible values include: 'NetworkExperimentResourceStateCreating', 'NetworkExperimentResourceStateEnabling', 'NetworkExperimentResourceStateEnabled', 'NetworkExperimentResourceStateDisabling', 'NetworkExperimentResourceStateDisabled', 'NetworkExperimentResourceStateDeleting'
    ResourceState NetworkExperimentResourceState `json:"resourceState,omitempty"`
    // Status - READ-ONLY; The description of Experiment status from the server side
    Status *string `json:"status,omitempty"`
    // ScriptFileURI - READ-ONLY; The uri to the Script used in the Experiment
    ScriptFileURI *string `json:"scriptFileUri,omitempty"`
}

func (ExperimentProperties) MarshalJSON

func (ep ExperimentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExperimentProperties.

type ExperimentUpdateModel

ExperimentUpdateModel defines modifiable attributes of an Experiment

type ExperimentUpdateModel struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ExperimentUpdateProperties - The properties of a Profile
    *ExperimentUpdateProperties `json:"properties,omitempty"`
}

func (ExperimentUpdateModel) MarshalJSON

func (eum ExperimentUpdateModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExperimentUpdateModel.

func (*ExperimentUpdateModel) UnmarshalJSON

func (eum *ExperimentUpdateModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExperimentUpdateModel struct.

type ExperimentUpdateProperties

ExperimentUpdateProperties defines the properties of an experiment

type ExperimentUpdateProperties struct {
    // Description - The description of the intent or details of the Experiment
    Description *string `json:"description,omitempty"`
    // EnabledState - The state of the Experiment. Possible values include: 'StateEnabled', 'StateDisabled'
    EnabledState State `json:"enabledState,omitempty"`
}

type ExperimentsClient

ExperimentsClient is the frontDoor Client

type ExperimentsClient struct {
    BaseClient
}

func NewExperimentsClient

func NewExperimentsClient(subscriptionID string) ExperimentsClient

NewExperimentsClient creates an instance of the ExperimentsClient client.

func NewExperimentsClientWithBaseURI

func NewExperimentsClientWithBaseURI(baseURI string, subscriptionID string) ExperimentsClient

NewExperimentsClientWithBaseURI creates an instance of the ExperimentsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExperimentsClient) CreateOrUpdate

func (client ExperimentsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters Experiment) (result ExperimentsCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner experimentName - the Experiment identifier associated with the Experiment parameters - the Experiment resource

func (ExperimentsClient) CreateOrUpdatePreparer

func (client ExperimentsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters Experiment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ExperimentsClient) CreateOrUpdateResponder

func (client ExperimentsClient) CreateOrUpdateResponder(resp *http.Response) (result Experiment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ExperimentsClient) CreateOrUpdateSender

func (client ExperimentsClient) CreateOrUpdateSender(req *http.Request) (future ExperimentsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ExperimentsClient) Delete

func (client ExperimentsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (result ExperimentsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner experimentName - the Experiment identifier associated with the Experiment

func (ExperimentsClient) DeletePreparer

func (client ExperimentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExperimentsClient) DeleteResponder

func (client ExperimentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExperimentsClient) DeleteSender

func (client ExperimentsClient) DeleteSender(req *http.Request) (future ExperimentsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExperimentsClient) Get

func (client ExperimentsClient) Get(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (result Experiment, err error)

Get sends the get request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner experimentName - the Experiment identifier associated with the Experiment

func (ExperimentsClient) GetPreparer

func (client ExperimentsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExperimentsClient) GetResponder

func (client ExperimentsClient) GetResponder(resp *http.Response) (result Experiment, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExperimentsClient) GetSender

func (client ExperimentsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExperimentsClient) ListByProfile

func (client ExperimentsClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result ExperimentListPage, err error)

ListByProfile sends the list by profile request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner

func (ExperimentsClient) ListByProfileComplete

func (client ExperimentsClient) ListByProfileComplete(ctx context.Context, resourceGroupName string, profileName string) (result ExperimentListIterator, err error)

ListByProfileComplete enumerates all values, automatically crossing page boundaries as required.

func (ExperimentsClient) ListByProfilePreparer

func (client ExperimentsClient) ListByProfilePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

ListByProfilePreparer prepares the ListByProfile request.

func (ExperimentsClient) ListByProfileResponder

func (client ExperimentsClient) ListByProfileResponder(resp *http.Response) (result ExperimentList, err error)

ListByProfileResponder handles the response to the ListByProfile request. The method always closes the http.Response Body.

func (ExperimentsClient) ListByProfileSender

func (client ExperimentsClient) ListByProfileSender(req *http.Request) (*http.Response, error)

ListByProfileSender sends the ListByProfile request. The method will close the http.Response Body if it receives an error.

func (ExperimentsClient) Update

func (client ExperimentsClient) Update(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters ExperimentUpdateModel) (result ExperimentsUpdateFuture, err error)

Update updates an Experiment Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner experimentName - the Experiment identifier associated with the Experiment parameters - the Experiment Update Model

func (ExperimentsClient) UpdatePreparer

func (client ExperimentsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, parameters ExperimentUpdateModel) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ExperimentsClient) UpdateResponder

func (client ExperimentsClient) UpdateResponder(resp *http.Response) (result Experiment, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ExperimentsClient) UpdateSender

func (client ExperimentsClient) UpdateSender(req *http.Request) (future ExperimentsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ExperimentsCreateOrUpdateFuture

ExperimentsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ExperimentsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ExperimentsClient) (Experiment, error)
}

func (*ExperimentsCreateOrUpdateFuture) UnmarshalJSON

func (future *ExperimentsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExperimentsDeleteFuture

ExperimentsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ExperimentsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ExperimentsClient) (autorest.Response, error)
}

func (*ExperimentsDeleteFuture) UnmarshalJSON

func (future *ExperimentsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExperimentsUpdateFuture

ExperimentsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ExperimentsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ExperimentsClient) (Experiment, error)
}

func (*ExperimentsUpdateFuture) UnmarshalJSON

func (future *ExperimentsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ForwardingConfiguration

ForwardingConfiguration describes Forwarding Route.

type ForwardingConfiguration struct {
    // CustomForwardingPath - A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.
    CustomForwardingPath *string `json:"customForwardingPath,omitempty"`
    // ForwardingProtocol - Protocol this rule will use when forwarding traffic to backends. Possible values include: 'HTTPOnly', 'HTTPSOnly', 'MatchRequest'
    ForwardingProtocol ForwardingProtocol `json:"forwardingProtocol,omitempty"`
    // CacheConfiguration - The caching configuration associated with this rule.
    CacheConfiguration *CacheConfiguration `json:"cacheConfiguration,omitempty"`
    // BackendPool - A reference to the BackendPool which this rule routes to.
    BackendPool *SubResource `json:"backendPool,omitempty"`
    // OdataType - Possible values include: 'OdataTypeRouteConfiguration', 'OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration', 'OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (ForwardingConfiguration) AsBasicRouteConfiguration

func (fc ForwardingConfiguration) AsBasicRouteConfiguration() (BasicRouteConfiguration, bool)

AsBasicRouteConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) AsForwardingConfiguration

func (fc ForwardingConfiguration) AsForwardingConfiguration() (*ForwardingConfiguration, bool)

AsForwardingConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) AsRedirectConfiguration

func (fc ForwardingConfiguration) AsRedirectConfiguration() (*RedirectConfiguration, bool)

AsRedirectConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) AsRouteConfiguration

func (fc ForwardingConfiguration) AsRouteConfiguration() (*RouteConfiguration, bool)

AsRouteConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for ForwardingConfiguration.

type ForwardingProtocol

ForwardingProtocol enumerates the values for forwarding protocol.

type ForwardingProtocol string
const (
    // HTTPOnly ...
    HTTPOnly ForwardingProtocol = "HttpOnly"
    // HTTPSOnly ...
    HTTPSOnly ForwardingProtocol = "HttpsOnly"
    // MatchRequest ...
    MatchRequest ForwardingProtocol = "MatchRequest"
)

func PossibleForwardingProtocolValues

func PossibleForwardingProtocolValues() []ForwardingProtocol

PossibleForwardingProtocolValues returns an array of possible values for the ForwardingProtocol const type.

type FrontDoor

FrontDoor front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there.

type FrontDoor struct {
    autorest.Response `json:"-"`
    // Properties - Properties of the Front Door Load Balancer
    *Properties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (FrontDoor) MarshalJSON

func (fd FrontDoor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontDoor.

func (*FrontDoor) UnmarshalJSON

func (fd *FrontDoor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FrontDoor struct.

type FrontDoorsClient

FrontDoorsClient is the frontDoor Client

type FrontDoorsClient struct {
    BaseClient
}

func NewFrontDoorsClient

func NewFrontDoorsClient(subscriptionID string) FrontDoorsClient

NewFrontDoorsClient creates an instance of the FrontDoorsClient client.

func NewFrontDoorsClientWithBaseURI

func NewFrontDoorsClientWithBaseURI(baseURI string, subscriptionID string) FrontDoorsClient

NewFrontDoorsClientWithBaseURI creates an instance of the FrontDoorsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FrontDoorsClient) CreateOrUpdate

func (client FrontDoorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, frontDoorParameters FrontDoor) (result FrontDoorsCreateOrUpdateFutureType, err error)

CreateOrUpdate creates a new Front Door with a Front Door name under the specified subscription and resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontDoorParameters - front Door properties needed to create a new Front Door.

func (FrontDoorsClient) CreateOrUpdatePreparer

func (client FrontDoorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontDoorParameters FrontDoor) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FrontDoorsClient) CreateOrUpdateResponder

func (client FrontDoorsClient) CreateOrUpdateResponder(resp *http.Response) (result FrontDoor, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (FrontDoorsClient) CreateOrUpdateSender

func (client FrontDoorsClient) CreateOrUpdateSender(req *http.Request) (future FrontDoorsCreateOrUpdateFutureType, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (FrontDoorsClient) Delete

func (client FrontDoorsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoorsDeleteFutureType, err error)

Delete deletes an existing Front Door with the specified parameters. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.

func (FrontDoorsClient) DeletePreparer

func (client FrontDoorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FrontDoorsClient) DeleteResponder

func (client FrontDoorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (FrontDoorsClient) DeleteSender

func (client FrontDoorsClient) DeleteSender(req *http.Request) (future FrontDoorsDeleteFutureType, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (FrontDoorsClient) Get

func (client FrontDoorsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoor, err error)

Get gets a Front Door with the specified Front Door name under the specified subscription and resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.

func (FrontDoorsClient) GetPreparer

func (client FrontDoorsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FrontDoorsClient) GetResponder

func (client FrontDoorsClient) GetResponder(resp *http.Response) (result FrontDoor, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (FrontDoorsClient) GetSender

func (client FrontDoorsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (FrontDoorsClient) List

func (client FrontDoorsClient) List(ctx context.Context) (result ListResultPage, err error)

List lists all of the Front Doors within an Azure subscription.

func (FrontDoorsClient) ListByResourceGroup

func (client FrontDoorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)

ListByResourceGroup lists all of the Front Doors within a resource group under a subscription. Parameters: resourceGroupName - name of the Resource group within the Azure subscription.

func (FrontDoorsClient) ListByResourceGroupComplete

func (client FrontDoorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (FrontDoorsClient) ListByResourceGroupPreparer

func (client FrontDoorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (FrontDoorsClient) ListByResourceGroupResponder

func (client FrontDoorsClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (FrontDoorsClient) ListByResourceGroupSender

func (client FrontDoorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (FrontDoorsClient) ListComplete

func (client FrontDoorsClient) ListComplete(ctx context.Context) (result ListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (FrontDoorsClient) ListPreparer

func (client FrontDoorsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (FrontDoorsClient) ListResponder

func (client FrontDoorsClient) ListResponder(resp *http.Response) (result ListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (FrontDoorsClient) ListSender

func (client FrontDoorsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (FrontDoorsClient) ValidateCustomDomain

func (client FrontDoorsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties ValidateCustomDomainInput) (result ValidateCustomDomainOutput, err error)

ValidateCustomDomain validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. customDomainProperties - custom domain to be validated.

func (FrontDoorsClient) ValidateCustomDomainPreparer

func (client FrontDoorsClient) ValidateCustomDomainPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties ValidateCustomDomainInput) (*http.Request, error)

ValidateCustomDomainPreparer prepares the ValidateCustomDomain request.

func (FrontDoorsClient) ValidateCustomDomainResponder

func (client FrontDoorsClient) ValidateCustomDomainResponder(resp *http.Response) (result ValidateCustomDomainOutput, err error)

ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always closes the http.Response Body.

func (FrontDoorsClient) ValidateCustomDomainSender

func (client FrontDoorsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error)

ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the http.Response Body if it receives an error.

type FrontDoorsCreateOrUpdateFutureType

FrontDoorsCreateOrUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.

type FrontDoorsCreateOrUpdateFutureType struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(FrontDoorsClient) (FrontDoor, error)
}

func (*FrontDoorsCreateOrUpdateFutureType) UnmarshalJSON

func (future *FrontDoorsCreateOrUpdateFutureType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FrontDoorsDeleteFutureType

FrontDoorsDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.

type FrontDoorsDeleteFutureType struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(FrontDoorsClient) (autorest.Response, error)
}

func (*FrontDoorsDeleteFutureType) UnmarshalJSON

func (future *FrontDoorsDeleteFutureType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FrontendEndpoint

FrontendEndpoint a frontend endpoint used for routing.

type FrontendEndpoint struct {
    autorest.Response `json:"-"`
    // FrontendEndpointProperties - Properties of the Frontend endpoint
    *FrontendEndpointProperties `json:"properties,omitempty"`
    // Name - Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

func (FrontendEndpoint) MarshalJSON

func (fe FrontendEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontendEndpoint.

func (*FrontendEndpoint) UnmarshalJSON

func (fe *FrontendEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FrontendEndpoint struct.

FrontendEndpointLink defines the Resource ID for a Frontend Endpoint.

type FrontendEndpointLink struct {
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

type FrontendEndpointProperties

FrontendEndpointProperties the JSON object that contains the properties required to create a frontend endpoint.

type FrontendEndpointProperties struct {
    // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // CustomHTTPSProvisioningState - READ-ONLY; Provisioning status of Custom Https of the frontendEndpoint. Possible values include: 'CustomHTTPSProvisioningStateEnabling', 'CustomHTTPSProvisioningStateEnabled', 'CustomHTTPSProvisioningStateDisabling', 'CustomHTTPSProvisioningStateDisabled', 'CustomHTTPSProvisioningStateFailed'
    CustomHTTPSProvisioningState CustomHTTPSProvisioningState `json:"customHttpsProvisioningState,omitempty"`
    // CustomHTTPSProvisioningSubstate - READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. Possible values include: 'SubmittingDomainControlValidationRequest', 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', 'CertificateDeleted'
    CustomHTTPSProvisioningSubstate CustomHTTPSProvisioningSubstate `json:"customHttpsProvisioningSubstate,omitempty"`
    // CustomHTTPSConfiguration - READ-ONLY; The configuration specifying how to enable HTTPS
    CustomHTTPSConfiguration *CustomHTTPSConfiguration `json:"customHttpsConfiguration,omitempty"`
    // HostName - The host name of the frontendEndpoint. Must be a domain name.
    HostName *string `json:"hostName,omitempty"`
    // SessionAffinityEnabledState - Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'SessionAffinityEnabledStateEnabled', 'SessionAffinityEnabledStateDisabled'
    SessionAffinityEnabledState SessionAffinityEnabledState `json:"sessionAffinityEnabledState,omitempty"`
    // SessionAffinityTTLSeconds - UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.
    SessionAffinityTTLSeconds *int32 `json:"sessionAffinityTtlSeconds,omitempty"`
    // WebApplicationFirewallPolicyLink - Defines the Web Application Firewall policy for each host (if applicable)
    WebApplicationFirewallPolicyLink *FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

func (FrontendEndpointProperties) MarshalJSON

func (fep FrontendEndpointProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontendEndpointProperties.

type FrontendEndpointUpdateParameters

FrontendEndpointUpdateParameters frontend endpoint used in routing rule

type FrontendEndpointUpdateParameters struct {
    // HostName - The host name of the frontendEndpoint. Must be a domain name.
    HostName *string `json:"hostName,omitempty"`
    // SessionAffinityEnabledState - Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'SessionAffinityEnabledStateEnabled', 'SessionAffinityEnabledStateDisabled'
    SessionAffinityEnabledState SessionAffinityEnabledState `json:"sessionAffinityEnabledState,omitempty"`
    // SessionAffinityTTLSeconds - UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.
    SessionAffinityTTLSeconds *int32 `json:"sessionAffinityTtlSeconds,omitempty"`
    // WebApplicationFirewallPolicyLink - Defines the Web Application Firewall policy for each host (if applicable)
    WebApplicationFirewallPolicyLink *FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink defines the Web Application Firewall policy for each host (if applicable)

type FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink struct {
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

type FrontendEndpointsClient

FrontendEndpointsClient is the frontDoor Client

type FrontendEndpointsClient struct {
    BaseClient
}

func NewFrontendEndpointsClient

func NewFrontendEndpointsClient(subscriptionID string) FrontendEndpointsClient

NewFrontendEndpointsClient creates an instance of the FrontendEndpointsClient client.

func NewFrontendEndpointsClientWithBaseURI

func NewFrontendEndpointsClientWithBaseURI(baseURI string, subscriptionID string) FrontendEndpointsClient

NewFrontendEndpointsClientWithBaseURI creates an instance of the FrontendEndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (FrontendEndpointsClient) DisableHTTPS

func (client FrontendEndpointsClient) DisableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result FrontendEndpointsDisableHTTPSFuture, err error)

DisableHTTPS disables a frontendEndpoint for HTTPS traffic Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door.

func (FrontendEndpointsClient) DisableHTTPSPreparer

func (client FrontendEndpointsClient) DisableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)

DisableHTTPSPreparer prepares the DisableHTTPS request.

func (FrontendEndpointsClient) DisableHTTPSResponder

func (client FrontendEndpointsClient) DisableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)

DisableHTTPSResponder handles the response to the DisableHTTPS request. The method always closes the http.Response Body.

func (FrontendEndpointsClient) DisableHTTPSSender

func (client FrontendEndpointsClient) DisableHTTPSSender(req *http.Request) (future FrontendEndpointsDisableHTTPSFuture, err error)

DisableHTTPSSender sends the DisableHTTPS request. The method will close the http.Response Body if it receives an error.

func (FrontendEndpointsClient) EnableHTTPS

func (client FrontendEndpointsClient) EnableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration CustomHTTPSConfiguration) (result FrontendEndpointsEnableHTTPSFuture, err error)

EnableHTTPS enables a frontendEndpoint for HTTPS traffic Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door. customHTTPSConfiguration - the configuration specifying how to enable HTTPS

func (FrontendEndpointsClient) EnableHTTPSPreparer

func (client FrontendEndpointsClient) EnableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration CustomHTTPSConfiguration) (*http.Request, error)

EnableHTTPSPreparer prepares the EnableHTTPS request.

func (FrontendEndpointsClient) EnableHTTPSResponder

func (client FrontendEndpointsClient) EnableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)

EnableHTTPSResponder handles the response to the EnableHTTPS request. The method always closes the http.Response Body.

func (FrontendEndpointsClient) EnableHTTPSSender

func (client FrontendEndpointsClient) EnableHTTPSSender(req *http.Request) (future FrontendEndpointsEnableHTTPSFuture, err error)

EnableHTTPSSender sends the EnableHTTPS request. The method will close the http.Response Body if it receives an error.

func (FrontendEndpointsClient) Get

func (client FrontendEndpointsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result FrontendEndpoint, err error)

Get gets a Frontend endpoint with the specified name within the specified Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door.

func (FrontendEndpointsClient) GetPreparer

func (client FrontendEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FrontendEndpointsClient) GetResponder

func (client FrontendEndpointsClient) GetResponder(resp *http.Response) (result FrontendEndpoint, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (FrontendEndpointsClient) GetSender

func (client FrontendEndpointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (FrontendEndpointsClient) ListByFrontDoor

func (client FrontendEndpointsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultPage, err error)

ListByFrontDoor lists all of the frontend endpoints within a Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.

func (FrontendEndpointsClient) ListByFrontDoorComplete

func (client FrontendEndpointsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultIterator, err error)

ListByFrontDoorComplete enumerates all values, automatically crossing page boundaries as required.

func (FrontendEndpointsClient) ListByFrontDoorPreparer

func (client FrontendEndpointsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (FrontendEndpointsClient) ListByFrontDoorResponder

func (client FrontendEndpointsClient) ListByFrontDoorResponder(resp *http.Response) (result FrontendEndpointsListResult, err error)

ListByFrontDoorResponder handles the response to the ListByFrontDoor request. The method always closes the http.Response Body.

func (FrontendEndpointsClient) ListByFrontDoorSender

func (client FrontendEndpointsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)

ListByFrontDoorSender sends the ListByFrontDoor request. The method will close the http.Response Body if it receives an error.

type FrontendEndpointsDisableHTTPSFuture

FrontendEndpointsDisableHTTPSFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type FrontendEndpointsDisableHTTPSFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(FrontendEndpointsClient) (autorest.Response, error)
}

func (*FrontendEndpointsDisableHTTPSFuture) UnmarshalJSON

func (future *FrontendEndpointsDisableHTTPSFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FrontendEndpointsEnableHTTPSFuture

FrontendEndpointsEnableHTTPSFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type FrontendEndpointsEnableHTTPSFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(FrontendEndpointsClient) (autorest.Response, error)
}

func (*FrontendEndpointsEnableHTTPSFuture) UnmarshalJSON

func (future *FrontendEndpointsEnableHTTPSFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FrontendEndpointsListResult

FrontendEndpointsListResult result of the request to list frontend endpoints. It contains a list of Frontend endpoint objects and a URL link to get the next set of results.

type FrontendEndpointsListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Frontend endpoints within a Front Door.
    Value *[]FrontendEndpoint `json:"value,omitempty"`
    // NextLink - URL to get the next set of frontend endpoints if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (FrontendEndpointsListResult) IsEmpty

func (felr FrontendEndpointsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (FrontendEndpointsListResult) MarshalJSON

func (felr FrontendEndpointsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FrontendEndpointsListResult.

type FrontendEndpointsListResultIterator

FrontendEndpointsListResultIterator provides access to a complete listing of FrontendEndpoint values.

type FrontendEndpointsListResultIterator struct {
    // contains filtered or unexported fields
}

func NewFrontendEndpointsListResultIterator

func NewFrontendEndpointsListResultIterator(page FrontendEndpointsListResultPage) FrontendEndpointsListResultIterator

Creates a new instance of the FrontendEndpointsListResultIterator type.

func (*FrontendEndpointsListResultIterator) Next

func (iter *FrontendEndpointsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FrontendEndpointsListResultIterator) NextWithContext

func (iter *FrontendEndpointsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (FrontendEndpointsListResultIterator) NotDone

func (iter FrontendEndpointsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (FrontendEndpointsListResultIterator) Response

func (iter FrontendEndpointsListResultIterator) Response() FrontendEndpointsListResult

Response returns the raw server response from the last page request.

func (FrontendEndpointsListResultIterator) Value

func (iter FrontendEndpointsListResultIterator) Value() FrontendEndpoint

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type FrontendEndpointsListResultPage

FrontendEndpointsListResultPage contains a page of FrontendEndpoint values.

type FrontendEndpointsListResultPage struct {
    // contains filtered or unexported fields
}

func NewFrontendEndpointsListResultPage

func NewFrontendEndpointsListResultPage(cur FrontendEndpointsListResult, getNextPage func(context.Context, FrontendEndpointsListResult) (FrontendEndpointsListResult, error)) FrontendEndpointsListResultPage

Creates a new instance of the FrontendEndpointsListResultPage type.

func (*FrontendEndpointsListResultPage) Next

func (page *FrontendEndpointsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*FrontendEndpointsListResultPage) NextWithContext

func (page *FrontendEndpointsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (FrontendEndpointsListResultPage) NotDone

func (page FrontendEndpointsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (FrontendEndpointsListResultPage) Response

func (page FrontendEndpointsListResultPage) Response() FrontendEndpointsListResult

Response returns the raw server response from the last page request.

func (FrontendEndpointsListResultPage) Values

func (page FrontendEndpointsListResultPage) Values() []FrontendEndpoint

Values returns the slice of values for the current page or nil if there are no values.

type HeaderAction

HeaderAction an action that can manipulate an http header.

type HeaderAction struct {
    // HeaderActionType - Which type of manipulation to apply to the header. Possible values include: 'Append', 'Delete', 'Overwrite'
    HeaderActionType HeaderActionType `json:"headerActionType,omitempty"`
    // HeaderName - The name of the header this action will apply to.
    HeaderName *string `json:"headerName,omitempty"`
    // Value - The value to update the given header name with. This value is not used if the actionType is Delete.
    Value *string `json:"value,omitempty"`
}

type HeaderActionType

HeaderActionType enumerates the values for header action type.

type HeaderActionType string
const (
    // Append ...
    Append HeaderActionType = "Append"
    // Delete ...
    Delete HeaderActionType = "Delete"
    // Overwrite ...
    Overwrite HeaderActionType = "Overwrite"
)

func PossibleHeaderActionTypeValues

func PossibleHeaderActionTypeValues() []HeaderActionType

PossibleHeaderActionTypeValues returns an array of possible values for the HeaderActionType const type.

type HealthProbeEnabled

HealthProbeEnabled enumerates the values for health probe enabled.

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

func PossibleHealthProbeEnabledValues

func PossibleHealthProbeEnabledValues() []HealthProbeEnabled

PossibleHealthProbeEnabledValues returns an array of possible values for the HealthProbeEnabled const type.

type HealthProbeMethod

HealthProbeMethod enumerates the values for health probe method.

type HealthProbeMethod string
const (
    // GET ...
    GET HealthProbeMethod = "GET"
    // HEAD ...
    HEAD HealthProbeMethod = "HEAD"
)

func PossibleHealthProbeMethodValues

func PossibleHealthProbeMethodValues() []HealthProbeMethod

PossibleHealthProbeMethodValues returns an array of possible values for the HealthProbeMethod const type.

type HealthProbeSettingsListResult

HealthProbeSettingsListResult result of the request to list HealthProbeSettings. It contains a list of HealthProbeSettings objects and a URL link to get the next set of results.

type HealthProbeSettingsListResult struct {
    // Value - READ-ONLY; List of HealthProbeSettings within a Front Door.
    Value *[]HealthProbeSettingsModel `json:"value,omitempty"`
    // NextLink - URL to get the next set of HealthProbeSettings objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (HealthProbeSettingsListResult) MarshalJSON

func (hpslr HealthProbeSettingsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthProbeSettingsListResult.

type HealthProbeSettingsModel

HealthProbeSettingsModel load balancing settings for a backend pool

type HealthProbeSettingsModel struct {
    // HealthProbeSettingsProperties - Properties of the health probe settings
    *HealthProbeSettingsProperties `json:"properties,omitempty"`
    // Name - Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

func (HealthProbeSettingsModel) MarshalJSON

func (hpsm HealthProbeSettingsModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthProbeSettingsModel.

func (*HealthProbeSettingsModel) UnmarshalJSON

func (hpsm *HealthProbeSettingsModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HealthProbeSettingsModel struct.

type HealthProbeSettingsProperties

HealthProbeSettingsProperties the JSON object that contains the properties required to create a health probe settings.

type HealthProbeSettingsProperties struct {
    // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // Path - The path to use for the health probe. Default is /
    Path *string `json:"path,omitempty"`
    // Protocol - Protocol scheme to use for this probe. Possible values include: 'HTTP', 'HTTPS'
    Protocol Protocol `json:"protocol,omitempty"`
    // IntervalInSeconds - The number of seconds between health probes.
    IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
    // HealthProbeMethod - Configures which HTTP method to use to probe the backends defined under backendPools. Possible values include: 'GET', 'HEAD'
    HealthProbeMethod HealthProbeMethod `json:"healthProbeMethod,omitempty"`
    // EnabledState - Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. Possible values include: 'HealthProbeEnabledEnabled', 'HealthProbeEnabledDisabled'
    EnabledState HealthProbeEnabled `json:"enabledState,omitempty"`
}

type HealthProbeSettingsUpdateParameters

HealthProbeSettingsUpdateParameters l7 health probe settings for a backend pool

type HealthProbeSettingsUpdateParameters struct {
    // Path - The path to use for the health probe. Default is /
    Path *string `json:"path,omitempty"`
    // Protocol - Protocol scheme to use for this probe. Possible values include: 'HTTP', 'HTTPS'
    Protocol Protocol `json:"protocol,omitempty"`
    // IntervalInSeconds - The number of seconds between health probes.
    IntervalInSeconds *int32 `json:"intervalInSeconds,omitempty"`
    // HealthProbeMethod - Configures which HTTP method to use to probe the backends defined under backendPools. Possible values include: 'GET', 'HEAD'
    HealthProbeMethod HealthProbeMethod `json:"healthProbeMethod,omitempty"`
    // EnabledState - Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. Possible values include: 'HealthProbeEnabledEnabled', 'HealthProbeEnabledDisabled'
    EnabledState HealthProbeEnabled `json:"enabledState,omitempty"`
}

type KeyVaultCertificateSourceParameters

KeyVaultCertificateSourceParameters parameters required for bring-your-own-certification via Key Vault

type KeyVaultCertificateSourceParameters struct {
    // Vault - The Key Vault containing the SSL certificate
    Vault *KeyVaultCertificateSourceParametersVault `json:"vault,omitempty"`
    // SecretName - The name of the Key Vault secret representing the full certificate PFX
    SecretName *string `json:"secretName,omitempty"`
    // SecretVersion - The version of the Key Vault secret representing the full certificate PFX
    SecretVersion *string `json:"secretVersion,omitempty"`
}

type KeyVaultCertificateSourceParametersVault

KeyVaultCertificateSourceParametersVault the Key Vault containing the SSL certificate

type KeyVaultCertificateSourceParametersVault struct {
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

type LatencyMetric

LatencyMetric defines the properties of a latency metric used in the latency scorecard

type LatencyMetric struct {
    // Name - READ-ONLY; The name of the Latency Metric
    Name *string `json:"name,omitempty"`
    // EndDateTimeUTC - READ-ONLY; The end time of the Latency Scorecard in UTC
    EndDateTimeUTC *string `json:"endDateTimeUTC,omitempty"`
    // AValue - READ-ONLY; The metric value of the A endpoint
    AValue *float64 `json:"aValue,omitempty"`
    // BValue - READ-ONLY; The metric value of the B endpoint
    BValue *float64 `json:"bValue,omitempty"`
    // Delta - READ-ONLY; The difference in value between endpoint A and B
    Delta *float64 `json:"delta,omitempty"`
    // DeltaPercent - READ-ONLY; The percent difference between endpoint A and B
    DeltaPercent *float64 `json:"deltaPercent,omitempty"`
    // ACLower95CI - READ-ONLY; The lower end of the 95% confidence interval for endpoint A
    ACLower95CI *float64 `json:"aCLower95CI,omitempty"`
    // AHUpper95CI - READ-ONLY; The upper end of the 95% confidence interval for endpoint A
    AHUpper95CI *float64 `json:"aHUpper95CI,omitempty"`
    // BCLower95CI - READ-ONLY; The lower end of the 95% confidence interval for endpoint B
    BCLower95CI *float64 `json:"bCLower95CI,omitempty"`
    // BUpper95CI - READ-ONLY; The upper end of the 95% confidence interval for endpoint B
    BUpper95CI *float64 `json:"bUpper95CI,omitempty"`
}

func (LatencyMetric) MarshalJSON

func (lm LatencyMetric) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LatencyMetric.

type LatencyScorecard

LatencyScorecard defines the LatencyScorecard

type LatencyScorecard struct {
    autorest.Response `json:"-"`
    // LatencyScorecardProperties - The properties of a latency scorecard
    *LatencyScorecardProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (LatencyScorecard) MarshalJSON

func (ls LatencyScorecard) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LatencyScorecard.

func (*LatencyScorecard) UnmarshalJSON

func (ls *LatencyScorecard) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LatencyScorecard struct.

type LatencyScorecardAggregationInterval

LatencyScorecardAggregationInterval enumerates the values for latency scorecard aggregation interval.

type LatencyScorecardAggregationInterval string
const (
    // LatencyScorecardAggregationIntervalDaily ...
    LatencyScorecardAggregationIntervalDaily LatencyScorecardAggregationInterval = "Daily"
    // LatencyScorecardAggregationIntervalMonthly ...
    LatencyScorecardAggregationIntervalMonthly LatencyScorecardAggregationInterval = "Monthly"
    // LatencyScorecardAggregationIntervalWeekly ...
    LatencyScorecardAggregationIntervalWeekly LatencyScorecardAggregationInterval = "Weekly"
)

func PossibleLatencyScorecardAggregationIntervalValues

func PossibleLatencyScorecardAggregationIntervalValues() []LatencyScorecardAggregationInterval

PossibleLatencyScorecardAggregationIntervalValues returns an array of possible values for the LatencyScorecardAggregationInterval const type.

type LatencyScorecardProperties

LatencyScorecardProperties defines a the properties of a Latency Scorecard

type LatencyScorecardProperties struct {
    // ID - READ-ONLY; The unique identifier of the Latency Scorecard
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the Latency Scorecard
    Name *string `json:"name,omitempty"`
    // Description - READ-ONLY; The description of the Latency Scorecard
    Description *string `json:"description,omitempty"`
    // EndpointA - READ-ONLY; The A endpoint in the scorecard
    EndpointA *string `json:"endpointA,omitempty"`
    // EndpointB - READ-ONLY; The B endpoint in the scorecard
    EndpointB *string `json:"endpointB,omitempty"`
    // StartDateTimeUTC - READ-ONLY; The start time of the Latency Scorecard in UTC
    StartDateTimeUTC *date.Time `json:"startDateTimeUTC,omitempty"`
    // EndDateTimeUTC - READ-ONLY; The end time of the Latency Scorecard in UTC
    EndDateTimeUTC *date.Time `json:"endDateTimeUTC,omitempty"`
    // Country - READ-ONLY; The country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html
    Country *string `json:"country,omitempty"`
    // LatencyMetrics - The latency metrics of the Latency Scorecard
    LatencyMetrics *[]LatencyMetric `json:"latencyMetrics,omitempty"`
}

func (LatencyScorecardProperties) MarshalJSON

func (lsp LatencyScorecardProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LatencyScorecardProperties.

type ListResult

ListResult result of the request to list Front Doors. It contains a list of Front Door objects and a URL link to get the next set of results.

type ListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Front Doors within a resource group.
    Value *[]FrontDoor `json:"value,omitempty"`
    // NextLink - URL to get the next set of Front Door objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ListResult) IsEmpty

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ListResult) MarshalJSON

func (lr ListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ListResult.

type ListResultIterator

ListResultIterator provides access to a complete listing of FrontDoor values.

type ListResultIterator struct {
    // contains filtered or unexported fields
}

func NewListResultIterator

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next

func (iter *ListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListResultIterator) NextWithContext

func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListResultIterator) NotDone

func (iter ListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListResultIterator) Response

func (iter ListResultIterator) Response() ListResult

Response returns the raw server response from the last page request.

func (ListResultIterator) Value

func (iter ListResultIterator) Value() FrontDoor

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListResultPage

ListResultPage contains a page of FrontDoor values.

type ListResultPage struct {
    // contains filtered or unexported fields
}

func NewListResultPage

func NewListResultPage(cur ListResult, getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next

func (page *ListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListResultPage) NextWithContext

func (page *ListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListResultPage) NotDone

func (page ListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListResultPage) Response

func (page ListResultPage) Response() ListResult

Response returns the raw server response from the last page request.

func (ListResultPage) Values

func (page ListResultPage) Values() []FrontDoor

Values returns the slice of values for the current page or nil if there are no values.

type LoadBalancingSettingsListResult

LoadBalancingSettingsListResult result of the request to list load balancing settings. It contains a list of load balancing settings objects and a URL link to get the next set of results.

type LoadBalancingSettingsListResult struct {
    // Value - READ-ONLY; List of Backend Pools within a Front Door.
    Value *[]LoadBalancingSettingsModel `json:"value,omitempty"`
    // NextLink - URL to get the next set of LoadBalancingSettings objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (LoadBalancingSettingsListResult) MarshalJSON

func (lbslr LoadBalancingSettingsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancingSettingsListResult.

type LoadBalancingSettingsModel

LoadBalancingSettingsModel load balancing settings for a backend pool

type LoadBalancingSettingsModel struct {
    // LoadBalancingSettingsProperties - Properties of the load balancing settings
    *LoadBalancingSettingsProperties `json:"properties,omitempty"`
    // Name - Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

func (LoadBalancingSettingsModel) MarshalJSON

func (lbsm LoadBalancingSettingsModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LoadBalancingSettingsModel.

func (*LoadBalancingSettingsModel) UnmarshalJSON

func (lbsm *LoadBalancingSettingsModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LoadBalancingSettingsModel struct.

type LoadBalancingSettingsProperties

LoadBalancingSettingsProperties the JSON object that contains the properties required to create load balancing settings

type LoadBalancingSettingsProperties struct {
    // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // SampleSize - The number of samples to consider for load balancing decisions
    SampleSize *int32 `json:"sampleSize,omitempty"`
    // SuccessfulSamplesRequired - The number of samples within the sample period that must succeed
    SuccessfulSamplesRequired *int32 `json:"successfulSamplesRequired,omitempty"`
    // AdditionalLatencyMilliseconds - The additional latency in milliseconds for probes to fall into the lowest latency bucket
    AdditionalLatencyMilliseconds *int32 `json:"additionalLatencyMilliseconds,omitempty"`
}

type LoadBalancingSettingsUpdateParameters

LoadBalancingSettingsUpdateParameters round-Robin load balancing settings for a backend pool

type LoadBalancingSettingsUpdateParameters struct {
    // SampleSize - The number of samples to consider for load balancing decisions
    SampleSize *int32 `json:"sampleSize,omitempty"`
    // SuccessfulSamplesRequired - The number of samples within the sample period that must succeed
    SuccessfulSamplesRequired *int32 `json:"successfulSamplesRequired,omitempty"`
    // AdditionalLatencyMilliseconds - The additional latency in milliseconds for probes to fall into the lowest latency bucket
    AdditionalLatencyMilliseconds *int32 `json:"additionalLatencyMilliseconds,omitempty"`
}

type ManagedRuleDefinition

ManagedRuleDefinition describes a managed rule definition.

type ManagedRuleDefinition struct {
    // RuleID - READ-ONLY; Identifier for the managed rule.
    RuleID *string `json:"ruleId,omitempty"`
    // DefaultState - READ-ONLY; Describes the default state for the managed rule. Possible values include: 'ManagedRuleEnabledStateDisabled', 'ManagedRuleEnabledStateEnabled'
    DefaultState ManagedRuleEnabledState `json:"defaultState,omitempty"`
    // DefaultAction - READ-ONLY; Describes the default action to be applied when the managed rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'
    DefaultAction ActionType `json:"defaultAction,omitempty"`
    // Description - READ-ONLY; Describes the functionality of the managed rule.
    Description *string `json:"description,omitempty"`
}

func (ManagedRuleDefinition) MarshalJSON

func (mrd ManagedRuleDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedRuleDefinition.

type ManagedRuleEnabledState

ManagedRuleEnabledState enumerates the values for managed rule enabled state.

type ManagedRuleEnabledState string
const (
    // ManagedRuleEnabledStateDisabled ...
    ManagedRuleEnabledStateDisabled ManagedRuleEnabledState = "Disabled"
    // ManagedRuleEnabledStateEnabled ...
    ManagedRuleEnabledStateEnabled ManagedRuleEnabledState = "Enabled"
)

func PossibleManagedRuleEnabledStateValues

func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState

PossibleManagedRuleEnabledStateValues returns an array of possible values for the ManagedRuleEnabledState const type.

type ManagedRuleExclusion

ManagedRuleExclusion exclude variables from managed rule evaluation.

type ManagedRuleExclusion struct {
    // MatchVariable - The variable type to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'QueryStringArgNames', 'RequestBodyPostArgNames'
    MatchVariable ManagedRuleExclusionMatchVariable `json:"matchVariable,omitempty"`
    // SelectorMatchOperator - Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to. Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith', 'EqualsAny'
    SelectorMatchOperator ManagedRuleExclusionSelectorMatchOperator `json:"selectorMatchOperator,omitempty"`
    // Selector - Selector value for which elements in the collection this exclusion applies to.
    Selector *string `json:"selector,omitempty"`
}

type ManagedRuleExclusionMatchVariable

ManagedRuleExclusionMatchVariable enumerates the values for managed rule exclusion match variable.

type ManagedRuleExclusionMatchVariable string
const (
    // QueryStringArgNames ...
    QueryStringArgNames ManagedRuleExclusionMatchVariable = "QueryStringArgNames"
    // RequestBodyPostArgNames ...
    RequestBodyPostArgNames ManagedRuleExclusionMatchVariable = "RequestBodyPostArgNames"
    // RequestCookieNames ...
    RequestCookieNames ManagedRuleExclusionMatchVariable = "RequestCookieNames"
    // RequestHeaderNames ...
    RequestHeaderNames ManagedRuleExclusionMatchVariable = "RequestHeaderNames"
)

func PossibleManagedRuleExclusionMatchVariableValues

func PossibleManagedRuleExclusionMatchVariableValues() []ManagedRuleExclusionMatchVariable

PossibleManagedRuleExclusionMatchVariableValues returns an array of possible values for the ManagedRuleExclusionMatchVariable const type.

type ManagedRuleExclusionSelectorMatchOperator

ManagedRuleExclusionSelectorMatchOperator enumerates the values for managed rule exclusion selector match operator.

type ManagedRuleExclusionSelectorMatchOperator string
const (
    // Contains ...
    Contains ManagedRuleExclusionSelectorMatchOperator = "Contains"
    // EndsWith ...
    EndsWith ManagedRuleExclusionSelectorMatchOperator = "EndsWith"
    // Equals ...
    Equals ManagedRuleExclusionSelectorMatchOperator = "Equals"
    // EqualsAny ...
    EqualsAny ManagedRuleExclusionSelectorMatchOperator = "EqualsAny"
    // StartsWith ...
    StartsWith ManagedRuleExclusionSelectorMatchOperator = "StartsWith"
)

func PossibleManagedRuleExclusionSelectorMatchOperatorValues

func PossibleManagedRuleExclusionSelectorMatchOperatorValues() []ManagedRuleExclusionSelectorMatchOperator

PossibleManagedRuleExclusionSelectorMatchOperatorValues returns an array of possible values for the ManagedRuleExclusionSelectorMatchOperator const type.

type ManagedRuleGroupDefinition

ManagedRuleGroupDefinition describes a managed rule group.

type ManagedRuleGroupDefinition struct {
    // RuleGroupName - READ-ONLY; Name of the managed rule group.
    RuleGroupName *string `json:"ruleGroupName,omitempty"`
    // Description - READ-ONLY; Description of the managed rule group.
    Description *string `json:"description,omitempty"`
    // Rules - READ-ONLY; List of rules within the managed rule group.
    Rules *[]ManagedRuleDefinition `json:"rules,omitempty"`
}

func (ManagedRuleGroupDefinition) MarshalJSON

func (mrgd ManagedRuleGroupDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedRuleGroupDefinition.

type ManagedRuleGroupOverride

ManagedRuleGroupOverride defines a managed rule group override setting.

type ManagedRuleGroupOverride struct {
    // RuleGroupName - Describes the managed rule group to override.
    RuleGroupName *string `json:"ruleGroupName,omitempty"`
    // Exclusions - Describes the exclusions that are applied to all rules in the group.
    Exclusions *[]ManagedRuleExclusion `json:"exclusions,omitempty"`
    // Rules - List of rules that will be disabled. If none specified, all rules in the group will be disabled.
    Rules *[]ManagedRuleOverride `json:"rules,omitempty"`
}

type ManagedRuleOverride

ManagedRuleOverride defines a managed rule group override setting.

type ManagedRuleOverride struct {
    // RuleID - Identifier for the managed rule.
    RuleID *string `json:"ruleId,omitempty"`
    // EnabledState - Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified. Possible values include: 'ManagedRuleEnabledStateDisabled', 'ManagedRuleEnabledStateEnabled'
    EnabledState ManagedRuleEnabledState `json:"enabledState,omitempty"`
    // Action - Describes the override action to be applied when rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'
    Action ActionType `json:"action,omitempty"`
    // Exclusions - Describes the exclusions that are applied to this specific rule.
    Exclusions *[]ManagedRuleExclusion `json:"exclusions,omitempty"`
}

type ManagedRuleSet

ManagedRuleSet defines a managed rule set.

type ManagedRuleSet struct {
    // RuleSetType - Defines the rule set type to use.
    RuleSetType *string `json:"ruleSetType,omitempty"`
    // RuleSetVersion - Defines the version of the rule set to use.
    RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
    // Exclusions - Describes the exclusions that are applied to all rules in the set.
    Exclusions *[]ManagedRuleExclusion `json:"exclusions,omitempty"`
    // RuleGroupOverrides - Defines the rule group overrides to apply to the rule set.
    RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"`
}

type ManagedRuleSetDefinition

ManagedRuleSetDefinition describes the a managed rule set definition.

type ManagedRuleSetDefinition struct {
    // ManagedRuleSetDefinitionProperties - Properties for a managed rule set definition.
    *ManagedRuleSetDefinitionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (ManagedRuleSetDefinition) MarshalJSON

func (mrsd ManagedRuleSetDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedRuleSetDefinition.

func (*ManagedRuleSetDefinition) UnmarshalJSON

func (mrsd *ManagedRuleSetDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ManagedRuleSetDefinition struct.

type ManagedRuleSetDefinitionList

ManagedRuleSetDefinitionList list of managed rule set definitions available for use in a policy.

type ManagedRuleSetDefinitionList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of managed rule set definitions.
    Value *[]ManagedRuleSetDefinition `json:"value,omitempty"`
    // NextLink - URL to retrieve next set of managed rule set definitions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ManagedRuleSetDefinitionList) IsEmpty

func (mrsdl ManagedRuleSetDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ManagedRuleSetDefinitionList) MarshalJSON

func (mrsdl ManagedRuleSetDefinitionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedRuleSetDefinitionList.

type ManagedRuleSetDefinitionListIterator

ManagedRuleSetDefinitionListIterator provides access to a complete listing of ManagedRuleSetDefinition values.

type ManagedRuleSetDefinitionListIterator struct {
    // contains filtered or unexported fields
}

func NewManagedRuleSetDefinitionListIterator

func NewManagedRuleSetDefinitionListIterator(page ManagedRuleSetDefinitionListPage) ManagedRuleSetDefinitionListIterator

Creates a new instance of the ManagedRuleSetDefinitionListIterator type.

func (*ManagedRuleSetDefinitionListIterator) Next

func (iter *ManagedRuleSetDefinitionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ManagedRuleSetDefinitionListIterator) NextWithContext

func (iter *ManagedRuleSetDefinitionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ManagedRuleSetDefinitionListIterator) NotDone

func (iter ManagedRuleSetDefinitionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ManagedRuleSetDefinitionListIterator) Response

func (iter ManagedRuleSetDefinitionListIterator) Response() ManagedRuleSetDefinitionList

Response returns the raw server response from the last page request.

func (ManagedRuleSetDefinitionListIterator) Value

func (iter ManagedRuleSetDefinitionListIterator) Value() ManagedRuleSetDefinition

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ManagedRuleSetDefinitionListPage

ManagedRuleSetDefinitionListPage contains a page of ManagedRuleSetDefinition values.

type ManagedRuleSetDefinitionListPage struct {
    // contains filtered or unexported fields
}

func NewManagedRuleSetDefinitionListPage

func NewManagedRuleSetDefinitionListPage(cur ManagedRuleSetDefinitionList, getNextPage func(context.Context, ManagedRuleSetDefinitionList) (ManagedRuleSetDefinitionList, error)) ManagedRuleSetDefinitionListPage

Creates a new instance of the ManagedRuleSetDefinitionListPage type.

func (*ManagedRuleSetDefinitionListPage) Next

func (page *ManagedRuleSetDefinitionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ManagedRuleSetDefinitionListPage) NextWithContext

func (page *ManagedRuleSetDefinitionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ManagedRuleSetDefinitionListPage) NotDone

func (page ManagedRuleSetDefinitionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ManagedRuleSetDefinitionListPage) Response

func (page ManagedRuleSetDefinitionListPage) Response() ManagedRuleSetDefinitionList

Response returns the raw server response from the last page request.

func (ManagedRuleSetDefinitionListPage) Values

func (page ManagedRuleSetDefinitionListPage) Values() []ManagedRuleSetDefinition

Values returns the slice of values for the current page or nil if there are no values.

type ManagedRuleSetDefinitionProperties

ManagedRuleSetDefinitionProperties properties for a managed rule set definition.

type ManagedRuleSetDefinitionProperties struct {
    // ProvisioningState - READ-ONLY; Provisioning state of the managed rule set.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // RuleSetID - READ-ONLY; Id of the managed rule set.
    RuleSetID *string `json:"ruleSetId,omitempty"`
    // RuleSetType - READ-ONLY; Type of the managed rule set.
    RuleSetType *string `json:"ruleSetType,omitempty"`
    // RuleSetVersion - READ-ONLY; Version of the managed rule set type.
    RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
    // RuleGroups - READ-ONLY; Rule groups of the managed rule set.
    RuleGroups *[]ManagedRuleGroupDefinition `json:"ruleGroups,omitempty"`
}

func (ManagedRuleSetDefinitionProperties) MarshalJSON

func (mrsdp ManagedRuleSetDefinitionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedRuleSetDefinitionProperties.

type ManagedRuleSetList

ManagedRuleSetList defines the list of managed rule sets for the policy.

type ManagedRuleSetList struct {
    // ManagedRuleSets - List of rule sets.
    ManagedRuleSets *[]ManagedRuleSet `json:"managedRuleSets,omitempty"`
}

type ManagedRuleSetsClient

ManagedRuleSetsClient is the frontDoor Client

type ManagedRuleSetsClient struct {
    BaseClient
}

func NewManagedRuleSetsClient

func NewManagedRuleSetsClient(subscriptionID string) ManagedRuleSetsClient

NewManagedRuleSetsClient creates an instance of the ManagedRuleSetsClient client.

func NewManagedRuleSetsClientWithBaseURI

func NewManagedRuleSetsClientWithBaseURI(baseURI string, subscriptionID string) ManagedRuleSetsClient

NewManagedRuleSetsClientWithBaseURI creates an instance of the ManagedRuleSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ManagedRuleSetsClient) List

func (client ManagedRuleSetsClient) List(ctx context.Context) (result ManagedRuleSetDefinitionListPage, err error)

List lists all available managed rule sets.

func (ManagedRuleSetsClient) ListComplete

func (client ManagedRuleSetsClient) ListComplete(ctx context.Context) (result ManagedRuleSetDefinitionListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ManagedRuleSetsClient) ListPreparer

func (client ManagedRuleSetsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ManagedRuleSetsClient) ListResponder

func (client ManagedRuleSetsClient) ListResponder(resp *http.Response) (result ManagedRuleSetDefinitionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ManagedRuleSetsClient) ListSender

func (client ManagedRuleSetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type MatchCondition

MatchCondition define a match condition.

type MatchCondition struct {
    // MatchVariable - Request variable to compare with. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestURI', 'RequestHeader', 'RequestBody', 'Cookies', 'SocketAddr'
    MatchVariable MatchVariable `json:"matchVariable,omitempty"`
    // Selector - Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
    Selector *string `json:"selector,omitempty"`
    // Operator - Comparison type to use for matching with the variable value. Possible values include: 'OperatorAny', 'OperatorIPMatch', 'OperatorGeoMatch', 'OperatorEqual', 'OperatorContains', 'OperatorLessThan', 'OperatorGreaterThan', 'OperatorLessThanOrEqual', 'OperatorGreaterThanOrEqual', 'OperatorBeginsWith', 'OperatorEndsWith', 'OperatorRegEx'
    Operator Operator `json:"operator,omitempty"`
    // NegateCondition - Describes if the result of this condition should be negated.
    NegateCondition *bool `json:"negateCondition,omitempty"`
    // MatchValue - List of possible match values.
    MatchValue *[]string `json:"matchValue,omitempty"`
    // Transforms - List of transforms.
    Transforms *[]TransformType `json:"transforms,omitempty"`
}

type MatchProcessingBehavior

MatchProcessingBehavior enumerates the values for match processing behavior.

type MatchProcessingBehavior string
const (
    // Continue ...
    Continue MatchProcessingBehavior = "Continue"
    // Stop ...
    Stop MatchProcessingBehavior = "Stop"
)

func PossibleMatchProcessingBehaviorValues

func PossibleMatchProcessingBehaviorValues() []MatchProcessingBehavior

PossibleMatchProcessingBehaviorValues returns an array of possible values for the MatchProcessingBehavior const type.

type MatchVariable

MatchVariable enumerates the values for match variable.

type MatchVariable string
const (
    // Cookies ...
    Cookies MatchVariable = "Cookies"
    // PostArgs ...
    PostArgs MatchVariable = "PostArgs"
    // QueryString ...
    QueryString MatchVariable = "QueryString"
    // RemoteAddr ...
    RemoteAddr MatchVariable = "RemoteAddr"
    // RequestBody ...
    RequestBody MatchVariable = "RequestBody"
    // RequestHeader ...
    RequestHeader MatchVariable = "RequestHeader"
    // RequestMethod ...
    RequestMethod MatchVariable = "RequestMethod"
    // RequestURI ...
    RequestURI MatchVariable = "RequestUri"
    // SocketAddr ...
    SocketAddr MatchVariable = "SocketAddr"
)

func PossibleMatchVariableValues

func PossibleMatchVariableValues() []MatchVariable

PossibleMatchVariableValues returns an array of possible values for the MatchVariable const type.

type MinimumTLSVersion

MinimumTLSVersion enumerates the values for minimum tls version.

type MinimumTLSVersion string
const (
    // OneFullStopTwo ...
    OneFullStopTwo MinimumTLSVersion = "1.2"
    // OneFullStopZero ...
    OneFullStopZero MinimumTLSVersion = "1.0"
)

func PossibleMinimumTLSVersionValues

func PossibleMinimumTLSVersionValues() []MinimumTLSVersion

PossibleMinimumTLSVersionValues returns an array of possible values for the MinimumTLSVersion const type.

type NetworkExperimentProfilesClient

NetworkExperimentProfilesClient is the frontDoor Client

type NetworkExperimentProfilesClient struct {
    BaseClient
}

func NewNetworkExperimentProfilesClient

func NewNetworkExperimentProfilesClient(subscriptionID string) NetworkExperimentProfilesClient

NewNetworkExperimentProfilesClient creates an instance of the NetworkExperimentProfilesClient client.

func NewNetworkExperimentProfilesClientWithBaseURI

func NewNetworkExperimentProfilesClientWithBaseURI(baseURI string, subscriptionID string) NetworkExperimentProfilesClient

NewNetworkExperimentProfilesClientWithBaseURI creates an instance of the NetworkExperimentProfilesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (NetworkExperimentProfilesClient) CreateOrUpdate

func (client NetworkExperimentProfilesClient) CreateOrUpdate(ctx context.Context, profileName string, resourceGroupName string, parameters Profile) (result NetworkExperimentProfilesCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: profileName - the Profile identifier associated with the Tenant and Partner resourceGroupName - name of the Resource group within the Azure subscription. parameters - an Network Experiment Profile

func (NetworkExperimentProfilesClient) CreateOrUpdatePreparer

func (client NetworkExperimentProfilesClient) CreateOrUpdatePreparer(ctx context.Context, profileName string, resourceGroupName string, parameters Profile) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (NetworkExperimentProfilesClient) CreateOrUpdateResponder

func (client NetworkExperimentProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result Profile, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (NetworkExperimentProfilesClient) CreateOrUpdateSender

func (client NetworkExperimentProfilesClient) CreateOrUpdateSender(req *http.Request) (future NetworkExperimentProfilesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (NetworkExperimentProfilesClient) Delete

func (client NetworkExperimentProfilesClient) Delete(ctx context.Context, resourceGroupName string, profileName string) (result NetworkExperimentProfilesDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner

func (NetworkExperimentProfilesClient) DeletePreparer

func (client NetworkExperimentProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (NetworkExperimentProfilesClient) DeleteResponder

func (client NetworkExperimentProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (NetworkExperimentProfilesClient) DeleteSender

func (client NetworkExperimentProfilesClient) DeleteSender(req *http.Request) (future NetworkExperimentProfilesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (NetworkExperimentProfilesClient) Get

func (client NetworkExperimentProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string) (result Profile, err error)

Get sends the get request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner

func (NetworkExperimentProfilesClient) GetPreparer

func (client NetworkExperimentProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NetworkExperimentProfilesClient) GetResponder

func (client NetworkExperimentProfilesClient) GetResponder(resp *http.Response) (result Profile, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (NetworkExperimentProfilesClient) GetSender

func (client NetworkExperimentProfilesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (NetworkExperimentProfilesClient) List

func (client NetworkExperimentProfilesClient) List(ctx context.Context) (result ProfileListPage, err error)

List sends the list request.

func (NetworkExperimentProfilesClient) ListByResourceGroup

func (client NetworkExperimentProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListPage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription.

func (NetworkExperimentProfilesClient) ListByResourceGroupComplete

func (client NetworkExperimentProfilesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProfileListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (NetworkExperimentProfilesClient) ListByResourceGroupPreparer

func (client NetworkExperimentProfilesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NetworkExperimentProfilesClient) ListByResourceGroupResponder

func (client NetworkExperimentProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ProfileList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (NetworkExperimentProfilesClient) ListByResourceGroupSender

func (client NetworkExperimentProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (NetworkExperimentProfilesClient) ListComplete

func (client NetworkExperimentProfilesClient) ListComplete(ctx context.Context) (result ProfileListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (NetworkExperimentProfilesClient) ListPreparer

func (client NetworkExperimentProfilesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (NetworkExperimentProfilesClient) ListResponder

func (client NetworkExperimentProfilesClient) ListResponder(resp *http.Response) (result ProfileList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (NetworkExperimentProfilesClient) ListSender

func (client NetworkExperimentProfilesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (NetworkExperimentProfilesClient) Update

func (client NetworkExperimentProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, parameters ProfileUpdateModel) (result NetworkExperimentProfilesUpdateFuture, err error)

Update updates an NetworkExperimentProfiles Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner parameters - the Profile Update Model

func (NetworkExperimentProfilesClient) UpdatePreparer

func (client NetworkExperimentProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, parameters ProfileUpdateModel) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (NetworkExperimentProfilesClient) UpdateResponder

func (client NetworkExperimentProfilesClient) UpdateResponder(resp *http.Response) (result Profile, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (NetworkExperimentProfilesClient) UpdateSender

func (client NetworkExperimentProfilesClient) UpdateSender(req *http.Request) (future NetworkExperimentProfilesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type NetworkExperimentProfilesCreateOrUpdateFuture

NetworkExperimentProfilesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type NetworkExperimentProfilesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(NetworkExperimentProfilesClient) (Profile, error)
}

func (*NetworkExperimentProfilesCreateOrUpdateFuture) UnmarshalJSON

func (future *NetworkExperimentProfilesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type NetworkExperimentProfilesDeleteFuture

NetworkExperimentProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type NetworkExperimentProfilesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(NetworkExperimentProfilesClient) (autorest.Response, error)
}

func (*NetworkExperimentProfilesDeleteFuture) UnmarshalJSON

func (future *NetworkExperimentProfilesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type NetworkExperimentProfilesUpdateFuture

NetworkExperimentProfilesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type NetworkExperimentProfilesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(NetworkExperimentProfilesClient) (Profile, error)
}

func (*NetworkExperimentProfilesUpdateFuture) UnmarshalJSON

func (future *NetworkExperimentProfilesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type NetworkExperimentResourceState

NetworkExperimentResourceState enumerates the values for network experiment resource state.

type NetworkExperimentResourceState string
const (
    // NetworkExperimentResourceStateCreating ...
    NetworkExperimentResourceStateCreating NetworkExperimentResourceState = "Creating"
    // NetworkExperimentResourceStateDeleting ...
    NetworkExperimentResourceStateDeleting NetworkExperimentResourceState = "Deleting"
    // NetworkExperimentResourceStateDisabled ...
    NetworkExperimentResourceStateDisabled NetworkExperimentResourceState = "Disabled"
    // NetworkExperimentResourceStateDisabling ...
    NetworkExperimentResourceStateDisabling NetworkExperimentResourceState = "Disabling"
    // NetworkExperimentResourceStateEnabled ...
    NetworkExperimentResourceStateEnabled NetworkExperimentResourceState = "Enabled"
    // NetworkExperimentResourceStateEnabling ...
    NetworkExperimentResourceStateEnabling NetworkExperimentResourceState = "Enabling"
)

func PossibleNetworkExperimentResourceStateValues

func PossibleNetworkExperimentResourceStateValues() []NetworkExperimentResourceState

PossibleNetworkExperimentResourceStateValues returns an array of possible values for the NetworkExperimentResourceState const type.

type NetworkOperationStatus

NetworkOperationStatus enumerates the values for network operation status.

type NetworkOperationStatus string
const (
    // Failed ...
    Failed NetworkOperationStatus = "Failed"
    // InProgress ...
    InProgress NetworkOperationStatus = "InProgress"
    // Succeeded ...
    Succeeded NetworkOperationStatus = "Succeeded"
)

func PossibleNetworkOperationStatusValues

func PossibleNetworkOperationStatusValues() []NetworkOperationStatus

PossibleNetworkOperationStatusValues returns an array of possible values for the NetworkOperationStatus const type.

type OdataType

OdataType enumerates the values for odata type.

type OdataType string
const (
    // OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration ...
    OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration"
    // OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration ...
    OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration OdataType = "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration"
    // OdataTypeRouteConfiguration ...
    OdataTypeRouteConfiguration OdataType = "RouteConfiguration"
)

func PossibleOdataTypeValues

func PossibleOdataTypeValues() []OdataType

PossibleOdataTypeValues returns an array of possible values for the OdataType const type.

type Operator

Operator enumerates the values for operator.

type Operator string
const (
    // OperatorAny ...
    OperatorAny Operator = "Any"
    // OperatorBeginsWith ...
    OperatorBeginsWith Operator = "BeginsWith"
    // OperatorContains ...
    OperatorContains Operator = "Contains"
    // OperatorEndsWith ...
    OperatorEndsWith Operator = "EndsWith"
    // OperatorEqual ...
    OperatorEqual Operator = "Equal"
    // OperatorGeoMatch ...
    OperatorGeoMatch Operator = "GeoMatch"
    // OperatorGreaterThan ...
    OperatorGreaterThan Operator = "GreaterThan"
    // OperatorGreaterThanOrEqual ...
    OperatorGreaterThanOrEqual Operator = "GreaterThanOrEqual"
    // OperatorIPMatch ...
    OperatorIPMatch Operator = "IPMatch"
    // OperatorLessThan ...
    OperatorLessThan Operator = "LessThan"
    // OperatorLessThanOrEqual ...
    OperatorLessThanOrEqual Operator = "LessThanOrEqual"
    // OperatorRegEx ...
    OperatorRegEx Operator = "RegEx"
)

func PossibleOperatorValues

func PossibleOperatorValues() []Operator

PossibleOperatorValues returns an array of possible values for the Operator const type.

type PoliciesClient

PoliciesClient is the frontDoor Client

type PoliciesClient struct {
    BaseClient
}

func NewPoliciesClient

func NewPoliciesClient(subscriptionID string) PoliciesClient

NewPoliciesClient creates an instance of the PoliciesClient client.

func NewPoliciesClientWithBaseURI

func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient

NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PoliciesClient) CreateOrUpdate

func (client PoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (result PoliciesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update policy with specified rule set name within a resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. policyName - the name of the Web Application Firewall Policy. parameters - policy to be created.

func (PoliciesClient) CreateOrUpdatePreparer

func (client PoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PoliciesClient) CreateOrUpdateResponder

func (client PoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PoliciesClient) CreateOrUpdateSender

func (client PoliciesClient) CreateOrUpdateSender(req *http.Request) (future PoliciesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PoliciesClient) Delete

func (client PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result PoliciesDeleteFuture, err error)

Delete deletes Policy Parameters: resourceGroupName - name of the Resource group within the Azure subscription. policyName - the name of the Web Application Firewall Policy.

func (PoliciesClient) DeletePreparer

func (client PoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PoliciesClient) DeleteResponder

func (client PoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PoliciesClient) DeleteSender

func (client PoliciesClient) DeleteSender(req *http.Request) (future PoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PoliciesClient) Get

func (client PoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPolicy, err error)

Get retrieve protection policy with specified name within a resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. policyName - the name of the Web Application Firewall Policy.

func (PoliciesClient) GetPreparer

func (client PoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PoliciesClient) GetResponder

func (client PoliciesClient) GetResponder(resp *http.Response) (result WebApplicationFirewallPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PoliciesClient) GetSender

func (client PoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PoliciesClient) List

func (client PoliciesClient) List(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListPage, err error)

List lists all of the protection policies within a resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription.

func (PoliciesClient) ListComplete

func (client PoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PoliciesClient) ListPreparer

func (client PoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PoliciesClient) ListResponder

func (client PoliciesClient) ListResponder(resp *http.Response) (result WebApplicationFirewallPolicyList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PoliciesClient) ListSender

func (client PoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PoliciesCreateOrUpdateFuture

PoliciesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoliciesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoliciesClient) (WebApplicationFirewallPolicy, error)
}

func (*PoliciesCreateOrUpdateFuture) UnmarshalJSON

func (future *PoliciesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PoliciesDeleteFuture

PoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type PoliciesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(PoliciesClient) (autorest.Response, error)
}

func (*PoliciesDeleteFuture) UnmarshalJSON

func (future *PoliciesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PolicyEnabledState

PolicyEnabledState enumerates the values for policy enabled state.

type PolicyEnabledState string
const (
    // PolicyEnabledStateDisabled ...
    PolicyEnabledStateDisabled PolicyEnabledState = "Disabled"
    // PolicyEnabledStateEnabled ...
    PolicyEnabledStateEnabled PolicyEnabledState = "Enabled"
)

func PossiblePolicyEnabledStateValues

func PossiblePolicyEnabledStateValues() []PolicyEnabledState

PossiblePolicyEnabledStateValues returns an array of possible values for the PolicyEnabledState const type.

type PolicyMode

PolicyMode enumerates the values for policy mode.

type PolicyMode string
const (
    // Detection ...
    Detection PolicyMode = "Detection"
    // Prevention ...
    Prevention PolicyMode = "Prevention"
)

func PossiblePolicyModeValues

func PossiblePolicyModeValues() []PolicyMode

PossiblePolicyModeValues returns an array of possible values for the PolicyMode const type.

type PolicyResourceState

PolicyResourceState enumerates the values for policy resource state.

type PolicyResourceState string
const (
    // PolicyResourceStateCreating ...
    PolicyResourceStateCreating PolicyResourceState = "Creating"
    // PolicyResourceStateDeleting ...
    PolicyResourceStateDeleting PolicyResourceState = "Deleting"
    // PolicyResourceStateDisabled ...
    PolicyResourceStateDisabled PolicyResourceState = "Disabled"
    // PolicyResourceStateDisabling ...
    PolicyResourceStateDisabling PolicyResourceState = "Disabling"
    // PolicyResourceStateEnabled ...
    PolicyResourceStateEnabled PolicyResourceState = "Enabled"
    // PolicyResourceStateEnabling ...
    PolicyResourceStateEnabling PolicyResourceState = "Enabling"
)

func PossiblePolicyResourceStateValues

func PossiblePolicyResourceStateValues() []PolicyResourceState

PossiblePolicyResourceStateValues returns an array of possible values for the PolicyResourceState const type.

type PolicySettings

PolicySettings defines top-level WebApplicationFirewallPolicy configuration settings.

type PolicySettings struct {
    // EnabledState - Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified. Possible values include: 'PolicyEnabledStateDisabled', 'PolicyEnabledStateEnabled'
    EnabledState PolicyEnabledState `json:"enabledState,omitempty"`
    // Mode - Describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection'
    Mode PolicyMode `json:"mode,omitempty"`
    // RedirectURL - If action type is redirect, this field represents redirect URL for the client.
    RedirectURL *string `json:"redirectUrl,omitempty"`
    // CustomBlockResponseStatusCode - If the action type is block, customer can override the response status code.
    CustomBlockResponseStatusCode *int32 `json:"customBlockResponseStatusCode,omitempty"`
    // CustomBlockResponseBody - If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"`
}

type PreconfiguredEndpoint

PreconfiguredEndpoint defines the properties of a preconfigured endpoint

type PreconfiguredEndpoint struct {
    // PreconfiguredEndpointProperties - The properties of a preconfiguredEndpoint
    *PreconfiguredEndpointProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (PreconfiguredEndpoint) MarshalJSON

func (peVar PreconfiguredEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PreconfiguredEndpoint.

func (*PreconfiguredEndpoint) UnmarshalJSON

func (peVar *PreconfiguredEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PreconfiguredEndpoint struct.

type PreconfiguredEndpointList

PreconfiguredEndpointList defines a list of preconfigured endpoints.

type PreconfiguredEndpointList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of PreconfiguredEndpoints supported by NetworkExperiment.
    Value *[]PreconfiguredEndpoint `json:"value,omitempty"`
    // NextLink - URL to get the next set of PreconfiguredEndpoints if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PreconfiguredEndpointList) IsEmpty

func (pel PreconfiguredEndpointList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PreconfiguredEndpointList) MarshalJSON

func (pel PreconfiguredEndpointList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PreconfiguredEndpointList.

type PreconfiguredEndpointListIterator

PreconfiguredEndpointListIterator provides access to a complete listing of PreconfiguredEndpoint values.

type PreconfiguredEndpointListIterator struct {
    // contains filtered or unexported fields
}

func NewPreconfiguredEndpointListIterator

func NewPreconfiguredEndpointListIterator(page PreconfiguredEndpointListPage) PreconfiguredEndpointListIterator

Creates a new instance of the PreconfiguredEndpointListIterator type.

func (*PreconfiguredEndpointListIterator) Next

func (iter *PreconfiguredEndpointListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PreconfiguredEndpointListIterator) NextWithContext

func (iter *PreconfiguredEndpointListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PreconfiguredEndpointListIterator) NotDone

func (iter PreconfiguredEndpointListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PreconfiguredEndpointListIterator) Response

func (iter PreconfiguredEndpointListIterator) Response() PreconfiguredEndpointList

Response returns the raw server response from the last page request.

func (PreconfiguredEndpointListIterator) Value

func (iter PreconfiguredEndpointListIterator) Value() PreconfiguredEndpoint

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PreconfiguredEndpointListPage

PreconfiguredEndpointListPage contains a page of PreconfiguredEndpoint values.

type PreconfiguredEndpointListPage struct {
    // contains filtered or unexported fields
}

func NewPreconfiguredEndpointListPage

func NewPreconfiguredEndpointListPage(cur PreconfiguredEndpointList, getNextPage func(context.Context, PreconfiguredEndpointList) (PreconfiguredEndpointList, error)) PreconfiguredEndpointListPage

Creates a new instance of the PreconfiguredEndpointListPage type.

func (*PreconfiguredEndpointListPage) Next

func (page *PreconfiguredEndpointListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PreconfiguredEndpointListPage) NextWithContext

func (page *PreconfiguredEndpointListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PreconfiguredEndpointListPage) NotDone

func (page PreconfiguredEndpointListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PreconfiguredEndpointListPage) Response

func (page PreconfiguredEndpointListPage) Response() PreconfiguredEndpointList

Response returns the raw server response from the last page request.

func (PreconfiguredEndpointListPage) Values

func (page PreconfiguredEndpointListPage) Values() []PreconfiguredEndpoint

Values returns the slice of values for the current page or nil if there are no values.

type PreconfiguredEndpointProperties

PreconfiguredEndpointProperties defines the properties of a preconfigured endpoint

type PreconfiguredEndpointProperties struct {
    // Description - The description of the endpoint
    Description *string `json:"description,omitempty"`
    // Endpoint - The endpoint that is preconfigured
    Endpoint *string `json:"endpoint,omitempty"`
    // EndpointType - The type of endpoint. Possible values include: 'AFD', 'AzureRegion', 'CDN', 'ATM'
    EndpointType EndpointType `json:"endpointType,omitempty"`
    // Backend - The preconfigured endpoint backend
    Backend *string `json:"backend,omitempty"`
}

type PreconfiguredEndpointsClient

PreconfiguredEndpointsClient is the frontDoor Client

type PreconfiguredEndpointsClient struct {
    BaseClient
}

func NewPreconfiguredEndpointsClient

func NewPreconfiguredEndpointsClient(subscriptionID string) PreconfiguredEndpointsClient

NewPreconfiguredEndpointsClient creates an instance of the PreconfiguredEndpointsClient client.

func NewPreconfiguredEndpointsClientWithBaseURI

func NewPreconfiguredEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PreconfiguredEndpointsClient

NewPreconfiguredEndpointsClientWithBaseURI creates an instance of the PreconfiguredEndpointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PreconfiguredEndpointsClient) List

func (client PreconfiguredEndpointsClient) List(ctx context.Context, resourceGroupName string, profileName string) (result PreconfiguredEndpointListPage, err error)

List sends the list request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner

func (PreconfiguredEndpointsClient) ListComplete

func (client PreconfiguredEndpointsClient) ListComplete(ctx context.Context, resourceGroupName string, profileName string) (result PreconfiguredEndpointListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PreconfiguredEndpointsClient) ListPreparer

func (client PreconfiguredEndpointsClient) ListPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PreconfiguredEndpointsClient) ListResponder

func (client PreconfiguredEndpointsClient) ListResponder(resp *http.Response) (result PreconfiguredEndpointList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PreconfiguredEndpointsClient) ListSender

func (client PreconfiguredEndpointsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointStatus

PrivateEndpointStatus enumerates the values for private endpoint status.

type PrivateEndpointStatus string
const (
    // Approved ...
    Approved PrivateEndpointStatus = "Approved"
    // Disconnected ...
    Disconnected PrivateEndpointStatus = "Disconnected"
    // Pending ...
    Pending PrivateEndpointStatus = "Pending"
    // Rejected ...
    Rejected PrivateEndpointStatus = "Rejected"
    // Timeout ...
    Timeout PrivateEndpointStatus = "Timeout"
)

func PossiblePrivateEndpointStatusValues

func PossiblePrivateEndpointStatusValues() []PrivateEndpointStatus

PossiblePrivateEndpointStatusValues returns an array of possible values for the PrivateEndpointStatus const type.

type Profile

Profile defines an Network Experiment Profile and lists of Experiments

type Profile struct {
    autorest.Response `json:"-"`
    // ProfileProperties - The properties of a Profile
    *ProfileProperties `json:"properties,omitempty"`
    // Etag - Gets a unique read-only string that changes whenever the resource is updated.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (Profile) MarshalJSON

func (p Profile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Profile.

func (*Profile) UnmarshalJSON

func (p *Profile) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Profile struct.

type ProfileList

ProfileList defines a list of Profiles. It contains a list of Profile objects and a URL link to get the next set of results.

type ProfileList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Profiles within a resource group.
    Value *[]Profile `json:"value,omitempty"`
    // NextLink - URL to get the next set of Profile objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ProfileList) IsEmpty

func (pl ProfileList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ProfileList) MarshalJSON

func (pl ProfileList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileList.

type ProfileListIterator

ProfileListIterator provides access to a complete listing of Profile values.

type ProfileListIterator struct {
    // contains filtered or unexported fields
}

func NewProfileListIterator

func NewProfileListIterator(page ProfileListPage) ProfileListIterator

Creates a new instance of the ProfileListIterator type.

func (*ProfileListIterator) Next

func (iter *ProfileListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProfileListIterator) NextWithContext

func (iter *ProfileListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ProfileListIterator) NotDone

func (iter ProfileListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProfileListIterator) Response

func (iter ProfileListIterator) Response() ProfileList

Response returns the raw server response from the last page request.

func (ProfileListIterator) Value

func (iter ProfileListIterator) Value() Profile

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProfileListPage

ProfileListPage contains a page of Profile values.

type ProfileListPage struct {
    // contains filtered or unexported fields
}

func NewProfileListPage

func NewProfileListPage(cur ProfileList, getNextPage func(context.Context, ProfileList) (ProfileList, error)) ProfileListPage

Creates a new instance of the ProfileListPage type.

func (*ProfileListPage) Next

func (page *ProfileListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProfileListPage) NextWithContext

func (page *ProfileListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ProfileListPage) NotDone

func (page ProfileListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProfileListPage) Response

func (page ProfileListPage) Response() ProfileList

Response returns the raw server response from the last page request.

func (ProfileListPage) Values

func (page ProfileListPage) Values() []Profile

Values returns the slice of values for the current page or nil if there are no values.

type ProfileProperties

ProfileProperties defines the properties of an experiment

type ProfileProperties struct {
    // ResourceState - Resource status. Possible values include: 'NetworkExperimentResourceStateCreating', 'NetworkExperimentResourceStateEnabling', 'NetworkExperimentResourceStateEnabled', 'NetworkExperimentResourceStateDisabling', 'NetworkExperimentResourceStateDisabled', 'NetworkExperimentResourceStateDeleting'
    ResourceState NetworkExperimentResourceState `json:"resourceState,omitempty"`
    // EnabledState - The state of the Experiment. Possible values include: 'StateEnabled', 'StateDisabled'
    EnabledState State `json:"enabledState,omitempty"`
}

type ProfileUpdateModel

ProfileUpdateModel defines modifiable attributes of a Profile

type ProfileUpdateModel struct {
    // ProfileUpdateProperties - The properties of a Profile
    *ProfileUpdateProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (ProfileUpdateModel) MarshalJSON

func (pum ProfileUpdateModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileUpdateModel.

func (*ProfileUpdateModel) UnmarshalJSON

func (pum *ProfileUpdateModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProfileUpdateModel struct.

type ProfileUpdateProperties

ProfileUpdateProperties defines the properties of an experiment

type ProfileUpdateProperties struct {
    // EnabledState - The enabled state of the Profile. Possible values include: 'StateEnabled', 'StateDisabled'
    EnabledState State `json:"enabledState,omitempty"`
}

type Properties

Properties the JSON object that contains the properties required to create an endpoint.

type Properties struct {
    // ResourceState - Resource status of the Front Door. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the Front Door.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Cname - READ-ONLY; The host that each frontendEndpoint must CNAME to.
    Cname *string `json:"cname,omitempty"`
    // FrontdoorID - READ-ONLY; The Id of the frontdoor.
    FrontdoorID *string `json:"frontdoorId,omitempty"`
    // RulesEngines - READ-ONLY; Rules Engine Configurations available to routing rules.
    RulesEngines *[]RulesEngine `json:"rulesEngines,omitempty"`
    // FriendlyName - A friendly name for the frontDoor
    FriendlyName *string `json:"friendlyName,omitempty"`
    // RoutingRules - Routing rules associated with this Front Door.
    RoutingRules *[]RoutingRule `json:"routingRules,omitempty"`
    // LoadBalancingSettings - Load balancing settings associated with this Front Door instance.
    LoadBalancingSettings *[]LoadBalancingSettingsModel `json:"loadBalancingSettings,omitempty"`
    // HealthProbeSettings - Health probe settings associated with this Front Door instance.
    HealthProbeSettings *[]HealthProbeSettingsModel `json:"healthProbeSettings,omitempty"`
    // BackendPools - Backend pools available to routing rules.
    BackendPools *[]BackendPool `json:"backendPools,omitempty"`
    // FrontendEndpoints - Frontend endpoints available to routing rules.
    FrontendEndpoints *[]FrontendEndpoint `json:"frontendEndpoints,omitempty"`
    // BackendPoolsSettings - Settings for all backendPools
    BackendPoolsSettings *BackendPoolsSettings `json:"backendPoolsSettings,omitempty"`
    // EnabledState - Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
    EnabledState EnabledState `json:"enabledState,omitempty"`
}

func (Properties) MarshalJSON

func (p Properties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Properties.

type Protocol

Protocol enumerates the values for protocol.

type Protocol string
const (
    // HTTP ...
    HTTP Protocol = "Http"
    // HTTPS ...
    HTTPS Protocol = "Https"
)

func PossibleProtocolValues

func PossibleProtocolValues() []Protocol

PossibleProtocolValues returns an array of possible values for the Protocol const type.

type PurgeParameters

PurgeParameters parameters required for content purge.

type PurgeParameters struct {
    // ContentPaths - The path to the content to be purged. Can describe a file path or a wild card directory.
    ContentPaths *[]string `json:"contentPaths,omitempty"`
}

type Query

Query enumerates the values for query.

type Query string
const (
    // StripAll ...
    StripAll Query = "StripAll"
    // StripAllExcept ...
    StripAllExcept Query = "StripAllExcept"
    // StripNone ...
    StripNone Query = "StripNone"
    // StripOnly ...
    StripOnly Query = "StripOnly"
)

func PossibleQueryValues

func PossibleQueryValues() []Query

PossibleQueryValues returns an array of possible values for the Query const type.

type RedirectConfiguration

RedirectConfiguration describes Redirect Route.

type RedirectConfiguration struct {
    // RedirectType - The redirect type the rule will use when redirecting traffic. Possible values include: 'Moved', 'Found', 'TemporaryRedirect', 'PermanentRedirect'
    RedirectType RedirectType `json:"redirectType,omitempty"`
    // RedirectProtocol - The protocol of the destination to where the traffic is redirected. Possible values include: 'RedirectProtocolHTTPOnly', 'RedirectProtocolHTTPSOnly', 'RedirectProtocolMatchRequest'
    RedirectProtocol RedirectProtocol `json:"redirectProtocol,omitempty"`
    // CustomHost - Host to redirect. Leave empty to use the incoming host as the destination host.
    CustomHost *string `json:"customHost,omitempty"`
    // CustomPath - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
    CustomPath *string `json:"customPath,omitempty"`
    // CustomFragment - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
    CustomFragment *string `json:"customFragment,omitempty"`
    // CustomQueryString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.
    CustomQueryString *string `json:"customQueryString,omitempty"`
    // OdataType - Possible values include: 'OdataTypeRouteConfiguration', 'OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration', 'OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (RedirectConfiguration) AsBasicRouteConfiguration

func (rc RedirectConfiguration) AsBasicRouteConfiguration() (BasicRouteConfiguration, bool)

AsBasicRouteConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) AsForwardingConfiguration

func (rc RedirectConfiguration) AsForwardingConfiguration() (*ForwardingConfiguration, bool)

AsForwardingConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) AsRedirectConfiguration

func (rc RedirectConfiguration) AsRedirectConfiguration() (*RedirectConfiguration, bool)

AsRedirectConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) AsRouteConfiguration

func (rc RedirectConfiguration) AsRouteConfiguration() (*RouteConfiguration, bool)

AsRouteConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) MarshalJSON

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

MarshalJSON is the custom marshaler for RedirectConfiguration.

type RedirectProtocol

RedirectProtocol enumerates the values for redirect protocol.

type RedirectProtocol string
const (
    // RedirectProtocolHTTPOnly ...
    RedirectProtocolHTTPOnly RedirectProtocol = "HttpOnly"
    // RedirectProtocolHTTPSOnly ...
    RedirectProtocolHTTPSOnly RedirectProtocol = "HttpsOnly"
    // RedirectProtocolMatchRequest ...
    RedirectProtocolMatchRequest RedirectProtocol = "MatchRequest"
)

func PossibleRedirectProtocolValues

func PossibleRedirectProtocolValues() []RedirectProtocol

PossibleRedirectProtocolValues returns an array of possible values for the RedirectProtocol const type.

type RedirectType

RedirectType enumerates the values for redirect type.

type RedirectType string
const (
    // Found ...
    Found RedirectType = "Found"
    // Moved ...
    Moved RedirectType = "Moved"
    // PermanentRedirect ...
    PermanentRedirect RedirectType = "PermanentRedirect"
    // TemporaryRedirect ...
    TemporaryRedirect RedirectType = "TemporaryRedirect"
)

func PossibleRedirectTypeValues

func PossibleRedirectTypeValues() []RedirectType

PossibleRedirectTypeValues returns an array of possible values for the RedirectType const type.

type ReportsClient

ReportsClient is the frontDoor Client

type ReportsClient struct {
    BaseClient
}

func NewReportsClient

func NewReportsClient(subscriptionID string) ReportsClient

NewReportsClient creates an instance of the ReportsClient client.

func NewReportsClientWithBaseURI

func NewReportsClientWithBaseURI(baseURI string, subscriptionID string) ReportsClient

NewReportsClientWithBaseURI creates an instance of the ReportsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReportsClient) GetLatencyScorecards

func (client ReportsClient) GetLatencyScorecards(ctx context.Context, resourceGroupName string, profileName string, experimentName string, aggregationInterval LatencyScorecardAggregationInterval, endDateTimeUTC string, country string) (result LatencyScorecard, err error)

GetLatencyScorecards sends the get latency scorecards request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner experimentName - the Experiment identifier associated with the Experiment aggregationInterval - the aggregation interval of the Latency Scorecard endDateTimeUTC - the end DateTime of the Latency Scorecard in UTC country - the country associated with the Latency Scorecard. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html

func (ReportsClient) GetLatencyScorecardsPreparer

func (client ReportsClient) GetLatencyScorecardsPreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, aggregationInterval LatencyScorecardAggregationInterval, endDateTimeUTC string, country string) (*http.Request, error)

GetLatencyScorecardsPreparer prepares the GetLatencyScorecards request.

func (ReportsClient) GetLatencyScorecardsResponder

func (client ReportsClient) GetLatencyScorecardsResponder(resp *http.Response) (result LatencyScorecard, err error)

GetLatencyScorecardsResponder handles the response to the GetLatencyScorecards request. The method always closes the http.Response Body.

func (ReportsClient) GetLatencyScorecardsSender

func (client ReportsClient) GetLatencyScorecardsSender(req *http.Request) (*http.Response, error)

GetLatencyScorecardsSender sends the GetLatencyScorecards request. The method will close the http.Response Body if it receives an error.

func (ReportsClient) GetTimeseries

func (client ReportsClient) GetTimeseries(ctx context.Context, resourceGroupName string, profileName string, experimentName string, startDateTimeUTC date.Time, endDateTimeUTC date.Time, aggregationInterval TimeseriesAggregationInterval, timeseriesType TimeseriesType, endpoint string, country string) (result Timeseries, err error)

GetTimeseries sends the get timeseries request. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - the Profile identifier associated with the Tenant and Partner experimentName - the Experiment identifier associated with the Experiment startDateTimeUTC - the start DateTime of the Timeseries in UTC endDateTimeUTC - the end DateTime of the Timeseries in UTC aggregationInterval - the aggregation interval of the Timeseries timeseriesType - the type of Timeseries endpoint - the specific endpoint country - the country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html

func (ReportsClient) GetTimeseriesPreparer

func (client ReportsClient) GetTimeseriesPreparer(ctx context.Context, resourceGroupName string, profileName string, experimentName string, startDateTimeUTC date.Time, endDateTimeUTC date.Time, aggregationInterval TimeseriesAggregationInterval, timeseriesType TimeseriesType, endpoint string, country string) (*http.Request, error)

GetTimeseriesPreparer prepares the GetTimeseries request.

func (ReportsClient) GetTimeseriesResponder

func (client ReportsClient) GetTimeseriesResponder(resp *http.Response) (result Timeseries, err error)

GetTimeseriesResponder handles the response to the GetTimeseries request. The method always closes the http.Response Body.

func (ReportsClient) GetTimeseriesSender

func (client ReportsClient) GetTimeseriesSender(req *http.Request) (*http.Response, error)

GetTimeseriesSender sends the GetTimeseries request. The method will close the http.Response Body if it receives an error.

type Resource

Resource common resource representation.

type Resource struct {
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceState

ResourceState enumerates the values for resource state.

type ResourceState string
const (
    // ResourceStateCreating ...
    ResourceStateCreating ResourceState = "Creating"
    // ResourceStateDeleting ...
    ResourceStateDeleting ResourceState = "Deleting"
    // ResourceStateDisabled ...
    ResourceStateDisabled ResourceState = "Disabled"
    // ResourceStateDisabling ...
    ResourceStateDisabling ResourceState = "Disabling"
    // ResourceStateEnabled ...
    ResourceStateEnabled ResourceState = "Enabled"
    // ResourceStateEnabling ...
    ResourceStateEnabling ResourceState = "Enabling"
)

func PossibleResourceStateValues

func PossibleResourceStateValues() []ResourceState

PossibleResourceStateValues returns an array of possible values for the ResourceState const type.

type ResourceType

ResourceType enumerates the values for resource type.

type ResourceType string
const (
    // MicrosoftNetworkfrontDoors ...
    MicrosoftNetworkfrontDoors ResourceType = "Microsoft.Network/frontDoors"
    // MicrosoftNetworkfrontDoorsfrontendEndpoints ...
    MicrosoftNetworkfrontDoorsfrontendEndpoints ResourceType = "Microsoft.Network/frontDoors/frontendEndpoints"
)

func PossibleResourceTypeValues

func PossibleResourceTypeValues() []ResourceType

PossibleResourceTypeValues returns an array of possible values for the ResourceType const type.

type RouteConfiguration

RouteConfiguration base class for all types of Route.

type RouteConfiguration struct {
    // OdataType - Possible values include: 'OdataTypeRouteConfiguration', 'OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorForwardingConfiguration', 'OdataTypeMicrosoftAzureFrontDoorModelsFrontdoorRedirectConfiguration'
    OdataType OdataType `json:"@odata.type,omitempty"`
}

func (RouteConfiguration) AsBasicRouteConfiguration

func (rc RouteConfiguration) AsBasicRouteConfiguration() (BasicRouteConfiguration, bool)

AsBasicRouteConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) AsForwardingConfiguration

func (rc RouteConfiguration) AsForwardingConfiguration() (*ForwardingConfiguration, bool)

AsForwardingConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) AsRedirectConfiguration

func (rc RouteConfiguration) AsRedirectConfiguration() (*RedirectConfiguration, bool)

AsRedirectConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) AsRouteConfiguration

func (rc RouteConfiguration) AsRouteConfiguration() (*RouteConfiguration, bool)

AsRouteConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) MarshalJSON

func (rc RouteConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteConfiguration.

type RoutingRule

RoutingRule a routing rule represents a specification for traffic to treat and where to send it, along with health probe information.

type RoutingRule struct {
    // RoutingRuleProperties - Properties of the Front Door Routing Rule
    *RoutingRuleProperties `json:"properties,omitempty"`
    // Name - Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

func (RoutingRule) MarshalJSON

func (rr RoutingRule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoutingRule.

func (*RoutingRule) UnmarshalJSON

func (rr *RoutingRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RoutingRule struct.

type RoutingRuleEnabledState

RoutingRuleEnabledState enumerates the values for routing rule enabled state.

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

func PossibleRoutingRuleEnabledStateValues

func PossibleRoutingRuleEnabledStateValues() []RoutingRuleEnabledState

PossibleRoutingRuleEnabledStateValues returns an array of possible values for the RoutingRuleEnabledState const type.

type RoutingRuleListResult

RoutingRuleListResult result of the request to list Routing Rules. It contains a list of Routing Rule objects and a URL link to get the next set of results.

type RoutingRuleListResult struct {
    // Value - READ-ONLY; List of Routing Rules within a Front Door.
    Value *[]RoutingRule `json:"value,omitempty"`
    // NextLink - URL to get the next set of RoutingRule objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (RoutingRuleListResult) MarshalJSON

func (rrlr RoutingRuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoutingRuleListResult.

type RoutingRuleProperties

RoutingRuleProperties the JSON object that contains the properties required to create a routing rule.

type RoutingRuleProperties struct {
    // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // FrontendEndpoints - Frontend endpoints associated with this rule
    FrontendEndpoints *[]SubResource `json:"frontendEndpoints,omitempty"`
    // AcceptedProtocols - Protocol schemes to match for this rule
    AcceptedProtocols *[]Protocol `json:"acceptedProtocols,omitempty"`
    // PatternsToMatch - The route patterns of the rule.
    PatternsToMatch *[]string `json:"patternsToMatch,omitempty"`
    // EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'RoutingRuleEnabledStateEnabled', 'RoutingRuleEnabledStateDisabled'
    EnabledState RoutingRuleEnabledState `json:"enabledState,omitempty"`
    // RouteConfiguration - A reference to the routing configuration.
    RouteConfiguration BasicRouteConfiguration `json:"routeConfiguration,omitempty"`
    // RulesEngine - A reference to a specific Rules Engine Configuration to apply to this route.
    RulesEngine *SubResource `json:"rulesEngine,omitempty"`
}

func (*RoutingRuleProperties) UnmarshalJSON

func (rrp *RoutingRuleProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RoutingRuleProperties struct.

type RoutingRuleUpdateParameters

RoutingRuleUpdateParameters routing rules to apply to an endpoint

type RoutingRuleUpdateParameters struct {
    // FrontendEndpoints - Frontend endpoints associated with this rule
    FrontendEndpoints *[]SubResource `json:"frontendEndpoints,omitempty"`
    // AcceptedProtocols - Protocol schemes to match for this rule
    AcceptedProtocols *[]Protocol `json:"acceptedProtocols,omitempty"`
    // PatternsToMatch - The route patterns of the rule.
    PatternsToMatch *[]string `json:"patternsToMatch,omitempty"`
    // EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'RoutingRuleEnabledStateEnabled', 'RoutingRuleEnabledStateDisabled'
    EnabledState RoutingRuleEnabledState `json:"enabledState,omitempty"`
    // RouteConfiguration - A reference to the routing configuration.
    RouteConfiguration BasicRouteConfiguration `json:"routeConfiguration,omitempty"`
    // RulesEngine - A reference to a specific Rules Engine Configuration to apply to this route.
    RulesEngine *SubResource `json:"rulesEngine,omitempty"`
}

func (*RoutingRuleUpdateParameters) UnmarshalJSON

func (rrup *RoutingRuleUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RoutingRuleUpdateParameters struct.

type RuleType

RuleType enumerates the values for rule type.

type RuleType string
const (
    // MatchRule ...
    MatchRule RuleType = "MatchRule"
    // RateLimitRule ...
    RateLimitRule RuleType = "RateLimitRule"
)

func PossibleRuleTypeValues

func PossibleRuleTypeValues() []RuleType

PossibleRuleTypeValues returns an array of possible values for the RuleType const type.

type RulesEngine

RulesEngine a rules engine configuration containing a list of rules that will run to modify the runtime behavior of the request and response.

type RulesEngine struct {
    autorest.Response `json:"-"`
    // RulesEngineProperties - Properties of the Rules Engine Configuration.
    *RulesEngineProperties `json:"properties,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
}

func (RulesEngine) MarshalJSON

func (re RulesEngine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RulesEngine.

func (*RulesEngine) UnmarshalJSON

func (re *RulesEngine) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RulesEngine struct.

type RulesEngineAction

RulesEngineAction one or more actions that will execute, modifying the request and/or response.

type RulesEngineAction struct {
    // RequestHeaderActions - A list of header actions to apply from the request from AFD to the origin.
    RequestHeaderActions *[]HeaderAction `json:"requestHeaderActions,omitempty"`
    // ResponseHeaderActions - A list of header actions to apply from the response from AFD to the client.
    ResponseHeaderActions *[]HeaderAction `json:"responseHeaderActions,omitempty"`
    // RouteConfigurationOverride - Override the route configuration.
    RouteConfigurationOverride BasicRouteConfiguration `json:"routeConfigurationOverride,omitempty"`
}

func (*RulesEngineAction) UnmarshalJSON

func (rea *RulesEngineAction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RulesEngineAction struct.

type RulesEngineListResult

RulesEngineListResult result of the request to list Rules Engine Configurations. It contains a list of RulesEngine objects and a URL link to get the next set of results.

type RulesEngineListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of rulesEngines within a Front Door.
    Value *[]RulesEngine `json:"value,omitempty"`
    // NextLink - URL to get the next set of RulesEngine objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (RulesEngineListResult) IsEmpty

func (relr RulesEngineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (RulesEngineListResult) MarshalJSON

func (relr RulesEngineListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RulesEngineListResult.

type RulesEngineListResultIterator

RulesEngineListResultIterator provides access to a complete listing of RulesEngine values.

type RulesEngineListResultIterator struct {
    // contains filtered or unexported fields
}

func NewRulesEngineListResultIterator

func NewRulesEngineListResultIterator(page RulesEngineListResultPage) RulesEngineListResultIterator

Creates a new instance of the RulesEngineListResultIterator type.

func (*RulesEngineListResultIterator) Next

func (iter *RulesEngineListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RulesEngineListResultIterator) NextWithContext

func (iter *RulesEngineListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RulesEngineListResultIterator) NotDone

func (iter RulesEngineListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RulesEngineListResultIterator) Response

func (iter RulesEngineListResultIterator) Response() RulesEngineListResult

Response returns the raw server response from the last page request.

func (RulesEngineListResultIterator) Value

func (iter RulesEngineListResultIterator) Value() RulesEngine

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RulesEngineListResultPage

RulesEngineListResultPage contains a page of RulesEngine values.

type RulesEngineListResultPage struct {
    // contains filtered or unexported fields
}

func NewRulesEngineListResultPage

func NewRulesEngineListResultPage(cur RulesEngineListResult, getNextPage func(context.Context, RulesEngineListResult) (RulesEngineListResult, error)) RulesEngineListResultPage

Creates a new instance of the RulesEngineListResultPage type.

func (*RulesEngineListResultPage) Next

func (page *RulesEngineListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RulesEngineListResultPage) NextWithContext

func (page *RulesEngineListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RulesEngineListResultPage) NotDone

func (page RulesEngineListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RulesEngineListResultPage) Response

func (page RulesEngineListResultPage) Response() RulesEngineListResult

Response returns the raw server response from the last page request.

func (RulesEngineListResultPage) Values

func (page RulesEngineListResultPage) Values() []RulesEngine

Values returns the slice of values for the current page or nil if there are no values.

type RulesEngineMatchCondition

RulesEngineMatchCondition define a match condition

type RulesEngineMatchCondition struct {
    // RulesEngineMatchVariable - Match Variable. Possible values include: 'RulesEngineMatchVariableIsMobile', 'RulesEngineMatchVariableRemoteAddr', 'RulesEngineMatchVariableRequestMethod', 'RulesEngineMatchVariableQueryString', 'RulesEngineMatchVariablePostArgs', 'RulesEngineMatchVariableRequestURI', 'RulesEngineMatchVariableRequestPath', 'RulesEngineMatchVariableRequestFilename', 'RulesEngineMatchVariableRequestFilenameExtension', 'RulesEngineMatchVariableRequestHeader', 'RulesEngineMatchVariableRequestBody', 'RulesEngineMatchVariableRequestScheme'
    RulesEngineMatchVariable RulesEngineMatchVariable `json:"rulesEngineMatchVariable,omitempty"`
    // Selector - Name of selector in RequestHeader or RequestBody to be matched
    Selector *string `json:"selector,omitempty"`
    // RulesEngineOperator - Describes operator to apply to the match condition. Possible values include: 'RulesEngineOperatorAny', 'RulesEngineOperatorIPMatch', 'RulesEngineOperatorGeoMatch', 'RulesEngineOperatorEqual', 'RulesEngineOperatorContains', 'RulesEngineOperatorLessThan', 'RulesEngineOperatorGreaterThan', 'RulesEngineOperatorLessThanOrEqual', 'RulesEngineOperatorGreaterThanOrEqual', 'RulesEngineOperatorBeginsWith', 'RulesEngineOperatorEndsWith'
    RulesEngineOperator RulesEngineOperator `json:"rulesEngineOperator,omitempty"`
    // NegateCondition - Describes if this is negate condition or not
    NegateCondition *bool `json:"negateCondition,omitempty"`
    // RulesEngineMatchValue - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
    RulesEngineMatchValue *[]string `json:"rulesEngineMatchValue,omitempty"`
    // Transforms - List of transforms
    Transforms *[]Transform `json:"transforms,omitempty"`
}

type RulesEngineMatchVariable

RulesEngineMatchVariable enumerates the values for rules engine match variable.

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

func PossibleRulesEngineMatchVariableValues

func PossibleRulesEngineMatchVariableValues() []RulesEngineMatchVariable

PossibleRulesEngineMatchVariableValues returns an array of possible values for the RulesEngineMatchVariable const type.

type RulesEngineOperator

RulesEngineOperator enumerates the values for rules engine operator.

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

func PossibleRulesEngineOperatorValues

func PossibleRulesEngineOperatorValues() []RulesEngineOperator

PossibleRulesEngineOperatorValues returns an array of possible values for the RulesEngineOperator const type.

type RulesEngineProperties

RulesEngineProperties the JSON object that contains the properties required to create a Rules Engine Configuration.

type RulesEngineProperties struct {
    // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting'
    ResourceState ResourceState `json:"resourceState,omitempty"`
    // Rules - A list of rules that define a particular Rules Engine Configuration.
    Rules *[]RulesEngineRule `json:"rules,omitempty"`
}

type RulesEngineRule

RulesEngineRule contains a list of match conditions, and an action on how to modify the request/response. If multiple rules match, the actions from one rule that conflict with a previous rule overwrite for a singular action, or append in the case of headers manipulation.

type RulesEngineRule struct {
    // Name - A name to refer to this specific rule.
    Name *string `json:"name,omitempty"`
    // Priority - A priority assigned to this rule.
    Priority *int32 `json:"priority,omitempty"`
    // Action - Actions to perform on the request and response if all of the match conditions are met.
    Action *RulesEngineAction `json:"action,omitempty"`
    // MatchConditions - A list of match conditions that must meet in order for the actions of this rule to run. Having no match conditions means the actions will always run.
    MatchConditions *[]RulesEngineMatchCondition `json:"matchConditions,omitempty"`
    // MatchProcessingBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'Continue', 'Stop'
    MatchProcessingBehavior MatchProcessingBehavior `json:"matchProcessingBehavior,omitempty"`
}

type RulesEngineUpdateParameters

RulesEngineUpdateParameters rules Engine Configuration to apply to a Routing Rule.

type RulesEngineUpdateParameters struct {
    // Rules - A list of rules that define a particular Rules Engine Configuration.
    Rules *[]RulesEngineRule `json:"rules,omitempty"`
}

type RulesEnginesClient

RulesEnginesClient is the frontDoor Client

type RulesEnginesClient struct {
    BaseClient
}

func NewRulesEnginesClient

func NewRulesEnginesClient(subscriptionID string) RulesEnginesClient

NewRulesEnginesClient creates an instance of the RulesEnginesClient client.

func NewRulesEnginesClientWithBaseURI

func NewRulesEnginesClientWithBaseURI(baseURI string, subscriptionID string) RulesEnginesClient

NewRulesEnginesClientWithBaseURI creates an instance of the RulesEnginesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RulesEnginesClient) CreateOrUpdate

func (client RulesEnginesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string, rulesEngineParameters RulesEngine) (result RulesEnginesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new Rules Engine Configuration with the specified name within the specified Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. rulesEngineName - name of the Rules Engine which is unique within the Front Door. rulesEngineParameters - rules Engine Configuration properties needed to create a new Rules Engine Configuration.

func (RulesEnginesClient) CreateOrUpdatePreparer

func (client RulesEnginesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string, rulesEngineParameters RulesEngine) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RulesEnginesClient) CreateOrUpdateResponder

func (client RulesEnginesClient) CreateOrUpdateResponder(resp *http.Response) (result RulesEngine, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RulesEnginesClient) CreateOrUpdateSender

func (client RulesEnginesClient) CreateOrUpdateSender(req *http.Request) (future RulesEnginesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RulesEnginesClient) Delete

func (client RulesEnginesClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (result RulesEnginesDeleteFuture, err error)

Delete deletes an existing Rules Engine Configuration with the specified parameters. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. rulesEngineName - name of the Rules Engine which is unique within the Front Door.

func (RulesEnginesClient) DeletePreparer

func (client RulesEnginesClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RulesEnginesClient) DeleteResponder

func (client RulesEnginesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RulesEnginesClient) DeleteSender

func (client RulesEnginesClient) DeleteSender(req *http.Request) (future RulesEnginesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RulesEnginesClient) Get

func (client RulesEnginesClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (result RulesEngine, err error)

Get gets a Rules Engine Configuration with the specified name within the specified Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. rulesEngineName - name of the Rules Engine which is unique within the Front Door.

func (RulesEnginesClient) GetPreparer

func (client RulesEnginesClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, rulesEngineName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RulesEnginesClient) GetResponder

func (client RulesEnginesClient) GetResponder(resp *http.Response) (result RulesEngine, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RulesEnginesClient) GetSender

func (client RulesEnginesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RulesEnginesClient) ListByFrontDoor

func (client RulesEnginesClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result RulesEngineListResultPage, err error)

ListByFrontDoor lists all of the Rules Engine Configurations within a Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.

func (RulesEnginesClient) ListByFrontDoorComplete

func (client RulesEnginesClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result RulesEngineListResultIterator, err error)

ListByFrontDoorComplete enumerates all values, automatically crossing page boundaries as required.

func (RulesEnginesClient) ListByFrontDoorPreparer

func (client RulesEnginesClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (RulesEnginesClient) ListByFrontDoorResponder

func (client RulesEnginesClient) ListByFrontDoorResponder(resp *http.Response) (result RulesEngineListResult, err error)

ListByFrontDoorResponder handles the response to the ListByFrontDoor request. The method always closes the http.Response Body.

func (RulesEnginesClient) ListByFrontDoorSender

func (client RulesEnginesClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)

ListByFrontDoorSender sends the ListByFrontDoor request. The method will close the http.Response Body if it receives an error.

type RulesEnginesCreateOrUpdateFuture

RulesEnginesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type RulesEnginesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(RulesEnginesClient) (RulesEngine, error)
}

func (*RulesEnginesCreateOrUpdateFuture) UnmarshalJSON

func (future *RulesEnginesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RulesEnginesDeleteFuture

RulesEnginesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type RulesEnginesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(RulesEnginesClient) (autorest.Response, error)
}

func (*RulesEnginesDeleteFuture) UnmarshalJSON

func (future *RulesEnginesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SessionAffinityEnabledState

SessionAffinityEnabledState enumerates the values for session affinity enabled state.

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

func PossibleSessionAffinityEnabledStateValues

func PossibleSessionAffinityEnabledStateValues() []SessionAffinityEnabledState

PossibleSessionAffinityEnabledStateValues returns an array of possible values for the SessionAffinityEnabledState const type.

type State

State enumerates the values for state.

type State string
const (
    // StateDisabled ...
    StateDisabled State = "Disabled"
    // StateEnabled ...
    StateEnabled State = "Enabled"
)

func PossibleStateValues

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

type SubResource

SubResource reference to another subresource.

type SubResource struct {
    // ID - Resource ID.
    ID *string `json:"id,omitempty"`
}

type TagsObject

TagsObject tags object for patch operations.

type TagsObject struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (TagsObject) MarshalJSON

func (toVar TagsObject) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TagsObject.

type Timeseries

Timeseries defines the Timeseries

type Timeseries struct {
    autorest.Response `json:"-"`
    // TimeseriesProperties - The properties of a Timeseries
    *TimeseriesProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (Timeseries) MarshalJSON

func (t Timeseries) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Timeseries.

func (*Timeseries) UnmarshalJSON

func (t *Timeseries) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Timeseries struct.

type TimeseriesAggregationInterval

TimeseriesAggregationInterval enumerates the values for timeseries aggregation interval.

type TimeseriesAggregationInterval string
const (
    // TimeseriesAggregationIntervalDaily ...
    TimeseriesAggregationIntervalDaily TimeseriesAggregationInterval = "Daily"
    // TimeseriesAggregationIntervalHourly ...
    TimeseriesAggregationIntervalHourly TimeseriesAggregationInterval = "Hourly"
)

func PossibleTimeseriesAggregationIntervalValues

func PossibleTimeseriesAggregationIntervalValues() []TimeseriesAggregationInterval

PossibleTimeseriesAggregationIntervalValues returns an array of possible values for the TimeseriesAggregationInterval const type.

type TimeseriesDataPoint

TimeseriesDataPoint defines a timeseries datapoint used in a timeseries

type TimeseriesDataPoint struct {
    // DateTimeUTC - The DateTime of the Timeseries data point in UTC
    DateTimeUTC *string `json:"dateTimeUTC,omitempty"`
    // Value - The Value of the Timeseries data point
    Value *float64 `json:"value,omitempty"`
}

type TimeseriesProperties

TimeseriesProperties defines the properties of a timeseries

type TimeseriesProperties struct {
    // Endpoint - The endpoint associated with the Timeseries data point
    Endpoint *string `json:"endpoint,omitempty"`
    // StartDateTimeUTC - The start DateTime of the Timeseries in UTC
    StartDateTimeUTC *string `json:"startDateTimeUTC,omitempty"`
    // EndDateTimeUTC - The end DateTime of the Timeseries in UTC
    EndDateTimeUTC *string `json:"endDateTimeUTC,omitempty"`
    // AggregationInterval - The aggregation interval of the Timeseries. Possible values include: 'Hourly', 'Daily'
    AggregationInterval AggregationInterval `json:"aggregationInterval,omitempty"`
    // TimeseriesType - The type of Timeseries. Possible values include: 'MeasurementCounts', 'LatencyP50', 'LatencyP75', 'LatencyP95'
    TimeseriesType TimeseriesType `json:"timeseriesType,omitempty"`
    // Country - The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html
    Country *string `json:"country,omitempty"`
    // TimeseriesData - The set of data points for the timeseries
    TimeseriesData *[]TimeseriesDataPoint `json:"timeseriesData,omitempty"`
}

type TimeseriesType

TimeseriesType enumerates the values for timeseries type.

type TimeseriesType string
const (
    // LatencyP50 ...
    LatencyP50 TimeseriesType = "LatencyP50"
    // LatencyP75 ...
    LatencyP75 TimeseriesType = "LatencyP75"
    // LatencyP95 ...
    LatencyP95 TimeseriesType = "LatencyP95"
    // MeasurementCounts ...
    MeasurementCounts TimeseriesType = "MeasurementCounts"
)

func PossibleTimeseriesTypeValues

func PossibleTimeseriesTypeValues() []TimeseriesType

PossibleTimeseriesTypeValues returns an array of possible values for the TimeseriesType const type.

type Transform

Transform enumerates the values for transform.

type Transform string
const (
    // Lowercase ...
    Lowercase Transform = "Lowercase"
    // RemoveNulls ...
    RemoveNulls Transform = "RemoveNulls"
    // Trim ...
    Trim Transform = "Trim"
    // Uppercase ...
    Uppercase Transform = "Uppercase"
    // URLDecode ...
    URLDecode Transform = "UrlDecode"
    // URLEncode ...
    URLEncode Transform = "UrlEncode"
)

func PossibleTransformValues

func PossibleTransformValues() []Transform

PossibleTransformValues returns an array of possible values for the Transform const type.

type TransformType

TransformType enumerates the values for transform type.

type TransformType string
const (
    // TransformTypeLowercase ...
    TransformTypeLowercase TransformType = "Lowercase"
    // TransformTypeRemoveNulls ...
    TransformTypeRemoveNulls TransformType = "RemoveNulls"
    // TransformTypeTrim ...
    TransformTypeTrim TransformType = "Trim"
    // TransformTypeUppercase ...
    TransformTypeUppercase TransformType = "Uppercase"
    // TransformTypeURLDecode ...
    TransformTypeURLDecode TransformType = "UrlDecode"
    // TransformTypeURLEncode ...
    TransformTypeURLEncode TransformType = "UrlEncode"
)

func PossibleTransformTypeValues

func PossibleTransformTypeValues() []TransformType

PossibleTransformTypeValues returns an array of possible values for the TransformType const type.

type UpdateParameters

UpdateParameters the properties needed to update a Front Door

type UpdateParameters struct {
    // FriendlyName - A friendly name for the frontDoor
    FriendlyName *string `json:"friendlyName,omitempty"`
    // RoutingRules - Routing rules associated with this Front Door.
    RoutingRules *[]RoutingRule `json:"routingRules,omitempty"`
    // LoadBalancingSettings - Load balancing settings associated with this Front Door instance.
    LoadBalancingSettings *[]LoadBalancingSettingsModel `json:"loadBalancingSettings,omitempty"`
    // HealthProbeSettings - Health probe settings associated with this Front Door instance.
    HealthProbeSettings *[]HealthProbeSettingsModel `json:"healthProbeSettings,omitempty"`
    // BackendPools - Backend pools available to routing rules.
    BackendPools *[]BackendPool `json:"backendPools,omitempty"`
    // FrontendEndpoints - Frontend endpoints available to routing rules.
    FrontendEndpoints *[]FrontendEndpoint `json:"frontendEndpoints,omitempty"`
    // BackendPoolsSettings - Settings for all backendPools
    BackendPoolsSettings *BackendPoolsSettings `json:"backendPoolsSettings,omitempty"`
    // EnabledState - Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
    EnabledState EnabledState `json:"enabledState,omitempty"`
}

type ValidateCustomDomainInput

ValidateCustomDomainInput input of the custom domain to be validated for DNS mapping.

type ValidateCustomDomainInput struct {
    // HostName - The host name of the custom domain. Must be a domain name.
    HostName *string `json:"hostName,omitempty"`
}

type ValidateCustomDomainOutput

ValidateCustomDomainOutput output of custom domain validation.

type ValidateCustomDomainOutput struct {
    autorest.Response `json:"-"`
    // CustomDomainValidated - READ-ONLY; Indicates whether the custom domain is valid or not.
    CustomDomainValidated *bool `json:"customDomainValidated,omitempty"`
    // Reason - READ-ONLY; The reason why the custom domain is not valid.
    Reason *string `json:"reason,omitempty"`
    // Message - READ-ONLY; Error message describing why the custom domain is not valid.
    Message *string `json:"message,omitempty"`
}

func (ValidateCustomDomainOutput) MarshalJSON

func (vcdo ValidateCustomDomainOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ValidateCustomDomainOutput.

type WebApplicationFirewallPolicy

WebApplicationFirewallPolicy defines web application firewall policy.

type WebApplicationFirewallPolicy struct {
    autorest.Response `json:"-"`
    // WebApplicationFirewallPolicyProperties - Properties of the web application firewall policy.
    *WebApplicationFirewallPolicyProperties `json:"properties,omitempty"`
    // Etag - Gets a unique read-only string that changes whenever the resource is updated.
    Etag *string `json:"etag,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

func (WebApplicationFirewallPolicy) MarshalJSON

func (wafp WebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicy.

func (*WebApplicationFirewallPolicy) UnmarshalJSON

func (wafp *WebApplicationFirewallPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebApplicationFirewallPolicy struct.

type WebApplicationFirewallPolicyList

WebApplicationFirewallPolicyList defines a list of WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.

type WebApplicationFirewallPolicyList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of WebApplicationFirewallPolicies within a resource group.
    Value *[]WebApplicationFirewallPolicy `json:"value,omitempty"`
    // NextLink - URL to get the next set of WebApplicationFirewallPolicy objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

func (WebApplicationFirewallPolicyList) IsEmpty

func (wafpl WebApplicationFirewallPolicyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WebApplicationFirewallPolicyList) MarshalJSON

func (wafpl WebApplicationFirewallPolicyList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyList.

type WebApplicationFirewallPolicyListIterator

WebApplicationFirewallPolicyListIterator provides access to a complete listing of WebApplicationFirewallPolicy values.

type WebApplicationFirewallPolicyListIterator struct {
    // contains filtered or unexported fields
}

func NewWebApplicationFirewallPolicyListIterator

func NewWebApplicationFirewallPolicyListIterator(page WebApplicationFirewallPolicyListPage) WebApplicationFirewallPolicyListIterator

Creates a new instance of the WebApplicationFirewallPolicyListIterator type.

func (*WebApplicationFirewallPolicyListIterator) Next

func (iter *WebApplicationFirewallPolicyListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WebApplicationFirewallPolicyListIterator) NextWithContext

func (iter *WebApplicationFirewallPolicyListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WebApplicationFirewallPolicyListIterator) NotDone

func (iter WebApplicationFirewallPolicyListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (WebApplicationFirewallPolicyListIterator) Response

func (iter WebApplicationFirewallPolicyListIterator) Response() WebApplicationFirewallPolicyList

Response returns the raw server response from the last page request.

func (WebApplicationFirewallPolicyListIterator) Value

func (iter WebApplicationFirewallPolicyListIterator) Value() WebApplicationFirewallPolicy

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WebApplicationFirewallPolicyListPage

WebApplicationFirewallPolicyListPage contains a page of WebApplicationFirewallPolicy values.

type WebApplicationFirewallPolicyListPage struct {
    // contains filtered or unexported fields
}

func NewWebApplicationFirewallPolicyListPage

func NewWebApplicationFirewallPolicyListPage(cur WebApplicationFirewallPolicyList, getNextPage func(context.Context, WebApplicationFirewallPolicyList) (WebApplicationFirewallPolicyList, error)) WebApplicationFirewallPolicyListPage

Creates a new instance of the WebApplicationFirewallPolicyListPage type.

func (*WebApplicationFirewallPolicyListPage) Next

func (page *WebApplicationFirewallPolicyListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WebApplicationFirewallPolicyListPage) NextWithContext

func (page *WebApplicationFirewallPolicyListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WebApplicationFirewallPolicyListPage) NotDone

func (page WebApplicationFirewallPolicyListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WebApplicationFirewallPolicyListPage) Response

func (page WebApplicationFirewallPolicyListPage) Response() WebApplicationFirewallPolicyList

Response returns the raw server response from the last page request.

func (WebApplicationFirewallPolicyListPage) Values

func (page WebApplicationFirewallPolicyListPage) Values() []WebApplicationFirewallPolicy

Values returns the slice of values for the current page or nil if there are no values.

type WebApplicationFirewallPolicyProperties

WebApplicationFirewallPolicyProperties defines web application firewall policy properties.

type WebApplicationFirewallPolicyProperties struct {
    // PolicySettings - Describes settings for the policy.
    PolicySettings *PolicySettings `json:"policySettings,omitempty"`
    // CustomRules - Describes custom rules inside the policy.
    CustomRules *CustomRuleList `json:"customRules,omitempty"`
    // ManagedRules - Describes managed rules inside the policy.
    ManagedRules *ManagedRuleSetList `json:"managedRules,omitempty"`
    // FrontendEndpointLinks - READ-ONLY; Describes Frontend Endpoints associated with this Web Application Firewall policy.
    FrontendEndpointLinks *[]FrontendEndpointLink `json:"frontendEndpointLinks,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning state of the policy.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ResourceState - READ-ONLY; Possible values include: 'PolicyResourceStateCreating', 'PolicyResourceStateEnabling', 'PolicyResourceStateEnabled', 'PolicyResourceStateDisabling', 'PolicyResourceStateDisabled', 'PolicyResourceStateDeleting'
    ResourceState PolicyResourceState `json:"resourceState,omitempty"`
}

func (WebApplicationFirewallPolicyProperties) MarshalJSON

func (wafpp WebApplicationFirewallPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyProperties.

Subdirectories

Name Synopsis
..
frontdoorapi Deprecated: Please note, this package has been deprecated.