azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/cdn/mgmt/2019-06-15-preview/cdn Index | Files | Directories

package cdn

import "github.com/Azure/azure-sdk-for-go/services/preview/cdn/mgmt/2019-06-15-preview/cdn"

Package cdn implements the Azure ARM Cdn service API version 2019-06-15-preview.

Cdn Management Client

Index

Package Files

client.go customdomains.go edgenodes.go endpoints.go managedrulesets.go models.go operations.go origins.go policies.go profiles.go resourceusage.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type Action Uses

type Action string

Action enumerates the values for action.

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

func PossibleActionValues Uses

func PossibleActionValues() []Action

PossibleActionValues returns an array of possible values for the Action const type.

type ActionType Uses

type ActionType struct {
    // ActionType - Describes type of action. Possible values include: 'Allow', 'Block', 'Log', 'Redirect'
    ActionType Action `json:"actionType,omitempty"`
    // RedirectURL - If action type is redirect, this field represents URL to be re-directed.
    RedirectURL *string `json:"redirectUrl,omitempty"`
    // CustomBlockResponseStatusCode - If the action type is block, customer can override the response status code.
    CustomBlockResponseStatusCode *int32 `json:"customBlockResponseStatusCode,omitempty"`
    // CustomBlockResponseBody - If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    CustomBlockResponseBody *string `json:"customBlockResponseBody,omitempty"`
}

ActionType defines the action to take on rule match.

type BaseClient Uses

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

BaseClient is the base client for Cdn.

func New Uses

func New(subscriptionID string, subscriptionID1 string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CheckNameAvailability Uses

func (client BaseClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)

CheckNameAvailability check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. Parameters: checkNameAvailabilityInput - input to check.

func (BaseClient) CheckNameAvailabilityPreparer Uses

func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (BaseClient) CheckNameAvailabilityResponder Uses

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

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (BaseClient) CheckNameAvailabilitySender Uses

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

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

func (BaseClient) CheckNameAvailabilityWithSubscription Uses

func (client BaseClient) CheckNameAvailabilityWithSubscription(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)

CheckNameAvailabilityWithSubscription check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint. Parameters: checkNameAvailabilityInput - input to check.

func (BaseClient) CheckNameAvailabilityWithSubscriptionPreparer Uses

func (client BaseClient) CheckNameAvailabilityWithSubscriptionPreparer(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)

CheckNameAvailabilityWithSubscriptionPreparer prepares the CheckNameAvailabilityWithSubscription request.

func (BaseClient) CheckNameAvailabilityWithSubscriptionResponder Uses

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

CheckNameAvailabilityWithSubscriptionResponder handles the response to the CheckNameAvailabilityWithSubscription request. The method always closes the http.Response Body.

func (BaseClient) CheckNameAvailabilityWithSubscriptionSender Uses

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

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

func (BaseClient) ValidateProbe Uses

func (client BaseClient) ValidateProbe(ctx context.Context, validateProbeInput ValidateProbeInput) (result ValidateProbeOutput, err error)

ValidateProbe check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration. Parameters: validateProbeInput - input to check.

func (BaseClient) ValidateProbePreparer Uses

func (client BaseClient) ValidateProbePreparer(ctx context.Context, validateProbeInput ValidateProbeInput) (*http.Request, error)

ValidateProbePreparer prepares the ValidateProbe request.

func (BaseClient) ValidateProbeResponder Uses

func (client BaseClient) ValidateProbeResponder(resp *http.Response) (result ValidateProbeOutput, err error)

ValidateProbeResponder handles the response to the ValidateProbe request. The method always closes the http.Response Body.

func (BaseClient) ValidateProbeSender Uses

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

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

type BasicCustomDomainHTTPSParameters Uses

type BasicCustomDomainHTTPSParameters interface {
    AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)
    AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)
    AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)
}

BasicCustomDomainHTTPSParameters the JSON object that contains the properties to secure a custom domain.

type BasicDeliveryRuleAction Uses

type BasicDeliveryRuleAction interface {
    AsURLRedirectAction() (*URLRedirectAction, bool)
    AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
    AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
    AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
    AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
}

BasicDeliveryRuleAction an action for the delivery rule.

type BasicDeliveryRuleCondition Uses

type BasicDeliveryRuleCondition interface {
    AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
    AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
    AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
    AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
    AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
    AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
    AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
    AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
    AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
    AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
    AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
    AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
    AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
}

BasicDeliveryRuleCondition a condition for the delivery rule.

type CacheBehavior Uses

type CacheBehavior string

CacheBehavior enumerates the values for cache behavior.

const (
    // BypassCache ...
    BypassCache CacheBehavior = "BypassCache"
    // Override ...
    Override CacheBehavior = "Override"
    // SetIfMissing ...
    SetIfMissing CacheBehavior = "SetIfMissing"
)

func PossibleCacheBehaviorValues Uses

func PossibleCacheBehaviorValues() []CacheBehavior

PossibleCacheBehaviorValues returns an array of possible values for the CacheBehavior const type.

type CacheExpirationActionParameters Uses

type CacheExpirationActionParameters struct {
    OdataType *string `json:"@odata.type,omitempty"`
    // CacheBehavior - Caching behavior for the requests. Possible values include: 'BypassCache', 'Override', 'SetIfMissing'
    CacheBehavior CacheBehavior `json:"cacheBehavior,omitempty"`
    // CacheType - The level at which the content needs to be cached.
    CacheType *string `json:"cacheType,omitempty"`
    // CacheDuration - The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss
    CacheDuration *string `json:"cacheDuration,omitempty"`
}

CacheExpirationActionParameters defines the parameters for the cache expiration action.

type CertificateSource Uses

type CertificateSource string

CertificateSource enumerates the values for certificate source.

const (
    // CertificateSourceAzureKeyVault ...
    CertificateSourceAzureKeyVault CertificateSource = "AzureKeyVault"
    // CertificateSourceCdn ...
    CertificateSourceCdn CertificateSource = "Cdn"
    // CertificateSourceCustomDomainHTTPSParameters ...
    CertificateSourceCustomDomainHTTPSParameters CertificateSource = "CustomDomainHttpsParameters"
)

func PossibleCertificateSourceValues Uses

func PossibleCertificateSourceValues() []CertificateSource

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

type CertificateSourceParameters Uses

type CertificateSourceParameters struct {
    OdataType *string `json:"@odata.type,omitempty"`
    // CertificateType - Type of certificate used. Possible values include: 'Shared', 'Dedicated'
    CertificateType CertificateType `json:"certificateType,omitempty"`
}

CertificateSourceParameters defines the parameters for using CDN managed certificate for securing custom domain.

type CertificateType Uses

type CertificateType string

CertificateType enumerates the values for certificate type.

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

func PossibleCertificateTypeValues Uses

func PossibleCertificateTypeValues() []CertificateType

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

type CheckNameAvailabilityInput Uses

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

CheckNameAvailabilityInput input of CheckNameAvailability API.

type CheckNameAvailabilityOutput Uses

type CheckNameAvailabilityOutput struct {
    autorest.Response `json:"-"`
    // NameAvailable - READ-ONLY; Indicates whether the name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - READ-ONLY; The reason why the name is not available.
    Reason *string `json:"reason,omitempty"`
    // Message - READ-ONLY; The detailed error message describing why the name is not available.
    Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityOutput output of check name availability API.

type CidrIPAddress Uses

type CidrIPAddress struct {
    // BaseIPAddress - Ip address itself.
    BaseIPAddress *string `json:"baseIpAddress,omitempty"`
    // PrefixLength - The length of the prefix of the ip address.
    PrefixLength *int32 `json:"prefixLength,omitempty"`
}

CidrIPAddress CIDR Ip address

type CustomDomain Uses

type CustomDomain struct {
    autorest.Response       `json:"-"`
    *CustomDomainProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

CustomDomain friendly domain name mapping to the endpoint hostname that the customer provides for branding purposes, e.g. www.contoso.com.

func (CustomDomain) MarshalJSON Uses

func (cd CustomDomain) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomain.

func (*CustomDomain) UnmarshalJSON Uses

func (cd *CustomDomain) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomDomain struct.

type CustomDomainHTTPSParameters Uses

type CustomDomainHTTPSParameters struct {
    // ProtocolType - Defines the TLS extension protocol that is used for secure delivery. Possible values include: 'ServerNameIndication', 'IPBased'
    ProtocolType ProtocolType `json:"protocolType,omitempty"`
    // CertificateSource - Possible values include: 'CertificateSourceCustomDomainHTTPSParameters', 'CertificateSourceCdn', 'CertificateSourceAzureKeyVault'
    CertificateSource CertificateSource `json:"certificateSource,omitempty"`
}

CustomDomainHTTPSParameters the JSON object that contains the properties to secure a custom domain.

func (CustomDomainHTTPSParameters) AsBasicCustomDomainHTTPSParameters Uses

func (cdhp CustomDomainHTTPSParameters) AsBasicCustomDomainHTTPSParameters() (BasicCustomDomainHTTPSParameters, bool)

AsBasicCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) AsCustomDomainHTTPSParameters Uses

func (cdhp CustomDomainHTTPSParameters) AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)

AsCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) AsManagedHTTPSParameters Uses

func (cdhp CustomDomainHTTPSParameters) AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)

AsManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) AsUserManagedHTTPSParameters Uses

func (cdhp CustomDomainHTTPSParameters) AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)

AsUserManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) MarshalJSON Uses

func (cdhp CustomDomainHTTPSParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainHTTPSParameters.

type CustomDomainListResult Uses

type CustomDomainListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of CDN CustomDomains within an endpoint.
    Value *[]CustomDomain `json:"value,omitempty"`
    // NextLink - URL to get the next set of custom domain objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

CustomDomainListResult result of the request to list custom domains. It contains a list of custom domain objects and a URL link to get the next set of results.

func (CustomDomainListResult) IsEmpty Uses

func (cdlr CustomDomainListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CustomDomainListResultIterator Uses

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

CustomDomainListResultIterator provides access to a complete listing of CustomDomain values.

func NewCustomDomainListResultIterator Uses

func NewCustomDomainListResultIterator(page CustomDomainListResultPage) CustomDomainListResultIterator

Creates a new instance of the CustomDomainListResultIterator type.

func (*CustomDomainListResultIterator) Next Uses

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

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

func (iter CustomDomainListResultIterator) NotDone() bool

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

func (CustomDomainListResultIterator) Response Uses

func (iter CustomDomainListResultIterator) Response() CustomDomainListResult

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

func (CustomDomainListResultIterator) Value Uses

func (iter CustomDomainListResultIterator) Value() CustomDomain

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

type CustomDomainListResultPage Uses

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

CustomDomainListResultPage contains a page of CustomDomain values.

func NewCustomDomainListResultPage Uses

func NewCustomDomainListResultPage(getNextPage func(context.Context, CustomDomainListResult) (CustomDomainListResult, error)) CustomDomainListResultPage

Creates a new instance of the CustomDomainListResultPage type.

func (*CustomDomainListResultPage) Next Uses

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

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

func (page CustomDomainListResultPage) NotDone() bool

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

func (CustomDomainListResultPage) Response Uses

func (page CustomDomainListResultPage) Response() CustomDomainListResult

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

func (CustomDomainListResultPage) Values Uses

func (page CustomDomainListResultPage) Values() []CustomDomain

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

type CustomDomainParameters Uses

type CustomDomainParameters struct {
    *CustomDomainPropertiesParameters `json:"properties,omitempty"`
}

CustomDomainParameters the customDomain JSON object required for custom domain creation or update.

func (CustomDomainParameters) MarshalJSON Uses

func (cdp CustomDomainParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainParameters.

func (*CustomDomainParameters) UnmarshalJSON Uses

func (cdp *CustomDomainParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CustomDomainParameters struct.

type CustomDomainProperties Uses

type CustomDomainProperties struct {
    // HostName - The host name of the custom domain. Must be a domain name.
    HostName *string `json:"hostName,omitempty"`
    // ResourceState - READ-ONLY; Resource status of the custom domain. Possible values include: 'Creating', 'Active', 'Deleting'
    ResourceState CustomDomainResourceState `json:"resourceState,omitempty"`
    // CustomHTTPSProvisioningState - READ-ONLY; Provisioning status of Custom Https of the custom domain. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed'
    CustomHTTPSProvisioningState CustomHTTPSProvisioningState `json:"customHttpsProvisioningState,omitempty"`
    // CustomHTTPSProvisioningSubstate - READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. Possible values include: 'SubmittingDomainControlValidationRequest', 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', 'CertificateDeleted'
    CustomHTTPSProvisioningSubstate CustomHTTPSProvisioningSubstate `json:"customHttpsProvisioningSubstate,omitempty"`
    // ValidationData - Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
    ValidationData *string `json:"validationData,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning status of the custom domain.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

CustomDomainProperties the JSON object that contains the properties of the custom domain to create.

type CustomDomainPropertiesParameters Uses

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

CustomDomainPropertiesParameters the JSON object that contains the properties of the custom domain to create.

type CustomDomainResourceState Uses

type CustomDomainResourceState string

CustomDomainResourceState enumerates the values for custom domain resource state.

const (
    // Active ...
    Active CustomDomainResourceState = "Active"
    // Creating ...
    Creating CustomDomainResourceState = "Creating"
    // Deleting ...
    Deleting CustomDomainResourceState = "Deleting"
)

func PossibleCustomDomainResourceStateValues Uses

func PossibleCustomDomainResourceStateValues() []CustomDomainResourceState

PossibleCustomDomainResourceStateValues returns an array of possible values for the CustomDomainResourceState const type.

type CustomDomainsClient Uses

type CustomDomainsClient struct {
    BaseClient
}

CustomDomainsClient is the cdn Management Client

func NewCustomDomainsClient Uses

func NewCustomDomainsClient(subscriptionID string, subscriptionID1 string) CustomDomainsClient

NewCustomDomainsClient creates an instance of the CustomDomainsClient client.

func NewCustomDomainsClientWithBaseURI Uses

func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) CustomDomainsClient

NewCustomDomainsClientWithBaseURI creates an instance of the CustomDomainsClient client.

func (CustomDomainsClient) Create Uses

func (client CustomDomainsClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainProperties CustomDomainParameters) (result CustomDomainsCreateFuture, err error)

Create creates a new custom domain within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint. customDomainProperties - properties required to create a new custom domain.

func (CustomDomainsClient) CreatePreparer Uses

func (client CustomDomainsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainProperties CustomDomainParameters) (*http.Request, error)

CreatePreparer prepares the Create request.

func (CustomDomainsClient) CreateResponder Uses

func (client CustomDomainsClient) CreateResponder(resp *http.Response) (result CustomDomain, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (CustomDomainsClient) CreateSender Uses

func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error)

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

func (CustomDomainsClient) Delete Uses

func (client CustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomainsDeleteFuture, err error)

Delete deletes an existing custom domain within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint.

func (CustomDomainsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (CustomDomainsClient) DeleteResponder Uses

func (client CustomDomainsClient) DeleteResponder(resp *http.Response) (result CustomDomain, err error)

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

func (CustomDomainsClient) DeleteSender Uses

func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error)

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

func (CustomDomainsClient) DisableCustomHTTPS Uses

func (client CustomDomainsClient) DisableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomain, err error)

DisableCustomHTTPS disable https delivery of the custom domain. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint.

func (CustomDomainsClient) DisableCustomHTTPSPreparer Uses

func (client CustomDomainsClient) DisableCustomHTTPSPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (*http.Request, error)

DisableCustomHTTPSPreparer prepares the DisableCustomHTTPS request.

func (CustomDomainsClient) DisableCustomHTTPSResponder Uses

func (client CustomDomainsClient) DisableCustomHTTPSResponder(resp *http.Response) (result CustomDomain, err error)

DisableCustomHTTPSResponder handles the response to the DisableCustomHTTPS request. The method always closes the http.Response Body.

func (CustomDomainsClient) DisableCustomHTTPSSender Uses

func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error)

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

func (CustomDomainsClient) EnableCustomHTTPS Uses

func (client CustomDomainsClient) EnableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainHTTPSParameters *BasicCustomDomainHTTPSParameters) (result CustomDomain, err error)

EnableCustomHTTPS enable https delivery of the custom domain. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint. customDomainHTTPSParameters - the configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.

func (CustomDomainsClient) EnableCustomHTTPSPreparer Uses

func (client CustomDomainsClient) EnableCustomHTTPSPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainHTTPSParameters *BasicCustomDomainHTTPSParameters) (*http.Request, error)

EnableCustomHTTPSPreparer prepares the EnableCustomHTTPS request.

func (CustomDomainsClient) EnableCustomHTTPSResponder Uses

func (client CustomDomainsClient) EnableCustomHTTPSResponder(resp *http.Response) (result CustomDomain, err error)

EnableCustomHTTPSResponder handles the response to the EnableCustomHTTPS request. The method always closes the http.Response Body.

func (CustomDomainsClient) EnableCustomHTTPSSender Uses

func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error)

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

func (CustomDomainsClient) Get Uses

func (client CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomain, err error)

Get gets an existing custom domain within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint.

func (CustomDomainsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (CustomDomainsClient) GetResponder Uses

func (client CustomDomainsClient) GetResponder(resp *http.Response) (result CustomDomain, err error)

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

func (CustomDomainsClient) GetSender Uses

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

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

func (CustomDomainsClient) ListByEndpoint Uses

func (client CustomDomainsClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result CustomDomainListResultPage, err error)

ListByEndpoint lists all of the existing custom domains within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (CustomDomainsClient) ListByEndpointComplete Uses

func (client CustomDomainsClient) ListByEndpointComplete(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result CustomDomainListResultIterator, err error)

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

func (CustomDomainsClient) ListByEndpointPreparer Uses

func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (*http.Request, error)

ListByEndpointPreparer prepares the ListByEndpoint request.

func (CustomDomainsClient) ListByEndpointResponder Uses

func (client CustomDomainsClient) ListByEndpointResponder(resp *http.Response) (result CustomDomainListResult, err error)

ListByEndpointResponder handles the response to the ListByEndpoint request. The method always closes the http.Response Body.

func (CustomDomainsClient) ListByEndpointSender Uses

func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error)

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

type CustomDomainsCreateFuture Uses

type CustomDomainsCreateFuture struct {
    azure.Future
}

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

func (*CustomDomainsCreateFuture) Result Uses

func (future *CustomDomainsCreateFuture) Result(client CustomDomainsClient) (cd CustomDomain, err error)

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

type CustomDomainsDeleteFuture Uses

type CustomDomainsDeleteFuture struct {
    azure.Future
}

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

func (*CustomDomainsDeleteFuture) Result Uses

func (future *CustomDomainsDeleteFuture) Result(client CustomDomainsClient) (cd CustomDomain, err error)

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

type CustomHTTPSProvisioningState Uses

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 Uses

func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState

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

type CustomHTTPSProvisioningSubstate Uses

type CustomHTTPSProvisioningSubstate string

CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate.

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

func PossibleCustomHTTPSProvisioningSubstateValues Uses

func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate

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

type CustomRule Uses

type CustomRule struct {
    // Name - Defines the name of the custom rule
    Name *string `json:"name,omitempty"`
    // EnabledState - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified. Possible values include: 'CustomRuleEnabledStateDisabled', 'CustomRuleEnabledStateEnabled'
    EnabledState CustomRuleEnabledState `json:"enabledState,omitempty"`
    // Priority - Defines in what order this rule be evaluated in the overall list of custom rules
    Priority *int32 `json:"priority,omitempty"`
    // MatchConditions - List of match conditions.
    MatchConditions *[]MatchCondition `json:"matchConditions,omitempty"`
    // Action - Describes what action to be applied when rule matches
    Action *ActionType `json:"action,omitempty"`
}

CustomRule defines the common attributes for a custom rule that can be included in a waf policy

type CustomRuleEnabledState Uses

type CustomRuleEnabledState string

CustomRuleEnabledState enumerates the values for custom rule enabled state.

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

func PossibleCustomRuleEnabledStateValues Uses

func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState

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

type CustomRuleList Uses

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

CustomRuleList defines contents of custom rules

type DeepCreatedOrigin Uses

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

DeepCreatedOrigin the main origin of CDN content which is added when creating a CDN endpoint.

func (DeepCreatedOrigin) MarshalJSON Uses

func (dco DeepCreatedOrigin) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeepCreatedOrigin.

func (*DeepCreatedOrigin) UnmarshalJSON Uses

func (dco *DeepCreatedOrigin) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeepCreatedOrigin struct.

type DeepCreatedOriginProperties Uses

type DeepCreatedOriginProperties struct {
    // HostName - The address of the origin. It can be a domain name, IPv4 address, or IPv6 address.
    HostName *string `json:"hostName,omitempty"`
    // HTTPPort - The value of the HTTP port. Must be between 1 and 65535
    HTTPPort *int32 `json:"httpPort,omitempty"`
    // HTTPSPort - The value of the HTTPS port. Must be between 1 and 65535
    HTTPSPort *int32 `json:"httpsPort,omitempty"`
}

DeepCreatedOriginProperties properties of the origin created on the CDN endpoint.

type DeliveryRule Uses

type DeliveryRule struct {
    // Name - Name of the rule
    Name *string `json:"name,omitempty"`
    // Order - The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.
    Order *int32 `json:"order,omitempty"`
    // Conditions - A list of conditions that must be matched for the actions to be executed
    Conditions *[]BasicDeliveryRuleCondition `json:"conditions,omitempty"`
    // Actions - A list of actions that are executed when all the conditions of a rule are satisfied.
    Actions *[]BasicDeliveryRuleAction `json:"actions,omitempty"`
}

DeliveryRule a rule that specifies a set of actions and conditions

func (*DeliveryRule) UnmarshalJSON Uses

func (dr *DeliveryRule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeliveryRule struct.

type DeliveryRuleAction Uses

type DeliveryRuleAction struct {
    // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
    Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleAction an action for the delivery rule.

func (DeliveryRuleAction) AsBasicDeliveryRuleAction Uses

func (dra DeliveryRuleAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleAction Uses

func (dra DeliveryRuleAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleCacheExpirationAction Uses

func (dra DeliveryRuleAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleRequestHeaderAction Uses

func (dra DeliveryRuleAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleResponseHeaderAction Uses

func (dra DeliveryRuleAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsURLRedirectAction Uses

func (dra DeliveryRuleAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) MarshalJSON Uses

func (dra DeliveryRuleAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryRuleAction.

type DeliveryRuleCacheExpirationAction Uses

type DeliveryRuleCacheExpirationAction struct {
    // Parameters - Defines the parameters for the action.
    Parameters *CacheExpirationActionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
    Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleCacheExpirationAction defines the cache expiration action for the delivery rule.

func (DeliveryRuleCacheExpirationAction) AsBasicDeliveryRuleAction Uses

func (drcea DeliveryRuleCacheExpirationAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleAction Uses

func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheExpirationAction Uses

func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleRequestHeaderAction Uses

func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleResponseHeaderAction Uses

func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsURLRedirectAction Uses

func (drcea DeliveryRuleCacheExpirationAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleCacheExpirationAction.

type DeliveryRuleCondition Uses

type DeliveryRuleCondition struct {
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleCondition a condition for the delivery rule.

func (DeliveryRuleCondition) AsBasicDeliveryRuleCondition Uses

func (drc DeliveryRuleCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRulePostArgsCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleQueryStringCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestURICondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleURLPathCondition Uses

func (drc DeliveryRuleCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) MarshalJSON Uses

func (drc DeliveryRuleCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryRuleCondition.

type DeliveryRuleIsDeviceCondition Uses

type DeliveryRuleIsDeviceCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *IsDeviceMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleIsDeviceCondition defines the IsDevice condition for the delivery rule.

func (DeliveryRuleIsDeviceCondition) AsBasicDeliveryRuleCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleIsDeviceCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRulePostArgsCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleQueryStringCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestBodyCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestMethodCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestURICondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileNameCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLPathCondition Uses

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleIsDeviceCondition.

type DeliveryRulePostArgsCondition Uses

type DeliveryRulePostArgsCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *PostArgsMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRulePostArgsCondition defines the PostArgs condition for the delivery rule.

func (DeliveryRulePostArgsCondition) AsBasicDeliveryRuleCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRulePostArgsCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleQueryStringCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestURICondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleURLPathCondition Uses

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRulePostArgsCondition.

type DeliveryRuleQueryStringCondition Uses

type DeliveryRuleQueryStringCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *QueryStringMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleQueryStringCondition defines the QueryString condition for the delivery rule.

func (DeliveryRuleQueryStringCondition) AsBasicDeliveryRuleCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRulePostArgsCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleQueryStringCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestURICondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleURLPathCondition Uses

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleQueryStringCondition.

type DeliveryRuleRemoteAddressCondition Uses

type DeliveryRuleRemoteAddressCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *RemoteAddressMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleRemoteAddressCondition defines the RemoteAddress condition for the delivery rule.

func (DeliveryRuleRemoteAddressCondition) AsBasicDeliveryRuleCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRulePostArgsCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleQueryStringCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestURICondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLPathCondition Uses

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleRemoteAddressCondition.

type DeliveryRuleRequestBodyCondition Uses

type DeliveryRuleRequestBodyCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *RequestBodyMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestBodyCondition defines the RequestBody condition for the delivery rule.

func (DeliveryRuleRequestBodyCondition) AsBasicDeliveryRuleCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRulePostArgsCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleQueryStringCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestURICondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLPathCondition Uses

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestBodyCondition.

type DeliveryRuleRequestHeaderAction Uses

type DeliveryRuleRequestHeaderAction struct {
    // Parameters - Defines the parameters for the action.
    Parameters *HeaderActionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
    Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleRequestHeaderAction defines the request header action for the delivery rule.

func (DeliveryRuleRequestHeaderAction) AsBasicDeliveryRuleAction Uses

func (drrha DeliveryRuleRequestHeaderAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleAction Uses

func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheExpirationAction Uses

func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleRequestHeaderAction Uses

func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleResponseHeaderAction Uses

func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsURLRedirectAction Uses

func (drrha DeliveryRuleRequestHeaderAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestHeaderAction.

type DeliveryRuleRequestHeaderCondition Uses

type DeliveryRuleRequestHeaderCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *RequestHeaderMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestHeaderCondition defines the RequestHeader condition for the delivery rule.

func (DeliveryRuleRequestHeaderCondition) AsBasicDeliveryRuleCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRulePostArgsCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleQueryStringCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestURICondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLPathCondition Uses

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestHeaderCondition.

type DeliveryRuleRequestMethodCondition Uses

type DeliveryRuleRequestMethodCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *RequestMethodMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestMethodCondition defines the RequestMethod condition for the delivery rule.

func (DeliveryRuleRequestMethodCondition) AsBasicDeliveryRuleCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRulePostArgsCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleQueryStringCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestURICondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLPathCondition Uses

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestMethodCondition.

type DeliveryRuleRequestSchemeCondition Uses

type DeliveryRuleRequestSchemeCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *RequestSchemeMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestSchemeCondition defines the RequestScheme condition for the delivery rule.

func (DeliveryRuleRequestSchemeCondition) AsBasicDeliveryRuleCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRulePostArgsCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleQueryStringCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestURICondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLPathCondition Uses

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestSchemeCondition.

type DeliveryRuleRequestURICondition Uses

type DeliveryRuleRequestURICondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *RequestURIMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestURICondition defines the RequestUri condition for the delivery rule.

func (DeliveryRuleRequestURICondition) AsBasicDeliveryRuleCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleIsDeviceCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRulePostArgsCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleQueryStringCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestBodyCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestMethodCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestURICondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileNameCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleURLPathCondition Uses

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) MarshalJSON Uses

func (drruc DeliveryRuleRequestURICondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryRuleRequestURICondition.

type DeliveryRuleResponseHeaderAction Uses

type DeliveryRuleResponseHeaderAction struct {
    // Parameters - Defines the parameters for the action.
    Parameters *HeaderActionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration'
    Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleResponseHeaderAction defines the response header action for the delivery rule.

func (DeliveryRuleResponseHeaderAction) AsBasicDeliveryRuleAction Uses

func (drrha DeliveryRuleResponseHeaderAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleAction Uses

func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheExpirationAction Uses

func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleRequestHeaderAction Uses

func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleResponseHeaderAction Uses

func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsURLRedirectAction Uses

func (drrha DeliveryRuleResponseHeaderAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleResponseHeaderAction.

type DeliveryRuleURLFileExtensionCondition Uses

type DeliveryRuleURLFileExtensionCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *URLFileExtensionMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleURLFileExtensionCondition defines the UrlFileExtension condition for the delivery rule.

func (DeliveryRuleURLFileExtensionCondition) AsBasicDeliveryRuleCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRulePostArgsCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleQueryStringCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestURICondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLPathCondition Uses

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleURLFileExtensionCondition.

type DeliveryRuleURLFileNameCondition Uses

type DeliveryRuleURLFileNameCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *URLFileNameMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleURLFileNameCondition defines the UrlFileName condition for the delivery rule.

func (DeliveryRuleURLFileNameCondition) AsBasicDeliveryRuleCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRulePostArgsCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleQueryStringCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestURICondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLPathCondition Uses

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleURLFileNameCondition.

type DeliveryRuleURLPathCondition Uses

type DeliveryRuleURLPathCondition struct {
    // Parameters - Defines the parameters for the condition.
    Parameters *URLPathMatchConditionParameters `json:"parameters,omitempty"`
    // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice'
    Name Name `json:"name,omitempty"`
}

DeliveryRuleURLPathCondition defines the UrlPath condition for the delivery rule.

func (DeliveryRuleURLPathCondition) AsBasicDeliveryRuleCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleIsDeviceCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRulePostArgsCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleQueryStringCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRemoteAddressCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestBodyCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestHeaderCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestMethodCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestSchemeCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestURICondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileExtensionCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileNameCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleURLPathCondition Uses

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DeliveryRuleURLPathCondition.

type DestinationProtocol Uses

type DestinationProtocol string

DestinationProtocol enumerates the values for destination protocol.

const (
    // HTTP ...
    HTTP DestinationProtocol = "Http"
    // HTTPS ...
    HTTPS DestinationProtocol = "Https"
    // MatchRequest ...
    MatchRequest DestinationProtocol = "MatchRequest"
)

func PossibleDestinationProtocolValues Uses

func PossibleDestinationProtocolValues() []DestinationProtocol

PossibleDestinationProtocolValues returns an array of possible values for the DestinationProtocol const type.

type EdgeNode Uses

type EdgeNode struct {
    *EdgeNodeProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

EdgeNode edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users.

func (EdgeNode) MarshalJSON Uses

func (en EdgeNode) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EdgeNode.

func (*EdgeNode) UnmarshalJSON Uses

func (en *EdgeNode) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EdgeNode struct.

type EdgeNodeProperties Uses

type EdgeNodeProperties struct {
    // IPAddressGroups - List of ip address groups.
    IPAddressGroups *[]IPAddressGroup `json:"ipAddressGroups,omitempty"`
}

EdgeNodeProperties the JSON object that contains the properties required to create an edgenode.

type EdgeNodesClient Uses

type EdgeNodesClient struct {
    BaseClient
}

EdgeNodesClient is the cdn Management Client

func NewEdgeNodesClient Uses

func NewEdgeNodesClient(subscriptionID string, subscriptionID1 string) EdgeNodesClient

NewEdgeNodesClient creates an instance of the EdgeNodesClient client.

func NewEdgeNodesClientWithBaseURI Uses

func NewEdgeNodesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) EdgeNodesClient

NewEdgeNodesClientWithBaseURI creates an instance of the EdgeNodesClient client.

func (EdgeNodesClient) List Uses

func (client EdgeNodesClient) List(ctx context.Context) (result EdgenodeResultPage, err error)

List edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.

func (EdgeNodesClient) ListComplete Uses

func (client EdgeNodesClient) ListComplete(ctx context.Context) (result EdgenodeResultIterator, err error)

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

func (EdgeNodesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (EdgeNodesClient) ListResponder Uses

func (client EdgeNodesClient) ListResponder(resp *http.Response) (result EdgenodeResult, err error)

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

func (EdgeNodesClient) ListSender Uses

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

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

type EdgenodeResult Uses

type EdgenodeResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; Edge node of CDN service.
    Value *[]EdgeNode `json:"value,omitempty"`
    // NextLink - URL to get the next set of edgenode list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

EdgenodeResult result of the request to list CDN edgenodes. It contains a list of ip address group and a URL link to get the next set of results.

func (EdgenodeResult) IsEmpty Uses

func (er EdgenodeResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EdgenodeResultIterator Uses

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

EdgenodeResultIterator provides access to a complete listing of EdgeNode values.

func NewEdgenodeResultIterator Uses

func NewEdgenodeResultIterator(page EdgenodeResultPage) EdgenodeResultIterator

Creates a new instance of the EdgenodeResultIterator type.

func (*EdgenodeResultIterator) Next Uses

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

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

func (iter EdgenodeResultIterator) NotDone() bool

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

func (EdgenodeResultIterator) Response Uses

func (iter EdgenodeResultIterator) Response() EdgenodeResult

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

func (EdgenodeResultIterator) Value Uses

func (iter EdgenodeResultIterator) Value() EdgeNode

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

type EdgenodeResultPage Uses

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

EdgenodeResultPage contains a page of EdgeNode values.

func NewEdgenodeResultPage Uses

func NewEdgenodeResultPage(getNextPage func(context.Context, EdgenodeResult) (EdgenodeResult, error)) EdgenodeResultPage

Creates a new instance of the EdgenodeResultPage type.

func (*EdgenodeResultPage) Next Uses

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

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

func (page EdgenodeResultPage) NotDone() bool

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

func (EdgenodeResultPage) Response Uses

func (page EdgenodeResultPage) Response() EdgenodeResult

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

func (EdgenodeResultPage) Values Uses

func (page EdgenodeResultPage) Values() []EdgeNode

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

type Endpoint Uses

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

Endpoint CDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The CDN endpoint uses the URL format <endpointname>.azureedge.net.

func (Endpoint) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Endpoint.

func (*Endpoint) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for Endpoint struct.

type EndpointListResult Uses

type EndpointListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of CDN endpoints within a profile
    Value *[]Endpoint `json:"value,omitempty"`
    // NextLink - URL to get the next set of endpoint objects if there is any.
    NextLink *string `json:"nextLink,omitempty"`
}

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

func (EndpointListResult) IsEmpty Uses

func (elr EndpointListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EndpointListResultIterator Uses

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

EndpointListResultIterator provides access to a complete listing of Endpoint values.

func NewEndpointListResultIterator Uses

func NewEndpointListResultIterator(page EndpointListResultPage) EndpointListResultIterator

Creates a new instance of the EndpointListResultIterator type.

func (*EndpointListResultIterator) Next Uses

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

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

func (iter EndpointListResultIterator) NotDone() bool

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

func (EndpointListResultIterator) Response Uses

func (iter EndpointListResultIterator) Response() EndpointListResult

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

func (EndpointListResultIterator) Value Uses

func (iter EndpointListResultIterator) Value() Endpoint

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

type EndpointListResultPage Uses

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

EndpointListResultPage contains a page of Endpoint values.

func NewEndpointListResultPage Uses

func NewEndpointListResultPage(getNextPage func(context.Context, EndpointListResult) (EndpointListResult, error)) EndpointListResultPage

Creates a new instance of the EndpointListResultPage type.

func (*EndpointListResultPage) Next Uses

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

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

func (page EndpointListResultPage) NotDone() bool

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

func (EndpointListResultPage) Response Uses

func (page EndpointListResultPage) Response() EndpointListResult

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

func (EndpointListResultPage) Values Uses

func (page EndpointListResultPage) Values() []Endpoint

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

type EndpointProperties Uses

type EndpointProperties struct {
    // HostName - READ-ONLY; The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
    HostName *string `json:"hostName,omitempty"`
    // Origins - The source of the content being delivered via CDN.
    Origins *[]DeepCreatedOrigin `json:"origins,omitempty"`
    // ResourceState - READ-ONLY; Resource status of the endpoint. Possible values include: 'EndpointResourceStateCreating', 'EndpointResourceStateDeleting', 'EndpointResourceStateRunning', 'EndpointResourceStateStarting', 'EndpointResourceStateStopped', 'EndpointResourceStateStopping'
    ResourceState EndpointResourceState `json:"resourceState,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning status of the endpoint.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // OriginHostHeader - The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
    OriginHostHeader *string `json:"originHostHeader,omitempty"`
    // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
    OriginPath *string `json:"originPath,omitempty"`
    // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type.
    ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"`
    // IsCompressionEnabled - Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
    IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"`
    // IsHTTPAllowed - Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
    IsHTTPAllowed *bool `json:"isHttpAllowed,omitempty"`
    // IsHTTPSAllowed - Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
    IsHTTPSAllowed *bool `json:"isHttpsAllowed,omitempty"`
    // QueryStringCachingBehavior - Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'
    QueryStringCachingBehavior QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"`
    // OptimizationType - Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'
    OptimizationType OptimizationType `json:"optimizationType,omitempty"`
    // ProbePath - Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path.
    ProbePath *string `json:"probePath,omitempty"`
    // GeoFilters - List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
    GeoFilters *[]GeoFilter `json:"geoFilters,omitempty"`
    // DeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint.
    DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"`
    // WebApplicationFirewallPolicyLink - Defines the Web Application Firewall policy for the endpoint (if applicable)
    WebApplicationFirewallPolicyLink *EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

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

type EndpointPropertiesUpdateParameters Uses

type EndpointPropertiesUpdateParameters struct {
    // OriginHostHeader - The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
    OriginHostHeader *string `json:"originHostHeader,omitempty"`
    // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
    OriginPath *string `json:"originPath,omitempty"`
    // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type.
    ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"`
    // IsCompressionEnabled - Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
    IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"`
    // IsHTTPAllowed - Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
    IsHTTPAllowed *bool `json:"isHttpAllowed,omitempty"`
    // IsHTTPSAllowed - Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.
    IsHTTPSAllowed *bool `json:"isHttpsAllowed,omitempty"`
    // QueryStringCachingBehavior - Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet'
    QueryStringCachingBehavior QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"`
    // OptimizationType - Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration'
    OptimizationType OptimizationType `json:"optimizationType,omitempty"`
    // ProbePath - Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path.
    ProbePath *string `json:"probePath,omitempty"`
    // GeoFilters - List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/
    GeoFilters *[]GeoFilter `json:"geoFilters,omitempty"`
    // DeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint.
    DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"`
    // WebApplicationFirewallPolicyLink - Defines the Web Application Firewall policy for the endpoint (if applicable)
    WebApplicationFirewallPolicyLink *EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink `json:"webApplicationFirewallPolicyLink,omitempty"`
}

EndpointPropertiesUpdateParameters the JSON object containing endpoint update parameters.

type EndpointPropertiesUpdateParametersDeliveryPolicy Uses

type EndpointPropertiesUpdateParametersDeliveryPolicy struct {
    // Description - User-friendly description of the policy.
    Description *string `json:"description,omitempty"`
    // Rules - A list of the delivery rules.
    Rules *[]DeliveryRule `json:"rules,omitempty"`
}

EndpointPropertiesUpdateParametersDeliveryPolicy a policy that specifies the delivery rules to be used for an endpoint.

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

EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink defines the Web Application Firewall policy for the endpoint (if applicable)

type EndpointResourceState Uses

type EndpointResourceState string

EndpointResourceState enumerates the values for endpoint resource state.

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

func PossibleEndpointResourceStateValues Uses

func PossibleEndpointResourceStateValues() []EndpointResourceState

PossibleEndpointResourceStateValues returns an array of possible values for the EndpointResourceState const type.

type EndpointType Uses

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

EndpointType defines the ARM Resource ID for the linked endpoints

type EndpointUpdateParameters Uses

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

EndpointUpdateParameters properties required to create or update an endpoint.

func (EndpointUpdateParameters) MarshalJSON Uses

func (eup EndpointUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointUpdateParameters.

func (*EndpointUpdateParameters) UnmarshalJSON Uses

func (eup *EndpointUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EndpointUpdateParameters struct.

type EndpointsClient Uses

type EndpointsClient struct {
    BaseClient
}

EndpointsClient is the cdn Management Client

func NewEndpointsClient Uses

func NewEndpointsClient(subscriptionID string, subscriptionID1 string) EndpointsClient

NewEndpointsClient creates an instance of the EndpointsClient client.

func NewEndpointsClientWithBaseURI Uses

func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) EndpointsClient

NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.

func (EndpointsClient) Create Uses

func (client EndpointsClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint Endpoint) (result EndpointsCreateFuture, err error)

Create creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. endpoint - endpoint properties

func (EndpointsClient) CreatePreparer Uses

func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint Endpoint) (*http.Request, error)

CreatePreparer prepares the Create request.

func (EndpointsClient) CreateResponder Uses

func (client EndpointsClient) CreateResponder(resp *http.Response) (result Endpoint, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (EndpointsClient) CreateSender Uses

func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error)

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

func (EndpointsClient) Delete Uses

func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result EndpointsDeleteFuture, err error)

Delete deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (EndpointsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (EndpointsClient) DeleteResponder Uses

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

func (client EndpointsClient) DeleteSender(req *http.Request) (future EndpointsDeleteFuture, err error)

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

func (EndpointsClient) Get Uses

func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result Endpoint, err error)

Get gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (EndpointsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (EndpointsClient) GetResponder Uses

func (client EndpointsClient) GetResponder(resp *http.Response) (result Endpoint, err error)

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

func (EndpointsClient) GetSender Uses

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

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

func (EndpointsClient) ListByProfile Uses

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

ListByProfile lists existing CDN endpoints. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group.

func (EndpointsClient) ListByProfileComplete Uses

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

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

func (EndpointsClient) ListByProfilePreparer Uses

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

ListByProfilePreparer prepares the ListByProfile request.

func (EndpointsClient) ListByProfileResponder Uses

func (client EndpointsClient) ListByProfileResponder(resp *http.Response) (result EndpointListResult, err error)

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

func (EndpointsClient) ListByProfileSender Uses

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

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

func (EndpointsClient) ListResourceUsage Uses

func (client EndpointsClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result ResourceUsageListResultPage, err error)

ListResourceUsage checks the quota and usage of geo filters and custom domains under the given endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (EndpointsClient) ListResourceUsageComplete Uses

func (client EndpointsClient) ListResourceUsageComplete(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result ResourceUsageListResultIterator, err error)

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

func (EndpointsClient) ListResourceUsagePreparer Uses

func (client EndpointsClient) ListResourceUsagePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (*http.Request, error)

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (EndpointsClient) ListResourceUsageResponder Uses

func (client EndpointsClient) ListResourceUsageResponder(resp *http.Response) (result ResourceUsageListResult, err error)

ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always closes the http.Response Body.

func (EndpointsClient) ListResourceUsageSender Uses

func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error)

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

func (EndpointsClient) LoadContent Uses

func (client EndpointsClient) LoadContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters) (result EndpointsLoadContentFuture, err error)

LoadContent pre-loads a content to CDN. Available for Verizon Profiles. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. contentFilePaths - the path to the content to be loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a single file

func (EndpointsClient) LoadContentPreparer Uses

func (client EndpointsClient) LoadContentPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contentFilePaths LoadParameters) (*http.Request, error)

LoadContentPreparer prepares the LoadContent request.

func (EndpointsClient) LoadContentResponder Uses

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

LoadContentResponder handles the response to the LoadContent request. The method always closes the http.Response Body.

func (EndpointsClient) LoadContentSender Uses

func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error)

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

func (EndpointsClient) PurgeContent Uses

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

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

func (EndpointsClient) PurgeContentPreparer Uses

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

PurgeContentPreparer prepares the PurgeContent request.

func (EndpointsClient) PurgeContentResponder Uses

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

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

func (EndpointsClient) PurgeContentSender Uses

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

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

func (EndpointsClient) Start Uses

func (client EndpointsClient) Start(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result EndpointsStartFuture, err error)

Start starts an existing CDN endpoint that is on a stopped state. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (EndpointsClient) StartPreparer Uses

func (client EndpointsClient) StartPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (EndpointsClient) StartResponder Uses

func (client EndpointsClient) StartResponder(resp *http.Response) (result Endpoint, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (EndpointsClient) StartSender Uses

func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error)

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

func (EndpointsClient) Stop Uses

func (client EndpointsClient) Stop(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result EndpointsStopFuture, err error)

Stop stops an existing running CDN endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (EndpointsClient) StopPreparer Uses

func (client EndpointsClient) StopPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (*http.Request, error)

StopPreparer prepares the Stop request.

func (EndpointsClient) StopResponder Uses

func (client EndpointsClient) StopResponder(resp *http.Response) (result Endpoint, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (EndpointsClient) StopSender Uses

func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error)

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

func (EndpointsClient) Update Uses

func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties EndpointUpdateParameters) (result EndpointsUpdateFuture, err error)

Update updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags and Origin HostHeader can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update custom domains, use the Update Custom Domain operation. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. endpointUpdateProperties - endpoint update properties

func (EndpointsClient) UpdatePreparer Uses

func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties EndpointUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EndpointsClient) UpdateResponder Uses

func (client EndpointsClient) UpdateResponder(resp *http.Response) (result Endpoint, err error)

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

func (EndpointsClient) UpdateSender Uses

func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error)

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

func (EndpointsClient) ValidateCustomDomain Uses

func (client EndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties ValidateCustomDomainInput) (result ValidateCustomDomainOutput, err error)

ValidateCustomDomain validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainProperties - custom domain to be validated.

func (EndpointsClient) ValidateCustomDomainPreparer Uses

func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainProperties ValidateCustomDomainInput) (*http.Request, error)

ValidateCustomDomainPreparer prepares the ValidateCustomDomain request.

func (EndpointsClient) ValidateCustomDomainResponder Uses

func (client EndpointsClient) 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 (EndpointsClient) ValidateCustomDomainSender Uses

func (client EndpointsClient) 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 EndpointsCreateFuture Uses

type EndpointsCreateFuture struct {
    azure.Future
}

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

func (*EndpointsCreateFuture) Result Uses

func (future *EndpointsCreateFuture) Result(client EndpointsClient) (e Endpoint, err error)

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

type EndpointsDeleteFuture Uses

type EndpointsDeleteFuture struct {
    azure.Future
}

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

func (*EndpointsDeleteFuture) Result Uses

func (future *EndpointsDeleteFuture) 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 EndpointsLoadContentFuture Uses

type EndpointsLoadContentFuture struct {
    azure.Future
}

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

func (*EndpointsLoadContentFuture) Result Uses

func (future *EndpointsLoadContentFuture) 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 EndpointsPurgeContentFuture Uses

type EndpointsPurgeContentFuture struct {
    azure.Future
}

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

func (*EndpointsPurgeContentFuture) Result Uses

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

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

type EndpointsStartFuture Uses

type EndpointsStartFuture struct {
    azure.Future
}

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

func (*EndpointsStartFuture) Result Uses

func (future *EndpointsStartFuture) Result(client EndpointsClient) (e Endpoint, err error)

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

type EndpointsStopFuture Uses

type EndpointsStopFuture struct {
    azure.Future
}

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

func (*EndpointsStopFuture) Result Uses

func (future *EndpointsStopFuture) Result(client EndpointsClient) (e Endpoint, err error)

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

type EndpointsUpdateFuture Uses

type EndpointsUpdateFuture struct {
    azure.Future
}

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

func (*EndpointsUpdateFuture) Result Uses

func (future *EndpointsUpdateFuture) Result(client EndpointsClient) (e Endpoint, err error)

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

type ErrorResponse Uses

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

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

type GeoFilter Uses

type GeoFilter struct {
    // RelativePath - Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)
    RelativePath *string `json:"relativePath,omitempty"`
    // Action - Action of the geo filter, i.e. allow or block access. Possible values include: 'GeoFilterActionsBlock', 'GeoFilterActionsAllow'
    Action GeoFilterActions `json:"action,omitempty"`
    // CountryCodes - Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.
    CountryCodes *[]string `json:"countryCodes,omitempty"`
}

GeoFilter rules defining user's geo access within a CDN endpoint.

type GeoFilterActions Uses

type GeoFilterActions string

GeoFilterActions enumerates the values for geo filter actions.

const (
    // GeoFilterActionsAllow ...
    GeoFilterActionsAllow GeoFilterActions = "Allow"
    // GeoFilterActionsBlock ...
    GeoFilterActionsBlock GeoFilterActions = "Block"
)

func PossibleGeoFilterActionsValues Uses

func PossibleGeoFilterActionsValues() []GeoFilterActions

PossibleGeoFilterActionsValues returns an array of possible values for the GeoFilterActions const type.

type HeaderAction Uses

type HeaderAction string

HeaderAction enumerates the values for header action.

const (
    // Append ...
    Append HeaderAction = "Append"
    // Delete ...
    Delete HeaderAction = "Delete"
    // Overwrite ...
    Overwrite HeaderAction = "Overwrite"
)

func PossibleHeaderActionValues Uses

func PossibleHeaderActionValues() []HeaderAction

PossibleHeaderActionValues returns an array of possible values for the HeaderAction const type.

type HeaderActionParameters Uses

type HeaderActionParameters struct {
    OdataType *string `json:"@odata.type,omitempty"`
    // HeaderAction - Action to perform. Possible values include: 'Append', 'Overwrite', 'Delete'
    HeaderAction HeaderAction `json:"headerAction,omitempty"`
    // HeaderName - Name of the header to modify
    HeaderName *string `json:"headerName,omitempty"`
    // Value - Value for the specified action
    Value *string `json:"value,omitempty"`
}

HeaderActionParameters defines the parameters for the request header action.

type IPAddressGroup Uses

type IPAddressGroup struct {
    // DeliveryRegion - The delivery region of the ip address group
    DeliveryRegion *string `json:"deliveryRegion,omitempty"`
    // Ipv4Addresses - The list of ip v4 addresses.
    Ipv4Addresses *[]CidrIPAddress `json:"ipv4Addresses,omitempty"`
    // Ipv6Addresses - The list of ip v6 addresses.
    Ipv6Addresses *[]CidrIPAddress `json:"ipv6Addresses,omitempty"`
}

IPAddressGroup CDN Ip address group

type IsDeviceMatchConditionParameters Uses

type IsDeviceMatchConditionParameters struct {
    OdataType *string `json:"@odata.type,omitempty"`
    // Operator - Describes operator to be matched
    Operator *string `json:"operator,omitempty"`
    // NegateCondition - Describes if this is negate condition or not
    NegateCondition *bool `json:"negateCondition,omitempty"`
    // MatchValues - The match value for the condition of the delivery rule
    MatchValues *[]string `json:"matchValues,omitempty"`
    // Transforms - List of transforms
    Transforms *[]Transform `json:"transforms,omitempty"`
}

IsDeviceMatchConditionParameters defines the parameters for IsDevice match conditions

type KeyVaultCertificateSourceParameters Uses

type KeyVaultCertificateSourceParameters struct {
    OdataType *string `json:"@odata.type,omitempty"`
    // SubscriptionID - Subscription Id of the user's Key Vault containing the SSL certificate
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // ResourceGroupName - Resource group of the user's Key Vault containing the SSL certificate
    ResourceGroupName *string `json:"resourceGroupName,omitempty"`
    // VaultName - The name of the user's Key Vault containing the SSL certificate
    VaultName *string `json:"vaultName,omitempty"`
    // SecretName - The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.
    SecretName *string `json:"secretName,omitempty"`
    // SecretVersion - The version(GUID) of Key Vault Secret in Key Vault.
    SecretVersion *string `json:"secretVersion,omitempty"`
    // UpdateRule - Describes the action that shall be taken when the certificate is updated in Key Vault.
    UpdateRule *string `json:"updateRule,omitempty"`
    // DeleteRule - Describes the action that shall be taken when the certificate is removed from Key Vault.
    DeleteRule *string `json:"deleteRule,omitempty"`
}

KeyVaultCertificateSourceParameters describes the parameters for using a user's KeyVault certificate for securing custom domain.

type LoadParameters Uses

type LoadParameters struct {
    // ContentPaths - The path to the content to be loaded. Path should be a relative file URL of the origin.
    ContentPaths *[]string `json:"contentPaths,omitempty"`
}

LoadParameters parameters required for content load.

type ManagedHTTPSParameters Uses

type ManagedHTTPSParameters struct {
    // CertificateSourceParameters - Defines the certificate source parameters using CDN managed certificate for enabling SSL.
    CertificateSourceParameters *CertificateSourceParameters `json:"certificateSourceParameters,omitempty"`
    // ProtocolType - Defines the TLS extension protocol that is used for secure delivery. Possible values include: 'ServerNameIndication', 'IPBased'
    ProtocolType ProtocolType `json:"protocolType,omitempty"`
    // CertificateSource - Possible values include: 'CertificateSourceCustomDomainHTTPSParameters', 'CertificateSourceCdn', 'CertificateSourceAzureKeyVault'
    CertificateSource CertificateSource `json:"certificateSource,omitempty"`
}

ManagedHTTPSParameters defines the certificate source parameters using CDN managed certificate for enabling SSL.

func (ManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters Uses

func (mhp ManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters() (BasicCustomDomainHTTPSParameters, bool)

AsBasicCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) AsCustomDomainHTTPSParameters Uses

func (mhp ManagedHTTPSParameters) AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)

AsCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) AsManagedHTTPSParameters Uses

func (mhp ManagedHTTPSParameters) AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)

AsManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) AsUserManagedHTTPSParameters Uses

func (mhp ManagedHTTPSParameters) AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)

AsUserManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) MarshalJSON Uses

func (mhp ManagedHTTPSParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedHTTPSParameters.

type ManagedRuleDefinition Uses

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

ManagedRuleDefinition describes a managed rule definition.

type ManagedRuleEnabledState Uses

type ManagedRuleEnabledState string

ManagedRuleEnabledState enumerates the values for managed rule enabled state.

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

func PossibleManagedRuleEnabledStateValues Uses

func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState

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

type ManagedRuleGroupDefinition Uses

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

ManagedRuleGroupDefinition describes a managed rule group.

type ManagedRuleGroupOverride Uses

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

ManagedRuleGroupOverride defines a managed rule group override setting.

type ManagedRuleOverride Uses

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

ManagedRuleOverride defines a managed rule group override setting.

type ManagedRuleSet Uses

type ManagedRuleSet struct {
    // RuleSetType - Defines the rule set type to use.
    RuleSetType *string `json:"ruleSetType,omitempty"`
    // RuleSetVersion - Defines the version of the rule set to use.
    RuleSetVersion *string `json:"ruleSetVersion,omitempty"`
    // AnomalyScore - Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
    AnomalyScore *int32 `json:"anomalyScore,omitempty"`
    // RuleGroupOverrides - Defines the rule overrides to apply to the rule set.
    RuleGroupOverrides *[]ManagedRuleGroupOverride `json:"ruleGroupOverrides,omitempty"`
}

ManagedRuleSet defines a managed rule set.

type ManagedRuleSetDefinition Uses

type ManagedRuleSetDefinition struct {
    // ManagedRuleSetDefinitionProperties - Describes managed rule set definition properties.
    *ManagedRuleSetDefinitionProperties `json:"properties,omitempty"`
    // Sku - The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
}

ManagedRuleSetDefinition describes a managed rule set definition.

func (ManagedRuleSetDefinition) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ManagedRuleSetDefinition.

func (*ManagedRuleSetDefinition) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ManagedRuleSetDefinition struct.

type ManagedRuleSetDefinitionList Uses

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

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

func (ManagedRuleSetDefinitionList) IsEmpty Uses

func (mrsdl ManagedRuleSetDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ManagedRuleSetDefinitionListIterator Uses

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

ManagedRuleSetDefinitionListIterator provides access to a complete listing of ManagedRuleSetDefinition values.

func NewManagedRuleSetDefinitionListIterator Uses

func NewManagedRuleSetDefinitionListIterator(page ManagedRuleSetDefinitionListPage) ManagedRuleSetDefinitionListIterator

Creates a new instance of the ManagedRuleSetDefinitionListIterator type.

func (*ManagedRuleSetDefinitionListIterator) Next Uses

func (iter *ManagedRuleSetDefinitionListIterator) Next() error

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

func (*ManagedRuleSetDefinitionListIterator) NextWithContext Uses

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

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

func (ManagedRuleSetDefinitionListIterator) NotDone Uses

func (iter ManagedRuleSetDefinitionListIterator) NotDone() bool

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

func (ManagedRuleSetDefinitionListIterator) Response Uses

func (iter ManagedRuleSetDefinitionListIterator) Response() ManagedRuleSetDefinitionList

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

func (ManagedRuleSetDefinitionListIterator) Value Uses

func (iter ManagedRuleSetDefinitionListIterator) Value() ManagedRuleSetDefinition

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

type ManagedRuleSetDefinitionListPage Uses

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

ManagedRuleSetDefinitionListPage contains a page of ManagedRuleSetDefinition values.

func NewManagedRuleSetDefinitionListPage Uses

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

Creates a new instance of the ManagedRuleSetDefinitionListPage type.

func (*ManagedRuleSetDefinitionListPage) Next Uses

func (page *ManagedRuleSetDefinitionListPage) Next() error

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

func (*ManagedRuleSetDefinitionListPage) NextWithContext Uses

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

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

func (ManagedRuleSetDefinitionListPage) NotDone Uses

func (page ManagedRuleSetDefinitionListPage) NotDone() bool

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

func (ManagedRuleSetDefinitionListPage) Response Uses

func (page ManagedRuleSetDefinitionListPage) Response() ManagedRuleSetDefinitionList

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

func (ManagedRuleSetDefinitionListPage) Values Uses

func (page ManagedRuleSetDefinitionListPage) Values() []ManagedRuleSetDefinition

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

type ManagedRuleSetDefinitionProperties Uses

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

ManagedRuleSetDefinitionProperties properties for a managed rule set definition.

type ManagedRuleSetList Uses

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

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

type ManagedRuleSetsClient Uses

type ManagedRuleSetsClient struct {
    BaseClient
}

ManagedRuleSetsClient is the cdn Management Client

func NewManagedRuleSetsClient Uses

func NewManagedRuleSetsClient(subscriptionID string, subscriptionID1 string) ManagedRuleSetsClient

NewManagedRuleSetsClient creates an instance of the ManagedRuleSetsClient client.

func NewManagedRuleSetsClientWithBaseURI Uses

func NewManagedRuleSetsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) ManagedRuleSetsClient

NewManagedRuleSetsClientWithBaseURI creates an instance of the ManagedRuleSetsClient client.

func (ManagedRuleSetsClient) List Uses

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

List lists all available managed rule sets.

func (ManagedRuleSetsClient) ListComplete Uses

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

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

func (ManagedRuleSetsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ManagedRuleSetsClient) ListResponder Uses

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

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

func (ManagedRuleSetsClient) ListSender Uses

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

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

type MatchCondition Uses

type MatchCondition struct {
    // MatchVariable - Match variable to compare against. Possible values include: 'RemoteAddr', 'Country', 'RequestMethod', 'RequestHeader', 'RequestURI', 'QueryString', 'RequestBody', 'Cookies', 'PostArgs'
    MatchVariable MatchVariable `json:"matchVariable,omitempty"`
    // Selector - Selector can used to match a specific key for QueryString, RequestUri, RequestHeaders or RequestBody.
    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', 'RegEx'
    Operator Operator `json:"operator,omitempty"`
    // NegateCondition - Describes if the result of this condition should be negated.
    NegateCondition *bool `json:"negateCondition,omitempty"`
    // MatchValue - List of possible match values.
    MatchValue *[]string `json:"matchValue,omitempty"`
}

MatchCondition define match conditions

type MatchVariable Uses

type MatchVariable string

MatchVariable enumerates the values for match variable.

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

func PossibleMatchVariableValues Uses

func PossibleMatchVariableValues() []MatchVariable

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

type Name Uses

type Name string

Name enumerates the values for name.

const (
    // NameDeliveryRuleCondition ...
    NameDeliveryRuleCondition Name = "DeliveryRuleCondition"
    // NameIsDevice ...
    NameIsDevice Name = "IsDevice"
    // NamePostArgs ...
    NamePostArgs Name = "PostArgs"
    // NameQueryString ...
    NameQueryString Name = "QueryString"
    // NameRemoteAddress ...
    NameRemoteAddress Name = "RemoteAddress"
    // NameRequestBody ...
    NameRequestBody Name = "RequestBody"
    // NameRequestHeader ...
    NameRequestHeader Name = "RequestHeader"
    // NameRequestMethod ...
    NameRequestMethod Name = "RequestMethod"
    // NameRequestScheme ...
    NameRequestScheme Name = "RequestScheme"
    // NameRequestURI ...
    NameRequestURI Name = "RequestUri"
    // NameURLFileExtension ...
    NameURLFileExtension Name = "UrlFileExtension"
    // NameURLFileName ...
    NameURLFileName Name = "UrlFileName"
    // NameURLPath ...
    NameURLPath Name = "UrlPath"
)

func PossibleNameValues Uses

func PossibleNameValues() []Name

PossibleNameValues returns an array of possible values for the Name const type.

type NameBasicDeliveryRuleAction Uses

type NameBasicDeliveryRuleAction string

NameBasicDeliveryRuleAction enumerates the values for name basic delivery rule action.

const (
    // NameCacheExpiration ...
    NameCacheExpiration NameBasicDeliveryRuleAction = "CacheExpiration"
    // NameDeliveryRuleAction ...
    NameDeliveryRuleAction NameBasicDeliveryRuleAction = "DeliveryRuleAction"
    // NameModifyRequestHeader ...
    NameModifyRequestHeader NameBasicDeliveryRuleAction = "ModifyRequestHeader"
    // NameModifyResponseHeader ...
    NameModifyResponseHeader NameBasicDeliveryRuleAction = "ModifyResponseHeader"
    // NameURLRedirect ...
    NameURLRedirect NameBasicDeliveryRuleAction = "UrlRedirect"
)

func PossibleNameBasicDeliveryRuleActionValues Uses

func PossibleNameBasicDeliveryRuleActionValues() []NameBasicDeliveryRuleAction

PossibleNameBasicDeliveryRuleActionValues returns an array of possible values for the NameBasicDeliveryRuleAction const type.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation CDN REST API operation

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; Service provider: Microsoft.Cdn
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; Resource on which the operation is performed: Profile, endpoint, etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the cdn Management Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string, subscriptionID1 string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationsListResultPage, err error)

List lists all of the available CDN REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationsListResultIterator, err error)

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsListResult, err error)

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

func (OperationsClient) ListSender Uses

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

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

type OperationsListResult Uses

type OperationsListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of CDN operations supported by the CDN resource provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationsListResult result of the request to list CDN operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationsListResult) IsEmpty Uses

func (olr OperationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationsListResultIterator Uses

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

OperationsListResultIterator provides access to a complete listing of Operation values.

func NewOperationsListResultIterator Uses

func NewOperationsListResultIterator(page OperationsListResultPage) OperationsListResultIterator

Creates a new instance of the OperationsListResultIterator type.

func (*OperationsListResultIterator) Next Uses

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

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

func (iter OperationsListResultIterator) NotDone() bool

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

func (OperationsListResultIterator) Response Uses

func (iter OperationsListResultIterator) Response() OperationsListResult

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

func (OperationsListResultIterator) Value Uses

func (iter OperationsListResultIterator) Value() Operation

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

type OperationsListResultPage Uses

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

OperationsListResultPage contains a page of Operation values.

func NewOperationsListResultPage Uses

func NewOperationsListResultPage(getNextPage func(context.Context, OperationsListResult) (OperationsListResult, error)) OperationsListResultPage

Creates a new instance of the OperationsListResultPage type.

func (*OperationsListResultPage) Next Uses

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

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

func (page OperationsListResultPage) NotDone() bool

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

func (OperationsListResultPage) Response Uses

func (page OperationsListResultPage) Response() OperationsListResult

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

func (OperationsListResultPage) Values Uses

func (page OperationsListResultPage) Values() []Operation

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

type Operator Uses

type Operator string

Operator enumerates the values for operator.

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

func PossibleOperatorValues Uses

func PossibleOperatorValues() []Operator

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

type OptimizationType Uses

type OptimizationType string

OptimizationType enumerates the values for optimization type.

const (
    // DynamicSiteAcceleration ...
    DynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration"
    // GeneralMediaStreaming ...
    GeneralMediaStreaming OptimizationType = "GeneralMediaStreaming"
    // GeneralWebDelivery ...
    GeneralWebDelivery OptimizationType = "GeneralWebDelivery"
    // LargeFileDownload ...
    LargeFileDownload OptimizationType = "LargeFileDownload"
    // VideoOnDemandMediaStreaming ...
    VideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming"
)

func PossibleOptimizationTypeValues Uses

func PossibleOptimizationTypeValues() []OptimizationType

PossibleOptimizationTypeValues returns an array of possible values for the OptimizationType const type.

type Origin Uses

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

Origin CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.

func (Origin) MarshalJSON Uses

func (o Origin) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Origin.

func (*Origin) UnmarshalJSON Uses

func (o *Origin) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Origin struct.

type OriginListResult Uses

type OriginListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of CDN origins within an endpoint
    Value *[]Origin `json:"value,omitempty"`
    // NextLink - URL to get the next set of origin objects if there are any.
    NextLink *string `json:"nextLink,omitempty"`
}

OriginListResult result of the request to list origins. It contains a list of origin objects and a URL link to get the next set of results.

func (OriginListResult) IsEmpty Uses

func (olr OriginListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OriginListResultIterator Uses

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

OriginListResultIterator provides access to a complete listing of Origin values.

func NewOriginListResultIterator Uses

func NewOriginListResultIterator(page OriginListResultPage) OriginListResultIterator

Creates a new instance of the OriginListResultIterator type.

func (*OriginListResultIterator) Next Uses

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

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

func (iter OriginListResultIterator) NotDone() bool

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

func (OriginListResultIterator) Response Uses

func (iter OriginListResultIterator) Response() OriginListResult

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

func (OriginListResultIterator) Value Uses

func (iter OriginListResultIterator) Value() Origin

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

type OriginListResultPage Uses

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

OriginListResultPage contains a page of Origin values.

func NewOriginListResultPage Uses

func NewOriginListResultPage(getNextPage func(context.Context, OriginListResult) (OriginListResult, error)) OriginListResultPage

Creates a new instance of the OriginListResultPage type.

func (*OriginListResultPage) Next Uses

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

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

func (page OriginListResultPage) NotDone() bool

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

func (OriginListResultPage) Response Uses

func (page OriginListResultPage) Response() OriginListResult

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

func (OriginListResultPage) Values Uses

func (page OriginListResultPage) Values() []Origin

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

type OriginProperties Uses

type OriginProperties struct {
    // HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
    HostName *string `json:"hostName,omitempty"`
    // HTTPPort - The value of the HTTP port. Must be between 1 and 65535.
    HTTPPort *int32 `json:"httpPort,omitempty"`
    // HTTPSPort - The value of the https port. Must be between 1 and 65535.
    HTTPSPort *int32 `json:"httpsPort,omitempty"`
    // ResourceState - READ-ONLY; Resource status of the origin. Possible values include: 'OriginResourceStateCreating', 'OriginResourceStateActive', 'OriginResourceStateDeleting'
    ResourceState OriginResourceState `json:"resourceState,omitempty"`
    // ProvisioningState - READ-ONLY; Provisioning status of the origin.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

OriginProperties the JSON object that contains the properties of the origin.

type OriginPropertiesParameters Uses

type OriginPropertiesParameters struct {
    // HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.
    HostName *string `json:"hostName,omitempty"`
    // HTTPPort - The value of the HTTP port. Must be between 1 and 65535.
    HTTPPort *int32 `json:"httpPort,omitempty"`
    // HTTPSPort - The value of the HTTPS port. Must be between 1 and 65535.
    HTTPSPort *int32 `json:"httpsPort,omitempty"`
}

OriginPropertiesParameters the JSON object that contains the properties of the origin.

type OriginResourceState Uses

type OriginResourceState string

OriginResourceState enumerates the values for origin resource state.

const (
    // OriginResourceStateActive ...
    OriginResourceStateActive OriginResourceState = "Active"
    // OriginResourceStateCreating ...
    OriginResourceStateCreating OriginResourceState = "Creating"
    // OriginResourceStateDeleting ...
    OriginResourceStateDeleting OriginResourceState = "Deleting"
)

func PossibleOriginResourceStateValues Uses

func PossibleOriginResourceStateValues() []OriginResourceState

PossibleOriginResourceStateValues returns an array of possible values for the OriginResourceState const type.

type OriginUpdateParameters Uses

type OriginUpdateParameters struct {
    *OriginPropertiesParameters `json:"properties,omitempty"`
}

OriginUpdateParameters origin properties needed for origin creation or update.

func (OriginUpdateParameters) MarshalJSON Uses

func (oup OriginUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginUpdateParameters.

func (*OriginUpdateParameters) UnmarshalJSON Uses

func (oup *OriginUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OriginUpdateParameters struct.

type OriginsClient Uses

type OriginsClient struct {
    BaseClient
}

OriginsClient is the cdn Management Client

func NewOriginsClient Uses

func NewOriginsClient(subscriptionID string, subscriptionID1 string) OriginsClient

NewOriginsClient creates an instance of the OriginsClient client.

func NewOriginsClientWithBaseURI Uses

func NewOriginsClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) OriginsClient

NewOriginsClientWithBaseURI creates an instance of the OriginsClient client.

func (OriginsClient) Get Uses

func (client OriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string) (result Origin, err error)

Get gets an existing origin within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. originName - name of the origin which is unique within the endpoint.

func (OriginsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (OriginsClient) GetResponder Uses

func (client OriginsClient) GetResponder(resp *http.Response) (result Origin, err error)

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

func (OriginsClient) GetSender Uses

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

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

func (OriginsClient) ListByEndpoint Uses

func (client OriginsClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result OriginListResultPage, err error)

ListByEndpoint lists all of the existing origins within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally.

func (OriginsClient) ListByEndpointComplete Uses

func (client OriginsClient) ListByEndpointComplete(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result OriginListResultIterator, err error)

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

func (OriginsClient) ListByEndpointPreparer Uses

func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (*http.Request, error)

ListByEndpointPreparer prepares the ListByEndpoint request.

func (OriginsClient) ListByEndpointResponder Uses

func (client OriginsClient) ListByEndpointResponder(resp *http.Response) (result OriginListResult, err error)

ListByEndpointResponder handles the response to the ListByEndpoint request. The method always closes the http.Response Body.

func (OriginsClient) ListByEndpointSender Uses

func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error)

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

func (OriginsClient) Update Uses

func (client OriginsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, originUpdateProperties OriginUpdateParameters) (result OriginsUpdateFuture, err error)

Update updates an existing origin within an endpoint. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. originName - name of the origin which is unique within the endpoint. originUpdateProperties - origin properties

func (OriginsClient) UpdatePreparer Uses

func (client OriginsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originName string, originUpdateProperties OriginUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (OriginsClient) UpdateResponder Uses

func (client OriginsClient) UpdateResponder(resp *http.Response) (result Origin, err error)

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

func (OriginsClient) UpdateSender Uses

func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error)

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

type OriginsUpdateFuture Uses

type OriginsUpdateFuture struct {
    azure.Future
}

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

func (*OriginsUpdateFuture) Result Uses

func (future *OriginsUpdateFuture) Result(client OriginsClient) (o Origin, err error)

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

type PoliciesClient Uses

type PoliciesClient struct {
    BaseClient
}

PoliciesClient is the cdn Management Client

func NewPoliciesClient Uses

func NewPoliciesClient(subscriptionID string, subscriptionID1 string) PoliciesClient

NewPoliciesClient creates an instance of the PoliciesClient client.

func NewPoliciesClientWithBaseURI Uses

func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string, subscriptionID1 string) PoliciesClient

NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client.

func (PoliciesClient) CreateOrUpdate Uses

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

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

func (PoliciesClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PoliciesClient) CreateOrUpdateResponder Uses

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

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

func (PoliciesClient) CreateOrUpdateSender Uses

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

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

func (PoliciesClient) Delete Uses

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

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

func (PoliciesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (PoliciesClient) DeleteResponder Uses

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

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

func (PoliciesClient) DeleteSender Uses

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

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

func (PoliciesClient) Get Uses

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

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

func (PoliciesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (PoliciesClient) GetResponder Uses

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

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

func (PoliciesClient) GetSender Uses

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

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

func (PoliciesClient) List Uses

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

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

func (PoliciesClient) ListComplete Uses

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

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

func (PoliciesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PoliciesClient) ListResponder Uses

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

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

func (PoliciesClient) ListSender Uses

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

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

func (PoliciesClient) Update Uses

func (client PoliciesClient) Update(ctx context.Context, resourceGroupName string, policyName string, cdnWebApplicationFirewallPolicyPatchParameters WebApplicationFirewallPolicyPatchParameters) (result PoliciesUpdateFuture, err error)

Update update an existing CdnWebApplicationFirewallPolicy with the specified policy name under the specified subscription and resource group Parameters: resourceGroupName - name of the Resource group within the Azure subscription. policyName - the name of the CdnWebApplicationFirewallPolicy. cdnWebApplicationFirewallPolicyPatchParameters - cdnWebApplicationFirewallPolicy parameters to be patched.

func (PoliciesClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (PoliciesClient) UpdateResponder Uses

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

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

func (PoliciesClient) UpdateSender Uses

func (client PoliciesClient) UpdateSender(req *http.Request) (future PoliciesUpdateFuture, err error)

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

type PoliciesCreateOrUpdateFuture Uses

type PoliciesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PoliciesCreateOrUpdateFuture) Result Uses

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

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

type PoliciesUpdateFuture Uses

type PoliciesUpdateFuture struct {
    azure.Future
}

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

func (*PoliciesUpdateFuture) Result Uses

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

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

type PolicyEnabledState Uses

type PolicyEnabledState string

PolicyEnabledState enumerates the values for policy enabled state.

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

func PossiblePolicyEnabledStateValues Uses

func PossiblePolicyEnabledStateValues() []PolicyEnabledState

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

type PolicyMode Uses

type PolicyMode string

PolicyMode enumerates the values for policy mode.

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

func PossiblePolicyModeValues Uses

func PossiblePolicyModeValues() []PolicyMode

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

type PolicyResourceState Uses

type PolicyResourceState string

PolicyResourceState enumerates the values for policy resource state.

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

func PossiblePolicyResourceStateValues Uses

func PossiblePolicyResourceStateValues() []PolicyResourceState

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

type PolicySettings Uses

type PolicySettings struct {
    // EnabledState - describes if the policy is in enabled state or disabled state. Possible values include: 'PolicyEnabledStateDisabled', 'PolicyEnabledStateEnabled'
    EnabledState PolicyEnabledState `json:"enabledState,omitempty"`
    // Mode - Describes if it is in detection mode or prevention mode at policy level. Possible values include: 'Prevention', 'Detection'
    Mode PolicyMode `json:"mode,omitempty"`
    // DefaultRedirectURL - If action type is redirect, this field represents the default redirect URL for the client.
    DefaultRedirectURL *string `json:"defaultRedirectUrl,omitempty"`
    // DefaultCustomBlockResponseStatusCode - If the action type is block, this field defines the default customer overridable http response status code.
    DefaultCustomBlockResponseStatusCode *int32 `json:"defaultCustomBlockResponseStatusCode,omitempty"`
    // DefaultCustomBlockResponseBody - If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    DefaultCustomBlockResponseBody *string `json:"defaultCustomBlockResponseBody,omitempty"`
}

PolicySettings defines contents of a web application firewall global configuration

type PostArgsMatchConditionParameters Uses

type PostArgsMatchConditionParameters struct {
    OdataType *string `json:"@odata.type,omitempty"`
    // Selector - Name of PostArg to be matched
    Selector *string `json:"selector,omitempty"`
    // Operator - Describes operator to be matched. Possible values include: 'PostArgsOperatorAny', 'PostArgsOperatorEqual', 'PostArgsOperatorContains', 'PostArgsOperatorBeginsWith', 'PostArgsOperatorEndsWith', 'PostArgsOperatorLessThan', 'PostArgsOperatorLessThanOrEqual', 'PostArgsOperatorGreaterThan', 'PostArgsOperatorGreaterThanOrEqual'
    Operator PostArgsOperator `json:"operator,omitempty"`
    // NegateCondition - Describes if this is negate condition or not
    NegateCondition *bool `json:"negateCondition,omitempty"`
    // MatchValues - The match value for the condition of the delivery rule
    MatchValues *[]string `json:"matchValues,omitempty"`
    // Transforms - List of transforms
    Transforms *[]Transform `json:"transforms,omitempty"`
}

PostArgsMatchConditionParameters defines the parameters for PostArgs match conditions

type PostArgsOperator Uses

type PostArgsOperator string

PostArgsOperator enumerates the values for post args operator.

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

func PossiblePostArgsOperatorValues Uses

func PossiblePostArgsOperatorValues() []PostArgsOperator

PossiblePostArgsOperatorValues returns an array of possible values for the PostArgsOperator const type.

type Profile Uses

type Profile struct {
    autorest.Response `json:"-"`
    // Sku - The pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.
    Sku                *Sku `json:"sku,omitempty"`
    *ProfileProperties `json:"properties,