Documentation ¶
Overview ¶
Package frontdoor implements the Azure ARM Frontdoor service API version .
FrontDoor Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type Action
- type Availability
- type AzureAsyncOperationResult
- type AzureManagedOverrideRuleGroup
- type AzureManagedRuleSet
- func (amrs AzureManagedRuleSet) AsAzureManagedRuleSet() (*AzureManagedRuleSet, bool)
- func (amrs AzureManagedRuleSet) AsBasicManagedRuleSet() (BasicManagedRuleSet, bool)
- func (amrs AzureManagedRuleSet) AsManagedRuleSet() (*ManagedRuleSet, bool)
- func (amrs AzureManagedRuleSet) MarshalJSON() ([]byte, error)
- type Backend
- type BackendPool
- type BackendPoolListResult
- type BackendPoolListResultIterator
- func (iter *BackendPoolListResultIterator) Next() error
- func (iter *BackendPoolListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter BackendPoolListResultIterator) NotDone() bool
- func (iter BackendPoolListResultIterator) Response() BackendPoolListResult
- func (iter BackendPoolListResultIterator) Value() BackendPool
- type BackendPoolListResultPage
- func (page *BackendPoolListResultPage) Next() error
- func (page *BackendPoolListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page BackendPoolListResultPage) NotDone() bool
- func (page BackendPoolListResultPage) Response() BackendPoolListResult
- func (page BackendPoolListResultPage) Values() []BackendPool
- type BackendPoolProperties
- type BackendPoolUpdateParameters
- type BackendPoolsClient
- func (client BackendPoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result BackendPoolsCreateOrUpdateFuture, err error)
- func (client BackendPoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client BackendPoolsClient) CreateOrUpdateResponder(resp *http.Response) (result BackendPool, err error)
- func (client BackendPoolsClient) CreateOrUpdateSender(req *http.Request) (future BackendPoolsCreateOrUpdateFuture, err error)
- func (client BackendPoolsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result BackendPoolsDeleteFuture, err error)
- func (client BackendPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client BackendPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BackendPoolsClient) DeleteSender(req *http.Request) (future BackendPoolsDeleteFuture, err error)
- func (client BackendPoolsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result BackendPool, err error)
- func (client BackendPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client BackendPoolsClient) GetResponder(resp *http.Response) (result BackendPool, err error)
- func (client BackendPoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BackendPoolsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result BackendPoolListResultPage, err error)
- func (client BackendPoolsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result BackendPoolListResultIterator, err error)
- func (client BackendPoolsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client BackendPoolsClient) ListByFrontDoorResponder(resp *http.Response) (result BackendPoolListResult, err error)
- func (client BackendPoolsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
- type BackendPoolsCreateOrUpdateFuture
- type BackendPoolsDeleteFuture
- type BaseClient
- func (client BaseClient) CheckFrontDoorNameAvailability(ctx context.Context, ...) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckFrontDoorNameAvailabilityPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) CheckFrontDoorNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckFrontDoorNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscription(ctx context.Context, ...) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error)
- type BasicManagedRuleSet
- type CacheConfiguration
- type CertificateSource
- type CertificateSourceParameters
- type CertificateType
- type CheckNameAvailabilityInput
- type CheckNameAvailabilityOutput
- type CustomHTTPSConfiguration
- type CustomHTTPSProvisioningState
- type CustomHTTPSProvisioningSubstate
- type CustomRule
- type CustomRules
- type DynamicCompressionEnabled
- type EnabledState
- type EnabledStateEnum
- type EndpointsClient
- func (client EndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result EndpointsPurgeContentFuture, err error)
- func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client EndpointsClient) PurgeContentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error)
- type EndpointsPurgeContentFuture
- type Error
- type ErrorDetails
- type ErrorResponse
- type ForwardingProtocol
- type FrontDoor
- type FrontDoorsClient
- func (client FrontDoorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result FrontDoorsCreateOrUpdateFutureType, err error)
- func (client FrontDoorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontDoorsClient) CreateOrUpdateResponder(resp *http.Response) (result FrontDoor, err error)
- func (client FrontDoorsClient) CreateOrUpdateSender(req *http.Request) (future FrontDoorsCreateOrUpdateFutureType, err error)
- func (client FrontDoorsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoorsDeleteFutureType, err error)
- func (client FrontDoorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client FrontDoorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FrontDoorsClient) DeleteSender(req *http.Request) (future FrontDoorsDeleteFutureType, err error)
- func (client FrontDoorsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoor, err error)
- func (client FrontDoorsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client FrontDoorsClient) GetResponder(resp *http.Response) (result FrontDoor, err error)
- func (client FrontDoorsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FrontDoorsClient) List(ctx context.Context) (result ListResultPage, err error)
- func (client FrontDoorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
- func (client FrontDoorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
- func (client FrontDoorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client FrontDoorsClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
- func (client FrontDoorsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client FrontDoorsClient) ListComplete(ctx context.Context) (result ListResultIterator, err error)
- func (client FrontDoorsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client FrontDoorsClient) ListResponder(resp *http.Response) (result ListResult, err error)
- func (client FrontDoorsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client FrontDoorsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result ValidateCustomDomainOutput, err error)
- func (client FrontDoorsClient) ValidateCustomDomainPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontDoorsClient) ValidateCustomDomainResponder(resp *http.Response) (result ValidateCustomDomainOutput, err error)
- func (client FrontDoorsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error)
- type FrontDoorsCreateOrUpdateFutureType
- type FrontDoorsDeleteFutureType
- type FrontendEndpoint
- type FrontendEndpointProperties
- type FrontendEndpointUpdateParameters
- type FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink
- type FrontendEndpointsClient
- func (client FrontendEndpointsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result FrontendEndpointsCreateOrUpdateFuture, err error)
- func (client FrontendEndpointsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontendEndpointsClient) CreateOrUpdateResponder(resp *http.Response) (result FrontendEndpoint, err error)
- func (client FrontendEndpointsClient) CreateOrUpdateSender(req *http.Request) (future FrontendEndpointsCreateOrUpdateFuture, err error)
- func (client FrontendEndpointsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result FrontendEndpointsDeleteFuture, err error)
- func (client FrontendEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontendEndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FrontendEndpointsClient) DeleteSender(req *http.Request) (future FrontendEndpointsDeleteFuture, err error)
- func (client FrontendEndpointsClient) DisableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result FrontendEndpointsDisableHTTPSFuture, err error)
- func (client FrontendEndpointsClient) DisableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontendEndpointsClient) DisableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FrontendEndpointsClient) DisableHTTPSSender(req *http.Request) (future FrontendEndpointsDisableHTTPSFuture, err error)
- func (client FrontendEndpointsClient) EnableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result FrontendEndpointsEnableHTTPSFuture, err error)
- func (client FrontendEndpointsClient) EnableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontendEndpointsClient) EnableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)
- func (client FrontendEndpointsClient) EnableHTTPSSender(req *http.Request) (future FrontendEndpointsEnableHTTPSFuture, err error)
- func (client FrontendEndpointsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result FrontendEndpoint, err error)
- func (client FrontendEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client FrontendEndpointsClient) GetResponder(resp *http.Response) (result FrontendEndpoint, err error)
- func (client FrontendEndpointsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client FrontendEndpointsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultPage, err error)
- func (client FrontendEndpointsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultIterator, err error)
- func (client FrontendEndpointsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client FrontendEndpointsClient) ListByFrontDoorResponder(resp *http.Response) (result FrontendEndpointsListResult, err error)
- func (client FrontendEndpointsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
- type FrontendEndpointsCreateOrUpdateFuture
- type FrontendEndpointsDeleteFuture
- type FrontendEndpointsDisableHTTPSFuture
- type FrontendEndpointsEnableHTTPSFuture
- type FrontendEndpointsListResult
- type FrontendEndpointsListResultIterator
- func (iter *FrontendEndpointsListResultIterator) Next() error
- func (iter *FrontendEndpointsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter FrontendEndpointsListResultIterator) NotDone() bool
- func (iter FrontendEndpointsListResultIterator) Response() FrontendEndpointsListResult
- func (iter FrontendEndpointsListResultIterator) Value() FrontendEndpoint
- type FrontendEndpointsListResultPage
- func (page *FrontendEndpointsListResultPage) Next() error
- func (page *FrontendEndpointsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page FrontendEndpointsListResultPage) NotDone() bool
- func (page FrontendEndpointsListResultPage) Response() FrontendEndpointsListResult
- func (page FrontendEndpointsListResultPage) Values() []FrontendEndpoint
- type HealthProbeSettingsClient
- func (client HealthProbeSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result HealthProbeSettingsCreateOrUpdateFuture, err error)
- func (client HealthProbeSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client HealthProbeSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result HealthProbeSettingsModel, err error)
- func (client HealthProbeSettingsClient) CreateOrUpdateSender(req *http.Request) (future HealthProbeSettingsCreateOrUpdateFuture, err error)
- func (client HealthProbeSettingsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result HealthProbeSettingsDeleteFuture, err error)
- func (client HealthProbeSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client HealthProbeSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HealthProbeSettingsClient) DeleteSender(req *http.Request) (future HealthProbeSettingsDeleteFuture, err error)
- func (client HealthProbeSettingsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result HealthProbeSettingsModel, err error)
- func (client HealthProbeSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client HealthProbeSettingsClient) GetResponder(resp *http.Response) (result HealthProbeSettingsModel, err error)
- func (client HealthProbeSettingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client HealthProbeSettingsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result HealthProbeSettingsListResultPage, err error)
- func (client HealthProbeSettingsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result HealthProbeSettingsListResultIterator, err error)
- func (client HealthProbeSettingsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client HealthProbeSettingsClient) ListByFrontDoorResponder(resp *http.Response) (result HealthProbeSettingsListResult, err error)
- func (client HealthProbeSettingsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
- type HealthProbeSettingsCreateOrUpdateFuture
- type HealthProbeSettingsDeleteFuture
- type HealthProbeSettingsListResult
- type HealthProbeSettingsListResultIterator
- func (iter *HealthProbeSettingsListResultIterator) Next() error
- func (iter *HealthProbeSettingsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HealthProbeSettingsListResultIterator) NotDone() bool
- func (iter HealthProbeSettingsListResultIterator) Response() HealthProbeSettingsListResult
- func (iter HealthProbeSettingsListResultIterator) Value() HealthProbeSettingsModel
- type HealthProbeSettingsListResultPage
- func (page *HealthProbeSettingsListResultPage) Next() error
- func (page *HealthProbeSettingsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page HealthProbeSettingsListResultPage) NotDone() bool
- func (page HealthProbeSettingsListResultPage) Response() HealthProbeSettingsListResult
- func (page HealthProbeSettingsListResultPage) Values() []HealthProbeSettingsModel
- type HealthProbeSettingsModel
- type HealthProbeSettingsProperties
- type HealthProbeSettingsUpdateParameters
- type KeyVaultCertificateSourceParameters
- type KeyVaultCertificateSourceParametersVault
- type ListResult
- type ListResultIterator
- type ListResultPage
- type LoadBalancingSettingsClient
- func (client LoadBalancingSettingsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result LoadBalancingSettingsCreateOrUpdateFuture, err error)
- func (client LoadBalancingSettingsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client LoadBalancingSettingsClient) CreateOrUpdateResponder(resp *http.Response) (result LoadBalancingSettingsModel, err error)
- func (client LoadBalancingSettingsClient) CreateOrUpdateSender(req *http.Request) (future LoadBalancingSettingsCreateOrUpdateFuture, err error)
- func (client LoadBalancingSettingsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result LoadBalancingSettingsDeleteFuture, err error)
- func (client LoadBalancingSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client LoadBalancingSettingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client LoadBalancingSettingsClient) DeleteSender(req *http.Request) (future LoadBalancingSettingsDeleteFuture, err error)
- func (client LoadBalancingSettingsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result LoadBalancingSettingsModel, err error)
- func (client LoadBalancingSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client LoadBalancingSettingsClient) GetResponder(resp *http.Response) (result LoadBalancingSettingsModel, err error)
- func (client LoadBalancingSettingsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client LoadBalancingSettingsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result LoadBalancingSettingsListResultPage, err error)
- func (client LoadBalancingSettingsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result LoadBalancingSettingsListResultIterator, err error)
- func (client LoadBalancingSettingsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client LoadBalancingSettingsClient) ListByFrontDoorResponder(resp *http.Response) (result LoadBalancingSettingsListResult, err error)
- func (client LoadBalancingSettingsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
- type LoadBalancingSettingsCreateOrUpdateFuture
- type LoadBalancingSettingsDeleteFuture
- type LoadBalancingSettingsListResult
- type LoadBalancingSettingsListResultIterator
- func (iter *LoadBalancingSettingsListResultIterator) Next() error
- func (iter *LoadBalancingSettingsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter LoadBalancingSettingsListResultIterator) NotDone() bool
- func (iter LoadBalancingSettingsListResultIterator) Response() LoadBalancingSettingsListResult
- func (iter LoadBalancingSettingsListResultIterator) Value() LoadBalancingSettingsModel
- type LoadBalancingSettingsListResultPage
- func (page *LoadBalancingSettingsListResultPage) Next() error
- func (page *LoadBalancingSettingsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page LoadBalancingSettingsListResultPage) NotDone() bool
- func (page LoadBalancingSettingsListResultPage) Response() LoadBalancingSettingsListResult
- func (page LoadBalancingSettingsListResultPage) Values() []LoadBalancingSettingsModel
- type LoadBalancingSettingsModel
- type LoadBalancingSettingsProperties
- type LoadBalancingSettingsUpdateParameters
- type ManagedRuleSet
- type ManagedRuleSets
- type MatchCondition
- type MatchCondition1
- type Mode
- type NetworkOperationStatus
- type Operator
- type PoliciesClient
- func (client PoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, ...) (result WebApplicationFirewallPolicy1, err error)
- func (client PoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, policyName string, ...) (*http.Request, error)
- func (client PoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result WebApplicationFirewallPolicy1, err error)
- func (client PoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result PoliciesDeleteFuture, err error)
- func (client PoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
- func (client PoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PoliciesClient) DeleteSender(req *http.Request) (future PoliciesDeleteFuture, err error)
- func (client PoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPolicy1, err error)
- func (client PoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
- func (client PoliciesClient) GetResponder(resp *http.Response) (result WebApplicationFirewallPolicy1, err error)
- func (client PoliciesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PoliciesClient) List(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultPage, err error)
- func (client PoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultIterator, err error)
- func (client PoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PoliciesClient) ListResponder(resp *http.Response) (result WebApplicationFirewallPolicyListResult, err error)
- func (client PoliciesClient) ListSender(req *http.Request) (*http.Response, error)
- type PoliciesDeleteFuture
- type PolicySettings
- type Properties
- type Protocol
- type PurgeParameters
- type Query
- type Resource
- type ResourceState
- type ResourceType
- type RoutingRule
- type RoutingRuleListResult
- type RoutingRuleListResultIterator
- func (iter *RoutingRuleListResultIterator) Next() error
- func (iter *RoutingRuleListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter RoutingRuleListResultIterator) NotDone() bool
- func (iter RoutingRuleListResultIterator) Response() RoutingRuleListResult
- func (iter RoutingRuleListResultIterator) Value() RoutingRule
- type RoutingRuleListResultPage
- func (page *RoutingRuleListResultPage) Next() error
- func (page *RoutingRuleListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page RoutingRuleListResultPage) NotDone() bool
- func (page RoutingRuleListResultPage) Response() RoutingRuleListResult
- func (page RoutingRuleListResultPage) Values() []RoutingRule
- type RoutingRuleProperties
- type RoutingRuleUpdateParameters
- type RoutingRulesClient
- func (client RoutingRulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result RoutingRulesCreateOrUpdateFuture, err error)
- func (client RoutingRulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client RoutingRulesClient) CreateOrUpdateResponder(resp *http.Response) (result RoutingRule, err error)
- func (client RoutingRulesClient) CreateOrUpdateSender(req *http.Request) (future RoutingRulesCreateOrUpdateFuture, err error)
- func (client RoutingRulesClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result RoutingRulesDeleteFuture, err error)
- func (client RoutingRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client RoutingRulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client RoutingRulesClient) DeleteSender(req *http.Request) (future RoutingRulesDeleteFuture, err error)
- func (client RoutingRulesClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (result RoutingRule, err error)
- func (client RoutingRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, ...) (*http.Request, error)
- func (client RoutingRulesClient) GetResponder(resp *http.Response) (result RoutingRule, err error)
- func (client RoutingRulesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client RoutingRulesClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result RoutingRuleListResultPage, err error)
- func (client RoutingRulesClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result RoutingRuleListResultIterator, err error)
- func (client RoutingRulesClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
- func (client RoutingRulesClient) ListByFrontDoorResponder(resp *http.Response) (result RoutingRuleListResult, err error)
- func (client RoutingRulesClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
- type RoutingRulesCreateOrUpdateFuture
- type RoutingRulesDeleteFuture
- type RuleGroupOverride
- type RuleSetType
- type RuleType
- type SessionAffinityEnabledState
- type SubResource
- type TLSProtocolType
- type TagsObject
- type Transform
- type UpdateParameters
- type ValidateCustomDomainInput
- type ValidateCustomDomainOutput
- type WebApplicationFirewallPolicy
- type WebApplicationFirewallPolicy1
- type WebApplicationFirewallPolicyListResult
- type WebApplicationFirewallPolicyListResultIterator
- func (iter *WebApplicationFirewallPolicyListResultIterator) Next() error
- func (iter *WebApplicationFirewallPolicyListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter WebApplicationFirewallPolicyListResultIterator) NotDone() bool
- func (iter WebApplicationFirewallPolicyListResultIterator) Response() WebApplicationFirewallPolicyListResult
- func (iter WebApplicationFirewallPolicyListResultIterator) Value() WebApplicationFirewallPolicy1
- type WebApplicationFirewallPolicyListResultPage
- func (page *WebApplicationFirewallPolicyListResultPage) Next() error
- func (page *WebApplicationFirewallPolicyListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page WebApplicationFirewallPolicyListResultPage) NotDone() bool
- func (page WebApplicationFirewallPolicyListResultPage) Response() WebApplicationFirewallPolicyListResult
- func (page WebApplicationFirewallPolicyListResultPage) Values() []WebApplicationFirewallPolicy1
- type WebApplicationFirewallPolicyPropertiesFormat
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Frontdoor
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type Action ¶
type Action string
Action enumerates the values for action.
func PossibleActionValues ¶
func PossibleActionValues() []Action
PossibleActionValues returns an array of possible values for the Action const type.
type Availability ¶
type Availability string
Availability enumerates the values for availability.
const ( // Available ... Available Availability = "Available" Unavailable Availability = "Unavailable" )
func PossibleAvailabilityValues ¶
func PossibleAvailabilityValues() []Availability
PossibleAvailabilityValues returns an array of possible values for the Availability const type.
type AzureAsyncOperationResult ¶
type AzureAsyncOperationResult struct { // Status - Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values include: 'NetworkOperationStatusInProgress', 'NetworkOperationStatusSucceeded', 'NetworkOperationStatusFailed' 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 AzureManagedOverrideRuleGroup ¶
type AzureManagedOverrideRuleGroup struct { // RuleGroupOverride - Describes overrideruleGroup. Possible values include: 'SQLInjection', 'XSS' RuleGroupOverride RuleGroupOverride `json:"ruleGroupOverride,omitempty"` // Action - Type of Actions. Possible values include: 'Allow', 'Block', 'Log' Action Action `json:"action,omitempty"` }
AzureManagedOverrideRuleGroup defines contents of a web application rule
type AzureManagedRuleSet ¶
type AzureManagedRuleSet struct { // RuleGroupOverrides - List of azure managed provider override configuration (optional) RuleGroupOverrides *[]AzureManagedOverrideRuleGroup `json:"ruleGroupOverrides,omitempty"` // Priority - Describes priority of the rule Priority *int32 `json:"priority,omitempty"` // Version - defines version of the ruleset Version *int32 `json:"version,omitempty"` // RuleSetType - Possible values include: 'RuleSetTypeUnknown', 'RuleSetTypeAzureManagedRuleSet' RuleSetType RuleSetType `json:"ruleSetType,omitempty"` }
AzureManagedRuleSet describes azure managed provider.
func (AzureManagedRuleSet) AsAzureManagedRuleSet ¶
func (amrs AzureManagedRuleSet) AsAzureManagedRuleSet() (*AzureManagedRuleSet, bool)
AsAzureManagedRuleSet is the BasicManagedRuleSet implementation for AzureManagedRuleSet.
func (AzureManagedRuleSet) AsBasicManagedRuleSet ¶
func (amrs AzureManagedRuleSet) AsBasicManagedRuleSet() (BasicManagedRuleSet, bool)
AsBasicManagedRuleSet is the BasicManagedRuleSet implementation for AzureManagedRuleSet.
func (AzureManagedRuleSet) AsManagedRuleSet ¶
func (amrs AzureManagedRuleSet) AsManagedRuleSet() (*ManagedRuleSet, bool)
AsManagedRuleSet is the BasicManagedRuleSet implementation for AzureManagedRuleSet.
func (AzureManagedRuleSet) MarshalJSON ¶
func (amrs AzureManagedRuleSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureManagedRuleSet.
type Backend ¶
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: 'EnabledStateEnumEnabled', 'EnabledStateEnumDisabled' EnabledState EnabledStateEnum `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 BackendPool ¶
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 - 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 ¶
func (bp BackendPool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BackendPool.
func (*BackendPool) UnmarshalJSON ¶
func (bp *BackendPool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BackendPool struct.
type BackendPoolListResult ¶
type BackendPoolListResult struct { autorest.Response `json:"-"` // Value - 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 the next set of results.
func (BackendPoolListResult) IsEmpty ¶
func (bplr BackendPoolListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type BackendPoolListResultIterator ¶
type BackendPoolListResultIterator struct {
// contains filtered or unexported fields
}
BackendPoolListResultIterator provides access to a complete listing of BackendPool values.
func (*BackendPoolListResultIterator) Next ¶
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 ¶
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 ¶
func (iter BackendPoolListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (BackendPoolListResultIterator) Response ¶
func (iter BackendPoolListResultIterator) Response() BackendPoolListResult
Response returns the raw server response from the last page request.
func (BackendPoolListResultIterator) Value ¶
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 ¶
type BackendPoolListResultPage struct {
// contains filtered or unexported fields
}
BackendPoolListResultPage contains a page of BackendPool values.
func (*BackendPoolListResultPage) Next ¶
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 ¶
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 ¶
func (page BackendPoolListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (BackendPoolListResultPage) Response ¶
func (page BackendPoolListResultPage) Response() BackendPoolListResult
Response returns the raw server response from the last page request.
func (BackendPoolListResultPage) Values ¶
func (page BackendPoolListResultPage) Values() []BackendPool
Values returns the slice of values for the current page or nil if there are no values.
type BackendPoolProperties ¶
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 ¶
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 ¶
type BackendPoolsClient struct {
BaseClient
}
BackendPoolsClient is the frontDoor Client
func NewBackendPoolsClient ¶
func NewBackendPoolsClient(subscriptionID string) BackendPoolsClient
NewBackendPoolsClient creates an instance of the BackendPoolsClient client.
func NewBackendPoolsClientWithBaseURI ¶
func NewBackendPoolsClientWithBaseURI(baseURI string, subscriptionID string) BackendPoolsClient
NewBackendPoolsClientWithBaseURI creates an instance of the BackendPoolsClient client.
func (BackendPoolsClient) CreateOrUpdate ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client BackendPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, backendPoolName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (BackendPoolsClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client BackendPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, backendPoolName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BackendPoolsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BackendPoolsClient) ListByFrontDoor ¶
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 ¶
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 ¶
func (client BackendPoolsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
ListByFrontDoorPreparer prepares the ListByFrontDoor request.
func (BackendPoolsClient) ListByFrontDoorResponder ¶
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 ¶
ListByFrontDoorSender sends the ListByFrontDoor request. The method will close the http.Response Body if it receives an error.
type BackendPoolsCreateOrUpdateFuture ¶
BackendPoolsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BackendPoolsCreateOrUpdateFuture) Result ¶
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 ¶
BackendPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*BackendPoolsDeleteFuture) Result ¶
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 BaseClient ¶
BaseClient is the base client for Frontdoor.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
func (BaseClient) CheckFrontDoorNameAvailability ¶
func (client BaseClient) CheckFrontDoorNameAvailability(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)
CheckFrontDoorNameAvailability check the availability of a Front Door resource name. Parameters: checkFrontDoorNameAvailabilityInput - input to check.
func (BaseClient) CheckFrontDoorNameAvailabilityPreparer ¶
func (client BaseClient) CheckFrontDoorNameAvailabilityPreparer(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)
CheckFrontDoorNameAvailabilityPreparer prepares the CheckFrontDoorNameAvailability request.
func (BaseClient) CheckFrontDoorNameAvailabilityResponder ¶
func (client BaseClient) CheckFrontDoorNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
CheckFrontDoorNameAvailabilityResponder handles the response to the CheckFrontDoorNameAvailability request. The method always closes the http.Response Body.
func (BaseClient) CheckFrontDoorNameAvailabilitySender ¶
func (client BaseClient) CheckFrontDoorNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckFrontDoorNameAvailabilitySender sends the CheckFrontDoorNameAvailability request. The method will close the http.Response Body if it receives an error.
func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscription ¶
func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscription(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)
CheckFrontDoorNameAvailabilityWithSubscription check the availability of a Front Door subdomain. Parameters: checkFrontDoorNameAvailabilityInput - input to check.
func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionPreparer ¶
func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionPreparer(ctx context.Context, checkFrontDoorNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)
CheckFrontDoorNameAvailabilityWithSubscriptionPreparer prepares the CheckFrontDoorNameAvailabilityWithSubscription request.
func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder ¶
func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
CheckFrontDoorNameAvailabilityWithSubscriptionResponder handles the response to the CheckFrontDoorNameAvailabilityWithSubscription request. The method always closes the http.Response Body.
func (BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionSender ¶
func (client BaseClient) CheckFrontDoorNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error)
CheckFrontDoorNameAvailabilityWithSubscriptionSender sends the CheckFrontDoorNameAvailabilityWithSubscription request. The method will close the http.Response Body if it receives an error.
type BasicManagedRuleSet ¶
type BasicManagedRuleSet interface { AsAzureManagedRuleSet() (*AzureManagedRuleSet, bool) AsManagedRuleSet() (*ManagedRuleSet, bool) }
BasicManagedRuleSet base class for all types of ManagedRuleSet.
type CacheConfiguration ¶
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 ¶
type CertificateSource string
CertificateSource enumerates the values for certificate source.
const ( // CertificateSourceAzureKeyVault ... CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault" // CertificateSourceFrontDoor ... CertificateSourceFrontDoor CertificateSource = "FrontDoor" )
func PossibleCertificateSourceValues ¶
func PossibleCertificateSourceValues() []CertificateSource
PossibleCertificateSourceValues returns an array of possible values for the CertificateSource const type.
type CertificateSourceParameters ¶
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 ¶
type CertificateType string
CertificateType enumerates the values for certificate type.
const ( // Dedicated ... Dedicated CertificateType = "Dedicated" )
func PossibleCertificateTypeValues ¶
func PossibleCertificateTypeValues() []CertificateType
PossibleCertificateTypeValues returns an array of possible values for the CertificateType const type.
type CheckNameAvailabilityInput ¶
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 ¶
type CheckNameAvailabilityOutput struct { autorest.Response `json:"-"` // NameAvailability - Indicates whether the name is available. Possible values include: 'Available', 'Unavailable' NameAvailability Availability `json:"nameAvailability,omitempty"` // Reason - The reason why the name is not available. Reason *string `json:"reason,omitempty"` // Message - 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 ¶
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 ¶
func (chc CustomHTTPSConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CustomHTTPSConfiguration.
func (*CustomHTTPSConfiguration) UnmarshalJSON ¶
func (chc *CustomHTTPSConfiguration) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CustomHTTPSConfiguration struct.
type CustomHTTPSProvisioningState ¶
type CustomHTTPSProvisioningState string
CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.
const ( // Disabled ... Disabled CustomHTTPSProvisioningState = "Disabled" // Disabling ... Disabling CustomHTTPSProvisioningState = "Disabling" // Enabled ... Enabled CustomHTTPSProvisioningState = "Enabled" // Enabling ... Enabling CustomHTTPSProvisioningState = "Enabling" // Failed ... Failed CustomHTTPSProvisioningState = "Failed" )
func PossibleCustomHTTPSProvisioningStateValues ¶
func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState
PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type.
type CustomHTTPSProvisioningSubstate ¶
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 ¶
func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate
PossibleCustomHTTPSProvisioningSubstateValues returns an array of possible values for the CustomHTTPSProvisioningSubstate const type.
type CustomRule ¶
type CustomRule struct { // Name - Gets name of the resource that is unique within a policy. This name can be used to access the resource. Name *string `json:"name,omitempty"` // Etag - Gets a unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,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"` // RuleType - Describes type of rule. Possible values include: 'MatchRule', 'RateLimitRule' RuleType RuleType `json:"ruleType,omitempty"` // RateLimitDurationInMinutes - Defines rate limit duration. Default - 1 minute RateLimitDurationInMinutes *int32 `json:"rateLimitDurationInMinutes,omitempty"` // RateLimitThreshold - Defines rate limit thresold RateLimitThreshold *int32 `json:"rateLimitThreshold,omitempty"` // MatchConditions - List of match conditions MatchConditions *[]MatchCondition1 `json:"matchConditions,omitempty"` // Action - Type of Actions. Possible values include: 'Allow', 'Block', 'Log' Action Action `json:"action,omitempty"` // Transforms - List of transforms Transforms *[]Transform `json:"transforms,omitempty"` }
CustomRule defines contents of a web application rule
type CustomRules ¶
type CustomRules struct { // Rules - List of rules Rules *[]CustomRule `json:"rules,omitempty"` }
CustomRules defines contents of custom rules
type DynamicCompressionEnabled ¶
type DynamicCompressionEnabled string
DynamicCompressionEnabled enumerates the values for dynamic compression enabled.
const ( // DynamicCompressionEnabledDisabled ... DynamicCompressionEnabledDisabled DynamicCompressionEnabled = "Disabled" // DynamicCompressionEnabledEnabled ... DynamicCompressionEnabledEnabled DynamicCompressionEnabled = "Enabled" )
func PossibleDynamicCompressionEnabledValues ¶
func PossibleDynamicCompressionEnabledValues() []DynamicCompressionEnabled
PossibleDynamicCompressionEnabledValues returns an array of possible values for the DynamicCompressionEnabled const type.
type EnabledState ¶
type EnabledState string
EnabledState enumerates the values for enabled state.
const ( // EnabledStateDisabled ... EnabledStateDisabled EnabledState = "Disabled" // EnabledStateEnabled ... EnabledStateEnabled EnabledState = "Enabled" )
func PossibleEnabledStateValues ¶
func PossibleEnabledStateValues() []EnabledState
PossibleEnabledStateValues returns an array of possible values for the EnabledState const type.
type EnabledStateEnum ¶
type EnabledStateEnum string
EnabledStateEnum enumerates the values for enabled state enum.
const ( // EnabledStateEnumDisabled ... EnabledStateEnumDisabled EnabledStateEnum = "Disabled" // EnabledStateEnumEnabled ... EnabledStateEnumEnabled EnabledStateEnum = "Enabled" )
func PossibleEnabledStateEnumValues ¶
func PossibleEnabledStateEnumValues() []EnabledStateEnum
PossibleEnabledStateEnumValues returns an array of possible values for the EnabledStateEnum const type.
type EndpointsClient ¶
type EndpointsClient struct {
BaseClient
}
EndpointsClient is the frontDoor Client
func NewEndpointsClient ¶
func NewEndpointsClient(subscriptionID string) EndpointsClient
NewEndpointsClient creates an instance of the EndpointsClient client.
func NewEndpointsClientWithBaseURI ¶
func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient
NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.
func (EndpointsClient) PurgeContent ¶
func (client EndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, frontDoorName string, contentFilePaths PurgeParameters) (result EndpointsPurgeContentFuture, err error)
PurgeContent removes a content from Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. contentFilePaths - the path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.
func (EndpointsClient) PurgeContentPreparer ¶
func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, contentFilePaths PurgeParameters) (*http.Request, error)
PurgeContentPreparer prepares the PurgeContent request.
func (EndpointsClient) PurgeContentResponder ¶
func (client EndpointsClient) PurgeContentResponder(resp *http.Response) (result autorest.Response, err error)
PurgeContentResponder handles the response to the PurgeContent request. The method always closes the http.Response Body.
func (EndpointsClient) PurgeContentSender ¶
func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error)
PurgeContentSender sends the PurgeContent request. The method will close the http.Response Body if it receives an error.
type EndpointsPurgeContentFuture ¶
EndpointsPurgeContentFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsPurgeContentFuture) Result ¶
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 Error ¶
type Error struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` Details *[]ErrorDetails `json:"details,omitempty"` InnerError *string `json:"innerError,omitempty"` }
Error ...
type ErrorDetails ¶
type ErrorDetails struct { Code *string `json:"code,omitempty"` Target *string `json:"target,omitempty"` Message *string `json:"message,omitempty"` }
ErrorDetails ...
type ErrorResponse ¶
type ErrorResponse struct { // Code - Error code. Code *string `json:"code,omitempty"` // Message - Error message indicating why the operation failed. Message *string `json:"message,omitempty"` }
ErrorResponse error reponse indicates Front Door service is not able to process the incoming request. The reason is provided in the error message.
type ForwardingProtocol ¶
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 ¶
func PossibleForwardingProtocolValues() []ForwardingProtocol
PossibleForwardingProtocolValues returns an array of possible values for the ForwardingProtocol const type.
type FrontDoor ¶
type FrontDoor struct { autorest.Response `json:"-"` // Properties - Properties of the Front Door Load Balancer *Properties `json:"properties,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - 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 ¶
MarshalJSON is the custom marshaler for FrontDoor.
func (*FrontDoor) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for FrontDoor struct.
type FrontDoorsClient ¶
type FrontDoorsClient struct {
BaseClient
}
FrontDoorsClient is the frontDoor Client
func NewFrontDoorsClient ¶
func NewFrontDoorsClient(subscriptionID string) FrontDoorsClient
NewFrontDoorsClient creates an instance of the FrontDoorsClient client.
func NewFrontDoorsClientWithBaseURI ¶
func NewFrontDoorsClientWithBaseURI(baseURI string, subscriptionID string) FrontDoorsClient
NewFrontDoorsClientWithBaseURI creates an instance of the FrontDoorsClient client.
func (FrontDoorsClient) CreateOrUpdate ¶
func (client FrontDoorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, frontDoorName string, frontDoorParameters FrontDoor) (result FrontDoorsCreateOrUpdateFutureType, err error)
CreateOrUpdate creates a new Front Door with a Front Door name under the specified subscription and resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontDoorParameters - front Door properties needed to create a new Front Door.
func (FrontDoorsClient) CreateOrUpdatePreparer ¶
func (client FrontDoorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontDoorParameters FrontDoor) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (FrontDoorsClient) CreateOrUpdateResponder ¶
func (client FrontDoorsClient) CreateOrUpdateResponder(resp *http.Response) (result FrontDoor, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (FrontDoorsClient) CreateOrUpdateSender ¶
func (client FrontDoorsClient) CreateOrUpdateSender(req *http.Request) (future FrontDoorsCreateOrUpdateFutureType, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (FrontDoorsClient) Delete ¶
func (client FrontDoorsClient) Delete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoorsDeleteFutureType, err error)
Delete deletes an existing Front Door with the specified parameters. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.
func (FrontDoorsClient) DeletePreparer ¶
func (client FrontDoorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FrontDoorsClient) DeleteResponder ¶
func (client FrontDoorsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (FrontDoorsClient) DeleteSender ¶
func (client FrontDoorsClient) DeleteSender(req *http.Request) (future FrontDoorsDeleteFutureType, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (FrontDoorsClient) Get ¶
func (client FrontDoorsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontDoor, err error)
Get gets a Front Door with the specified Front Door name under the specified subscription and resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.
func (FrontDoorsClient) GetPreparer ¶
func (client FrontDoorsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FrontDoorsClient) GetResponder ¶
func (client FrontDoorsClient) GetResponder(resp *http.Response) (result FrontDoor, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (FrontDoorsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FrontDoorsClient) List ¶
func (client FrontDoorsClient) List(ctx context.Context) (result ListResultPage, err error)
List lists all of the Front Doors within an Azure subscription.
func (FrontDoorsClient) ListByResourceGroup ¶
func (client FrontDoorsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ListResultPage, err error)
ListByResourceGroup lists all of the Front Doors within a resource group under a subscription. Parameters: resourceGroupName - name of the Resource group within the Azure subscription.
func (FrontDoorsClient) ListByResourceGroupComplete ¶
func (client FrontDoorsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ListResultIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (FrontDoorsClient) ListByResourceGroupPreparer ¶
func (client FrontDoorsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (FrontDoorsClient) ListByResourceGroupResponder ¶
func (client FrontDoorsClient) ListByResourceGroupResponder(resp *http.Response) (result ListResult, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (FrontDoorsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (FrontDoorsClient) ListComplete ¶
func (client FrontDoorsClient) ListComplete(ctx context.Context) (result ListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (FrontDoorsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (FrontDoorsClient) ListResponder ¶
func (client FrontDoorsClient) ListResponder(resp *http.Response) (result ListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (FrontDoorsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (FrontDoorsClient) ValidateCustomDomain ¶
func (client FrontDoorsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties ValidateCustomDomainInput) (result ValidateCustomDomainOutput, err error)
ValidateCustomDomain validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. customDomainProperties - custom domain to be validated.
func (FrontDoorsClient) ValidateCustomDomainPreparer ¶
func (client FrontDoorsClient) ValidateCustomDomainPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties ValidateCustomDomainInput) (*http.Request, error)
ValidateCustomDomainPreparer prepares the ValidateCustomDomain request.
func (FrontDoorsClient) ValidateCustomDomainResponder ¶
func (client FrontDoorsClient) ValidateCustomDomainResponder(resp *http.Response) (result ValidateCustomDomainOutput, err error)
ValidateCustomDomainResponder handles the response to the ValidateCustomDomain request. The method always closes the http.Response Body.
func (FrontDoorsClient) ValidateCustomDomainSender ¶
func (client FrontDoorsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error)
ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the http.Response Body if it receives an error.
type FrontDoorsCreateOrUpdateFutureType ¶
FrontDoorsCreateOrUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FrontDoorsCreateOrUpdateFutureType) Result ¶
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 ¶
FrontDoorsDeleteFutureType an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FrontDoorsDeleteFutureType) Result ¶
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 ¶
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 - 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 ¶
func (fe FrontendEndpoint) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FrontendEndpoint.
func (*FrontendEndpoint) UnmarshalJSON ¶
func (fe *FrontendEndpoint) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for FrontendEndpoint struct.
type FrontendEndpointProperties ¶
type FrontendEndpointProperties struct { // ResourceState - Resource status. Possible values include: 'ResourceStateCreating', 'ResourceStateEnabling', 'ResourceStateEnabled', 'ResourceStateDisabling', 'ResourceStateDisabled', 'ResourceStateDeleting' ResourceState ResourceState `json:"resourceState,omitempty"` // CustomHTTPSProvisioningState - Provisioning status of Custom Https of the frontendEndpoint. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed' CustomHTTPSProvisioningState CustomHTTPSProvisioningState `json:"customHttpsProvisioningState,omitempty"` // CustomHTTPSProvisioningSubstate - 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 - 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 ¶
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 ¶
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 ¶
type FrontendEndpointsClient struct {
BaseClient
}
FrontendEndpointsClient is the frontDoor Client
func NewFrontendEndpointsClient ¶
func NewFrontendEndpointsClient(subscriptionID string) FrontendEndpointsClient
NewFrontendEndpointsClient creates an instance of the FrontendEndpointsClient client.
func NewFrontendEndpointsClientWithBaseURI ¶
func NewFrontendEndpointsClientWithBaseURI(baseURI string, subscriptionID string) FrontendEndpointsClient
NewFrontendEndpointsClientWithBaseURI creates an instance of the FrontendEndpointsClient client.
func (FrontendEndpointsClient) CreateOrUpdate ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client FrontendEndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (FrontendEndpointsClient) DeleteResponder ¶
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 ¶
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 ¶
func (client FrontendEndpointsClient) DisableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result FrontendEndpointsDisableHTTPSFuture, err error)
DisableHTTPS disables a frontendEndpoint for HTTPS traffic Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door.
func (FrontendEndpointsClient) DisableHTTPSPreparer ¶
func (client FrontendEndpointsClient) DisableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)
DisableHTTPSPreparer prepares the DisableHTTPS request.
func (FrontendEndpointsClient) DisableHTTPSResponder ¶
func (client FrontendEndpointsClient) DisableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)
DisableHTTPSResponder handles the response to the DisableHTTPS request. The method always closes the http.Response Body.
func (FrontendEndpointsClient) DisableHTTPSSender ¶
func (client FrontendEndpointsClient) DisableHTTPSSender(req *http.Request) (future FrontendEndpointsDisableHTTPSFuture, err error)
DisableHTTPSSender sends the DisableHTTPS request. The method will close the http.Response Body if it receives an error.
func (FrontendEndpointsClient) EnableHTTPS ¶
func (client FrontendEndpointsClient) EnableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration CustomHTTPSConfiguration) (result FrontendEndpointsEnableHTTPSFuture, err error)
EnableHTTPS enables a frontendEndpoint for HTTPS traffic Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door. customHTTPSConfiguration - the configuration specifying how to enable HTTPS
func (FrontendEndpointsClient) EnableHTTPSPreparer ¶
func (client FrontendEndpointsClient) EnableHTTPSPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration CustomHTTPSConfiguration) (*http.Request, error)
EnableHTTPSPreparer prepares the EnableHTTPS request.
func (FrontendEndpointsClient) EnableHTTPSResponder ¶
func (client FrontendEndpointsClient) EnableHTTPSResponder(resp *http.Response) (result autorest.Response, err error)
EnableHTTPSResponder handles the response to the EnableHTTPS request. The method always closes the http.Response Body.
func (FrontendEndpointsClient) EnableHTTPSSender ¶
func (client FrontendEndpointsClient) EnableHTTPSSender(req *http.Request) (future FrontendEndpointsEnableHTTPSFuture, err error)
EnableHTTPSSender sends the EnableHTTPS request. The method will close the http.Response Body if it receives an error.
func (FrontendEndpointsClient) Get ¶
func (client FrontendEndpointsClient) Get(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result FrontendEndpoint, err error)
Get gets a Frontend endpoint with the specified name within the specified Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique. frontendEndpointName - name of the Frontend endpoint which is unique within the Front Door.
func (FrontendEndpointsClient) GetPreparer ¶
func (client FrontendEndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (FrontendEndpointsClient) GetResponder ¶
func (client FrontendEndpointsClient) GetResponder(resp *http.Response) (result FrontendEndpoint, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (FrontendEndpointsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (FrontendEndpointsClient) ListByFrontDoor ¶
func (client FrontendEndpointsClient) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultPage, err error)
ListByFrontDoor lists all of the frontend endpoints within a Front Door. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. frontDoorName - name of the Front Door which is globally unique.
func (FrontendEndpointsClient) ListByFrontDoorComplete ¶
func (client FrontendEndpointsClient) ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result FrontendEndpointsListResultIterator, err error)
ListByFrontDoorComplete enumerates all values, automatically crossing page boundaries as required.
func (FrontendEndpointsClient) ListByFrontDoorPreparer ¶
func (client FrontendEndpointsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
ListByFrontDoorPreparer prepares the ListByFrontDoor request.
func (FrontendEndpointsClient) ListByFrontDoorResponder ¶
func (client FrontendEndpointsClient) ListByFrontDoorResponder(resp *http.Response) (result FrontendEndpointsListResult, err error)
ListByFrontDoorResponder handles the response to the ListByFrontDoor request. The method always closes the http.Response Body.
func (FrontendEndpointsClient) ListByFrontDoorSender ¶
func (client FrontendEndpointsClient) ListByFrontDoorSender(req *http.Request) (*http.Response, error)
ListByFrontDoorSender sends the ListByFrontDoor request. The method will close the http.Response Body if it receives an error.
type FrontendEndpointsCreateOrUpdateFuture ¶
FrontendEndpointsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FrontendEndpointsCreateOrUpdateFuture) Result ¶
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 ¶
FrontendEndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FrontendEndpointsDeleteFuture) Result ¶
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 ¶
FrontendEndpointsDisableHTTPSFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FrontendEndpointsDisableHTTPSFuture) Result ¶
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 ¶
FrontendEndpointsEnableHTTPSFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*FrontendEndpointsEnableHTTPSFuture) Result ¶
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 ¶
type FrontendEndpointsListResult struct { autorest.Response `json:"-"` // Value - 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 the next set of results.
func (FrontendEndpointsListResult) IsEmpty ¶
func (felr FrontendEndpointsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type FrontendEndpointsListResultIterator ¶
type FrontendEndpointsListResultIterator struct {
// contains filtered or unexported fields
}
FrontendEndpointsListResultIterator provides access to a complete listing of FrontendEndpoint values.
func (*FrontendEndpointsListResultIterator) Next ¶
func (iter *FrontendEndpointsListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*FrontendEndpointsListResultIterator) NextWithContext ¶
func (iter *FrontendEndpointsListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (FrontendEndpointsListResultIterator) NotDone ¶
func (iter FrontendEndpointsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (FrontendEndpointsListResultIterator) Response ¶
func (iter FrontendEndpointsListResultIterator) Response() FrontendEndpointsListResult
Response returns the raw server response from the last page request.
func (FrontendEndpointsListResultIterator) Value ¶
func (iter FrontendEndpointsListResultIterator) Value() FrontendEndpoint
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type FrontendEndpointsListResultPage ¶
type FrontendEndpointsListResultPage struct {
// contains filtered or unexported fields
}
FrontendEndpointsListResultPage contains a page of FrontendEndpoint values.
func (*FrontendEndpointsListResultPage) Next ¶
func (page *FrontendEndpointsListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*FrontendEndpointsListResultPage) NextWithContext ¶
func (page *FrontendEndpointsListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (FrontendEndpointsListResultPage) NotDone ¶
func (page FrontendEndpointsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (FrontendEndpointsListResultPage) Response ¶
func (page FrontendEndpointsListResultPage) Response() FrontendEndpointsListResult
Response returns the raw server response from the last page request.
func (FrontendEndpointsListResultPage) Values ¶
func (page FrontendEndpointsListResultPage) Values() []FrontendEndpoint
Values returns the slice of values for the current page or nil if there are no values.
type HealthProbeSettingsClient ¶
type HealthProbeSettingsClient struct {
BaseClient
}
HealthProbeSettingsClient is the frontDoor Client
func NewHealthProbeSettingsClient ¶
func NewHealthProbeSettingsClient(subscriptionID string) HealthProbeSettingsClient
NewHealthProbeSettingsClient creates an instance of the HealthProbeSettingsClient client.
func NewHealthProbeSettingsClientWithBaseURI ¶
func NewHealthProbeSettingsClientWithBaseURI(baseURI string, subscriptionID string) HealthProbeSettingsClient
NewHealthProbeSettingsClientWithBaseURI creates an instance of the HealthProbeSettingsClient client.
func (HealthProbeSettingsClient) CreateOrUpdate ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client HealthProbeSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, healthProbeSettingsName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (HealthProbeSettingsClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client HealthProbeSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, healthProbeSettingsName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (HealthProbeSettingsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (HealthProbeSettingsClient) ListByFrontDoor ¶
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 ¶
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 ¶
func (client HealthProbeSettingsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
ListByFrontDoorPreparer prepares the ListByFrontDoor request.
func (HealthProbeSettingsClient) ListByFrontDoorResponder ¶
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 ¶
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 ¶
HealthProbeSettingsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*HealthProbeSettingsCreateOrUpdateFuture) Result ¶
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 ¶
HealthProbeSettingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*HealthProbeSettingsDeleteFuture) Result ¶
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 ¶
type HealthProbeSettingsListResult struct { autorest.Response `json:"-"` // Value - 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 the next set of results.
func (HealthProbeSettingsListResult) IsEmpty ¶
func (hpslr HealthProbeSettingsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type HealthProbeSettingsListResultIterator ¶
type HealthProbeSettingsListResultIterator struct {
// contains filtered or unexported fields
}
HealthProbeSettingsListResultIterator provides access to a complete listing of HealthProbeSettingsModel values.
func (*HealthProbeSettingsListResultIterator) Next ¶
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 ¶
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 ¶
func (iter HealthProbeSettingsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (HealthProbeSettingsListResultIterator) Response ¶
func (iter HealthProbeSettingsListResultIterator) Response() HealthProbeSettingsListResult
Response returns the raw server response from the last page request.
func (HealthProbeSettingsListResultIterator) Value ¶
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 ¶
type HealthProbeSettingsListResultPage struct {
// contains filtered or unexported fields
}
HealthProbeSettingsListResultPage contains a page of HealthProbeSettingsModel values.
func (*HealthProbeSettingsListResultPage) Next ¶
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 ¶
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 ¶
func (page HealthProbeSettingsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (HealthProbeSettingsListResultPage) Response ¶
func (page HealthProbeSettingsListResultPage) Response() HealthProbeSettingsListResult
Response returns the raw server response from the last page request.
func (HealthProbeSettingsListResultPage) Values ¶
func (page HealthProbeSettingsListResultPage) Values() []HealthProbeSettingsModel
Values returns the slice of values for the current page or nil if there are no values.
type HealthProbeSettingsModel ¶
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 - 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 ¶
func (hpsm HealthProbeSettingsModel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HealthProbeSettingsModel.
func (*HealthProbeSettingsModel) UnmarshalJSON ¶
func (hpsm *HealthProbeSettingsModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HealthProbeSettingsModel struct.
type HealthProbeSettingsProperties ¶
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 ¶
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 ¶
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 ¶
type KeyVaultCertificateSourceParametersVault struct { // ID - Resource ID. ID *string `json:"id,omitempty"` }
KeyVaultCertificateSourceParametersVault the Key Vault containing the SSL certificate
type ListResult ¶
type ListResult struct { autorest.Response `json:"-"` // Value - 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 the next set of results.
func (ListResult) IsEmpty ¶
func (lr ListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ListResultIterator ¶
type ListResultIterator struct {
// contains filtered or unexported fields
}
ListResultIterator provides access to a complete listing of FrontDoor values.
func (*ListResultIterator) Next ¶
func (iter *ListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListResultIterator) NextWithContext ¶
func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ListResultIterator) NotDone ¶
func (iter ListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ListResultIterator) Response ¶
func (iter ListResultIterator) Response() ListResult
Response returns the raw server response from the last page request.
func (ListResultIterator) Value ¶
func (iter ListResultIterator) Value() FrontDoor
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ListResultPage ¶
type ListResultPage struct {
// contains filtered or unexported fields
}
ListResultPage contains a page of FrontDoor values.
func (*ListResultPage) Next ¶
func (page *ListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ListResultPage) NextWithContext ¶
func (page *ListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ListResultPage) NotDone ¶
func (page ListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ListResultPage) Response ¶
func (page ListResultPage) Response() ListResult
Response returns the raw server response from the last page request.
func (ListResultPage) Values ¶
func (page ListResultPage) Values() []FrontDoor
Values returns the slice of values for the current page or nil if there are no values.
type LoadBalancingSettingsClient ¶
type LoadBalancingSettingsClient struct {
BaseClient
}
LoadBalancingSettingsClient is the frontDoor Client
func NewLoadBalancingSettingsClient ¶
func NewLoadBalancingSettingsClient(subscriptionID string) LoadBalancingSettingsClient
NewLoadBalancingSettingsClient creates an instance of the LoadBalancingSettingsClient client.
func NewLoadBalancingSettingsClientWithBaseURI ¶
func NewLoadBalancingSettingsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancingSettingsClient
NewLoadBalancingSettingsClientWithBaseURI creates an instance of the LoadBalancingSettingsClient client.
func (LoadBalancingSettingsClient) CreateOrUpdate ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client LoadBalancingSettingsClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, loadBalancingSettingsName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (LoadBalancingSettingsClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client LoadBalancingSettingsClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, loadBalancingSettingsName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (LoadBalancingSettingsClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (LoadBalancingSettingsClient) ListByFrontDoor ¶
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 ¶
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 ¶
func (client LoadBalancingSettingsClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
ListByFrontDoorPreparer prepares the ListByFrontDoor request.
func (LoadBalancingSettingsClient) ListByFrontDoorResponder ¶
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 ¶
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 ¶
LoadBalancingSettingsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LoadBalancingSettingsCreateOrUpdateFuture) Result ¶
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 ¶
LoadBalancingSettingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*LoadBalancingSettingsDeleteFuture) Result ¶
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 ¶
type LoadBalancingSettingsListResult struct { autorest.Response `json:"-"` // Value - 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 the next set of results.
func (LoadBalancingSettingsListResult) IsEmpty ¶
func (lbslr LoadBalancingSettingsListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type LoadBalancingSettingsListResultIterator ¶
type LoadBalancingSettingsListResultIterator struct {
// contains filtered or unexported fields
}
LoadBalancingSettingsListResultIterator provides access to a complete listing of LoadBalancingSettingsModel values.
func (*LoadBalancingSettingsListResultIterator) Next ¶
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 ¶
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 ¶
func (iter LoadBalancingSettingsListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (LoadBalancingSettingsListResultIterator) Response ¶
func (iter LoadBalancingSettingsListResultIterator) Response() LoadBalancingSettingsListResult
Response returns the raw server response from the last page request.
func (LoadBalancingSettingsListResultIterator) Value ¶
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 ¶
type LoadBalancingSettingsListResultPage struct {
// contains filtered or unexported fields
}
LoadBalancingSettingsListResultPage contains a page of LoadBalancingSettingsModel values.
func (*LoadBalancingSettingsListResultPage) Next ¶
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 ¶
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 ¶
func (page LoadBalancingSettingsListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (LoadBalancingSettingsListResultPage) Response ¶
func (page LoadBalancingSettingsListResultPage) Response() LoadBalancingSettingsListResult
Response returns the raw server response from the last page request.
func (LoadBalancingSettingsListResultPage) Values ¶
func (page LoadBalancingSettingsListResultPage) Values() []LoadBalancingSettingsModel
Values returns the slice of values for the current page or nil if there are no values.
type LoadBalancingSettingsModel ¶
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 - 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 ¶
func (lbsm LoadBalancingSettingsModel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancingSettingsModel.
func (*LoadBalancingSettingsModel) UnmarshalJSON ¶
func (lbsm *LoadBalancingSettingsModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for LoadBalancingSettingsModel struct.
type LoadBalancingSettingsProperties ¶
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 ¶
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 ManagedRuleSet ¶
type ManagedRuleSet struct { // Priority - Describes priority of the rule Priority *int32 `json:"priority,omitempty"` // Version - defines version of the ruleset Version *int32 `json:"version,omitempty"` // RuleSetType - Possible values include: 'RuleSetTypeUnknown', 'RuleSetTypeAzureManagedRuleSet' RuleSetType RuleSetType `json:"ruleSetType,omitempty"` }
ManagedRuleSet base class for all types of ManagedRuleSet.
func (ManagedRuleSet) AsAzureManagedRuleSet ¶
func (mrs ManagedRuleSet) AsAzureManagedRuleSet() (*AzureManagedRuleSet, bool)
AsAzureManagedRuleSet is the BasicManagedRuleSet implementation for ManagedRuleSet.
func (ManagedRuleSet) AsBasicManagedRuleSet ¶
func (mrs ManagedRuleSet) AsBasicManagedRuleSet() (BasicManagedRuleSet, bool)
AsBasicManagedRuleSet is the BasicManagedRuleSet implementation for ManagedRuleSet.
func (ManagedRuleSet) AsManagedRuleSet ¶
func (mrs ManagedRuleSet) AsManagedRuleSet() (*ManagedRuleSet, bool)
AsManagedRuleSet is the BasicManagedRuleSet implementation for ManagedRuleSet.
func (ManagedRuleSet) MarshalJSON ¶
func (mrs ManagedRuleSet) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ManagedRuleSet.
type ManagedRuleSets ¶
type ManagedRuleSets struct { // RuleSets - List of rules RuleSets *[]BasicManagedRuleSet `json:"ruleSets,omitempty"` }
ManagedRuleSets defines ManagedRuleSets - array of managedRuleSet
func (*ManagedRuleSets) UnmarshalJSON ¶
func (mrs *ManagedRuleSets) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ManagedRuleSets struct.
type MatchCondition ¶
type MatchCondition string
MatchCondition enumerates the values for match condition.
const ( // PostArgs ... PostArgs MatchCondition = "PostArgs" // QueryString ... QueryString MatchCondition = "QueryString" // RemoteAddr ... RemoteAddr MatchCondition = "RemoteAddr" // RequestBody ... RequestBody MatchCondition = "RequestBody" // RequestHeader ... RequestHeader MatchCondition = "RequestHeader" // RequestMethod ... RequestMethod MatchCondition = "RequestMethod" // RequestURI ... RequestURI MatchCondition = "RequestUri" )
func PossibleMatchConditionValues ¶
func PossibleMatchConditionValues() []MatchCondition
PossibleMatchConditionValues returns an array of possible values for the MatchCondition const type.
type MatchCondition1 ¶
type MatchCondition1 struct { // MatchVariable - Match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestURI', 'RequestHeader', 'RequestBody' MatchVariable MatchCondition `json:"matchVariable,omitempty"` // Selector - Name of selector in RequestHeader or RequestBody to be matched Selector *string `json:"selector,omitempty"` // Operator - Describes operator to be matched. Possible values include: 'Any', 'IPMatch', 'GeoMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith' Operator Operator `json:"operator,omitempty"` // NegateCondition - Describes if this is negate condition or not NegateCondition *bool `json:"negateCondition,omitempty"` // MatchValue - Match value MatchValue *[]string `json:"matchValue,omitempty"` }
MatchCondition1 define match conditions
type Mode ¶
type Mode string
Mode enumerates the values for mode.
func PossibleModeValues ¶
func PossibleModeValues() []Mode
PossibleModeValues returns an array of possible values for the Mode const type.
type NetworkOperationStatus ¶
type NetworkOperationStatus string
NetworkOperationStatus enumerates the values for network operation status.
const ( // NetworkOperationStatusFailed ... NetworkOperationStatusFailed NetworkOperationStatus = "Failed" // NetworkOperationStatusInProgress ... NetworkOperationStatusInProgress NetworkOperationStatus = "InProgress" // NetworkOperationStatusSucceeded ... NetworkOperationStatusSucceeded NetworkOperationStatus = "Succeeded" )
func PossibleNetworkOperationStatusValues ¶
func PossibleNetworkOperationStatusValues() []NetworkOperationStatus
PossibleNetworkOperationStatusValues returns an array of possible values for the NetworkOperationStatus const type.
type Operator ¶
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" )
func PossibleOperatorValues ¶
func PossibleOperatorValues() []Operator
PossibleOperatorValues returns an array of possible values for the Operator const type.
type PoliciesClient ¶
type PoliciesClient struct {
BaseClient
}
PoliciesClient is the frontDoor Client
func NewPoliciesClient ¶
func NewPoliciesClient(subscriptionID string) PoliciesClient
NewPoliciesClient creates an instance of the PoliciesClient client.
func NewPoliciesClientWithBaseURI ¶
func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient
NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client.
func (PoliciesClient) CreateOrUpdate ¶
func (client PoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy1) (result WebApplicationFirewallPolicy1, err error)
CreateOrUpdate creates or update policy with specified ruleset name within a resource group. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the resource group. parameters - policy to be created.
func (PoliciesClient) CreateOrUpdatePreparer ¶
func (client PoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, policyName string, parameters WebApplicationFirewallPolicy1) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (PoliciesClient) CreateOrUpdateResponder ¶
func (client PoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result WebApplicationFirewallPolicy1, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (PoliciesClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (PoliciesClient) Delete ¶
func (client PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result PoliciesDeleteFuture, err error)
Delete deletes Policy Parameters: resourceGroupName - the name of the resource group. policyName - the name of the resource group.
func (PoliciesClient) DeletePreparer ¶
func (client PoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (PoliciesClient) DeleteResponder ¶
func (client PoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (PoliciesClient) DeleteSender ¶
func (client PoliciesClient) DeleteSender(req *http.Request) (future PoliciesDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (PoliciesClient) Get ¶
func (client PoliciesClient) Get(ctx context.Context, resourceGroupName string, policyName string) (result WebApplicationFirewallPolicy1, err error)
Get retrieve protection policy with specified name within a resource group. Parameters: resourceGroupName - the name of the resource group. policyName - the name of the resource group.
func (PoliciesClient) GetPreparer ¶
func (client PoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, policyName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (PoliciesClient) GetResponder ¶
func (client PoliciesClient) GetResponder(resp *http.Response) (result WebApplicationFirewallPolicy1, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (PoliciesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (PoliciesClient) List ¶
func (client PoliciesClient) List(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultPage, err error)
List lists all of the protection policies within a resource group. Parameters: resourceGroupName - the name of the resource group.
func (PoliciesClient) ListComplete ¶
func (client PoliciesClient) ListComplete(ctx context.Context, resourceGroupName string) (result WebApplicationFirewallPolicyListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (PoliciesClient) ListPreparer ¶
func (client PoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (PoliciesClient) ListResponder ¶
func (client PoliciesClient) ListResponder(resp *http.Response) (result WebApplicationFirewallPolicyListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (PoliciesClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type PoliciesDeleteFuture ¶
PoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PoliciesDeleteFuture) Result ¶
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 PolicySettings ¶
type PolicySettings struct { // EnabledState - describes if the policy is in enabled state or disabled state. Possible values include: 'EnabledStateDisabled', 'EnabledStateEnabled' EnabledState EnabledState `json:"enabledState,omitempty"` // Mode - Describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection' Mode Mode `json:"mode,omitempty"` }
PolicySettings defines contents of a web application firewall global configuration
type Properties ¶
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 - Provisioning state of the Front Door. ProvisioningState *string `json:"provisioningState,omitempty"` // Cname - 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"` // EnabledState - Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnumEnabled', 'EnabledStateEnumDisabled' EnabledState EnabledStateEnum `json:"enabledState,omitempty"` }
Properties the JSON object that contains the properties required to create an endpoint.
type Protocol ¶
type Protocol string
Protocol enumerates the values for protocol.
func PossibleProtocolValues ¶
func PossibleProtocolValues() []Protocol
PossibleProtocolValues returns an array of possible values for the Protocol const type.
type PurgeParameters ¶
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 ¶
type Query string
Query enumerates the values for query.
func PossibleQueryValues ¶
func PossibleQueryValues() []Query
PossibleQueryValues returns an array of possible values for the Query const type.
type Resource ¶
type Resource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - 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 ¶
MarshalJSON is the custom marshaler for Resource.
type ResourceState ¶
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 ¶
func PossibleResourceStateValues() []ResourceState
PossibleResourceStateValues returns an array of possible values for the ResourceState const type.
type ResourceType ¶
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 ¶
func PossibleResourceTypeValues() []ResourceType
PossibleResourceTypeValues returns an array of possible values for the ResourceType const type.
type RoutingRule ¶
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 - 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 ¶
func (rr RoutingRule) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RoutingRule.
func (*RoutingRule) UnmarshalJSON ¶
func (rr *RoutingRule) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for RoutingRule struct.
type RoutingRuleListResult ¶
type RoutingRuleListResult struct { autorest.Response `json:"-"` // Value - 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 the next set of results.
func (RoutingRuleListResult) IsEmpty ¶
func (rrlr RoutingRuleListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type RoutingRuleListResultIterator ¶
type RoutingRuleListResultIterator struct {
// contains filtered or unexported fields
}
RoutingRuleListResultIterator provides access to a complete listing of RoutingRule values.
func (*RoutingRuleListResultIterator) Next ¶
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 ¶
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 ¶
func (iter RoutingRuleListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (RoutingRuleListResultIterator) Response ¶
func (iter RoutingRuleListResultIterator) Response() RoutingRuleListResult
Response returns the raw server response from the last page request.
func (RoutingRuleListResultIterator) Value ¶
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 ¶
type RoutingRuleListResultPage struct {
// contains filtered or unexported fields
}
RoutingRuleListResultPage contains a page of RoutingRule values.
func (*RoutingRuleListResultPage) Next ¶
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 ¶
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 ¶
func (page RoutingRuleListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (RoutingRuleListResultPage) Response ¶
func (page RoutingRuleListResultPage) Response() RoutingRuleListResult
Response returns the raw server response from the last page request.
func (RoutingRuleListResultPage) Values ¶
func (page RoutingRuleListResultPage) Values() []RoutingRule
Values returns the slice of values for the current page or nil if there are no values.
type RoutingRuleProperties ¶
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"` // 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"` // EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnumEnabled', 'EnabledStateEnumDisabled' EnabledState EnabledStateEnum `json:"enabledState,omitempty"` }
RoutingRuleProperties the JSON object that contains the properties required to create a routing rule.
type RoutingRuleUpdateParameters ¶
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"` // 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"` // EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnumEnabled', 'EnabledStateEnumDisabled' EnabledState EnabledStateEnum `json:"enabledState,omitempty"` }
RoutingRuleUpdateParameters routing rules to apply to an endpoint
type RoutingRulesClient ¶
type RoutingRulesClient struct {
BaseClient
}
RoutingRulesClient is the frontDoor Client
func NewRoutingRulesClient ¶
func NewRoutingRulesClient(subscriptionID string) RoutingRulesClient
NewRoutingRulesClient creates an instance of the RoutingRulesClient client.
func NewRoutingRulesClientWithBaseURI ¶
func NewRoutingRulesClientWithBaseURI(baseURI string, subscriptionID string) RoutingRulesClient
NewRoutingRulesClientWithBaseURI creates an instance of the RoutingRulesClient client.
func (RoutingRulesClient) CreateOrUpdate ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client RoutingRulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, frontDoorName string, routingRuleName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (RoutingRulesClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client RoutingRulesClient) GetPreparer(ctx context.Context, resourceGroupName string, frontDoorName string, routingRuleName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (RoutingRulesClient) GetResponder ¶
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 ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (RoutingRulesClient) ListByFrontDoor ¶
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 ¶
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 ¶
func (client RoutingRulesClient) ListByFrontDoorPreparer(ctx context.Context, resourceGroupName string, frontDoorName string) (*http.Request, error)
ListByFrontDoorPreparer prepares the ListByFrontDoor request.
func (RoutingRulesClient) ListByFrontDoorResponder ¶
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 ¶
ListByFrontDoorSender sends the ListByFrontDoor request. The method will close the http.Response Body if it receives an error.
type RoutingRulesCreateOrUpdateFuture ¶
RoutingRulesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoutingRulesCreateOrUpdateFuture) Result ¶
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 ¶
RoutingRulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*RoutingRulesDeleteFuture) Result ¶
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 RuleGroupOverride ¶
type RuleGroupOverride string
RuleGroupOverride enumerates the values for rule group override.
const ( // SQLInjection ... SQLInjection RuleGroupOverride = "SqlInjection" // XSS ... XSS RuleGroupOverride = "XSS" )
func PossibleRuleGroupOverrideValues ¶
func PossibleRuleGroupOverrideValues() []RuleGroupOverride
PossibleRuleGroupOverrideValues returns an array of possible values for the RuleGroupOverride const type.
type RuleSetType ¶
type RuleSetType string
RuleSetType enumerates the values for rule set type.
const ( // RuleSetTypeAzureManagedRuleSet ... RuleSetTypeAzureManagedRuleSet RuleSetType = "AzureManagedRuleSet" // RuleSetTypeUnknown ... RuleSetTypeUnknown RuleSetType = "Unknown" )
func PossibleRuleSetTypeValues ¶
func PossibleRuleSetTypeValues() []RuleSetType
PossibleRuleSetTypeValues returns an array of possible values for the RuleSetType const type.
type RuleType ¶
type RuleType string
RuleType enumerates the values for rule type.
func PossibleRuleTypeValues ¶
func PossibleRuleTypeValues() []RuleType
PossibleRuleTypeValues returns an array of possible values for the RuleType const type.
type SessionAffinityEnabledState ¶
type SessionAffinityEnabledState string
SessionAffinityEnabledState enumerates the values for session affinity enabled state.
const ( // SessionAffinityEnabledStateDisabled ... SessionAffinityEnabledStateDisabled SessionAffinityEnabledState = "Disabled" // SessionAffinityEnabledStateEnabled ... SessionAffinityEnabledStateEnabled SessionAffinityEnabledState = "Enabled" )
func PossibleSessionAffinityEnabledStateValues ¶
func PossibleSessionAffinityEnabledStateValues() []SessionAffinityEnabledState
PossibleSessionAffinityEnabledStateValues returns an array of possible values for the SessionAffinityEnabledState const type.
type SubResource ¶
type SubResource struct { // ID - Resource ID. ID *string `json:"id,omitempty"` }
SubResource reference to another subresource.
type TLSProtocolType ¶
type TLSProtocolType string
TLSProtocolType enumerates the values for tls protocol type.
const ( // ServerNameIndication ... ServerNameIndication TLSProtocolType = "ServerNameIndication" )
func PossibleTLSProtocolTypeValues ¶
func PossibleTLSProtocolTypeValues() []TLSProtocolType
PossibleTLSProtocolTypeValues returns an array of possible values for the TLSProtocolType const type.
type TagsObject ¶
TagsObject tags object for patch operations.
func (TagsObject) MarshalJSON ¶
func (toVar TagsObject) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TagsObject.
type Transform ¶
type Transform string
Transform enumerates the values for transform.
const ( // HTMLEntityDecode ... HTMLEntityDecode Transform = "HtmlEntityDecode" // Lowercase ... Lowercase Transform = "Lowercase" // RemoveNulls ... RemoveNulls Transform = "RemoveNulls" // Trim ... Trim Transform = "Trim" // Uppercase ... Uppercase Transform = "Uppercase" // URLDecode ... URLDecode Transform = "UrlDecode" // URLEncode ... URLEncode Transform = "UrlEncode" )
func PossibleTransformValues ¶
func PossibleTransformValues() []Transform
PossibleTransformValues returns an array of possible values for the Transform const type.
type UpdateParameters ¶
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"` // EnabledState - Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnumEnabled', 'EnabledStateEnumDisabled' EnabledState EnabledStateEnum `json:"enabledState,omitempty"` }
UpdateParameters the properties needed to update a Front Door
type ValidateCustomDomainInput ¶
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 ¶
type ValidateCustomDomainOutput struct { autorest.Response `json:"-"` // CustomDomainValidated - Indicates whether the custom domain is valid or not. CustomDomainValidated *bool `json:"customDomainValidated,omitempty"` // Reason - The reason why the custom domain is not valid. Reason *string `json:"reason,omitempty"` // Message - Error message describing why the custom domain is not valid. Message *string `json:"message,omitempty"` }
ValidateCustomDomainOutput output of custom domain validation.
type WebApplicationFirewallPolicy ¶
type WebApplicationFirewallPolicy string
WebApplicationFirewallPolicy enumerates the values for web application firewall policy.
const ( // WebApplicationFirewallPolicyCreating ... WebApplicationFirewallPolicyCreating WebApplicationFirewallPolicy = "Creating" // WebApplicationFirewallPolicyDeleting ... WebApplicationFirewallPolicyDeleting WebApplicationFirewallPolicy = "Deleting" // WebApplicationFirewallPolicyDisabled ... WebApplicationFirewallPolicyDisabled WebApplicationFirewallPolicy = "Disabled" // WebApplicationFirewallPolicyDisabling ... WebApplicationFirewallPolicyDisabling WebApplicationFirewallPolicy = "Disabling" // WebApplicationFirewallPolicyEnabled ... WebApplicationFirewallPolicyEnabled WebApplicationFirewallPolicy = "Enabled" // WebApplicationFirewallPolicyEnabling ... WebApplicationFirewallPolicyEnabling WebApplicationFirewallPolicy = "Enabling" )
func PossibleWebApplicationFirewallPolicyValues ¶
func PossibleWebApplicationFirewallPolicyValues() []WebApplicationFirewallPolicy
PossibleWebApplicationFirewallPolicyValues returns an array of possible values for the WebApplicationFirewallPolicy const type.
type WebApplicationFirewallPolicy1 ¶
type WebApplicationFirewallPolicy1 struct { autorest.Response `json:"-"` // WebApplicationFirewallPolicyPropertiesFormat - Properties of the web application firewall policy. *WebApplicationFirewallPolicyPropertiesFormat `json:"properties,omitempty"` // Etag - Gets a unique read-only string that changes whenever the resource is updated. Etag *string `json:"etag,omitempty"` // ID - Resource ID. ID *string `json:"id,omitempty"` // Name - Resource name. Name *string `json:"name,omitempty"` // Type - Resource type. Type *string `json:"type,omitempty"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` }
WebApplicationFirewallPolicy1 defines web application firewall policy.
func (WebApplicationFirewallPolicy1) MarshalJSON ¶
func (wafp1 WebApplicationFirewallPolicy1) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebApplicationFirewallPolicy1.
func (*WebApplicationFirewallPolicy1) UnmarshalJSON ¶
func (wafp1 *WebApplicationFirewallPolicy1) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for WebApplicationFirewallPolicy1 struct.
type WebApplicationFirewallPolicyListResult ¶
type WebApplicationFirewallPolicyListResult struct { autorest.Response `json:"-"` // Value - List of WebApplicationFirewallPolicies within a resource group. Value *[]WebApplicationFirewallPolicy1 `json:"value,omitempty"` // NextLink - URL to get the next set of WebApplicationFirewallPolicy objects if there are any. NextLink *string `json:"nextLink,omitempty"` }
WebApplicationFirewallPolicyListResult result of the request to list WebApplicationFirewallPolicies. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the the next set of results.
func (WebApplicationFirewallPolicyListResult) IsEmpty ¶
func (wafplr WebApplicationFirewallPolicyListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type WebApplicationFirewallPolicyListResultIterator ¶
type WebApplicationFirewallPolicyListResultIterator struct {
// contains filtered or unexported fields
}
WebApplicationFirewallPolicyListResultIterator provides access to a complete listing of WebApplicationFirewallPolicy1 values.
func (*WebApplicationFirewallPolicyListResultIterator) Next ¶
func (iter *WebApplicationFirewallPolicyListResultIterator) 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 (*WebApplicationFirewallPolicyListResultIterator) NextWithContext ¶
func (iter *WebApplicationFirewallPolicyListResultIterator) 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 (WebApplicationFirewallPolicyListResultIterator) NotDone ¶
func (iter WebApplicationFirewallPolicyListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (WebApplicationFirewallPolicyListResultIterator) Response ¶
func (iter WebApplicationFirewallPolicyListResultIterator) Response() WebApplicationFirewallPolicyListResult
Response returns the raw server response from the last page request.
func (WebApplicationFirewallPolicyListResultIterator) Value ¶
func (iter WebApplicationFirewallPolicyListResultIterator) Value() WebApplicationFirewallPolicy1
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type WebApplicationFirewallPolicyListResultPage ¶
type WebApplicationFirewallPolicyListResultPage struct {
// contains filtered or unexported fields
}
WebApplicationFirewallPolicyListResultPage contains a page of WebApplicationFirewallPolicy1 values.
func (*WebApplicationFirewallPolicyListResultPage) Next ¶
func (page *WebApplicationFirewallPolicyListResultPage) 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 (*WebApplicationFirewallPolicyListResultPage) NextWithContext ¶
func (page *WebApplicationFirewallPolicyListResultPage) 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 (WebApplicationFirewallPolicyListResultPage) NotDone ¶
func (page WebApplicationFirewallPolicyListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (WebApplicationFirewallPolicyListResultPage) Response ¶
func (page WebApplicationFirewallPolicyListResultPage) Response() WebApplicationFirewallPolicyListResult
Response returns the raw server response from the last page request.
func (WebApplicationFirewallPolicyListResultPage) Values ¶
func (page WebApplicationFirewallPolicyListResultPage) Values() []WebApplicationFirewallPolicy1
Values returns the slice of values for the current page or nil if there are no values.
type WebApplicationFirewallPolicyPropertiesFormat ¶
type WebApplicationFirewallPolicyPropertiesFormat struct { // PolicySettings - Describes policySettings for policy PolicySettings *PolicySettings `json:"policySettings,omitempty"` // CustomRules - Describes custom rules inside the policy CustomRules *CustomRules `json:"customRules,omitempty"` // ManagedRules - Describes managed rules inside the policy ManagedRules *ManagedRuleSets `json:"managedRules,omitempty"` // ProvisioningState - Provisioning state of the WebApplicationFirewallPolicy. ProvisioningState *string `json:"provisioningState,omitempty"` // ResourceState - Possible values include: 'WebApplicationFirewallPolicyCreating', 'WebApplicationFirewallPolicyEnabling', 'WebApplicationFirewallPolicyEnabled', 'WebApplicationFirewallPolicyDisabling', 'WebApplicationFirewallPolicyDisabled', 'WebApplicationFirewallPolicyDeleting' ResourceState WebApplicationFirewallPolicy `json:"resourceState,omitempty"` }
WebApplicationFirewallPolicyPropertiesFormat defines web application firewall policy properties