azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/frontdoor/mgmt/2019-04-01/frontdoor Index | Files | Directories

package frontdoor

import "github.com/Azure/azure-sdk-for-go/services/preview/frontdoor/mgmt/2019-04-01/frontdoor"

Package frontdoor implements the Azure ARM Frontdoor service API version .

FrontDoor Client

Index

Package Files

backendpools.go client.go endpoints.go frontdoors.go frontendendpoints.go healthprobesettings.go loadbalancingsettings.go managedrulesets.go models.go policies.go routingrules.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ActionType Uses

type ActionType string

ActionType enumerates the values for action type.

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

func PossibleActionTypeValues Uses

func PossibleActionTypeValues() []ActionType

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

type Availability Uses

type Availability string

Availability enumerates the values for availability.

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

func PossibleAvailabilityValues Uses

func PossibleAvailabilityValues() []Availability

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

type AzureAsyncOperationResult Uses

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"`
}

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 Backend Uses

type Backend struct {
    // Address - Location of the backend (IP address or FQDN)
    Address *string `json:"address,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"`
}

Backend backend address of a frontDoor load balancer.

type BackendEnabledState Uses

type BackendEnabledState string

BackendEnabledState enumerates the values for backend enabled state.

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

func PossibleBackendEnabledStateValues Uses

func PossibleBackendEnabledStateValues() []BackendEnabledState

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

type BackendPool Uses

type BackendPool struct {
    autorest.Response `json:"-"`
    // 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"`
}

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

func (BackendPool) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for BackendPool.

func (*BackendPool) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for BackendPool struct.

type BackendPoolListResult Uses

type BackendPoolListResult struct {
    autorest.Response `json:"-"`
    // 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"`
}

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.

func (BackendPoolListResult) IsEmpty Uses

func (bplr BackendPoolListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BackendPoolListResultIterator Uses

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

BackendPoolListResultIterator provides access to a complete listing of BackendPool values.

func NewBackendPoolListResultIterator Uses

func NewBackendPoolListResultIterator(page BackendPoolListResultPage) BackendPoolListResultIterator

Creates a new instance of the BackendPoolListResultIterator type.

func (*BackendPoolListResultIterator) Next Uses

func (iter *BackendPoolListResultIterator) 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 (*BackendPoolListResultIterator) NextWithContext Uses

func (iter *BackendPoolListResultIterator) 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 (BackendPoolListResultIterator) NotDone Uses

func (iter BackendPoolListResultIterator) NotDone() bool

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

func (BackendPoolListResultIterator) Response Uses

func (iter BackendPoolListResultIterator) Response() BackendPoolListResult

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

func (BackendPoolListResultIterator) Value Uses

func (iter BackendPoolListResultIterator) Value() BackendPool

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

type BackendPoolListResultPage Uses

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

BackendPoolListResultPage contains a page of BackendPool values.

func NewBackendPoolListResultPage Uses

func NewBackendPoolListResultPage(getNextPage func(context.Context, BackendPoolListResult) (BackendPoolListResult, error)) BackendPoolListResultPage

Creates a new instance of the BackendPoolListResultPage type.

func (*BackendPoolListResultPage) Next Uses

func (page *BackendPoolListResultPage) 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 (*BackendPoolListResultPage) NextWithContext Uses

func (page *BackendPoolListResultPage) 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 (BackendPoolListResultPage) NotDone Uses

func (page BackendPoolListResultPage) NotDone() bool

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

func (BackendPoolListResultPage) Response Uses

func (page BackendPoolListResultPage) Response() BackendPoolListResult

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

func (BackendPoolListResultPage) Values Uses

func (page BackendPoolListResultPage) Values() []BackendPool

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

type BackendPoolProperties Uses

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"`
}

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

type BackendPoolUpdateParameters Uses

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"`
}

BackendPoolUpdateParameters a collection of backends that can be routed to.

type BackendPoolsClient Uses

type BackendPoolsClient struct {
    BaseClient
}

BackendPoolsClient is the frontDoor Client

func NewBackendPoolsClient Uses

func NewBackendPoolsClient(subscriptionID string) BackendPoolsClient

NewBackendPoolsClient creates an instance of the BackendPoolsClient client.

func NewBackendPoolsClientWithBaseURI Uses

func NewBackendPoolsClientWithBaseURI(baseURI string, subscriptionID string) BackendPoolsClient

NewBackendPoolsClientWithBaseURI creates an instance of the BackendPoolsClient client.

func (BackendPoolsClient) CreateOrUpdate Uses

func (client BackendPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, backendPoolName string, backendPoolParameters BackendPool) (result BackendPoolsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new Backend Pool with the specified Pool 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. backendPoolName - name of the Backend Pool which is unique within the Front Door. backendPoolParameters - backend Pool properties needed to create a new Pool.

func (BackendPoolsClient) CreateOrUpdatePreparer Uses

func (client BackendPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, backendPoolName string, backendPoolParameters BackendPool) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (BackendPoolsClient) CreateOrUpdateResponder Uses

func (client BackendPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result BackendPool, err error)

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

func (BackendPoolsClient) CreateOrUpdateSender Uses

func (client BackendPoolsClient) CreateOrUpdateSender(req *http.Request) (future BackendPoolsCreateOrUpdateFuture, err error)

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

func (BackendPoolsClient) Delete Uses

func (client BackendPoolsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, backendPoolName string) (result BackendPoolsDeleteFuture, err error)

Delete deletes an existing Backend Pool 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. backendPoolName - name of the Backend Pool which is unique within the Front Door.

func (BackendPoolsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (BackendPoolsClient) DeleteResponder Uses

func (client BackendPoolsClient) 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 (BackendPoolsClient) DeleteSender Uses

func (client BackendPoolsClient) DeleteSender(req *http.Request) (future BackendPoolsDeleteFuture, err error)

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

func (BackendPoolsClient) Get Uses

func (client BackendPoolsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, backendPoolName string) (result BackendPool, err error)

Get gets a Backend Pool with the specified Pool 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. backendPoolName - name of the Backend Pool which is unique within the Front Door.

func (BackendPoolsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (BackendPoolsClient) GetResponder Uses

func (client BackendPoolsClient) GetResponder(resp *http.Response) (result BackendPool, err error)

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

func (BackendPoolsClient) GetSender Uses

func (client BackendPoolsClient) 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 (BackendPoolsClient) ListByFrontDoor Uses

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

ListByFrontDoor lists all of the Backend Pools 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 (BackendPoolsClient) ListByFrontDoorComplete Uses

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

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

func (BackendPoolsClient) ListByFrontDoorPreparer Uses

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

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (BackendPoolsClient) ListByFrontDoorResponder Uses

func (client BackendPoolsClient) ListByFrontDoorResponder(resp *http.Response) (result BackendPoolListResult, err error)

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

func (BackendPoolsClient) ListByFrontDoorSender Uses

func (client BackendPoolsClient) 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 BackendPoolsCreateOrUpdateFuture Uses

type BackendPoolsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*BackendPoolsCreateOrUpdateFuture) Result Uses

func (future *BackendPoolsCreateOrUpdateFuture) Result(client BackendPoolsClient) (bp BackendPool, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BackendPoolsDeleteFuture Uses

type BackendPoolsDeleteFuture struct {
    azure.Future
}

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

func (*BackendPoolsDeleteFuture) Result Uses

func (future *BackendPoolsDeleteFuture) Result(client BackendPoolsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type BackendPoolsSettings Uses

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"`
}

BackendPoolsSettings settings that apply to all backend pools.

type BaseClient Uses

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

BaseClient is the base client for Frontdoor.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CheckFrontDoorNameAvailability Uses

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 Uses

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

CheckFrontDoorNameAvailabilityPreparer prepares the CheckFrontDoorNameAvailability request.

func (BaseClient) CheckFrontDoorNameAvailabilityResponder Uses

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 Uses

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 Uses

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 Uses

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

CheckFrontDoorNameAvailabilityWithSubscriptionPreparer prepares the CheckFrontDoorNameAvailabilityWithSubscription request.

func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder Uses

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 Uses

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 Uses

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

BasicRouteConfiguration base class for all types of Route.

type CacheConfiguration Uses

type CacheConfiguration struct {
    // QueryParameterStripDirective - Treatment of URL query terms when forming the cache key. Possible values include: 'StripNone', 'StripAll'
    QueryParameterStripDirective Query `json:"queryParameterStripDirective,omitempty"`
    // DynamicCompression - Whether to use dynamic compression for cached content. Possible values include: 'DynamicCompressionEnabledEnabled', 'DynamicCompressionEnabledDisabled'
    DynamicCompression DynamicCompressionEnabled `json:"dynamicCompression,omitempty"`
}

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

type CertificateSource Uses

type CertificateSource string

CertificateSource enumerates the values for certificate source.

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

func PossibleCertificateSourceValues Uses

func PossibleCertificateSourceValues() []CertificateSource

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

type CertificateSourceParameters Uses

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"`
}

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

type CertificateType Uses

type CertificateType string

CertificateType enumerates the values for certificate type.

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

func PossibleCertificateTypeValues Uses

func PossibleCertificateTypeValues() []CertificateType

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

type CheckNameAvailabilityInput Uses

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"`
}

CheckNameAvailabilityInput input of CheckNameAvailability API.

type CheckNameAvailabilityOutput Uses

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"`
}

CheckNameAvailabilityOutput output of check name availability API.

type CustomHTTPSConfiguration Uses

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. Possible values include: 'ServerNameIndication'
    ProtocolType TLSProtocolType `json:"protocolType,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"`
}

CustomHTTPSConfiguration https settings for a domain

func (CustomHTTPSConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CustomHTTPSConfiguration.

func (*CustomHTTPSConfiguration) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for CustomHTTPSConfiguration struct.

type CustomHTTPSProvisioningState Uses

type CustomHTTPSProvisioningState string

CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.

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

func PossibleCustomHTTPSProvisioningStateValues Uses

func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState

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

type CustomHTTPSProvisioningSubstate Uses

type CustomHTTPSProvisioningSubstate string

CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate.

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 Uses

func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate

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

type CustomRule Uses

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"`
}

CustomRule defines contents of a web application rule

type CustomRuleEnabledState Uses

type CustomRuleEnabledState string

CustomRuleEnabledState enumerates the values for custom rule enabled state.

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

func PossibleCustomRuleEnabledStateValues Uses

func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState

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

type CustomRuleList Uses

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

CustomRuleList defines contents of custom rules

type DynamicCompressionEnabled Uses

type DynamicCompressionEnabled string

DynamicCompressionEnabled enumerates the values for dynamic compression enabled.

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

func PossibleDynamicCompressionEnabledValues Uses

func PossibleDynamicCompressionEnabledValues() []DynamicCompressionEnabled

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

type EnabledState Uses

type EnabledState string

EnabledState enumerates the values for enabled state.

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

func PossibleEnabledStateValues Uses

func PossibleEnabledStateValues() []EnabledState

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

type EndpointsClient Uses

type EndpointsClient struct {
    BaseClient
}

EndpointsClient is the frontDoor Client

func NewEndpointsClient Uses

func NewEndpointsClient(subscriptionID string) EndpointsClient

NewEndpointsClient creates an instance of the EndpointsClient client.

func NewEndpointsClientWithBaseURI Uses

func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient

NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.

func (EndpointsClient) PurgeContent Uses

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 Uses

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

PurgeContentPreparer prepares the PurgeContent request.

func (EndpointsClient) PurgeContentResponder Uses

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 Uses

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 Uses

type EndpointsPurgeContentFuture struct {
    azure.Future
}

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

func (*EndpointsPurgeContentFuture) Result Uses

func (future *EndpointsPurgeContentFuture) Result(client EndpointsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnforceCertificateNameCheckEnabledState Uses

type EnforceCertificateNameCheckEnabledState string

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

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

func PossibleEnforceCertificateNameCheckEnabledStateValues Uses

func PossibleEnforceCertificateNameCheckEnabledStateValues() []EnforceCertificateNameCheckEnabledState

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

type Error Uses

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"`
}

Error ...

type ErrorDetails Uses

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

ErrorDetails ...

type ErrorResponse Uses

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"`
}

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

type ForwardingConfiguration Uses

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"`
}

ForwardingConfiguration describes Forwarding Route.

func (ForwardingConfiguration) AsBasicRouteConfiguration Uses

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

AsBasicRouteConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) AsForwardingConfiguration Uses

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

AsForwardingConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) AsRedirectConfiguration Uses

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

AsRedirectConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) AsRouteConfiguration Uses

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

AsRouteConfiguration is the BasicRouteConfiguration implementation for ForwardingConfiguration.

func (ForwardingConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ForwardingConfiguration.

type ForwardingProtocol Uses

type ForwardingProtocol string

ForwardingProtocol enumerates the values for forwarding protocol.

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

func PossibleForwardingProtocolValues Uses

func PossibleForwardingProtocolValues() []ForwardingProtocol

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

type FrontDoor Uses

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"`
}

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

func (FrontDoor) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for FrontDoor.

func (*FrontDoor) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for FrontDoor struct.

type FrontDoorsClient Uses

type FrontDoorsClient struct {
    BaseClient
}

FrontDoorsClient is the frontDoor Client

func NewFrontDoorsClient Uses

func NewFrontDoorsClient(subscriptionID string) FrontDoorsClient

NewFrontDoorsClient creates an instance of the FrontDoorsClient client.

func NewFrontDoorsClientWithBaseURI Uses

func NewFrontDoorsClientWithBaseURI(baseURI string, subscriptionID string) FrontDoorsClient

NewFrontDoorsClientWithBaseURI creates an instance of the FrontDoorsClient client.

func (FrontDoorsClient) CreateOrUpdate Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FrontDoorsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (FrontDoorsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (FrontDoorsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (FrontDoorsClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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

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

func (FrontDoorsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (FrontDoorsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

ValidateCustomDomainPreparer prepares the ValidateCustomDomain request.

func (FrontDoorsClient) ValidateCustomDomainResponder Uses

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 Uses

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 Uses

type FrontDoorsCreateOrUpdateFutureType struct {
    azure.Future
}

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

func (*FrontDoorsCreateOrUpdateFutureType) Result Uses

func (future *FrontDoorsCreateOrUpdateFutureType) Result(client FrontDoorsClient) (fd FrontDoor, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FrontDoorsDeleteFutureType Uses

type FrontDoorsDeleteFutureType struct {
    azure.Future
}

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

func (*FrontDoorsDeleteFutureType) Result Uses

func (future *FrontDoorsDeleteFutureType) Result(client FrontDoorsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FrontendEndpoint Uses

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"`
}

FrontendEndpoint a frontend endpoint used for routing.

func (FrontendEndpoint) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for FrontendEndpoint.

func (*FrontendEndpoint) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for FrontendEndpoint struct.

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

FrontendEndpointLink defines the Resource ID for a Frontend Endpoint.

type FrontendEndpointProperties Uses

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"`
}

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

type FrontendEndpointUpdateParameters Uses

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"`
}

FrontendEndpointUpdateParameters frontend endpoint used in routing rule

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

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

type FrontendEndpointsClient Uses

type FrontendEndpointsClient struct {
    BaseClient
}

FrontendEndpointsClient is the frontDoor Client

func NewFrontendEndpointsClient Uses

func NewFrontendEndpointsClient(subscriptionID string) FrontendEndpointsClient

NewFrontendEndpointsClient creates an instance of the FrontendEndpointsClient client.

func NewFrontendEndpointsClientWithBaseURI Uses

func NewFrontendEndpointsClientWithBaseURI(baseURI string, subscriptionID string) FrontendEndpointsClient

NewFrontendEndpointsClientWithBaseURI creates an instance of the FrontendEndpointsClient client.

func (FrontendEndpointsClient) CreateOrUpdate Uses

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

CreateOrUpdate creates a new frontend endpoint with the specified host 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. frontendEndpointParameters - frontend endpoint properties needed to create a new endpoint.

func (FrontendEndpointsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FrontendEndpointsClient) CreateOrUpdateResponder Uses

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

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

func (FrontendEndpointsClient) CreateOrUpdateSender Uses

func (client FrontendEndpointsClient) CreateOrUpdateSender(req *http.Request) (future FrontendEndpointsCreateOrUpdateFuture, err error)

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

func (FrontendEndpointsClient) Delete Uses

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

Delete deletes an existing frontend endpoint 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. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door.

func (FrontendEndpointsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (FrontendEndpointsClient) DeleteResponder Uses

func (client FrontendEndpointsClient) 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 (FrontendEndpointsClient) DeleteSender Uses

func (client FrontendEndpointsClient) DeleteSender(req *http.Request) (future FrontendEndpointsDeleteFuture, err error)

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

func (FrontendEndpointsClient) DisableHTTPS Uses

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 Uses

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

DisableHTTPSPreparer prepares the DisableHTTPS request.

func (FrontendEndpointsClient) DisableHTTPSResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (FrontendEndpointsClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (FrontendEndpointsClient) ListByFrontDoorResponder Uses

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 Uses

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 FrontendEndpointsCreateOrUpdateFuture Uses

type FrontendEndpointsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*FrontendEndpointsCreateOrUpdateFuture) Result Uses

func (future *FrontendEndpointsCreateOrUpdateFuture) Result(client FrontendEndpointsClient) (fe FrontendEndpoint, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FrontendEndpointsDeleteFuture Uses

type FrontendEndpointsDeleteFuture struct {
    azure.Future
}

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

func (*FrontendEndpointsDeleteFuture) Result Uses

func (future *FrontendEndpointsDeleteFuture) Result(client FrontendEndpointsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FrontendEndpointsDisableHTTPSFuture Uses

type FrontendEndpointsDisableHTTPSFuture struct {
    azure.Future
}

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

func (*FrontendEndpointsDisableHTTPSFuture) Result Uses

func (future *FrontendEndpointsDisableHTTPSFuture) Result(client FrontendEndpointsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FrontendEndpointsEnableHTTPSFuture Uses

type FrontendEndpointsEnableHTTPSFuture struct {
    azure.Future
}

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

func (*FrontendEndpointsEnableHTTPSFuture) Result Uses

func (future *FrontendEndpointsEnableHTTPSFuture) Result(client FrontendEndpointsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FrontendEndpointsListResult Uses

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"`
}

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.

func (FrontendEndpointsListResult) IsEmpty Uses

func (felr FrontendEndpointsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FrontendEndpointsListResultIterator Uses

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

FrontendEndpointsListResultIterator provides access to a complete listing of FrontendEndpoint values.

func NewFrontendEndpointsListResultIterator Uses

func NewFrontendEndpointsListResultIterator(page FrontendEndpointsListResultPage) FrontendEndpointsListResultIterator

Creates a new instance of the FrontendEndpointsListResultIterator type.

func (*FrontendEndpointsListResultIterator) Next Uses

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 Uses

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 Uses

func (iter FrontendEndpointsListResultIterator) NotDone() bool

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

func (FrontendEndpointsListResultIterator) Response Uses

func (iter FrontendEndpointsListResultIterator) Response() FrontendEndpointsListResult

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

func (FrontendEndpointsListResultIterator) Value Uses

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 Uses

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

FrontendEndpointsListResultPage contains a page of FrontendEndpoint values.

func NewFrontendEndpointsListResultPage Uses

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

Creates a new instance of the FrontendEndpointsListResultPage type.

func (*FrontendEndpointsListResultPage) Next Uses

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 Uses

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 Uses

func (page FrontendEndpointsListResultPage) NotDone() bool

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

func (FrontendEndpointsListResultPage) Response Uses

func (page FrontendEndpointsListResultPage) Response() FrontendEndpointsListResult

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

func (FrontendEndpointsListResultPage) Values Uses

func (page FrontendEndpointsListResultPage) Values() []FrontendEndpoint

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

type HealthProbeSettingsClient Uses

type HealthProbeSettingsClient struct {
    BaseClient
}

HealthProbeSettingsClient is the frontDoor Client

func NewHealthProbeSettingsClient Uses

func NewHealthProbeSettingsClient(subscriptionID string) HealthProbeSettingsClient

NewHealthProbeSettingsClient creates an instance of the HealthProbeSettingsClient client.

func NewHealthProbeSettingsClientWithBaseURI Uses

func NewHealthProbeSettingsClientWithBaseURI(baseURI string, subscriptionID string) HealthProbeSettingsClient

NewHealthProbeSettingsClientWithBaseURI creates an instance of the HealthProbeSettingsClient client.

func (HealthProbeSettingsClient) CreateOrUpdate Uses

func (client HealthProbeSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, healthProbeSettingsName string, healthProbeSettingsParameters HealthProbeSettingsModel) (result HealthProbeSettingsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new HealthProbeSettings with the specified Rule 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. healthProbeSettingsName - name of the health probe settings which is unique within the Front Door. healthProbeSettingsParameters - healthProbeSettings properties needed to create a new Front Door.

func (HealthProbeSettingsClient) CreateOrUpdatePreparer Uses

func (client HealthProbeSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, healthProbeSettingsName string, healthProbeSettingsParameters HealthProbeSettingsModel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HealthProbeSettingsClient) CreateOrUpdateResponder Uses

func (client HealthProbeSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result HealthProbeSettingsModel, err error)

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

func (HealthProbeSettingsClient) CreateOrUpdateSender Uses

func (client HealthProbeSettingsClient) CreateOrUpdateSender(req *http.Request) (future HealthProbeSettingsCreateOrUpdateFuture, err error)

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

func (HealthProbeSettingsClient) Delete Uses

func (client HealthProbeSettingsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, healthProbeSettingsName string) (result HealthProbeSettingsDeleteFuture, err error)

Delete deletes an existing HealthProbeSettings 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. healthProbeSettingsName - name of the health probe settings which is unique within the Front Door.

func (HealthProbeSettingsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (HealthProbeSettingsClient) DeleteResponder Uses

func (client HealthProbeSettingsClient) 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 (HealthProbeSettingsClient) DeleteSender Uses

func (client HealthProbeSettingsClient) DeleteSender(req *http.Request) (future HealthProbeSettingsDeleteFuture, err error)

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

func (HealthProbeSettingsClient) Get Uses

func (client HealthProbeSettingsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, healthProbeSettingsName string) (result HealthProbeSettingsModel, err error)

Get gets a HealthProbeSettings with the specified Rule 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. healthProbeSettingsName - name of the health probe settings which is unique within the Front Door.

func (HealthProbeSettingsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (HealthProbeSettingsClient) GetResponder Uses

func (client HealthProbeSettingsClient) GetResponder(resp *http.Response) (result HealthProbeSettingsModel, err error)

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

func (HealthProbeSettingsClient) GetSender Uses

func (client HealthProbeSettingsClient) 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 (HealthProbeSettingsClient) ListByFrontDoor Uses

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

ListByFrontDoor lists all of the HealthProbeSettings 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 (HealthProbeSettingsClient) ListByFrontDoorComplete Uses

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

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

func (HealthProbeSettingsClient) ListByFrontDoorPreparer Uses

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

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (HealthProbeSettingsClient) ListByFrontDoorResponder Uses

func (client HealthProbeSettingsClient) ListByFrontDoorResponder(resp *http.Response) (result HealthProbeSettingsListResult, err error)

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

func (HealthProbeSettingsClient) ListByFrontDoorSender Uses

func (client HealthProbeSettingsClient) 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 HealthProbeSettingsCreateOrUpdateFuture Uses

type HealthProbeSettingsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*HealthProbeSettingsCreateOrUpdateFuture) Result Uses

func (future *HealthProbeSettingsCreateOrUpdateFuture) Result(client HealthProbeSettingsClient) (hpsm HealthProbeSettingsModel, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type HealthProbeSettingsDeleteFuture Uses

type HealthProbeSettingsDeleteFuture struct {
    azure.Future
}

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

func (*HealthProbeSettingsDeleteFuture) Result Uses

func (future *HealthProbeSettingsDeleteFuture) Result(client HealthProbeSettingsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type HealthProbeSettingsListResult Uses

type HealthProbeSettingsListResult struct {
    autorest.Response `json:"-"`
    // 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"`
}

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.

func (HealthProbeSettingsListResult) IsEmpty Uses

func (hpslr HealthProbeSettingsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HealthProbeSettingsListResultIterator Uses

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

HealthProbeSettingsListResultIterator provides access to a complete listing of HealthProbeSettingsModel values.

func NewHealthProbeSettingsListResultIterator Uses

func NewHealthProbeSettingsListResultIterator(page HealthProbeSettingsListResultPage) HealthProbeSettingsListResultIterator

Creates a new instance of the HealthProbeSettingsListResultIterator type.

func (*HealthProbeSettingsListResultIterator) Next Uses

func (iter *HealthProbeSettingsListResultIterator) 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 (*HealthProbeSettingsListResultIterator) NextWithContext Uses

func (iter *HealthProbeSettingsListResultIterator) 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 (HealthProbeSettingsListResultIterator) NotDone Uses

func (iter HealthProbeSettingsListResultIterator) NotDone() bool

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

func (HealthProbeSettingsListResultIterator) Response Uses

func (iter HealthProbeSettingsListResultIterator) Response() HealthProbeSettingsListResult

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

func (HealthProbeSettingsListResultIterator) Value Uses

func (iter HealthProbeSettingsListResultIterator) Value() HealthProbeSettingsModel

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

type HealthProbeSettingsListResultPage Uses

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

HealthProbeSettingsListResultPage contains a page of HealthProbeSettingsModel values.

func NewHealthProbeSettingsListResultPage Uses

func NewHealthProbeSettingsListResultPage(getNextPage func(context.Context, HealthProbeSettingsListResult) (HealthProbeSettingsListResult, error)) HealthProbeSettingsListResultPage

Creates a new instance of the HealthProbeSettingsListResultPage type.

func (*HealthProbeSettingsListResultPage) Next Uses

func (page *HealthProbeSettingsListResultPage) 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 (*HealthProbeSettingsListResultPage) NextWithContext Uses

func (page *HealthProbeSettingsListResultPage) 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 (HealthProbeSettingsListResultPage) NotDone Uses

func (page HealthProbeSettingsListResultPage) NotDone() bool

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

func (HealthProbeSettingsListResultPage) Response Uses

func (page HealthProbeSettingsListResultPage) Response() HealthProbeSettingsListResult

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

func (HealthProbeSettingsListResultPage) Values Uses

func (page HealthProbeSettingsListResultPage) Values() []HealthProbeSettingsModel

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

type HealthProbeSettingsModel Uses

type HealthProbeSettingsModel struct {
    autorest.Response `json:"-"`
    // 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"`
}

HealthProbeSettingsModel load balancing settings for a backend pool

func (HealthProbeSettingsModel) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for HealthProbeSettingsModel.

func (*HealthProbeSettingsModel) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for HealthProbeSettingsModel struct.

type HealthProbeSettingsProperties Uses

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"`
}

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

type HealthProbeSettingsUpdateParameters Uses

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"`
}

HealthProbeSettingsUpdateParameters l7 health probe settings for a backend pool

type KeyVaultCertificateSourceParameters Uses

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"`
}

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

type KeyVaultCertificateSourceParametersVault Uses

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

KeyVaultCertificateSourceParametersVault the Key Vault containing the SSL certificate

type ListResult Uses

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"`
}

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.

func (ListResult) IsEmpty Uses

func (lr ListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListResultIterator Uses

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

ListResultIterator provides access to a complete listing of FrontDoor values.

func NewListResultIterator Uses

func NewListResultIterator(page ListResultPage) ListResultIterator

Creates a new instance of the ListResultIterator type.

func (*ListResultIterator) Next Uses

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 Uses

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 Uses

func (iter ListResultIterator) NotDone() bool

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

func (ListResultIterator) Response Uses

func (iter ListResultIterator) Response() ListResult

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

func (ListResultIterator) Value Uses

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 Uses

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

ListResultPage contains a page of FrontDoor values.

func NewListResultPage Uses

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

Creates a new instance of the ListResultPage type.

func (*ListResultPage) Next Uses

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 Uses

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 Uses

func (page ListResultPage) NotDone() bool

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

func (ListResultPage) Response Uses

func (page ListResultPage) Response() ListResult

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

func (ListResultPage) Values Uses

func (page ListResultPage) Values() []FrontDoor

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

type LoadBalancingSettingsClient Uses

type LoadBalancingSettingsClient struct {
    BaseClient
}

LoadBalancingSettingsClient is the frontDoor Client

func NewLoadBalancingSettingsClient Uses

func NewLoadBalancingSettingsClient(subscriptionID string) LoadBalancingSettingsClient

NewLoadBalancingSettingsClient creates an instance of the LoadBalancingSettingsClient client.

func NewLoadBalancingSettingsClientWithBaseURI Uses

func NewLoadBalancingSettingsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancingSettingsClient

NewLoadBalancingSettingsClientWithBaseURI creates an instance of the LoadBalancingSettingsClient client.

func (LoadBalancingSettingsClient) CreateOrUpdate Uses

func (client LoadBalancingSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, loadBalancingSettingsName string, loadBalancingSettingsParameters LoadBalancingSettingsModel) (result LoadBalancingSettingsCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new LoadBalancingSettings with the specified Rule 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. loadBalancingSettingsName - name of the load balancing settings which is unique within the Front Door. loadBalancingSettingsParameters - loadBalancingSettings properties needed to create a new Front Door.

func (LoadBalancingSettingsClient) CreateOrUpdatePreparer Uses

func (client LoadBalancingSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, loadBalancingSettingsName string, loadBalancingSettingsParameters LoadBalancingSettingsModel) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LoadBalancingSettingsClient) CreateOrUpdateResponder Uses

func (client LoadBalancingSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result LoadBalancingSettingsModel, err error)

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

func (LoadBalancingSettingsClient) CreateOrUpdateSender Uses

func (client LoadBalancingSettingsClient) CreateOrUpdateSender(req *http.Request) (future LoadBalancingSettingsCreateOrUpdateFuture, err error)

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

func (LoadBalancingSettingsClient) Delete Uses

func (client LoadBalancingSettingsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, loadBalancingSettingsName string) (result LoadBalancingSettingsDeleteFuture, err error)

Delete deletes an existing LoadBalancingSettings 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. loadBalancingSettingsName - name of the load balancing settings which is unique within the Front Door.

func (LoadBalancingSettingsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (LoadBalancingSettingsClient) DeleteResponder Uses

func (client LoadBalancingSettingsClient) 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 (LoadBalancingSettingsClient) DeleteSender Uses

func (client LoadBalancingSettingsClient) DeleteSender(req *http.Request) (future LoadBalancingSettingsDeleteFuture, err error)

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

func (LoadBalancingSettingsClient) Get Uses

func (client LoadBalancingSettingsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, loadBalancingSettingsName string) (result LoadBalancingSettingsModel, err error)

Get gets a LoadBalancingSettings with the specified Rule 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. loadBalancingSettingsName - name of the load balancing settings which is unique within the Front Door.

func (LoadBalancingSettingsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (LoadBalancingSettingsClient) GetResponder Uses

func (client LoadBalancingSettingsClient) GetResponder(resp *http.Response) (result LoadBalancingSettingsModel, err error)

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

func (LoadBalancingSettingsClient) GetSender Uses

func (client LoadBalancingSettingsClient) 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 (LoadBalancingSettingsClient) ListByFrontDoor Uses

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

ListByFrontDoor lists all of the LoadBalancingSettings 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 (LoadBalancingSettingsClient) ListByFrontDoorComplete Uses

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

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

func (LoadBalancingSettingsClient) ListByFrontDoorPreparer Uses

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

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (LoadBalancingSettingsClient) ListByFrontDoorResponder Uses

func (client LoadBalancingSettingsClient) ListByFrontDoorResponder(resp *http.Response) (result LoadBalancingSettingsListResult, err error)

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

func (LoadBalancingSettingsClient) ListByFrontDoorSender Uses

func (client LoadBalancingSettingsClient) 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 LoadBalancingSettingsCreateOrUpdateFuture Uses

type LoadBalancingSettingsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*LoadBalancingSettingsCreateOrUpdateFuture) Result Uses

func (future *LoadBalancingSettingsCreateOrUpdateFuture) Result(client LoadBalancingSettingsClient) (lbsm LoadBalancingSettingsModel, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LoadBalancingSettingsDeleteFuture Uses

type LoadBalancingSettingsDeleteFuture struct {
    azure.Future
}

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

func (*LoadBalancingSettingsDeleteFuture) Result Uses

func (future *LoadBalancingSettingsDeleteFuture) Result(client LoadBalancingSettingsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type LoadBalancingSettingsListResult Uses

type LoadBalancingSettingsListResult struct {
    autorest.Response `json:"-"`
    // 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"`
}

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.

func (LoadBalancingSettingsListResult) IsEmpty Uses

func (lbslr LoadBalancingSettingsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LoadBalancingSettingsListResultIterator Uses

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

LoadBalancingSettingsListResultIterator provides access to a complete listing of LoadBalancingSettingsModel values.

func NewLoadBalancingSettingsListResultIterator Uses

func NewLoadBalancingSettingsListResultIterator(page LoadBalancingSettingsListResultPage) LoadBalancingSettingsListResultIterator

Creates a new instance of the LoadBalancingSettingsListResultIterator type.

func (*LoadBalancingSettingsListResultIterator) Next Uses

func (iter *LoadBalancingSettingsListResultIterator) 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 (*LoadBalancingSettingsListResultIterator) NextWithContext Uses

func (iter *LoadBalancingSettingsListResultIterator) 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 (LoadBalancingSettingsListResultIterator) NotDone Uses

func (iter LoadBalancingSettingsListResultIterator) NotDone() bool

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

func (LoadBalancingSettingsListResultIterator) Response Uses

func (iter LoadBalancingSettingsListResultIterator) Response() LoadBalancingSettingsListResult

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

func (LoadBalancingSettingsListResultIterator) Value Uses

func (iter LoadBalancingSettingsListResultIterator) Value() LoadBalancingSettingsModel

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

type LoadBalancingSettingsListResultPage Uses

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

LoadBalancingSettingsListResultPage contains a page of LoadBalancingSettingsModel values.

func NewLoadBalancingSettingsListResultPage Uses

func NewLoadBalancingSettingsListResultPage(getNextPage func(context.Context, LoadBalancingSettingsListResult) (LoadBalancingSettingsListResult, error)) LoadBalancingSettingsListResultPage

Creates a new instance of the LoadBalancingSettingsListResultPage type.

func (*LoadBalancingSettingsListResultPage) Next Uses

func (page *LoadBalancingSettingsListResultPage) 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 (*LoadBalancingSettingsListResultPage) NextWithContext Uses

func (page *LoadBalancingSettingsListResultPage) 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 (LoadBalancingSettingsListResultPage) NotDone Uses

func (page LoadBalancingSettingsListResultPage) NotDone() bool

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

func (LoadBalancingSettingsListResultPage) Response Uses

func (page LoadBalancingSettingsListResultPage) Response() LoadBalancingSettingsListResult

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

func (LoadBalancingSettingsListResultPage) Values Uses

func (page LoadBalancingSettingsListResultPage) Values() []LoadBalancingSettingsModel

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

type LoadBalancingSettingsModel Uses

type LoadBalancingSettingsModel struct {
    autorest.Response `json:"-"`
    // 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"`
}

LoadBalancingSettingsModel load balancing settings for a backend pool

func (LoadBalancingSettingsModel) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for LoadBalancingSettingsModel.

func (*LoadBalancingSettingsModel) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for LoadBalancingSettingsModel struct.

type LoadBalancingSettingsProperties Uses

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"`
}

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

type LoadBalancingSettingsUpdateParameters Uses

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"`
}

LoadBalancingSettingsUpdateParameters round-Robin load balancing settings for a backend pool

type ManagedRuleDefinition Uses

type ManagedRuleDefinition struct {
    // RuleID - READ-ONLY; Identifier for the managed rule.
    RuleID *string `json:"ruleId,omitempty"`
    // Description - READ-ONLY; Describes the functionality of the managed rule.
    Description *string `json:"description,omitempty"`
}

ManagedRuleDefinition describes a managed rule definition.

type ManagedRuleEnabledState Uses

type ManagedRuleEnabledState string

ManagedRuleEnabledState enumerates the values for managed rule enabled state.

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

func PossibleManagedRuleEnabledStateValues Uses

func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState

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

type ManagedRuleGroupDefinition Uses

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"`
}

ManagedRuleGroupDefinition describes a managed rule group.

type ManagedRuleGroupOverride Uses

type ManagedRuleGroupOverride struct {
    // RuleGroupName - Describes the managed rule group to override.
    RuleGroupName *string `json:"ruleGroupName,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"`
}

ManagedRuleGroupOverride defines a managed rule group override setting.

type ManagedRuleOverride Uses

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"`
}

ManagedRuleOverride defines a managed rule group override setting.

type ManagedRuleSet Uses

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"`
    // RuleGroupOverrides - Defines the rule group overrides to apply to the rule set.
    RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"`
}

ManagedRuleSet defines a managed rule set.

type ManagedRuleSetDefinition Uses

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"`
}

ManagedRuleSetDefinition describes the a managed rule set definition.

func (ManagedRuleSetDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ManagedRuleSetDefinition.

func (*ManagedRuleSetDefinition) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ManagedRuleSetDefinition struct.

type ManagedRuleSetDefinitionList Uses

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"`
}

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

func (ManagedRuleSetDefinitionList) IsEmpty Uses

func (mrsdl ManagedRuleSetDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ManagedRuleSetDefinitionListIterator Uses

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

ManagedRuleSetDefinitionListIterator provides access to a complete listing of ManagedRuleSetDefinition values.

func NewManagedRuleSetDefinitionListIterator Uses

func NewManagedRuleSetDefinitionListIterator(page ManagedRuleSetDefinitionListPage) ManagedRuleSetDefinitionListIterator

Creates a new instance of the ManagedRuleSetDefinitionListIterator type.

func (*ManagedRuleSetDefinitionListIterator) Next Uses

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 Uses

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 Uses

func (iter ManagedRuleSetDefinitionListIterator) NotDone() bool

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

func (ManagedRuleSetDefinitionListIterator) Response Uses

func (iter ManagedRuleSetDefinitionListIterator) Response() ManagedRuleSetDefinitionList

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

func (ManagedRuleSetDefinitionListIterator) Value Uses

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 Uses

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

ManagedRuleSetDefinitionListPage contains a page of ManagedRuleSetDefinition values.

func NewManagedRuleSetDefinitionListPage Uses

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

Creates a new instance of the ManagedRuleSetDefinitionListPage type.

func (*ManagedRuleSetDefinitionListPage) Next Uses

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 Uses

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 Uses

func (page ManagedRuleSetDefinitionListPage) NotDone() bool

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

func (ManagedRuleSetDefinitionListPage) Response Uses

func (page ManagedRuleSetDefinitionListPage) Response() ManagedRuleSetDefinitionList

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

func (ManagedRuleSetDefinitionListPage) Values Uses

func (page ManagedRuleSetDefinitionListPage) Values() []ManagedRuleSetDefinition

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

type ManagedRuleSetDefinitionProperties Uses

type ManagedRuleSetDefinitionProperties struct {
    // ProvisioningState - READ-ONLY; Provisioning state of the managed rule set.
    ProvisioningState *string `json:"provisioningState,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"`
}

ManagedRuleSetDefinitionProperties properties for a managed rule set definition.

type ManagedRuleSetList Uses

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

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

type ManagedRuleSetsClient Uses

type ManagedRuleSetsClient struct {
    BaseClient
}

ManagedRuleSetsClient is the frontDoor Client

func NewManagedRuleSetsClient Uses

func NewManagedRuleSetsClient(subscriptionID string) ManagedRuleSetsClient

NewManagedRuleSetsClient creates an instance of the ManagedRuleSetsClient client.

func NewManagedRuleSetsClientWithBaseURI Uses

func NewManagedRuleSetsClientWithBaseURI(baseURI string, subscriptionID string) ManagedRuleSetsClient

NewManagedRuleSetsClientWithBaseURI creates an instance of the ManagedRuleSetsClient client.

func (ManagedRuleSetsClient) List Uses

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

List lists all available managed rule sets.

func (ManagedRuleSetsClient) ListComplete Uses

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

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

func (ManagedRuleSetsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ManagedRuleSetsClient) ListResponder Uses

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 Uses

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 Uses

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: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'RegEx'
    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"`
}

MatchCondition define a match condition.

type MatchVariable Uses

type MatchVariable string

MatchVariable enumerates the values for match variable.

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 Uses

func PossibleMatchVariableValues() []MatchVariable

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

type NetworkOperationStatus Uses

type NetworkOperationStatus string

NetworkOperationStatus enumerates the values for network operation status.

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

func PossibleNetworkOperationStatusValues Uses

func PossibleNetworkOperationStatusValues() []NetworkOperationStatus

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

type OdataType Uses

type OdataType string

OdataType enumerates the values for odata type.

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

func PossibleOdataTypeValues Uses

func PossibleOdataTypeValues() []OdataType

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

type Operator Uses

type Operator string

Operator enumerates the values for operator.

const (
    // Any ...
    Any Operator = "Any"
    // BeginsWith ...
    BeginsWith Operator = "BeginsWith"
    // Contains ...
    Contains Operator = "Contains"
    // EndsWith ...
    EndsWith Operator = "EndsWith"
    // Equal ...
    Equal Operator = "Equal"
    // GeoMatch ...
    GeoMatch Operator = "GeoMatch"
    // GreaterThan ...
    GreaterThan Operator = "GreaterThan"
    // GreaterThanOrEqual ...
    GreaterThanOrEqual Operator = "GreaterThanOrEqual"
    // IPMatch ...
    IPMatch Operator = "IPMatch"
    // LessThan ...
    LessThan Operator = "LessThan"
    // LessThanOrEqual ...
    LessThanOrEqual Operator = "LessThanOrEqual"
    // RegEx ...
    RegEx Operator = "RegEx"
)

func PossibleOperatorValues Uses

func PossibleOperatorValues() []Operator

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

type PoliciesClient Uses

type PoliciesClient struct {
    BaseClient
}

PoliciesClient is the frontDoor Client

func NewPoliciesClient Uses

func NewPoliciesClient(subscriptionID string) PoliciesClient

NewPoliciesClient creates an instance of the PoliciesClient client.

func NewPoliciesClientWithBaseURI Uses

func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient

NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client.

func (PoliciesClient) CreateOrUpdate Uses

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 Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PoliciesClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (PoliciesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (PoliciesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (PoliciesClient) ListResponder Uses

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 Uses

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 Uses

type PoliciesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PoliciesCreateOrUpdateFuture) Result Uses

func (future *PoliciesCreateOrUpdateFuture) Result(client PoliciesClient) (wafp WebApplicationFirewallPolicy, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PoliciesDeleteFuture Uses

type PoliciesDeleteFuture struct {
    azure.Future
}

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

func (*PoliciesDeleteFuture) Result Uses

func (future *PoliciesDeleteFuture) Result(client PoliciesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PolicyEnabledState Uses

type PolicyEnabledState string

PolicyEnabledState enumerates the values for policy enabled state.

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

func PossiblePolicyEnabledStateValues Uses

func PossiblePolicyEnabledStateValues() []PolicyEnabledState

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

type PolicyMode Uses

type PolicyMode string

PolicyMode enumerates the values for policy mode.

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

func PossiblePolicyModeValues Uses

func PossiblePolicyModeValues() []PolicyMode

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

type PolicyResourceState Uses

type PolicyResourceState string

PolicyResourceState enumerates the values for policy resource state.

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 Uses

func PossiblePolicyResourceStateValues() []PolicyResourceState

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

type PolicySettings Uses

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"`
}

PolicySettings defines top-level WebApplicationFirewallPolicy configuration settings.

type Properties Uses

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"`
    // 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"`
}

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

type Protocol Uses

type Protocol string

Protocol enumerates the values for protocol.

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

func PossibleProtocolValues Uses

func PossibleProtocolValues() []Protocol

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

type PurgeParameters Uses

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"`
}

PurgeParameters parameters required for content purge.

type Query Uses

type Query string

Query enumerates the values for query.

const (
    // StripAll ...
    StripAll Query = "StripAll"
    // StripNone ...
    StripNone Query = "StripNone"
)

func PossibleQueryValues Uses

func PossibleQueryValues() []Query

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

type RedirectConfiguration Uses

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"`
}

RedirectConfiguration describes Redirect Route.

func (RedirectConfiguration) AsBasicRouteConfiguration Uses

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

AsBasicRouteConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) AsForwardingConfiguration Uses

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

AsForwardingConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) AsRedirectConfiguration Uses

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

AsRedirectConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) AsRouteConfiguration Uses

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

AsRouteConfiguration is the BasicRouteConfiguration implementation for RedirectConfiguration.

func (RedirectConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RedirectConfiguration.

type RedirectProtocol Uses

type RedirectProtocol string

RedirectProtocol enumerates the values for redirect protocol.

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

func PossibleRedirectProtocolValues Uses

func PossibleRedirectProtocolValues() []RedirectProtocol

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

type RedirectType Uses

type RedirectType string

RedirectType enumerates the values for redirect type.

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

func PossibleRedirectTypeValues Uses

func PossibleRedirectTypeValues() []RedirectType

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

type Resource Uses

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"`
}

Resource common resource representation.

func (Resource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Resource.

type ResourceState Uses

type ResourceState string

ResourceState enumerates the values for resource state.

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 Uses

func PossibleResourceStateValues() []ResourceState

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

type ResourceType Uses

type ResourceType string

ResourceType enumerates the values for resource type.

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

func PossibleResourceTypeValues Uses

func PossibleResourceTypeValues() []ResourceType

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

type RouteConfiguration Uses

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

RouteConfiguration base class for all types of Route.

func (RouteConfiguration) AsBasicRouteConfiguration Uses

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

AsBasicRouteConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) AsForwardingConfiguration Uses

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

AsForwardingConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) AsRedirectConfiguration Uses

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

AsRedirectConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) AsRouteConfiguration Uses

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

AsRouteConfiguration is the BasicRouteConfiguration implementation for RouteConfiguration.

func (RouteConfiguration) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RouteConfiguration.

type RoutingRule Uses

type RoutingRule struct {
    autorest.Response `json:"-"`
    // 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"`
}

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

func (RoutingRule) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for RoutingRule.

func (*RoutingRule) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RoutingRule struct.

type RoutingRuleEnabledState Uses

type RoutingRuleEnabledState string

RoutingRuleEnabledState enumerates the values for routing rule enabled state.

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

func PossibleRoutingRuleEnabledStateValues Uses

func PossibleRoutingRuleEnabledStateValues() []RoutingRuleEnabledState

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

type RoutingRuleListResult Uses

type RoutingRuleListResult struct {
    autorest.Response `json:"-"`
    // 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"`
}

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.

func (RoutingRuleListResult) IsEmpty Uses

func (rrlr RoutingRuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RoutingRuleListResultIterator Uses

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

RoutingRuleListResultIterator provides access to a complete listing of RoutingRule values.

func NewRoutingRuleListResultIterator Uses

func NewRoutingRuleListResultIterator(page RoutingRuleListResultPage) RoutingRuleListResultIterator

Creates a new instance of the RoutingRuleListResultIterator type.

func (*RoutingRuleListResultIterator) Next Uses

func (iter *RoutingRuleListResultIterator) 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 (*RoutingRuleListResultIterator) NextWithContext Uses

func (iter *RoutingRuleListResultIterator) 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 (RoutingRuleListResultIterator) NotDone Uses

func (iter RoutingRuleListResultIterator) NotDone() bool

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

func (RoutingRuleListResultIterator) Response Uses

func (iter RoutingRuleListResultIterator) Response() RoutingRuleListResult

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

func (RoutingRuleListResultIterator) Value Uses

func (iter RoutingRuleListResultIterator) Value() RoutingRule

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

type RoutingRuleListResultPage Uses

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

RoutingRuleListResultPage contains a page of RoutingRule values.

func NewRoutingRuleListResultPage Uses

func NewRoutingRuleListResultPage(getNextPage func(context.Context, RoutingRuleListResult) (RoutingRuleListResult, error)) RoutingRuleListResultPage

Creates a new instance of the RoutingRuleListResultPage type.

func (*RoutingRuleListResultPage) Next Uses

func (page *RoutingRuleListResultPage) 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 (*RoutingRuleListResultPage) NextWithContext Uses

func (page *RoutingRuleListResultPage) 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 (RoutingRuleListResultPage) NotDone Uses

func (page RoutingRuleListResultPage) NotDone() bool

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

func (RoutingRuleListResultPage) Response Uses

func (page RoutingRuleListResultPage) Response() RoutingRuleListResult

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

func (RoutingRuleListResultPage) Values Uses

func (page RoutingRuleListResultPage) Values() []RoutingRule

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

type RoutingRuleProperties Uses

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"`
}

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

func (*RoutingRuleProperties) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RoutingRuleProperties struct.

type RoutingRuleUpdateParameters Uses

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"`
}

RoutingRuleUpdateParameters routing rules to apply to an endpoint

func (*RoutingRuleUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for RoutingRuleUpdateParameters struct.

type RoutingRulesClient Uses

type RoutingRulesClient struct {
    BaseClient
}

RoutingRulesClient is the frontDoor Client

func NewRoutingRulesClient Uses

func NewRoutingRulesClient(subscriptionID string) RoutingRulesClient

NewRoutingRulesClient creates an instance of the RoutingRulesClient client.

func NewRoutingRulesClientWithBaseURI Uses

func NewRoutingRulesClientWithBaseURI(baseURI string, subscriptionID string) RoutingRulesClient

NewRoutingRulesClientWithBaseURI creates an instance of the RoutingRulesClient client.

func (RoutingRulesClient) CreateOrUpdate Uses

func (client RoutingRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, routingRuleName string, routingRuleParameters RoutingRule) (result RoutingRulesCreateOrUpdateFuture, err error)

CreateOrUpdate creates a new Routing Rule with the specified Rule 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. routingRuleName - name of the Routing Rule which is unique within the Front Door. routingRuleParameters - routing Rule properties needed to create a new Front Door.

func (RoutingRulesClient) CreateOrUpdatePreparer Uses

func (client RoutingRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, routingRuleName string, routingRuleParameters RoutingRule) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RoutingRulesClient) CreateOrUpdateResponder Uses

func (client RoutingRulesClient) CreateOrUpdateResponder(resp *http.Response) (result RoutingRule, err error)

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

func (RoutingRulesClient) CreateOrUpdateSender Uses

func (client RoutingRulesClient) CreateOrUpdateSender(req *http.Request) (future RoutingRulesCreateOrUpdateFuture, err error)

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

func (RoutingRulesClient) Delete Uses

func (client RoutingRulesClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, routingRuleName string) (result RoutingRulesDeleteFuture, err error)

Delete deletes an existing Routing Rule 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. routingRuleName - name of the Routing Rule which is unique within the Front Door.

func (RoutingRulesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (RoutingRulesClient) DeleteResponder Uses

func (client RoutingRulesClient) 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 (RoutingRulesClient) DeleteSender Uses

func (client RoutingRulesClient) DeleteSender(req *http.Request) (future RoutingRulesDeleteFuture, err error)

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

func (RoutingRulesClient) Get Uses

func (client RoutingRulesClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, routingRuleName string) (result RoutingRule, err error)

Get gets a Routing Rule with the specified Rule 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. routingRuleName - name of the Routing Rule which is unique within the Front Door.

func (RoutingRulesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (RoutingRulesClient) GetResponder Uses

func (client RoutingRulesClient) GetResponder(resp *http.Response) (result RoutingRule, err error)

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

func (RoutingRulesClient) GetSender Uses

func (client RoutingRulesClient) 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 (RoutingRulesClient) ListByFrontDoor Uses

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

ListByFrontDoor lists all of the Routing Rules 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 (RoutingRulesClient) ListByFrontDoorComplete Uses

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

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

func (RoutingRulesClient) ListByFrontDoorPreparer Uses

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

ListByFrontDoorPreparer prepares the ListByFrontDoor request.

func (RoutingRulesClient) ListByFrontDoorResponder Uses

func (client RoutingRulesClient) ListByFrontDoorResponder(resp *http.Response) (result RoutingRuleListResult, err error)

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

func (RoutingRulesClient) ListByFrontDoorSender Uses

func (client RoutingRulesClient) 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 RoutingRulesCreateOrUpdateFuture Uses

type RoutingRulesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*RoutingRulesCreateOrUpdateFuture) Result Uses

func (future *RoutingRulesCreateOrUpdateFuture) Result(client RoutingRulesClient) (rr RoutingRule, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RoutingRulesDeleteFuture Uses

type RoutingRulesDeleteFuture struct {
    azure.Future
}

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

func (*RoutingRulesDeleteFuture) Result Uses

func (future *RoutingRulesDeleteFuture) Result(client RoutingRulesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RuleType Uses

type RuleType string

RuleType enumerates the values for rule type.

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

func PossibleRuleTypeValues Uses

func PossibleRuleTypeValues() []RuleType

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

type SessionAffinityEnabledState Uses

type SessionAffinityEnabledState string

SessionAffinityEnabledState enumerates the values for session affinity enabled state.

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

func PossibleSessionAffinityEnabledStateValues Uses

func PossibleSessionAffinityEnabledStateValues() []SessionAffinityEnabledState

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

type SubResource Uses

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

SubResource reference to another subresource.

type TLSProtocolType Uses

type TLSProtocolType string

TLSProtocolType enumerates the values for tls protocol type.

const (
    // ServerNameIndication ...
    ServerNameIndication TLSProtocolType = "ServerNameIndication"
)

func PossibleTLSProtocolTypeValues Uses

func PossibleTLSProtocolTypeValues() []TLSProtocolType

PossibleTLSProtocolTypeValues returns an array of possible values for the TLSProtocolType const type.

type TagsObject Uses

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

TagsObject tags object for patch operations.

func (TagsObject) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TagsObject.

type TransformType Uses

type TransformType string

TransformType enumerates the values for transform type.

const (
    // Lowercase ...
    Lowercase TransformType = "Lowercase"
    // RemoveNulls ...
    RemoveNulls TransformType = "RemoveNulls"
    // Trim ...
    Trim TransformType = "Trim"
    // Uppercase ...
    Uppercase TransformType = "Uppercase"
    // URLDecode ...
    URLDecode TransformType = "UrlDecode"
    // URLEncode ...
    URLEncode TransformType = "UrlEncode"
)

func PossibleTransformTypeValues Uses

func PossibleTransformTypeValues() []TransformType

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

type UpdateParameters Uses

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"`
}

UpdateParameters the properties needed to update a Front Door

type ValidateCustomDomainInput Uses

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

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

type ValidateCustomDomainOutput Uses

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"`
}

ValidateCustomDomainOutput output of custom domain validation.

type WebApplicationFirewallPolicy Uses

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"`
}

WebApplicationFirewallPolicy defines web application firewall policy.

func (WebApplicationFirewallPolicy) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicy.

func (*WebApplicationFirewallPolicy) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for WebApplicationFirewallPolicy struct.

type WebApplicationFirewallPolicyList Uses

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"`
}

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

func (WebApplicationFirewallPolicyList) IsEmpty Uses

func (wafpl WebApplicationFirewallPolicyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WebApplicationFirewallPolicyListIterator Uses

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

WebApplicationFirewallPolicyListIterator provides access to a complete listing of WebApplicationFirewallPolicy values.

func NewWebApplicationFirewallPolicyListIterator Uses

func NewWebApplicationFirewallPolicyListIterator(page WebApplicationFirewallPolicyListPage) WebApplicationFirewallPolicyListIterator

Creates a new instance of the WebApplicationFirewallPolicyListIterator type.

func (*WebApplicationFirewallPolicyListIterator) Next Uses

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 Uses

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 Uses

func (iter WebApplicationFirewallPolicyListIterator) NotDone() bool

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

func (WebApplicationFirewallPolicyListIterator) Response Uses

func (iter WebApplicationFirewallPolicyListIterator) Response() WebApplicationFirewallPolicyList

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

func (WebApplicationFirewallPolicyListIterator) Value Uses

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 Uses

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

WebApplicationFirewallPolicyListPage contains a page of WebApplicationFirewallPolicy values.

func NewWebApplicationFirewallPolicyListPage Uses

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

Creates a new instance of the WebApplicationFirewallPolicyListPage type.

func (*WebApplicationFirewallPolicyListPage) Next Uses

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 Uses

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 Uses

func (page WebApplicationFirewallPolicyListPage) NotDone() bool

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

func (WebApplicationFirewallPolicyListPage) Response Uses

func (page WebApplicationFirewallPolicyListPage) Response() WebApplicationFirewallPolicyList

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

func (WebApplicationFirewallPolicyListPage) Values Uses

func (page WebApplicationFirewallPolicyListPage) Values() []WebApplicationFirewallPolicy

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

type WebApplicationFirewallPolicyProperties Uses

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"`
}

WebApplicationFirewallPolicyProperties defines web application firewall policy properties.

Directories

PathSynopsis
frontdoorapi

Package frontdoor imports 9 packages (graph) and is imported by 4 packages. Updated 2019-08-31. Refresh now. Tools for package owners.