cdn

package
v60.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package cdn implements the Azure ARM Cdn service API version 2020-09-01.

Cdn Management Client

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AFDCustomDomainsClient

type AFDCustomDomainsClient struct {
	BaseClient
}

AFDCustomDomainsClient is the cdn Management Client

func NewAFDCustomDomainsClient

func NewAFDCustomDomainsClient(subscriptionID string) AFDCustomDomainsClient

NewAFDCustomDomainsClient creates an instance of the AFDCustomDomainsClient client.

func NewAFDCustomDomainsClientWithBaseURI

func NewAFDCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) AFDCustomDomainsClient

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

func (AFDCustomDomainsClient) Create

func (client AFDCustomDomainsClient) Create(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomain AFDDomain) (result AFDCustomDomainsCreateFuture, err error)

Create creates a new domain within the specified 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. customDomainName - name of the domain under the profile which is unique globally customDomain - domain properties

func (AFDCustomDomainsClient) CreatePreparer

func (client AFDCustomDomainsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomain AFDDomain) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AFDCustomDomainsClient) CreateResponder

func (client AFDCustomDomainsClient) CreateResponder(resp *http.Response) (result AFDDomain, err error)

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

func (AFDCustomDomainsClient) CreateSender

func (client AFDCustomDomainsClient) CreateSender(req *http.Request) (future AFDCustomDomainsCreateFuture, err error)

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

func (AFDCustomDomainsClient) Delete

func (client AFDCustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, customDomainName string) (result AFDCustomDomainsDeleteFuture, err error)

Delete deletes an existing AzureFrontDoor domain with the specified domain 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. customDomainName - name of the domain under the profile which is unique globally.

func (AFDCustomDomainsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AFDCustomDomainsClient) DeleteResponder

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

func (client AFDCustomDomainsClient) DeleteSender(req *http.Request) (future AFDCustomDomainsDeleteFuture, err error)

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

func (AFDCustomDomainsClient) Get

func (client AFDCustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, customDomainName string) (result AFDDomain, err error)

Get gets an existing AzureFrontDoor domain with the specified domain 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. customDomainName - name of the domain under the profile which is unique globally.

func (AFDCustomDomainsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AFDCustomDomainsClient) GetResponder

func (client AFDCustomDomainsClient) GetResponder(resp *http.Response) (result AFDDomain, err error)

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

func (AFDCustomDomainsClient) GetSender

func (client AFDCustomDomainsClient) 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 (AFDCustomDomainsClient) ListByProfile

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

ListByProfile lists existing AzureFrontDoor domains. 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 (AFDCustomDomainsClient) ListByProfileComplete

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

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

func (AFDCustomDomainsClient) ListByProfilePreparer

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

ListByProfilePreparer prepares the ListByProfile request.

func (AFDCustomDomainsClient) ListByProfileResponder

func (client AFDCustomDomainsClient) ListByProfileResponder(resp *http.Response) (result AFDDomainListResult, err error)

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

func (AFDCustomDomainsClient) ListByProfileSender

func (client AFDCustomDomainsClient) 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 (AFDCustomDomainsClient) RefreshValidationToken

func (client AFDCustomDomainsClient) RefreshValidationToken(ctx context.Context, resourceGroupName string, profileName string, customDomainName string) (result AFDCustomDomainsRefreshValidationTokenFuture, err error)

RefreshValidationToken updates the domain validation token. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. customDomainName - name of the domain under the profile which is unique globally.

func (AFDCustomDomainsClient) RefreshValidationTokenPreparer

func (client AFDCustomDomainsClient) RefreshValidationTokenPreparer(ctx context.Context, resourceGroupName string, profileName string, customDomainName string) (*http.Request, error)

RefreshValidationTokenPreparer prepares the RefreshValidationToken request.

func (AFDCustomDomainsClient) RefreshValidationTokenResponder

func (client AFDCustomDomainsClient) RefreshValidationTokenResponder(resp *http.Response) (result ValidationToken, err error)

RefreshValidationTokenResponder handles the response to the RefreshValidationToken request. The method always closes the http.Response Body.

func (AFDCustomDomainsClient) RefreshValidationTokenSender

func (client AFDCustomDomainsClient) RefreshValidationTokenSender(req *http.Request) (future AFDCustomDomainsRefreshValidationTokenFuture, err error)

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

func (AFDCustomDomainsClient) Update

func (client AFDCustomDomainsClient) Update(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomainUpdateProperties AFDDomainUpdateParameters) (result AFDCustomDomainsUpdateFuture, err error)

Update updates an existing domain within a 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. customDomainName - name of the domain under the profile which is unique globally customDomainUpdateProperties - domain properties

func (AFDCustomDomainsClient) UpdatePreparer

func (client AFDCustomDomainsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, customDomainName string, customDomainUpdateProperties AFDDomainUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AFDCustomDomainsClient) UpdateResponder

func (client AFDCustomDomainsClient) UpdateResponder(resp *http.Response) (result AFDDomain, err error)

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

func (AFDCustomDomainsClient) UpdateSender

func (client AFDCustomDomainsClient) UpdateSender(req *http.Request) (future AFDCustomDomainsUpdateFuture, err error)

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

type AFDCustomDomainsCreateFuture

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

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

func (*AFDCustomDomainsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDCustomDomainsDeleteFuture

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

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

func (*AFDCustomDomainsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDCustomDomainsRefreshValidationTokenFuture

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

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

func (*AFDCustomDomainsRefreshValidationTokenFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDCustomDomainsUpdateFuture

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

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

func (*AFDCustomDomainsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDDomain

type AFDDomain struct {
	autorest.Response    `json:"-"`
	*AFDDomainProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

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

func (AFDDomain) MarshalJSON

func (ad AFDDomain) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDDomain.

func (*AFDDomain) UnmarshalJSON

func (ad *AFDDomain) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDDomain struct.

type AFDDomainHTTPSParameters

type AFDDomainHTTPSParameters struct {
	// CertificateType - Defines the source of the SSL certificate. Possible values include: 'AfdCertificateTypeCustomerCertificate', 'AfdCertificateTypeManagedCertificate'
	CertificateType AfdCertificateType `json:"certificateType,omitempty"`
	// MinimumTLSVersion - TLS protocol version that will be used for Https. Possible values include: 'AfdMinimumTLSVersionTLS10', 'AfdMinimumTLSVersionTLS12'
	MinimumTLSVersion AfdMinimumTLSVersion `json:"minimumTlsVersion,omitempty"`
	// Secret - Resource reference to the secret. ie. subs/rg/profile/secret
	Secret *ResourceReference `json:"secret,omitempty"`
}

AFDDomainHTTPSParameters the JSON object that contains the properties to secure a domain.

type AFDDomainListResult

type AFDDomainListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of AzureFrontDoor domains within a profile.
	Value *[]AFDDomain `json:"value,omitempty"`
	// NextLink - URL to get the next set of domain objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

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

func (AFDDomainListResult) IsEmpty

func (adlr AFDDomainListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AFDDomainListResult) MarshalJSON

func (adlr AFDDomainListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDDomainListResult.

type AFDDomainListResultIterator

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

AFDDomainListResultIterator provides access to a complete listing of AFDDomain values.

func NewAFDDomainListResultIterator

func NewAFDDomainListResultIterator(page AFDDomainListResultPage) AFDDomainListResultIterator

Creates a new instance of the AFDDomainListResultIterator type.

func (*AFDDomainListResultIterator) Next

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

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

func (iter AFDDomainListResultIterator) NotDone() bool

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

func (AFDDomainListResultIterator) Response

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

func (AFDDomainListResultIterator) Value

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

type AFDDomainListResultPage

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

AFDDomainListResultPage contains a page of AFDDomain values.

func NewAFDDomainListResultPage

func NewAFDDomainListResultPage(cur AFDDomainListResult, getNextPage func(context.Context, AFDDomainListResult) (AFDDomainListResult, error)) AFDDomainListResultPage

Creates a new instance of the AFDDomainListResultPage type.

func (*AFDDomainListResultPage) Next

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

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

func (page AFDDomainListResultPage) NotDone() bool

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

func (AFDDomainListResultPage) Response

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

func (AFDDomainListResultPage) Values

func (page AFDDomainListResultPage) Values() []AFDDomain

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

type AFDDomainProperties

type AFDDomainProperties struct {
	// TLSSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
	TLSSettings *AFDDomainHTTPSParameters `json:"tlsSettings,omitempty"`
	// AzureDNSZone - Resource reference to the Azure DNS zone
	AzureDNSZone *ResourceReference `json:"azureDnsZone,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
	// DomainValidationState - READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. Possible values include: 'DomainValidationStateUnknown', 'DomainValidationStateSubmitting', 'DomainValidationStatePending', 'DomainValidationStateTimedOut', 'DomainValidationStatePendingRevalidation', 'DomainValidationStateApproved'
	DomainValidationState DomainValidationState `json:"domainValidationState,omitempty"`
	// HostName - The host name of the domain. Must be a domain name.
	HostName *string `json:"hostName,omitempty"`
	// ValidationProperties - READ-ONLY; Values the customer needs to validate domain ownership
	ValidationProperties *DomainValidationProperties `json:"validationProperties,omitempty"`
}

AFDDomainProperties the JSON object that contains the properties of the domain to create.

func (AFDDomainProperties) MarshalJSON

func (adp AFDDomainProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDDomainProperties.

type AFDDomainUpdateParameters

type AFDDomainUpdateParameters struct {
	*AFDDomainUpdatePropertiesParameters `json:"properties,omitempty"`
}

AFDDomainUpdateParameters the domain JSON object required for domain creation or update.

func (AFDDomainUpdateParameters) MarshalJSON

func (adup AFDDomainUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDDomainUpdateParameters.

func (*AFDDomainUpdateParameters) UnmarshalJSON

func (adup *AFDDomainUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDDomainUpdateParameters struct.

type AFDDomainUpdatePropertiesParameters

type AFDDomainUpdatePropertiesParameters struct {
	// TLSSettings - The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default.
	TLSSettings *AFDDomainHTTPSParameters `json:"tlsSettings,omitempty"`
	// AzureDNSZone - Resource reference to the Azure DNS zone
	AzureDNSZone *ResourceReference `json:"azureDnsZone,omitempty"`
}

AFDDomainUpdatePropertiesParameters the JSON object that contains the properties of the domain to create.

type AFDEndpoint

type AFDEndpoint struct {
	autorest.Response      `json:"-"`
	*AFDEndpointProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

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

func (AFDEndpoint) MarshalJSON

func (ae AFDEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDEndpoint.

func (*AFDEndpoint) UnmarshalJSON

func (ae *AFDEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDEndpoint struct.

type AFDEndpointListResult

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

AFDEndpointListResult 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 (AFDEndpointListResult) IsEmpty

func (aelr AFDEndpointListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AFDEndpointListResult) MarshalJSON

func (aelr AFDEndpointListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDEndpointListResult.

type AFDEndpointListResultIterator

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

AFDEndpointListResultIterator provides access to a complete listing of AFDEndpoint values.

func NewAFDEndpointListResultIterator

func NewAFDEndpointListResultIterator(page AFDEndpointListResultPage) AFDEndpointListResultIterator

Creates a new instance of the AFDEndpointListResultIterator type.

func (*AFDEndpointListResultIterator) Next

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

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

func (iter AFDEndpointListResultIterator) NotDone() bool

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

func (AFDEndpointListResultIterator) Response

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

func (AFDEndpointListResultIterator) Value

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

type AFDEndpointListResultPage

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

AFDEndpointListResultPage contains a page of AFDEndpoint values.

func NewAFDEndpointListResultPage

Creates a new instance of the AFDEndpointListResultPage type.

func (*AFDEndpointListResultPage) Next

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

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

func (page AFDEndpointListResultPage) NotDone() bool

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

func (AFDEndpointListResultPage) Response

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

func (AFDEndpointListResultPage) Values

func (page AFDEndpointListResultPage) Values() []AFDEndpoint

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

type AFDEndpointProperties

type AFDEndpointProperties struct {
	// OriginResponseTimeoutSeconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
	OriginResponseTimeoutSeconds *int32 `json:"originResponseTimeoutSeconds,omitempty"`
	// EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	EnabledState EnabledState `json:"enabledState,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
	// HostName - READ-ONLY; The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net
	HostName *string `json:"hostName,omitempty"`
}

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

func (AFDEndpointProperties) MarshalJSON

func (aep AFDEndpointProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDEndpointProperties.

type AFDEndpointPropertiesUpdateParameters

type AFDEndpointPropertiesUpdateParameters struct {
	// OriginResponseTimeoutSeconds - Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
	OriginResponseTimeoutSeconds *int32 `json:"originResponseTimeoutSeconds,omitempty"`
	// EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	EnabledState EnabledState `json:"enabledState,omitempty"`
}

AFDEndpointPropertiesUpdateParameters the JSON object containing endpoint update parameters.

type AFDEndpointProtocols

type AFDEndpointProtocols string

AFDEndpointProtocols enumerates the values for afd endpoint protocols.

const (
	// AFDEndpointProtocolsHTTP ...
	AFDEndpointProtocolsHTTP AFDEndpointProtocols = "Http"
	// AFDEndpointProtocolsHTTPS ...
	AFDEndpointProtocolsHTTPS AFDEndpointProtocols = "Https"
)

func PossibleAFDEndpointProtocolsValues

func PossibleAFDEndpointProtocolsValues() []AFDEndpointProtocols

PossibleAFDEndpointProtocolsValues returns an array of possible values for the AFDEndpointProtocols const type.

type AFDEndpointUpdateParameters

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

AFDEndpointUpdateParameters properties required to create or update an endpoint.

func (AFDEndpointUpdateParameters) MarshalJSON

func (aeup AFDEndpointUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDEndpointUpdateParameters.

func (*AFDEndpointUpdateParameters) UnmarshalJSON

func (aeup *AFDEndpointUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDEndpointUpdateParameters struct.

type AFDEndpointsClient

type AFDEndpointsClient struct {
	BaseClient
}

AFDEndpointsClient is the cdn Management Client

func NewAFDEndpointsClient

func NewAFDEndpointsClient(subscriptionID string) AFDEndpointsClient

NewAFDEndpointsClient creates an instance of the AFDEndpointsClient client.

func NewAFDEndpointsClientWithBaseURI

func NewAFDEndpointsClientWithBaseURI(baseURI string, subscriptionID string) AFDEndpointsClient

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

func (AFDEndpointsClient) Create

func (client AFDEndpointsClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpoint AFDEndpoint) (result AFDEndpointsCreateFuture, err error)

Create creates a new AzureFrontDoor 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 (AFDEndpointsClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (AFDEndpointsClient) CreateResponder

func (client AFDEndpointsClient) CreateResponder(resp *http.Response) (result AFDEndpoint, err error)

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

func (AFDEndpointsClient) CreateSender

func (client AFDEndpointsClient) CreateSender(req *http.Request) (future AFDEndpointsCreateFuture, err error)

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

func (AFDEndpointsClient) Delete

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

Delete deletes an existing AzureFrontDoor 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 (AFDEndpointsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AFDEndpointsClient) DeleteResponder

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

func (client AFDEndpointsClient) DeleteSender(req *http.Request) (future AFDEndpointsDeleteFuture, err error)

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

func (AFDEndpointsClient) Get

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

Get gets an existing AzureFrontDoor 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 (AFDEndpointsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AFDEndpointsClient) GetResponder

func (client AFDEndpointsClient) GetResponder(resp *http.Response) (result AFDEndpoint, err error)

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

func (AFDEndpointsClient) GetSender

func (client AFDEndpointsClient) 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 (AFDEndpointsClient) ListByProfile

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

ListByProfile lists existing AzureFrontDoor 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 (AFDEndpointsClient) ListByProfileComplete

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

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

func (AFDEndpointsClient) ListByProfilePreparer

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

ListByProfilePreparer prepares the ListByProfile request.

func (AFDEndpointsClient) ListByProfileResponder

func (client AFDEndpointsClient) ListByProfileResponder(resp *http.Response) (result AFDEndpointListResult, err error)

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

func (AFDEndpointsClient) ListByProfileSender

func (client AFDEndpointsClient) 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 (AFDEndpointsClient) ListResourceUsage

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

ListResourceUsage checks the quota and actual usage of endpoints under the given CDN 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 (AFDEndpointsClient) ListResourceUsageComplete

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

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

func (AFDEndpointsClient) ListResourceUsagePreparer

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

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (AFDEndpointsClient) ListResourceUsageResponder

func (client AFDEndpointsClient) ListResourceUsageResponder(resp *http.Response) (result UsagesListResult, err error)

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

func (AFDEndpointsClient) ListResourceUsageSender

func (client AFDEndpointsClient) 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 (AFDEndpointsClient) PurgeContent

func (client AFDEndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contents AfdPurgeParameters) (result AFDEndpointsPurgeContentFuture, err error)

PurgeContent removes a content from AzureFrontDoor. 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. contents - the list of paths to the content and the list of linked domains 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 (AFDEndpointsClient) PurgeContentPreparer

func (client AFDEndpointsClient) PurgeContentPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, contents AfdPurgeParameters) (*http.Request, error)

PurgeContentPreparer prepares the PurgeContent request.

func (AFDEndpointsClient) PurgeContentResponder

func (client AFDEndpointsClient) 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 (AFDEndpointsClient) PurgeContentSender

func (client AFDEndpointsClient) PurgeContentSender(req *http.Request) (future AFDEndpointsPurgeContentFuture, err error)

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

func (AFDEndpointsClient) Update

func (client AFDEndpointsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, endpointUpdateProperties AFDEndpointUpdateParameters) (result AFDEndpointsUpdateFuture, err error)

Update updates an existing AzureFrontDoor endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group operation. To update 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 (AFDEndpointsClient) UpdatePreparer

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

UpdatePreparer prepares the Update request.

func (AFDEndpointsClient) UpdateResponder

func (client AFDEndpointsClient) UpdateResponder(resp *http.Response) (result AFDEndpoint, err error)

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

func (AFDEndpointsClient) UpdateSender

func (client AFDEndpointsClient) UpdateSender(req *http.Request) (future AFDEndpointsUpdateFuture, err error)

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

func (AFDEndpointsClient) ValidateCustomDomain

func (client AFDEndpointsClient) 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 (AFDEndpointsClient) ValidateCustomDomainPreparer

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

ValidateCustomDomainPreparer prepares the ValidateCustomDomain request.

func (AFDEndpointsClient) ValidateCustomDomainResponder

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

func (client AFDEndpointsClient) 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 AFDEndpointsCreateFuture

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

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

func (*AFDEndpointsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDEndpointsDeleteFuture

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

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

func (*AFDEndpointsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDEndpointsPurgeContentFuture

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

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

func (*AFDEndpointsPurgeContentFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDEndpointsUpdateFuture

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

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

func (*AFDEndpointsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDOrigin

type AFDOrigin struct {
	autorest.Response    `json:"-"`
	*AFDOriginProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

AFDOrigin 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 (AFDOrigin) MarshalJSON

func (ao AFDOrigin) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOrigin.

func (*AFDOrigin) UnmarshalJSON

func (ao *AFDOrigin) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDOrigin struct.

type AFDOriginGroup

type AFDOriginGroup struct {
	autorest.Response         `json:"-"`
	*AFDOriginGroupProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

AFDOriginGroup aFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

func (AFDOriginGroup) MarshalJSON

func (aog AFDOriginGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginGroup.

func (*AFDOriginGroup) UnmarshalJSON

func (aog *AFDOriginGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDOriginGroup struct.

type AFDOriginGroupListResult

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

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

func (AFDOriginGroupListResult) IsEmpty

func (aoglr AFDOriginGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AFDOriginGroupListResult) MarshalJSON

func (aoglr AFDOriginGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginGroupListResult.

type AFDOriginGroupListResultIterator

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

AFDOriginGroupListResultIterator provides access to a complete listing of AFDOriginGroup values.

func NewAFDOriginGroupListResultIterator

func NewAFDOriginGroupListResultIterator(page AFDOriginGroupListResultPage) AFDOriginGroupListResultIterator

Creates a new instance of the AFDOriginGroupListResultIterator type.

func (*AFDOriginGroupListResultIterator) Next

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 (*AFDOriginGroupListResultIterator) NextWithContext

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

func (iter AFDOriginGroupListResultIterator) NotDone() bool

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

func (AFDOriginGroupListResultIterator) Response

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

func (AFDOriginGroupListResultIterator) Value

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

type AFDOriginGroupListResultPage

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

AFDOriginGroupListResultPage contains a page of AFDOriginGroup values.

func NewAFDOriginGroupListResultPage

Creates a new instance of the AFDOriginGroupListResultPage type.

func (*AFDOriginGroupListResultPage) Next

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

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

func (page AFDOriginGroupListResultPage) NotDone() bool

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

func (AFDOriginGroupListResultPage) Response

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

func (AFDOriginGroupListResultPage) Values

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

type AFDOriginGroupProperties

type AFDOriginGroupProperties struct {
	// LoadBalancingSettings - Load balancing settings for a backend pool
	LoadBalancingSettings *LoadBalancingSettingsParameters `json:"loadBalancingSettings,omitempty"`
	// HealthProbeSettings - Health probe settings to the origin that is used to determine the health of the origin.
	HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"`
	// TrafficRestorationTimeToHealedOrNewEndpointsInMinutes - Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"`
	// ResponseBasedAfdOriginErrorDetectionSettings - The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
	ResponseBasedAfdOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedAfdOriginErrorDetectionSettings,omitempty"`
	// SessionAffinityState - Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	SessionAffinityState EnabledState `json:"sessionAffinityState,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

AFDOriginGroupProperties the JSON object that contains the properties of the origin group.

func (AFDOriginGroupProperties) MarshalJSON

func (aogp AFDOriginGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginGroupProperties.

type AFDOriginGroupUpdateParameters

type AFDOriginGroupUpdateParameters struct {
	*AFDOriginGroupUpdatePropertiesParameters `json:"properties,omitempty"`
}

AFDOriginGroupUpdateParameters aFDOrigin group properties needed for origin group creation or update.

func (AFDOriginGroupUpdateParameters) MarshalJSON

func (aogup AFDOriginGroupUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginGroupUpdateParameters.

func (*AFDOriginGroupUpdateParameters) UnmarshalJSON

func (aogup *AFDOriginGroupUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDOriginGroupUpdateParameters struct.

type AFDOriginGroupUpdatePropertiesParameters

type AFDOriginGroupUpdatePropertiesParameters struct {
	// LoadBalancingSettings - Load balancing settings for a backend pool
	LoadBalancingSettings *LoadBalancingSettingsParameters `json:"loadBalancingSettings,omitempty"`
	// HealthProbeSettings - Health probe settings to the origin that is used to determine the health of the origin.
	HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"`
	// TrafficRestorationTimeToHealedOrNewEndpointsInMinutes - Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"`
	// ResponseBasedAfdOriginErrorDetectionSettings - The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
	ResponseBasedAfdOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedAfdOriginErrorDetectionSettings,omitempty"`
	// SessionAffinityState - Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	SessionAffinityState EnabledState `json:"sessionAffinityState,omitempty"`
}

AFDOriginGroupUpdatePropertiesParameters the JSON object that contains the properties of the origin group.

type AFDOriginGroupsClient

type AFDOriginGroupsClient struct {
	BaseClient
}

AFDOriginGroupsClient is the cdn Management Client

func NewAFDOriginGroupsClient

func NewAFDOriginGroupsClient(subscriptionID string) AFDOriginGroupsClient

NewAFDOriginGroupsClient creates an instance of the AFDOriginGroupsClient client.

func NewAFDOriginGroupsClientWithBaseURI

func NewAFDOriginGroupsClientWithBaseURI(baseURI string, subscriptionID string) AFDOriginGroupsClient

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

func (AFDOriginGroupsClient) Create

func (client AFDOriginGroupsClient) Create(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroup AFDOriginGroup) (result AFDOriginGroupsCreateFuture, err error)

Create creates a new origin group within the specified 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. originGroupName - name of the origin group which is unique within the endpoint. originGroup - origin group properties

func (AFDOriginGroupsClient) CreatePreparer

func (client AFDOriginGroupsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroup AFDOriginGroup) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AFDOriginGroupsClient) CreateResponder

func (client AFDOriginGroupsClient) CreateResponder(resp *http.Response) (result AFDOriginGroup, err error)

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

func (AFDOriginGroupsClient) CreateSender

func (client AFDOriginGroupsClient) CreateSender(req *http.Request) (future AFDOriginGroupsCreateFuture, err error)

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

func (AFDOriginGroupsClient) Delete

func (client AFDOriginGroupsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (result AFDOriginGroupsDeleteFuture, err error)

Delete deletes an existing origin group within a 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. originGroupName - name of the origin group which is unique within the profile.

func (AFDOriginGroupsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AFDOriginGroupsClient) DeleteResponder

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

func (client AFDOriginGroupsClient) DeleteSender(req *http.Request) (future AFDOriginGroupsDeleteFuture, err error)

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

func (AFDOriginGroupsClient) Get

func (client AFDOriginGroupsClient) Get(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (result AFDOriginGroup, err error)

Get gets an existing origin group within a 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. originGroupName - name of the origin group which is unique within the endpoint.

func (AFDOriginGroupsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AFDOriginGroupsClient) GetResponder

func (client AFDOriginGroupsClient) GetResponder(resp *http.Response) (result AFDOriginGroup, err error)

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

func (AFDOriginGroupsClient) GetSender

func (client AFDOriginGroupsClient) 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 (AFDOriginGroupsClient) ListByProfile

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

ListByProfile lists all of the existing origin groups within a 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.

func (AFDOriginGroupsClient) ListByProfileComplete

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

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

func (AFDOriginGroupsClient) ListByProfilePreparer

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

ListByProfilePreparer prepares the ListByProfile request.

func (AFDOriginGroupsClient) ListByProfileResponder

func (client AFDOriginGroupsClient) ListByProfileResponder(resp *http.Response) (result AFDOriginGroupListResult, err error)

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

func (AFDOriginGroupsClient) ListByProfileSender

func (client AFDOriginGroupsClient) 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 (AFDOriginGroupsClient) ListResourceUsage

func (client AFDOriginGroupsClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (result UsagesListResultPage, err error)

ListResourceUsage checks the quota and actual usage of endpoints under the given CDN 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. originGroupName - name of the origin group which is unique within the endpoint.

func (AFDOriginGroupsClient) ListResourceUsageComplete

func (client AFDOriginGroupsClient) ListResourceUsageComplete(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (result UsagesListResultIterator, err error)

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

func (AFDOriginGroupsClient) ListResourceUsagePreparer

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

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (AFDOriginGroupsClient) ListResourceUsageResponder

func (client AFDOriginGroupsClient) ListResourceUsageResponder(resp *http.Response) (result UsagesListResult, err error)

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

func (AFDOriginGroupsClient) ListResourceUsageSender

func (client AFDOriginGroupsClient) 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 (AFDOriginGroupsClient) Update

func (client AFDOriginGroupsClient) Update(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroupUpdateProperties AFDOriginGroupUpdateParameters) (result AFDOriginGroupsUpdateFuture, err error)

Update updates an existing origin group within a 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. originGroupName - name of the origin group which is unique within the profile. originGroupUpdateProperties - origin group properties

func (AFDOriginGroupsClient) UpdatePreparer

func (client AFDOriginGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originGroupUpdateProperties AFDOriginGroupUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AFDOriginGroupsClient) UpdateResponder

func (client AFDOriginGroupsClient) UpdateResponder(resp *http.Response) (result AFDOriginGroup, err error)

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

func (AFDOriginGroupsClient) UpdateSender

func (client AFDOriginGroupsClient) UpdateSender(req *http.Request) (future AFDOriginGroupsUpdateFuture, err error)

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

type AFDOriginGroupsCreateFuture

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

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

func (*AFDOriginGroupsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDOriginGroupsDeleteFuture

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

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

func (*AFDOriginGroupsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDOriginGroupsUpdateFuture

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

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

func (*AFDOriginGroupsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDOriginListResult

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

AFDOriginListResult 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 (AFDOriginListResult) IsEmpty

func (aolr AFDOriginListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AFDOriginListResult) MarshalJSON

func (aolr AFDOriginListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginListResult.

type AFDOriginListResultIterator

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

AFDOriginListResultIterator provides access to a complete listing of AFDOrigin values.

func NewAFDOriginListResultIterator

func NewAFDOriginListResultIterator(page AFDOriginListResultPage) AFDOriginListResultIterator

Creates a new instance of the AFDOriginListResultIterator type.

func (*AFDOriginListResultIterator) Next

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

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

func (iter AFDOriginListResultIterator) NotDone() bool

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

func (AFDOriginListResultIterator) Response

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

func (AFDOriginListResultIterator) Value

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

type AFDOriginListResultPage

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

AFDOriginListResultPage contains a page of AFDOrigin values.

func NewAFDOriginListResultPage

func NewAFDOriginListResultPage(cur AFDOriginListResult, getNextPage func(context.Context, AFDOriginListResult) (AFDOriginListResult, error)) AFDOriginListResultPage

Creates a new instance of the AFDOriginListResultPage type.

func (*AFDOriginListResultPage) Next

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

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

func (page AFDOriginListResultPage) NotDone() bool

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

func (AFDOriginListResultPage) Response

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

func (AFDOriginListResultPage) Values

func (page AFDOriginListResultPage) Values() []AFDOrigin

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

type AFDOriginProperties

type AFDOriginProperties struct {
	// AzureOrigin - Resource reference to the Azure origin resource.
	AzureOrigin *ResourceReference `json:"azureOrigin,omitempty"`
	// HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
	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"`
	// 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. This overrides the host header defined at Endpoint
	OriginHostHeader *string `json:"originHostHeader,omitempty"`
	// Priority - Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5
	Priority *int32 `json:"priority,omitempty"`
	// Weight - Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
	Weight *int32 `json:"weight,omitempty"`
	// SharedPrivateLinkResource - The properties of the private link resource for private origin.
	SharedPrivateLinkResource interface{} `json:"sharedPrivateLinkResource,omitempty"`
	// EnabledState - Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	EnabledState EnabledState `json:"enabledState,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

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

func (AFDOriginProperties) MarshalJSON

func (aop AFDOriginProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginProperties.

type AFDOriginUpdateParameters

type AFDOriginUpdateParameters struct {
	*AFDOriginUpdatePropertiesParameters `json:"properties,omitempty"`
}

AFDOriginUpdateParameters aFDOrigin properties needed for origin update.

func (AFDOriginUpdateParameters) MarshalJSON

func (aoup AFDOriginUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDOriginUpdateParameters.

func (*AFDOriginUpdateParameters) UnmarshalJSON

func (aoup *AFDOriginUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AFDOriginUpdateParameters struct.

type AFDOriginUpdatePropertiesParameters

type AFDOriginUpdatePropertiesParameters struct {
	// AzureOrigin - Resource reference to the Azure origin resource.
	AzureOrigin *ResourceReference `json:"azureOrigin,omitempty"`
	// HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
	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"`
	// 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. This overrides the host header defined at Endpoint
	OriginHostHeader *string `json:"originHostHeader,omitempty"`
	// Priority - Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5
	Priority *int32 `json:"priority,omitempty"`
	// Weight - Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
	Weight *int32 `json:"weight,omitempty"`
	// SharedPrivateLinkResource - The properties of the private link resource for private origin.
	SharedPrivateLinkResource interface{} `json:"sharedPrivateLinkResource,omitempty"`
	// EnabledState - Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	EnabledState EnabledState `json:"enabledState,omitempty"`
}

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

type AFDOriginsClient

type AFDOriginsClient struct {
	BaseClient
}

AFDOriginsClient is the cdn Management Client

func NewAFDOriginsClient

func NewAFDOriginsClient(subscriptionID string) AFDOriginsClient

NewAFDOriginsClient creates an instance of the AFDOriginsClient client.

func NewAFDOriginsClientWithBaseURI

func NewAFDOriginsClientWithBaseURI(baseURI string, subscriptionID string) AFDOriginsClient

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

func (AFDOriginsClient) Create

func (client AFDOriginsClient) Create(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, origin AFDOrigin) (result AFDOriginsCreateFuture, err error)

Create creates a new origin within the specified origin group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. originGroupName - name of the origin group which is unique within the profile. originName - name of the origin that is unique within the profile. origin - origin properties

func (AFDOriginsClient) CreatePreparer

func (client AFDOriginsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, origin AFDOrigin) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AFDOriginsClient) CreateResponder

func (client AFDOriginsClient) CreateResponder(resp *http.Response) (result AFDOrigin, err error)

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

func (AFDOriginsClient) CreateSender

func (client AFDOriginsClient) CreateSender(req *http.Request) (future AFDOriginsCreateFuture, err error)

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

func (AFDOriginsClient) Delete

func (client AFDOriginsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string) (result AFDOriginsDeleteFuture, err error)

Delete deletes an existing origin within an origin group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. originGroupName - name of the origin group which is unique within the profile. originName - name of the origin which is unique within the profile.

func (AFDOriginsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (AFDOriginsClient) DeleteResponder

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

func (client AFDOriginsClient) DeleteSender(req *http.Request) (future AFDOriginsDeleteFuture, err error)

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

func (AFDOriginsClient) Get

func (client AFDOriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string) (result AFDOrigin, err error)

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

func (AFDOriginsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (AFDOriginsClient) GetResponder

func (client AFDOriginsClient) GetResponder(resp *http.Response) (result AFDOrigin, err error)

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

func (AFDOriginsClient) GetSender

func (client AFDOriginsClient) 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 (AFDOriginsClient) ListByOriginGroup

func (client AFDOriginsClient) ListByOriginGroup(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (result AFDOriginListResultPage, err error)

ListByOriginGroup lists all of the existing origins within an origin group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. originGroupName - name of the origin group which is unique within the profile.

func (AFDOriginsClient) ListByOriginGroupComplete

func (client AFDOriginsClient) ListByOriginGroupComplete(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (result AFDOriginListResultIterator, err error)

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

func (AFDOriginsClient) ListByOriginGroupPreparer

func (client AFDOriginsClient) ListByOriginGroupPreparer(ctx context.Context, resourceGroupName string, profileName string, originGroupName string) (*http.Request, error)

ListByOriginGroupPreparer prepares the ListByOriginGroup request.

func (AFDOriginsClient) ListByOriginGroupResponder

func (client AFDOriginsClient) ListByOriginGroupResponder(resp *http.Response) (result AFDOriginListResult, err error)

ListByOriginGroupResponder handles the response to the ListByOriginGroup request. The method always closes the http.Response Body.

func (AFDOriginsClient) ListByOriginGroupSender

func (client AFDOriginsClient) ListByOriginGroupSender(req *http.Request) (*http.Response, error)

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

func (AFDOriginsClient) Update

func (client AFDOriginsClient) Update(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, originUpdateProperties AFDOriginUpdateParameters) (result AFDOriginsUpdateFuture, err error)

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

func (AFDOriginsClient) UpdatePreparer

func (client AFDOriginsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, originGroupName string, originName string, originUpdateProperties AFDOriginUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AFDOriginsClient) UpdateResponder

func (client AFDOriginsClient) UpdateResponder(resp *http.Response) (result AFDOrigin, err error)

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

func (AFDOriginsClient) UpdateSender

func (client AFDOriginsClient) UpdateSender(req *http.Request) (future AFDOriginsUpdateFuture, err error)

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

type AFDOriginsCreateFuture

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

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

func (*AFDOriginsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDOriginsDeleteFuture

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

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

func (*AFDOriginsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDOriginsUpdateFuture

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

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

func (*AFDOriginsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AFDProfilesClient

type AFDProfilesClient struct {
	BaseClient
}

AFDProfilesClient is the cdn Management Client

func NewAFDProfilesClient

func NewAFDProfilesClient(subscriptionID string) AFDProfilesClient

NewAFDProfilesClient creates an instance of the AFDProfilesClient client.

func NewAFDProfilesClientWithBaseURI

func NewAFDProfilesClientWithBaseURI(baseURI string, subscriptionID string) AFDProfilesClient

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

func (AFDProfilesClient) CheckHostNameAvailability

func (client AFDProfilesClient) CheckHostNameAvailability(ctx context.Context, resourceGroupName string, profileName string, checkHostNameAvailabilityInput ValidateCustomDomainInput) (result ValidateCustomDomainOutput, err error)

CheckHostNameAvailability 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. checkHostNameAvailabilityInput - custom domain to be validated.

func (AFDProfilesClient) CheckHostNameAvailabilityPreparer

func (client AFDProfilesClient) CheckHostNameAvailabilityPreparer(ctx context.Context, resourceGroupName string, profileName string, checkHostNameAvailabilityInput ValidateCustomDomainInput) (*http.Request, error)

CheckHostNameAvailabilityPreparer prepares the CheckHostNameAvailability request.

func (AFDProfilesClient) CheckHostNameAvailabilityResponder

func (client AFDProfilesClient) CheckHostNameAvailabilityResponder(resp *http.Response) (result ValidateCustomDomainOutput, err error)

CheckHostNameAvailabilityResponder handles the response to the CheckHostNameAvailability request. The method always closes the http.Response Body.

func (AFDProfilesClient) CheckHostNameAvailabilitySender

func (client AFDProfilesClient) CheckHostNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (AFDProfilesClient) ListResourceUsage

func (client AFDProfilesClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string) (result UsagesListResultPage, err error)

ListResourceUsage checks the quota and actual usage of endpoints under the given CDN 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.

func (AFDProfilesClient) ListResourceUsageComplete

func (client AFDProfilesClient) ListResourceUsageComplete(ctx context.Context, resourceGroupName string, profileName string) (result UsagesListResultIterator, err error)

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

func (AFDProfilesClient) ListResourceUsagePreparer

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

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (AFDProfilesClient) ListResourceUsageResponder

func (client AFDProfilesClient) ListResourceUsageResponder(resp *http.Response) (result UsagesListResult, err error)

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

func (AFDProfilesClient) ListResourceUsageSender

func (client AFDProfilesClient) 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.

type AFDStateProperties

type AFDStateProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

AFDStateProperties the tracking states for afd resources.

func (AFDStateProperties) MarshalJSON

func (asp AFDStateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AFDStateProperties.

type ActionType

type ActionType string

ActionType enumerates the values for action type.

const (
	// ActionTypeAllow ...
	ActionTypeAllow ActionType = "Allow"
	// ActionTypeBlock ...
	ActionTypeBlock ActionType = "Block"
	// ActionTypeLog ...
	ActionTypeLog ActionType = "Log"
	// ActionTypeRedirect ...
	ActionTypeRedirect ActionType = "Redirect"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

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

type AfdCertificateType

type AfdCertificateType string

AfdCertificateType enumerates the values for afd certificate type.

const (
	// AfdCertificateTypeCustomerCertificate ...
	AfdCertificateTypeCustomerCertificate AfdCertificateType = "CustomerCertificate"
	// AfdCertificateTypeManagedCertificate ...
	AfdCertificateTypeManagedCertificate AfdCertificateType = "ManagedCertificate"
)

func PossibleAfdCertificateTypeValues

func PossibleAfdCertificateTypeValues() []AfdCertificateType

PossibleAfdCertificateTypeValues returns an array of possible values for the AfdCertificateType const type.

type AfdErrorResponse

type AfdErrorResponse struct {
	// Error - The error object.
	Error *ErrorResponse `json:"error,omitempty"`
}

AfdErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type AfdMinimumTLSVersion

type AfdMinimumTLSVersion string

AfdMinimumTLSVersion enumerates the values for afd minimum tls version.

const (
	// AfdMinimumTLSVersionTLS10 ...
	AfdMinimumTLSVersionTLS10 AfdMinimumTLSVersion = "TLS10"
	// AfdMinimumTLSVersionTLS12 ...
	AfdMinimumTLSVersionTLS12 AfdMinimumTLSVersion = "TLS12"
)

func PossibleAfdMinimumTLSVersionValues

func PossibleAfdMinimumTLSVersionValues() []AfdMinimumTLSVersion

PossibleAfdMinimumTLSVersionValues returns an array of possible values for the AfdMinimumTLSVersion const type.

type AfdProvisioningState

type AfdProvisioningState string

AfdProvisioningState enumerates the values for afd provisioning state.

const (
	// AfdProvisioningStateCreating ...
	AfdProvisioningStateCreating AfdProvisioningState = "Creating"
	// AfdProvisioningStateDeleting ...
	AfdProvisioningStateDeleting AfdProvisioningState = "Deleting"
	// AfdProvisioningStateFailed ...
	AfdProvisioningStateFailed AfdProvisioningState = "Failed"
	// AfdProvisioningStateSucceeded ...
	AfdProvisioningStateSucceeded AfdProvisioningState = "Succeeded"
	// AfdProvisioningStateUpdating ...
	AfdProvisioningStateUpdating AfdProvisioningState = "Updating"
)

func PossibleAfdProvisioningStateValues

func PossibleAfdProvisioningStateValues() []AfdProvisioningState

PossibleAfdProvisioningStateValues returns an array of possible values for the AfdProvisioningState const type.

type AfdPurgeParameters

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

AfdPurgeParameters parameters required for content purge.

type AfdQueryStringCachingBehavior

type AfdQueryStringCachingBehavior string

AfdQueryStringCachingBehavior enumerates the values for afd query string caching behavior.

const (
	// AfdQueryStringCachingBehaviorIgnoreQueryString ...
	AfdQueryStringCachingBehaviorIgnoreQueryString AfdQueryStringCachingBehavior = "IgnoreQueryString"
	// AfdQueryStringCachingBehaviorNotSet ...
	AfdQueryStringCachingBehaviorNotSet AfdQueryStringCachingBehavior = "NotSet"
	// AfdQueryStringCachingBehaviorUseQueryString ...
	AfdQueryStringCachingBehaviorUseQueryString AfdQueryStringCachingBehavior = "UseQueryString"
)

func PossibleAfdQueryStringCachingBehaviorValues

func PossibleAfdQueryStringCachingBehaviorValues() []AfdQueryStringCachingBehavior

PossibleAfdQueryStringCachingBehaviorValues returns an array of possible values for the AfdQueryStringCachingBehavior const type.

type Algorithm

type Algorithm string

Algorithm enumerates the values for algorithm.

const (
	// AlgorithmSHA256 ...
	AlgorithmSHA256 Algorithm = "SHA256"
)

func PossibleAlgorithmValues

func PossibleAlgorithmValues() []Algorithm

PossibleAlgorithmValues returns an array of possible values for the Algorithm const type.

type BaseClient

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

BaseClient is the base client for Cdn.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

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

func (BaseClient) CheckNameAvailability

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

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (BaseClient) CheckNameAvailabilityResponder

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

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

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

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

CheckNameAvailabilityWithSubscriptionPreparer prepares the CheckNameAvailabilityWithSubscription request.

func (BaseClient) CheckNameAvailabilityWithSubscriptionResponder

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

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

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

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

ValidateProbePreparer prepares the ValidateProbe request.

func (BaseClient) ValidateProbeResponder

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

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

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

type BasicDeliveryRuleAction interface {
	AsURLRedirectAction() (*URLRedirectAction, bool)
	AsURLSigningAction() (*URLSigningAction, bool)
	AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)
	AsURLRewriteAction() (*URLRewriteAction, bool)
	AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
	AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
	AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
	AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)
	AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
}

BasicDeliveryRuleAction an action for the delivery rule.

type BasicDeliveryRuleCondition

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)
	AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)
	AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)
	AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
	AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
}

BasicDeliveryRuleCondition a condition for the delivery rule.

type BasicSecretParameters

type BasicSecretParameters interface {
	AsURLSigningKeyParameters() (*URLSigningKeyParameters, bool)
	AsManagedCertificateParameters() (*ManagedCertificateParameters, bool)
	AsCustomerCertificateParameters() (*CustomerCertificateParameters, bool)
	AsSecretParameters() (*SecretParameters, bool)
}

BasicSecretParameters the json object containing secret parameters

type BasicSecurityPolicyParameters

type BasicSecurityPolicyParameters interface {
	AsSecurityPolicyWebApplicationFirewallParameters() (*SecurityPolicyWebApplicationFirewallParameters, bool)
	AsSecurityPolicyParameters() (*SecurityPolicyParameters, bool)
}

BasicSecurityPolicyParameters the json object containing security policy parameters

type CacheBehavior

type CacheBehavior string

CacheBehavior enumerates the values for cache behavior.

const (
	// CacheBehaviorBypassCache ...
	CacheBehaviorBypassCache CacheBehavior = "BypassCache"
	// CacheBehaviorOverride ...
	CacheBehaviorOverride CacheBehavior = "Override"
	// CacheBehaviorSetIfMissing ...
	CacheBehaviorSetIfMissing CacheBehavior = "SetIfMissing"
)

func PossibleCacheBehaviorValues

func PossibleCacheBehaviorValues() []CacheBehavior

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

type CacheExpirationActionParameters

type CacheExpirationActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// CacheBehavior - Caching behavior for the requests. Possible values include: 'CacheBehaviorBypassCache', 'CacheBehaviorOverride', 'CacheBehaviorSetIfMissing'
	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 CacheKeyQueryStringActionParameters

type CacheKeyQueryStringActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// QueryStringBehavior - Caching behavior for the requests. Possible values include: 'QueryStringBehaviorInclude', 'QueryStringBehaviorIncludeAll', 'QueryStringBehaviorExclude', 'QueryStringBehaviorExcludeAll'
	QueryStringBehavior QueryStringBehavior `json:"queryStringBehavior,omitempty"`
	// QueryParameters - query parameters to include or exclude (comma separated).
	QueryParameters *string `json:"queryParameters,omitempty"`
}

CacheKeyQueryStringActionParameters defines the parameters for the cache-key query string action.

type Certificate

type Certificate struct {
	// Subject - Subject name in the certificate.
	Subject *string `json:"subject,omitempty"`
	// ExpirationDate - Certificate expiration date.
	ExpirationDate *string `json:"expirationDate,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

Certificate certificate used for https

type CertificateSource

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

func PossibleCertificateSourceValues() []CertificateSource

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

type CertificateSourceParameters

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

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

type CertificateType

type CertificateType string

CertificateType enumerates the values for certificate type.

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

func PossibleCertificateTypeValues

func PossibleCertificateTypeValues() []CertificateType

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

type CheckNameAvailabilityInput

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

CheckNameAvailabilityInput input of CheckNameAvailability API.

type CheckNameAvailabilityOutput

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.

func (CheckNameAvailabilityOutput) MarshalJSON

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

MarshalJSON is the custom marshaler for CheckNameAvailabilityOutput.

type CidrIPAddress

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 CompressionSettings

type CompressionSettings struct {
	// 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 AzureFrontDoor. 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 AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB.
	IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"`
}

CompressionSettings settings for compression.

type ContinentsResponse

type ContinentsResponse struct {
	autorest.Response `json:"-"`
	Continents        *[]ContinentsResponseContinentsItem       `json:"continents,omitempty"`
	CountryOrRegions  *[]ContinentsResponseCountryOrRegionsItem `json:"countryOrRegions,omitempty"`
}

ContinentsResponse continents Response

type ContinentsResponseContinentsItem

type ContinentsResponseContinentsItem struct {
	ID *string `json:"id,omitempty"`
}

ContinentsResponseContinentsItem ...

type ContinentsResponseCountryOrRegionsItem

type ContinentsResponseCountryOrRegionsItem struct {
	ID          *string `json:"id,omitempty"`
	ContinentID *string `json:"continentId,omitempty"`
}

ContinentsResponseCountryOrRegionsItem ...

type CookiesMatchConditionParameters

type CookiesMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Selector - Name of Cookies to be matched
	Selector *string `json:"selector,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'CookiesOperatorAny', 'CookiesOperatorEqual', 'CookiesOperatorContains', 'CookiesOperatorBeginsWith', 'CookiesOperatorEndsWith', 'CookiesOperatorLessThan', 'CookiesOperatorLessThanOrEqual', 'CookiesOperatorGreaterThan', 'CookiesOperatorGreaterThanOrEqual', 'CookiesOperatorRegEx'
	Operator CookiesOperator `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"`
}

CookiesMatchConditionParameters defines the parameters for Cookies match conditions

type CookiesOperator

type CookiesOperator string

CookiesOperator enumerates the values for cookies operator.

const (
	// CookiesOperatorAny ...
	CookiesOperatorAny CookiesOperator = "Any"
	// CookiesOperatorBeginsWith ...
	CookiesOperatorBeginsWith CookiesOperator = "BeginsWith"
	// CookiesOperatorContains ...
	CookiesOperatorContains CookiesOperator = "Contains"
	// CookiesOperatorEndsWith ...
	CookiesOperatorEndsWith CookiesOperator = "EndsWith"
	// CookiesOperatorEqual ...
	CookiesOperatorEqual CookiesOperator = "Equal"
	// CookiesOperatorGreaterThan ...
	CookiesOperatorGreaterThan CookiesOperator = "GreaterThan"
	// CookiesOperatorGreaterThanOrEqual ...
	CookiesOperatorGreaterThanOrEqual CookiesOperator = "GreaterThanOrEqual"
	// CookiesOperatorLessThan ...
	CookiesOperatorLessThan CookiesOperator = "LessThan"
	// CookiesOperatorLessThanOrEqual ...
	CookiesOperatorLessThanOrEqual CookiesOperator = "LessThanOrEqual"
	// CookiesOperatorRegEx ...
	CookiesOperatorRegEx CookiesOperator = "RegEx"
)

func PossibleCookiesOperatorValues

func PossibleCookiesOperatorValues() []CookiesOperator

PossibleCookiesOperatorValues returns an array of possible values for the CookiesOperator const type.

type CustomDomain

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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,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

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

MarshalJSON is the custom marshaler for CustomDomain.

func (*CustomDomain) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CustomDomain struct.

type CustomDomainHTTPSParameters

type CustomDomainHTTPSParameters struct {
	// ProtocolType - Defines the TLS extension protocol that is used for secure delivery. Possible values include: 'ProtocolTypeServerNameIndication', 'ProtocolTypeIPBased'
	ProtocolType ProtocolType `json:"protocolType,omitempty"`
	// MinimumTLSVersion - TLS protocol version that will be used for Https. Possible values include: 'MinimumTLSVersionNone', 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS12'
	MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,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

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

AsBasicCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) AsCustomDomainHTTPSParameters

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

AsCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) AsManagedHTTPSParameters

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

AsManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) AsUserManagedHTTPSParameters

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

AsUserManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for CustomDomainHTTPSParameters.

func (CustomDomainHTTPSParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for CustomDomainHTTPSParameters.

type CustomDomainListResult

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

func (cdlr CustomDomainListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (CustomDomainListResult) MarshalJSON

func (cdlr CustomDomainListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomDomainListResult.

type CustomDomainListResultIterator

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

CustomDomainListResultIterator provides access to a complete listing of CustomDomain values.

func NewCustomDomainListResultIterator

func NewCustomDomainListResultIterator(page CustomDomainListResultPage) CustomDomainListResultIterator

Creates a new instance of the CustomDomainListResultIterator type.

func (*CustomDomainListResultIterator) Next

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

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

func (iter CustomDomainListResultIterator) NotDone() bool

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

func (CustomDomainListResultIterator) Response

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

func (CustomDomainListResultIterator) Value

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

type CustomDomainListResultPage

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

CustomDomainListResultPage contains a page of CustomDomain values.

func NewCustomDomainListResultPage

Creates a new instance of the CustomDomainListResultPage type.

func (*CustomDomainListResultPage) Next

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

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

func (page CustomDomainListResultPage) NotDone() bool

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

func (CustomDomainListResultPage) Response

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

func (CustomDomainListResultPage) Values

func (page CustomDomainListResultPage) Values() []CustomDomain

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

type CustomDomainParameters

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

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

func (CustomDomainParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for CustomDomainParameters.

func (*CustomDomainParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CustomDomainParameters struct.

type CustomDomainProperties

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: 'CustomDomainResourceStateCreating', 'CustomDomainResourceStateActive', 'CustomDomainResourceStateDeleting'
	ResourceState CustomDomainResourceState `json:"resourceState,omitempty"`
	// CustomHTTPSProvisioningState - READ-ONLY; Provisioning status of Custom Https of the custom domain. Possible values include: 'CustomHTTPSProvisioningStateEnabling', 'CustomHTTPSProvisioningStateEnabled', 'CustomHTTPSProvisioningStateDisabling', 'CustomHTTPSProvisioningStateDisabled', 'CustomHTTPSProvisioningStateFailed'
	CustomHTTPSProvisioningState CustomHTTPSProvisioningState `json:"customHttpsProvisioningState,omitempty"`
	// CustomHTTPSProvisioningSubstate - READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. Possible values include: 'CustomHTTPSProvisioningSubstateSubmittingDomainControlValidationRequest', 'CustomHTTPSProvisioningSubstatePendingDomainControlValidationREquestApproval', 'CustomHTTPSProvisioningSubstateDomainControlValidationRequestApproved', 'CustomHTTPSProvisioningSubstateDomainControlValidationRequestRejected', 'CustomHTTPSProvisioningSubstateDomainControlValidationRequestTimedOut', 'CustomHTTPSProvisioningSubstateIssuingCertificate', 'CustomHTTPSProvisioningSubstateDeployingCertificate', 'CustomHTTPSProvisioningSubstateCertificateDeployed', 'CustomHTTPSProvisioningSubstateDeletingCertificate', 'CustomHTTPSProvisioningSubstateCertificateDeleted'
	CustomHTTPSProvisioningSubstate CustomHTTPSProvisioningSubstate `json:"customHttpsProvisioningSubstate,omitempty"`
	// CustomHTTPSParameters - Certificate parameters for securing custom HTTPS
	CustomHTTPSParameters BasicCustomDomainHTTPSParameters `json:"customHttpsParameters,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.

func (CustomDomainProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for CustomDomainProperties.

func (*CustomDomainProperties) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for CustomDomainProperties struct.

type CustomDomainPropertiesParameters

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

type CustomDomainResourceState string

CustomDomainResourceState enumerates the values for custom domain resource state.

const (
	// CustomDomainResourceStateActive ...
	CustomDomainResourceStateActive CustomDomainResourceState = "Active"
	// CustomDomainResourceStateCreating ...
	CustomDomainResourceStateCreating CustomDomainResourceState = "Creating"
	// CustomDomainResourceStateDeleting ...
	CustomDomainResourceStateDeleting CustomDomainResourceState = "Deleting"
)

func PossibleCustomDomainResourceStateValues

func PossibleCustomDomainResourceStateValues() []CustomDomainResourceState

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

type CustomDomainsClient

type CustomDomainsClient struct {
	BaseClient
}

CustomDomainsClient is the cdn Management Client

func NewCustomDomainsClient

func NewCustomDomainsClient(subscriptionID string) CustomDomainsClient

NewCustomDomainsClient creates an instance of the CustomDomainsClient client.

func NewCustomDomainsClientWithBaseURI

func NewCustomDomainsClientWithBaseURI(baseURI string, subscriptionID string) CustomDomainsClient

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

func (CustomDomainsClient) Create

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

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

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

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

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

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

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

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

func (client CustomDomainsClient) DisableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string) (result CustomDomainsDisableCustomHTTPSFuture, 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

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

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

func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (future CustomDomainsDisableCustomHTTPSFuture, err error)

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

func (CustomDomainsClient) EnableCustomHTTPS

func (client CustomDomainsClient) EnableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, endpointName string, customDomainName string, customDomainHTTPSParameters *BasicCustomDomainHTTPSParameters) (result CustomDomainsEnableCustomHTTPSFuture, 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

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

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

func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (future CustomDomainsEnableCustomHTTPSFuture, err error)

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

func (CustomDomainsClient) Get

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

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

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

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

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

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

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

ListByEndpointPreparer prepares the ListByEndpoint request.

func (CustomDomainsClient) ListByEndpointResponder

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

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

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

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

func (*CustomDomainsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomDomainsDeleteFuture

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

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

func (*CustomDomainsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomDomainsDisableCustomHTTPSFuture

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

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

func (*CustomDomainsDisableCustomHTTPSFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomDomainsEnableCustomHTTPSFuture

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

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

func (*CustomDomainsEnableCustomHTTPSFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CustomHTTPSProvisioningState

type CustomHTTPSProvisioningState string

CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.

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

func PossibleCustomHTTPSProvisioningStateValues

func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState

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

type CustomHTTPSProvisioningSubstate

type CustomHTTPSProvisioningSubstate string

CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate.

const (
	// CustomHTTPSProvisioningSubstateCertificateDeleted ...
	CustomHTTPSProvisioningSubstateCertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted"
	// CustomHTTPSProvisioningSubstateCertificateDeployed ...
	CustomHTTPSProvisioningSubstateCertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed"
	// CustomHTTPSProvisioningSubstateDeletingCertificate ...
	CustomHTTPSProvisioningSubstateDeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate"
	// CustomHTTPSProvisioningSubstateDeployingCertificate ...
	CustomHTTPSProvisioningSubstateDeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate"
	// CustomHTTPSProvisioningSubstateDomainControlValidationRequestApproved ...
	CustomHTTPSProvisioningSubstateDomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved"
	// CustomHTTPSProvisioningSubstateDomainControlValidationRequestRejected ...
	CustomHTTPSProvisioningSubstateDomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected"
	// CustomHTTPSProvisioningSubstateDomainControlValidationRequestTimedOut ...
	CustomHTTPSProvisioningSubstateDomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut"
	// CustomHTTPSProvisioningSubstateIssuingCertificate ...
	CustomHTTPSProvisioningSubstateIssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate"
	// CustomHTTPSProvisioningSubstatePendingDomainControlValidationREquestApproval ...
	CustomHTTPSProvisioningSubstatePendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval"
	// CustomHTTPSProvisioningSubstateSubmittingDomainControlValidationRequest ...
	CustomHTTPSProvisioningSubstateSubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest"
)

func PossibleCustomHTTPSProvisioningSubstateValues

func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate

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

type CustomRule

type CustomRule struct {
	// Name - 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. Possible values include: 'ActionTypeAllow', 'ActionTypeBlock', 'ActionTypeLog', 'ActionTypeRedirect'
	Action ActionType `json:"action,omitempty"`
}

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

type CustomRuleEnabledState

type CustomRuleEnabledState string

CustomRuleEnabledState enumerates the values for custom rule enabled state.

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

func PossibleCustomRuleEnabledStateValues

func PossibleCustomRuleEnabledStateValues() []CustomRuleEnabledState

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

type CustomRuleList

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

CustomRuleList defines contents of custom rules

type CustomerCertificate

type CustomerCertificate struct {
	// Version - Certificate version.
	Version *string `json:"version,omitempty"`
	// CertificateAuthority - Certificate issuing authority.
	CertificateAuthority *string `json:"certificateAuthority,omitempty"`
	// CertificateURL - Complete Url to the certificate
	CertificateURL *string `json:"certificateUrl,omitempty"`
	// UseLatestVersion - Whether to use the latest version for the certificate
	UseLatestVersion *bool `json:"useLatestVersion,omitempty"`
	// SubjectAlternativeNames - The list of SANs.
	SubjectAlternativeNames *[]string `json:"subjectAlternativeNames,omitempty"`
	// Subject - Subject name in the certificate.
	Subject *string `json:"subject,omitempty"`
	// ExpirationDate - Certificate expiration date.
	ExpirationDate *string `json:"expirationDate,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

CustomerCertificate customer Certificate used for https

type CustomerCertificateParameters

type CustomerCertificateParameters struct {
	// SecretSource - Resource reference to the KV secret
	SecretSource *ResourceReference `json:"secretSource,omitempty"`
	// SecretVersion - Version of the secret to be used
	SecretVersion *string `json:"secretVersion,omitempty"`
	// CertificateAuthority - Certificate issuing authority.
	CertificateAuthority *string `json:"certificateAuthority,omitempty"`
	// UseLatestVersion - Whether to use the latest version for the certificate
	UseLatestVersion *bool `json:"useLatestVersion,omitempty"`
	// SubjectAlternativeNames - The list of SANs.
	SubjectAlternativeNames *[]string `json:"subjectAlternativeNames,omitempty"`
	// Type - Possible values include: 'TypeBasicSecretParametersTypeSecretParameters', 'TypeBasicSecretParametersTypeURLSigningKey', 'TypeBasicSecretParametersTypeManagedCertificate', 'TypeBasicSecretParametersTypeCustomerCertificate'
	Type TypeBasicSecretParameters `json:"type,omitempty"`
}

CustomerCertificateParameters customer Certificate used for https

func (CustomerCertificateParameters) AsBasicSecretParameters

func (ccp CustomerCertificateParameters) AsBasicSecretParameters() (BasicSecretParameters, bool)

AsBasicSecretParameters is the BasicSecretParameters implementation for CustomerCertificateParameters.

func (CustomerCertificateParameters) AsCustomerCertificateParameters

func (ccp CustomerCertificateParameters) AsCustomerCertificateParameters() (*CustomerCertificateParameters, bool)

AsCustomerCertificateParameters is the BasicSecretParameters implementation for CustomerCertificateParameters.

func (CustomerCertificateParameters) AsManagedCertificateParameters

func (ccp CustomerCertificateParameters) AsManagedCertificateParameters() (*ManagedCertificateParameters, bool)

AsManagedCertificateParameters is the BasicSecretParameters implementation for CustomerCertificateParameters.

func (CustomerCertificateParameters) AsSecretParameters

func (ccp CustomerCertificateParameters) AsSecretParameters() (*SecretParameters, bool)

AsSecretParameters is the BasicSecretParameters implementation for CustomerCertificateParameters.

func (CustomerCertificateParameters) AsURLSigningKeyParameters

func (ccp CustomerCertificateParameters) AsURLSigningKeyParameters() (*URLSigningKeyParameters, bool)

AsURLSigningKeyParameters is the BasicSecretParameters implementation for CustomerCertificateParameters.

func (CustomerCertificateParameters) MarshalJSON

func (ccp CustomerCertificateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CustomerCertificateParameters.

type DeepCreatedOrigin

type DeepCreatedOrigin struct {
	// Name - Origin name which must be unique within the endpoint.
	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

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

MarshalJSON is the custom marshaler for DeepCreatedOrigin.

func (*DeepCreatedOrigin) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for DeepCreatedOrigin struct.

type DeepCreatedOriginGroup

type DeepCreatedOriginGroup struct {
	// Name - Origin group name which must be unique within the endpoint.
	Name                              *string `json:"name,omitempty"`
	*DeepCreatedOriginGroupProperties `json:"properties,omitempty"`
}

DeepCreatedOriginGroup the origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health.

func (DeepCreatedOriginGroup) MarshalJSON

func (dcog DeepCreatedOriginGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeepCreatedOriginGroup.

func (*DeepCreatedOriginGroup) UnmarshalJSON

func (dcog *DeepCreatedOriginGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeepCreatedOriginGroup struct.

type DeepCreatedOriginGroupProperties

type DeepCreatedOriginGroupProperties struct {
	// HealthProbeSettings - Health probe settings to the origin that is used to determine the health of the origin.
	HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"`
	// Origins - The source of the content being delivered via CDN within given origin group.
	Origins *[]ResourceReference `json:"origins,omitempty"`
	// TrafficRestorationTimeToHealedOrNewEndpointsInMinutes - Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"`
	// ResponseBasedOriginErrorDetectionSettings - The JSON object that contains the properties to determine origin health using real requests/responses.This property is currently not supported.
	ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"`
}

DeepCreatedOriginGroupProperties properties of the origin group created on the CDN endpoint.

type DeepCreatedOriginProperties

type DeepCreatedOriginProperties struct {
	// HostName - The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. This should be unique across all origins in an endpoint.
	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"`
	// 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"`
	// Priority - Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5.
	Priority *int32 `json:"priority,omitempty"`
	// Weight - Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
	Weight *int32 `json:"weight,omitempty"`
	// Enabled - Origin is enabled for load balancing or not. By default, origin is always enabled.
	Enabled *bool `json:"enabled,omitempty"`
	// PrivateLinkAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
	PrivateLinkAlias *string `json:"privateLinkAlias,omitempty"`
	// PrivateLinkResourceID - The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
	PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"`
	// PrivateLinkLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
	PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"`
	// PrivateLinkApprovalMessage - A custom message to be included in the approval request to connect to the Private Link.
	PrivateLinkApprovalMessage *string `json:"privateLinkApprovalMessage,omitempty"`
}

DeepCreatedOriginProperties properties of the origin created on the CDN endpoint.

type DeliveryRule

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

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

UnmarshalJSON is the custom unmarshaler for DeliveryRule struct.

type DeliveryRuleAction

type DeliveryRuleAction struct {
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleAction an action for the delivery rule.

func (DeliveryRuleAction) AsBasicDeliveryRuleAction

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

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleAction

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

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleCacheExpirationAction

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

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleCacheKeyQueryStringAction

func (dra DeliveryRuleAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleRequestHeaderAction

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

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsDeliveryRuleResponseHeaderAction

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

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsOriginGroupOverrideAction

func (dra DeliveryRuleAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsURLRedirectAction

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

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsURLRewriteAction

func (dra DeliveryRuleAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) AsURLSigningAction

func (dra DeliveryRuleAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for DeliveryRuleAction.

func (DeliveryRuleAction) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleAction.

type DeliveryRuleCacheExpirationAction

type DeliveryRuleCacheExpirationAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *CacheExpirationActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleCacheExpirationAction defines the cache expiration action for the delivery rule.

func (DeliveryRuleCacheExpirationAction) AsBasicDeliveryRuleAction

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

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleAction

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

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheExpirationAction

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

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheKeyQueryStringAction

func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleRequestHeaderAction

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

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsDeliveryRuleResponseHeaderAction

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

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsOriginGroupOverrideAction

func (drcea DeliveryRuleCacheExpirationAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsURLRedirectAction

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

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsURLRewriteAction

func (drcea DeliveryRuleCacheExpirationAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) AsURLSigningAction

func (drcea DeliveryRuleCacheExpirationAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.

func (DeliveryRuleCacheExpirationAction) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleCacheExpirationAction.

type DeliveryRuleCacheKeyQueryStringAction

type DeliveryRuleCacheKeyQueryStringAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *CacheKeyQueryStringActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleCacheKeyQueryStringAction defines the cache-key query string action for the delivery rule.

func (DeliveryRuleCacheKeyQueryStringAction) AsBasicDeliveryRuleAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleCacheExpirationAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleCacheKeyQueryStringAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleRequestHeaderAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleResponseHeaderAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsOriginGroupOverrideAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsURLRedirectAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsURLRewriteAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) AsURLSigningAction

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheKeyQueryStringAction.

func (DeliveryRuleCacheKeyQueryStringAction) MarshalJSON

func (drckqsa DeliveryRuleCacheKeyQueryStringAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryRuleCacheKeyQueryStringAction.

type DeliveryRuleCondition

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

DeliveryRuleCondition a condition for the delivery rule.

func (DeliveryRuleCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleCookiesCondition

func (drc DeliveryRuleCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleHTTPVersionCondition

func (drc DeliveryRuleCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCondition.

func (DeliveryRuleCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleCondition.

type DeliveryRuleCookiesCondition

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

DeliveryRuleCookiesCondition defines the Cookies condition for the delivery rule.

func (DeliveryRuleCookiesCondition) AsBasicDeliveryRuleCondition

func (drcc DeliveryRuleCookiesCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleCookiesCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleHTTPVersionCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleIsDeviceCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRulePostArgsCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleQueryStringCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleRemoteAddressCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleRequestBodyCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleRequestHeaderCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleRequestMethodCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleRequestSchemeCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleRequestURICondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleURLFileExtensionCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleURLFileNameCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) AsDeliveryRuleURLPathCondition

func (drcc DeliveryRuleCookiesCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleCookiesCondition.

func (DeliveryRuleCookiesCondition) MarshalJSON

func (drcc DeliveryRuleCookiesCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryRuleCookiesCondition.

type DeliveryRuleHTTPVersionCondition

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

DeliveryRuleHTTPVersionCondition defines the HttpVersion condition for the delivery rule.

func (DeliveryRuleHTTPVersionCondition) AsBasicDeliveryRuleCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleCookiesCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleHTTPVersionCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleIsDeviceCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRulePostArgsCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleQueryStringCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRemoteAddressCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestBodyCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestHeaderCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestMethodCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestSchemeCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestURICondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleURLFileExtensionCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleURLFileNameCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) AsDeliveryRuleURLPathCondition

func (drhvc DeliveryRuleHTTPVersionCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleHTTPVersionCondition.

func (DeliveryRuleHTTPVersionCondition) MarshalJSON

func (drhvc DeliveryRuleHTTPVersionCondition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeliveryRuleHTTPVersionCondition.

type DeliveryRuleIsDeviceCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleIsDeviceCondition defines the IsDevice condition for the delivery rule.

func (DeliveryRuleIsDeviceCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleCookiesCondition

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleHTTPVersionCondition

func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleIsDeviceCondition.

func (DeliveryRuleIsDeviceCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleIsDeviceCondition.

type DeliveryRulePostArgsCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRulePostArgsCondition defines the PostArgs condition for the delivery rule.

func (DeliveryRulePostArgsCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleCookiesCondition

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleHTTPVersionCondition

func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRulePostArgsCondition.

func (DeliveryRulePostArgsCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRulePostArgsCondition.

type DeliveryRuleQueryStringCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleQueryStringCondition defines the QueryString condition for the delivery rule.

func (DeliveryRuleQueryStringCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleCookiesCondition

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleHTTPVersionCondition

func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleQueryStringCondition.

func (DeliveryRuleQueryStringCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleQueryStringCondition.

type DeliveryRuleRemoteAddressCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleRemoteAddressCondition defines the RemoteAddress condition for the delivery rule.

func (DeliveryRuleRemoteAddressCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleCookiesCondition

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleHTTPVersionCondition

func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRemoteAddressCondition.

func (DeliveryRuleRemoteAddressCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRemoteAddressCondition.

type DeliveryRuleRequestBodyCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestBodyCondition defines the RequestBody condition for the delivery rule.

func (DeliveryRuleRequestBodyCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleCookiesCondition

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleHTTPVersionCondition

func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestBodyCondition.

func (DeliveryRuleRequestBodyCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestBodyCondition.

type DeliveryRuleRequestHeaderAction

type DeliveryRuleRequestHeaderAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *HeaderActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleRequestHeaderAction defines the request header action for the delivery rule.

func (DeliveryRuleRequestHeaderAction) AsBasicDeliveryRuleAction

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

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleAction

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

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheExpirationAction

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

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheKeyQueryStringAction

func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleRequestHeaderAction

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

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsDeliveryRuleResponseHeaderAction

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

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsOriginGroupOverrideAction

func (drrha DeliveryRuleRequestHeaderAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsURLRedirectAction

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

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsURLRewriteAction

func (drrha DeliveryRuleRequestHeaderAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) AsURLSigningAction

func (drrha DeliveryRuleRequestHeaderAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for DeliveryRuleRequestHeaderAction.

func (DeliveryRuleRequestHeaderAction) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestHeaderAction.

type DeliveryRuleRequestHeaderCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestHeaderCondition defines the RequestHeader condition for the delivery rule.

func (DeliveryRuleRequestHeaderCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleCookiesCondition

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleHTTPVersionCondition

func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestHeaderCondition.

func (DeliveryRuleRequestHeaderCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestHeaderCondition.

type DeliveryRuleRequestMethodCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestMethodCondition defines the RequestMethod condition for the delivery rule.

func (DeliveryRuleRequestMethodCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleCookiesCondition

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleHTTPVersionCondition

func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestMethodCondition.

func (DeliveryRuleRequestMethodCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestMethodCondition.

type DeliveryRuleRequestSchemeCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestSchemeCondition defines the RequestScheme condition for the delivery rule.

func (DeliveryRuleRequestSchemeCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleCookiesCondition

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleHTTPVersionCondition

func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestSchemeCondition.

func (DeliveryRuleRequestSchemeCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestSchemeCondition.

type DeliveryRuleRequestURICondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleRequestURICondition defines the RequestUri condition for the delivery rule.

func (DeliveryRuleRequestURICondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleCookiesCondition

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleHTTPVersionCondition

func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleRequestURICondition.

func (DeliveryRuleRequestURICondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleRequestURICondition.

type DeliveryRuleResponseHeaderAction

type DeliveryRuleResponseHeaderAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *HeaderActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

DeliveryRuleResponseHeaderAction defines the response header action for the delivery rule.

func (DeliveryRuleResponseHeaderAction) AsBasicDeliveryRuleAction

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

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleAction

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

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheExpirationAction

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

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheKeyQueryStringAction

func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleRequestHeaderAction

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

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsDeliveryRuleResponseHeaderAction

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

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsOriginGroupOverrideAction

func (drrha DeliveryRuleResponseHeaderAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsURLRedirectAction

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

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsURLRewriteAction

func (drrha DeliveryRuleResponseHeaderAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) AsURLSigningAction

func (drrha DeliveryRuleResponseHeaderAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for DeliveryRuleResponseHeaderAction.

func (DeliveryRuleResponseHeaderAction) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleResponseHeaderAction.

type DeliveryRuleURLFileExtensionCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleURLFileExtensionCondition defines the UrlFileExtension condition for the delivery rule.

func (DeliveryRuleURLFileExtensionCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleCookiesCondition

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleHTTPVersionCondition

func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileExtensionCondition.

func (DeliveryRuleURLFileExtensionCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleURLFileExtensionCondition.

type DeliveryRuleURLFileNameCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleURLFileNameCondition defines the UrlFileName condition for the delivery rule.

func (DeliveryRuleURLFileNameCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleCookiesCondition

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleHTTPVersionCondition

func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLFileNameCondition.

func (DeliveryRuleURLFileNameCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleURLFileNameCondition.

type DeliveryRuleURLPathCondition

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', 'NameHTTPVersion', 'NameCookies', 'NameIsDevice'
	Name Name `json:"name,omitempty"`
}

DeliveryRuleURLPathCondition defines the UrlPath condition for the delivery rule.

func (DeliveryRuleURLPathCondition) AsBasicDeliveryRuleCondition

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

AsBasicDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleCondition

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

AsDeliveryRuleCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleCookiesCondition

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleCookiesCondition() (*DeliveryRuleCookiesCondition, bool)

AsDeliveryRuleCookiesCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleHTTPVersionCondition

func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleHTTPVersionCondition() (*DeliveryRuleHTTPVersionCondition, bool)

AsDeliveryRuleHTTPVersionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleIsDeviceCondition

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

AsDeliveryRuleIsDeviceCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRulePostArgsCondition

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

AsDeliveryRulePostArgsCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleQueryStringCondition

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

AsDeliveryRuleQueryStringCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRemoteAddressCondition

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

AsDeliveryRuleRemoteAddressCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestBodyCondition

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

AsDeliveryRuleRequestBodyCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestHeaderCondition

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

AsDeliveryRuleRequestHeaderCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestMethodCondition

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

AsDeliveryRuleRequestMethodCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestSchemeCondition

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

AsDeliveryRuleRequestSchemeCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleRequestURICondition

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

AsDeliveryRuleRequestURICondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileExtensionCondition

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

AsDeliveryRuleURLFileExtensionCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileNameCondition

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

AsDeliveryRuleURLFileNameCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) AsDeliveryRuleURLPathCondition

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

AsDeliveryRuleURLPathCondition is the BasicDeliveryRuleCondition implementation for DeliveryRuleURLPathCondition.

func (DeliveryRuleURLPathCondition) MarshalJSON

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

MarshalJSON is the custom marshaler for DeliveryRuleURLPathCondition.

type DeploymentStatus

type DeploymentStatus string

DeploymentStatus enumerates the values for deployment status.

const (
	// DeploymentStatusFailed ...
	DeploymentStatusFailed DeploymentStatus = "Failed"
	// DeploymentStatusInProgress ...
	DeploymentStatusInProgress DeploymentStatus = "InProgress"
	// DeploymentStatusNotStarted ...
	DeploymentStatusNotStarted DeploymentStatus = "NotStarted"
	// DeploymentStatusSucceeded ...
	DeploymentStatusSucceeded DeploymentStatus = "Succeeded"
)

func PossibleDeploymentStatusValues

func PossibleDeploymentStatusValues() []DeploymentStatus

PossibleDeploymentStatusValues returns an array of possible values for the DeploymentStatus const type.

type DestinationProtocol

type DestinationProtocol string

DestinationProtocol enumerates the values for destination protocol.

const (
	// DestinationProtocolHTTP ...
	DestinationProtocolHTTP DestinationProtocol = "Http"
	// DestinationProtocolHTTPS ...
	DestinationProtocolHTTPS DestinationProtocol = "Https"
	// DestinationProtocolMatchRequest ...
	DestinationProtocolMatchRequest DestinationProtocol = "MatchRequest"
)

func PossibleDestinationProtocolValues

func PossibleDestinationProtocolValues() []DestinationProtocol

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

type DomainValidationProperties

type DomainValidationProperties struct {
	// ValidationToken - READ-ONLY; Challenge used for DNS TXT record or file based validation
	ValidationToken *string `json:"validationToken,omitempty"`
	// ExpirationDate - READ-ONLY; The date time that the token expires
	ExpirationDate *string `json:"expirationDate,omitempty"`
}

DomainValidationProperties the JSON object that contains the properties to validate a domain.

func (DomainValidationProperties) MarshalJSON

func (dvp DomainValidationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DomainValidationProperties.

type DomainValidationState

type DomainValidationState string

DomainValidationState enumerates the values for domain validation state.

const (
	// DomainValidationStateApproved ...
	DomainValidationStateApproved DomainValidationState = "Approved"
	// DomainValidationStatePending ...
	DomainValidationStatePending DomainValidationState = "Pending"
	// DomainValidationStatePendingRevalidation ...
	DomainValidationStatePendingRevalidation DomainValidationState = "PendingRevalidation"
	// DomainValidationStateSubmitting ...
	DomainValidationStateSubmitting DomainValidationState = "Submitting"
	// DomainValidationStateTimedOut ...
	DomainValidationStateTimedOut DomainValidationState = "TimedOut"
	// DomainValidationStateUnknown ...
	DomainValidationStateUnknown DomainValidationState = "Unknown"
)

func PossibleDomainValidationStateValues

func PossibleDomainValidationStateValues() []DomainValidationState

PossibleDomainValidationStateValues returns an array of possible values for the DomainValidationState const type.

type EdgeNode

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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

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

func (EdgeNode) MarshalJSON

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

MarshalJSON is the custom marshaler for EdgeNode.

func (*EdgeNode) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for EdgeNode struct.

type EdgeNodeProperties

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

type EdgeNodesClient struct {
	BaseClient
}

EdgeNodesClient is the cdn Management Client

func NewEdgeNodesClient

func NewEdgeNodesClient(subscriptionID string) EdgeNodesClient

NewEdgeNodesClient creates an instance of the EdgeNodesClient client.

func NewEdgeNodesClientWithBaseURI

func NewEdgeNodesClientWithBaseURI(baseURI string, subscriptionID string) EdgeNodesClient

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

func (EdgeNodesClient) List

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

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

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

func (EdgeNodesClient) ListPreparer

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

ListPreparer prepares the List request.

func (EdgeNodesClient) ListResponder

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

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

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

func (er EdgenodeResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (EdgenodeResult) MarshalJSON

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

MarshalJSON is the custom marshaler for EdgenodeResult.

type EdgenodeResultIterator

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

EdgenodeResultIterator provides access to a complete listing of EdgeNode values.

func NewEdgenodeResultIterator

func NewEdgenodeResultIterator(page EdgenodeResultPage) EdgenodeResultIterator

Creates a new instance of the EdgenodeResultIterator type.

func (*EdgenodeResultIterator) Next

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

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

func (iter EdgenodeResultIterator) NotDone() bool

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

func (EdgenodeResultIterator) Response

func (iter EdgenodeResultIterator) Response() EdgenodeResult

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

func (EdgenodeResultIterator) Value

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

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

EdgenodeResultPage contains a page of EdgeNode values.

func NewEdgenodeResultPage

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

Creates a new instance of the EdgenodeResultPage type.

func (*EdgenodeResultPage) Next

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

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

func (page EdgenodeResultPage) NotDone() bool

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

func (EdgenodeResultPage) Response

func (page EdgenodeResultPage) Response() EdgenodeResult

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

func (EdgenodeResultPage) Values

func (page EdgenodeResultPage) Values() []EdgeNode

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

type EnabledState

type EnabledState string

EnabledState enumerates the values for enabled state.

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

func PossibleEnabledStateValues

func PossibleEnabledStateValues() []EnabledState

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

type Endpoint

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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,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

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

MarshalJSON is the custom marshaler for Endpoint.

func (*Endpoint) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Endpoint struct.

type EndpointListResult

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

func (elr EndpointListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (EndpointListResult) MarshalJSON

func (elr EndpointListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointListResult.

type EndpointListResultIterator

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

EndpointListResultIterator provides access to a complete listing of Endpoint values.

func NewEndpointListResultIterator

func NewEndpointListResultIterator(page EndpointListResultPage) EndpointListResultIterator

Creates a new instance of the EndpointListResultIterator type.

func (*EndpointListResultIterator) Next

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

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

func (iter EndpointListResultIterator) NotDone() bool

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

func (EndpointListResultIterator) Response

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

func (EndpointListResultIterator) Value

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

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

EndpointListResultPage contains a page of Endpoint values.

func NewEndpointListResultPage

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

Creates a new instance of the EndpointListResultPage type.

func (*EndpointListResultPage) Next

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

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

func (page EndpointListResultPage) NotDone() bool

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

func (EndpointListResultPage) Response

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

func (EndpointListResultPage) Values

func (page EndpointListResultPage) Values() []Endpoint

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

type EndpointProperties

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"`
	// OriginGroups - The origin groups comprising of origins that are used for load balancing the traffic based on availability.
	OriginGroups *[]DeepCreatedOriginGroup `json:"originGroups,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"`
	// 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"`
	// OriginHostHeader - The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.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"`
	// 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: 'QueryStringCachingBehaviorIgnoreQueryString', 'QueryStringCachingBehaviorBypassCaching', 'QueryStringCachingBehaviorUseQueryString', 'QueryStringCachingBehaviorNotSet'
	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: 'OptimizationTypeGeneralWebDelivery', 'OptimizationTypeGeneralMediaStreaming', 'OptimizationTypeVideoOnDemandMediaStreaming', 'OptimizationTypeLargeFileDownload', 'OptimizationTypeDynamicSiteAcceleration'
	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. This property is only relevant when using a single origin.
	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"`
	// DefaultOriginGroup - A reference to the origin group.
	DefaultOriginGroup *ResourceReference `json:"defaultOriginGroup,omitempty"`
	// URLSigningKeys - List of keys used to validate the signed URL hashes.
	URLSigningKeys *[]URLSigningKey `json:"urlSigningKeys,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.

func (EndpointProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for EndpointProperties.

type EndpointPropertiesUpdateParameters

type EndpointPropertiesUpdateParameters struct {
	// 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"`
	// OriginHostHeader - The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.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"`
	// 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: 'QueryStringCachingBehaviorIgnoreQueryString', 'QueryStringCachingBehaviorBypassCaching', 'QueryStringCachingBehaviorUseQueryString', 'QueryStringCachingBehaviorNotSet'
	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: 'OptimizationTypeGeneralWebDelivery', 'OptimizationTypeGeneralMediaStreaming', 'OptimizationTypeVideoOnDemandMediaStreaming', 'OptimizationTypeLargeFileDownload', 'OptimizationTypeDynamicSiteAcceleration'
	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. This property is only relevant when using a single origin.
	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"`
	// DefaultOriginGroup - A reference to the origin group.
	DefaultOriginGroup *ResourceReference `json:"defaultOriginGroup,omitempty"`
	// URLSigningKeys - List of keys used to validate the signed URL hashes.
	URLSigningKeys *[]URLSigningKey `json:"urlSigningKeys,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

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

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

func PossibleEndpointResourceStateValues() []EndpointResourceState

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

type EndpointType

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

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

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

MarshalJSON is the custom marshaler for EndpointUpdateParameters.

func (*EndpointUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for EndpointUpdateParameters struct.

type EndpointsClient

type EndpointsClient struct {
	BaseClient
}

EndpointsClient is the cdn Management Client

func NewEndpointsClient

func NewEndpointsClient(subscriptionID string) EndpointsClient

NewEndpointsClient creates an instance of the EndpointsClient client.

func NewEndpointsClientWithBaseURI

func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient

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

func (EndpointsClient) Create

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

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

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

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

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

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

DeletePreparer prepares the Delete request.

func (EndpointsClient) DeleteResponder

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

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

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

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

GetPreparer prepares the Get request.

func (EndpointsClient) GetResponder

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

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

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

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

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

ListByProfilePreparer prepares the ListByProfile request.

func (EndpointsClient) ListByProfileResponder

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

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

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

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

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

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (EndpointsClient) ListResourceUsageResponder

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

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

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

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

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

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

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

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

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

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

func (EndpointsClient) PurgeContentSender

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

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

func (EndpointsClient) Start

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

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

StartPreparer prepares the Start request.

func (EndpointsClient) StartResponder

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

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

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

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

StopPreparer prepares the Stop request.

func (EndpointsClient) StopResponder

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

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

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 can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update origin groups, use the Update Origin group 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

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

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

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

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

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

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

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

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

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

func (*EndpointsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EndpointsDeleteFuture

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

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

func (*EndpointsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EndpointsLoadContentFuture

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

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

func (*EndpointsLoadContentFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EndpointsPurgeContentFuture

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

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

func (*EndpointsPurgeContentFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EndpointsStartFuture

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

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

func (*EndpointsStartFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EndpointsStopFuture

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

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

func (*EndpointsStopFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type EndpointsUpdateFuture

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

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

func (*EndpointsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ErrorResponse

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.

func (ErrorResponse) MarshalJSON

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

MarshalJSON is the custom marshaler for ErrorResponse.

type ForwardingProtocol

type ForwardingProtocol string

ForwardingProtocol enumerates the values for forwarding protocol.

const (
	// ForwardingProtocolHTTPOnly ...
	ForwardingProtocolHTTPOnly ForwardingProtocol = "HttpOnly"
	// ForwardingProtocolHTTPSOnly ...
	ForwardingProtocolHTTPSOnly ForwardingProtocol = "HttpsOnly"
	// ForwardingProtocolMatchRequest ...
	ForwardingProtocolMatchRequest ForwardingProtocol = "MatchRequest"
)

func PossibleForwardingProtocolValues

func PossibleForwardingProtocolValues() []ForwardingProtocol

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

type GeoFilter

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

type GeoFilterActions string

GeoFilterActions enumerates the values for geo filter actions.

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

func PossibleGeoFilterActionsValues

func PossibleGeoFilterActionsValues() []GeoFilterActions

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

type Granularity

type Granularity string

Granularity enumerates the values for granularity.

const (
	// GranularityP1D ...
	GranularityP1D Granularity = "P1D"
	// GranularityPT1H ...
	GranularityPT1H Granularity = "PT1H"
	// GranularityPT5M ...
	GranularityPT5M Granularity = "PT5M"
)

func PossibleGranularityValues

func PossibleGranularityValues() []Granularity

PossibleGranularityValues returns an array of possible values for the Granularity const type.

type Granularity1

type Granularity1 string

Granularity1 enumerates the values for granularity 1.

const (
	// Granularity1P1D ...
	Granularity1P1D Granularity1 = "P1D"
	// Granularity1PT1H ...
	Granularity1PT1H Granularity1 = "PT1H"
	// Granularity1PT5M ...
	Granularity1PT5M Granularity1 = "PT5M"
)

func PossibleGranularity1Values

func PossibleGranularity1Values() []Granularity1

PossibleGranularity1Values returns an array of possible values for the Granularity1 const type.

type HTTPErrorRangeParameters

type HTTPErrorRangeParameters struct {
	// Begin - The inclusive start of the http status code range.
	Begin *int32 `json:"begin,omitempty"`
	// End - The inclusive end of the http status code range.
	End *int32 `json:"end,omitempty"`
}

HTTPErrorRangeParameters the JSON object that represents the range for http status codes

type HTTPSRedirect

type HTTPSRedirect string

HTTPSRedirect enumerates the values for https redirect.

const (
	// HTTPSRedirectDisabled ...
	HTTPSRedirectDisabled HTTPSRedirect = "Disabled"
	// HTTPSRedirectEnabled ...
	HTTPSRedirectEnabled HTTPSRedirect = "Enabled"
)

func PossibleHTTPSRedirectValues

func PossibleHTTPSRedirectValues() []HTTPSRedirect

PossibleHTTPSRedirectValues returns an array of possible values for the HTTPSRedirect const type.

type HTTPVersionMatchConditionParameters

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

HTTPVersionMatchConditionParameters defines the parameters for HttpVersion match conditions

type HeaderAction

type HeaderAction string

HeaderAction enumerates the values for header action.

const (
	// HeaderActionAppend ...
	HeaderActionAppend HeaderAction = "Append"
	// HeaderActionDelete ...
	HeaderActionDelete HeaderAction = "Delete"
	// HeaderActionOverwrite ...
	HeaderActionOverwrite HeaderAction = "Overwrite"
)

func PossibleHeaderActionValues

func PossibleHeaderActionValues() []HeaderAction

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

type HeaderActionParameters

type HeaderActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// HeaderAction - Action to perform. Possible values include: 'HeaderActionAppend', 'HeaderActionOverwrite', 'HeaderActionDelete'
	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 HealthProbeParameters

type HealthProbeParameters struct {
	// ProbePath - The path relative to the origin that is used to determine the health of the origin.
	ProbePath *string `json:"probePath,omitempty"`
	// ProbeRequestType - The type of health probe request that is made. Possible values include: 'HealthProbeRequestTypeNotSet', 'HealthProbeRequestTypeGET', 'HealthProbeRequestTypeHEAD'
	ProbeRequestType HealthProbeRequestType `json:"probeRequestType,omitempty"`
	// ProbeProtocol - Protocol to use for health probe. Possible values include: 'ProbeProtocolNotSet', 'ProbeProtocolHTTP', 'ProbeProtocolHTTPS'
	ProbeProtocol ProbeProtocol `json:"probeProtocol,omitempty"`
	// ProbeIntervalInSeconds - The number of seconds between health probes.Default is 240sec.
	ProbeIntervalInSeconds *int32 `json:"probeIntervalInSeconds,omitempty"`
}

HealthProbeParameters the JSON object that contains the properties to send health probes to origin.

type HealthProbeRequestType

type HealthProbeRequestType string

HealthProbeRequestType enumerates the values for health probe request type.

const (
	// HealthProbeRequestTypeGET ...
	HealthProbeRequestTypeGET HealthProbeRequestType = "GET"
	// HealthProbeRequestTypeHEAD ...
	HealthProbeRequestTypeHEAD HealthProbeRequestType = "HEAD"
	// HealthProbeRequestTypeNotSet ...
	HealthProbeRequestTypeNotSet HealthProbeRequestType = "NotSet"
)

func PossibleHealthProbeRequestTypeValues

func PossibleHealthProbeRequestTypeValues() []HealthProbeRequestType

PossibleHealthProbeRequestTypeValues returns an array of possible values for the HealthProbeRequestType const type.

type IPAddressGroup

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 IdentityType

type IdentityType string

IdentityType enumerates the values for identity type.

const (
	// IdentityTypeApplication ...
	IdentityTypeApplication IdentityType = "application"
	// IdentityTypeKey ...
	IdentityTypeKey IdentityType = "key"
	// IdentityTypeManagedIdentity ...
	IdentityTypeManagedIdentity IdentityType = "managedIdentity"
	// IdentityTypeUser ...
	IdentityTypeUser IdentityType = "user"
)

func PossibleIdentityTypeValues

func PossibleIdentityTypeValues() []IdentityType

PossibleIdentityTypeValues returns an array of possible values for the IdentityType const type.

type IsDeviceMatchConditionParameters

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

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 KeyVaultSigningKeyParameters

type KeyVaultSigningKeyParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// SubscriptionID - Subscription Id of the user's Key Vault containing the secret
	SubscriptionID *string `json:"subscriptionId,omitempty"`
	// ResourceGroupName - Resource group of the user's Key Vault containing the secret
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// VaultName - The name of the user's Key Vault containing the secret
	VaultName *string `json:"vaultName,omitempty"`
	// SecretName - The name of secret in Key Vault.
	SecretName *string `json:"secretName,omitempty"`
	// SecretVersion - The version(GUID) of secret in Key Vault.
	SecretVersion *string `json:"secretVersion,omitempty"`
}

KeyVaultSigningKeyParameters describes the parameters for using a user's KeyVault for URL Signing Key.

type LinkToDefaultDomain

type LinkToDefaultDomain string

LinkToDefaultDomain enumerates the values for link to default domain.

const (
	// LinkToDefaultDomainDisabled ...
	LinkToDefaultDomainDisabled LinkToDefaultDomain = "Disabled"
	// LinkToDefaultDomainEnabled ...
	LinkToDefaultDomainEnabled LinkToDefaultDomain = "Enabled"
)

func PossibleLinkToDefaultDomainValues

func PossibleLinkToDefaultDomainValues() []LinkToDefaultDomain

PossibleLinkToDefaultDomainValues returns an array of possible values for the LinkToDefaultDomain const type.

type LoadBalancingSettingsParameters

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

LoadBalancingSettingsParameters round-Robin load balancing settings for a backend pool

type LoadParameters

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 LogAnalyticsClient

type LogAnalyticsClient struct {
	BaseClient
}

LogAnalyticsClient is the cdn Management Client

func NewLogAnalyticsClient

func NewLogAnalyticsClient(subscriptionID string) LogAnalyticsClient

NewLogAnalyticsClient creates an instance of the LogAnalyticsClient client.

func NewLogAnalyticsClientWithBaseURI

func NewLogAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) LogAnalyticsClient

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

func (LogAnalyticsClient) GetLogAnalyticsLocations

func (client LogAnalyticsClient) GetLogAnalyticsLocations(ctx context.Context, resourceGroupName string, profileName string) (result ContinentsResponse, err error)

GetLogAnalyticsLocations get all available location names for AFD log analytics report. 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 (LogAnalyticsClient) GetLogAnalyticsLocationsPreparer

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

GetLogAnalyticsLocationsPreparer prepares the GetLogAnalyticsLocations request.

func (LogAnalyticsClient) GetLogAnalyticsLocationsResponder

func (client LogAnalyticsClient) GetLogAnalyticsLocationsResponder(resp *http.Response) (result ContinentsResponse, err error)

GetLogAnalyticsLocationsResponder handles the response to the GetLogAnalyticsLocations request. The method always closes the http.Response Body.

func (LogAnalyticsClient) GetLogAnalyticsLocationsSender

func (client LogAnalyticsClient) GetLogAnalyticsLocationsSender(req *http.Request) (*http.Response, error)

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

func (LogAnalyticsClient) GetLogAnalyticsMetrics

func (client LogAnalyticsClient) GetLogAnalyticsMetrics(ctx context.Context, resourceGroupName string, profileName string, metrics []LogMetric, dateTimeBegin date.Time, dateTimeEnd date.Time, granularity LogMetricsGranularity, customDomains []string, protocols []string, groupBy []LogMetricsGroupBy, continents []string, countryOrRegions []string) (result MetricsResponse, err error)

GetLogAnalyticsMetrics get log report for AFD 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. granularity -

func (LogAnalyticsClient) GetLogAnalyticsMetricsPreparer

func (client LogAnalyticsClient) GetLogAnalyticsMetricsPreparer(ctx context.Context, resourceGroupName string, profileName string, metrics []LogMetric, dateTimeBegin date.Time, dateTimeEnd date.Time, granularity LogMetricsGranularity, customDomains []string, protocols []string, groupBy []LogMetricsGroupBy, continents []string, countryOrRegions []string) (*http.Request, error)

GetLogAnalyticsMetricsPreparer prepares the GetLogAnalyticsMetrics request.

func (LogAnalyticsClient) GetLogAnalyticsMetricsResponder

func (client LogAnalyticsClient) GetLogAnalyticsMetricsResponder(resp *http.Response) (result MetricsResponse, err error)

GetLogAnalyticsMetricsResponder handles the response to the GetLogAnalyticsMetrics request. The method always closes the http.Response Body.

func (LogAnalyticsClient) GetLogAnalyticsMetricsSender

func (client LogAnalyticsClient) GetLogAnalyticsMetricsSender(req *http.Request) (*http.Response, error)

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

func (LogAnalyticsClient) GetLogAnalyticsRankings

func (client LogAnalyticsClient) GetLogAnalyticsRankings(ctx context.Context, resourceGroupName string, profileName string, rankings []LogRanking, metrics []LogRankingMetric, maxRanking int32, dateTimeBegin date.Time, dateTimeEnd date.Time, customDomains []string) (result RankingsResponse, err error)

GetLogAnalyticsRankings get log analytics ranking report for AFD 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.

func (LogAnalyticsClient) GetLogAnalyticsRankingsPreparer

func (client LogAnalyticsClient) GetLogAnalyticsRankingsPreparer(ctx context.Context, resourceGroupName string, profileName string, rankings []LogRanking, metrics []LogRankingMetric, maxRanking int32, dateTimeBegin date.Time, dateTimeEnd date.Time, customDomains []string) (*http.Request, error)

GetLogAnalyticsRankingsPreparer prepares the GetLogAnalyticsRankings request.

func (LogAnalyticsClient) GetLogAnalyticsRankingsResponder

func (client LogAnalyticsClient) GetLogAnalyticsRankingsResponder(resp *http.Response) (result RankingsResponse, err error)

GetLogAnalyticsRankingsResponder handles the response to the GetLogAnalyticsRankings request. The method always closes the http.Response Body.

func (LogAnalyticsClient) GetLogAnalyticsRankingsSender

func (client LogAnalyticsClient) GetLogAnalyticsRankingsSender(req *http.Request) (*http.Response, error)

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

func (LogAnalyticsClient) GetLogAnalyticsResources

func (client LogAnalyticsClient) GetLogAnalyticsResources(ctx context.Context, resourceGroupName string, profileName string) (result ResourcesResponse, err error)

GetLogAnalyticsResources get all endpoints and custom domains available for AFD log report 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 (LogAnalyticsClient) GetLogAnalyticsResourcesPreparer

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

GetLogAnalyticsResourcesPreparer prepares the GetLogAnalyticsResources request.

func (LogAnalyticsClient) GetLogAnalyticsResourcesResponder

func (client LogAnalyticsClient) GetLogAnalyticsResourcesResponder(resp *http.Response) (result ResourcesResponse, err error)

GetLogAnalyticsResourcesResponder handles the response to the GetLogAnalyticsResources request. The method always closes the http.Response Body.

func (LogAnalyticsClient) GetLogAnalyticsResourcesSender

func (client LogAnalyticsClient) GetLogAnalyticsResourcesSender(req *http.Request) (*http.Response, error)

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

func (LogAnalyticsClient) GetWafLogAnalyticsMetrics

func (client LogAnalyticsClient) GetWafLogAnalyticsMetrics(ctx context.Context, resourceGroupName string, profileName string, metrics []WafMetric, dateTimeBegin date.Time, dateTimeEnd date.Time, granularity WafGranularity, actions []WafAction, groupBy []WafRankingGroupBy, ruleTypes []WafRuleType) (result WafMetricsResponse, err error)

GetWafLogAnalyticsMetrics get Waf related log analytics report for AFD 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. granularity -

func (LogAnalyticsClient) GetWafLogAnalyticsMetricsPreparer

func (client LogAnalyticsClient) GetWafLogAnalyticsMetricsPreparer(ctx context.Context, resourceGroupName string, profileName string, metrics []WafMetric, dateTimeBegin date.Time, dateTimeEnd date.Time, granularity WafGranularity, actions []WafAction, groupBy []WafRankingGroupBy, ruleTypes []WafRuleType) (*http.Request, error)

GetWafLogAnalyticsMetricsPreparer prepares the GetWafLogAnalyticsMetrics request.

func (LogAnalyticsClient) GetWafLogAnalyticsMetricsResponder

func (client LogAnalyticsClient) GetWafLogAnalyticsMetricsResponder(resp *http.Response) (result WafMetricsResponse, err error)

GetWafLogAnalyticsMetricsResponder handles the response to the GetWafLogAnalyticsMetrics request. The method always closes the http.Response Body.

func (LogAnalyticsClient) GetWafLogAnalyticsMetricsSender

func (client LogAnalyticsClient) GetWafLogAnalyticsMetricsSender(req *http.Request) (*http.Response, error)

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

func (LogAnalyticsClient) GetWafLogAnalyticsRankings

func (client LogAnalyticsClient) GetWafLogAnalyticsRankings(ctx context.Context, resourceGroupName string, profileName string, metrics []WafMetric, dateTimeBegin date.Time, dateTimeEnd date.Time, maxRanking int32, rankings []WafRankingType, actions []WafAction, ruleTypes []WafRuleType) (result WafRankingsResponse, err error)

GetWafLogAnalyticsRankings get WAF log analytics charts for AFD 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.

func (LogAnalyticsClient) GetWafLogAnalyticsRankingsPreparer

func (client LogAnalyticsClient) GetWafLogAnalyticsRankingsPreparer(ctx context.Context, resourceGroupName string, profileName string, metrics []WafMetric, dateTimeBegin date.Time, dateTimeEnd date.Time, maxRanking int32, rankings []WafRankingType, actions []WafAction, ruleTypes []WafRuleType) (*http.Request, error)

GetWafLogAnalyticsRankingsPreparer prepares the GetWafLogAnalyticsRankings request.

func (LogAnalyticsClient) GetWafLogAnalyticsRankingsResponder

func (client LogAnalyticsClient) GetWafLogAnalyticsRankingsResponder(resp *http.Response) (result WafRankingsResponse, err error)

GetWafLogAnalyticsRankingsResponder handles the response to the GetWafLogAnalyticsRankings request. The method always closes the http.Response Body.

func (LogAnalyticsClient) GetWafLogAnalyticsRankingsSender

func (client LogAnalyticsClient) GetWafLogAnalyticsRankingsSender(req *http.Request) (*http.Response, error)

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

type LogMetric

type LogMetric string

LogMetric enumerates the values for log metric.

const (
	// LogMetricClientRequestBandwidth ...
	LogMetricClientRequestBandwidth LogMetric = "clientRequestBandwidth"
	// LogMetricClientRequestCount ...
	LogMetricClientRequestCount LogMetric = "clientRequestCount"
	// LogMetricClientRequestTraffic ...
	LogMetricClientRequestTraffic LogMetric = "clientRequestTraffic"
	// LogMetricOriginRequestBandwidth ...
	LogMetricOriginRequestBandwidth LogMetric = "originRequestBandwidth"
	// LogMetricOriginRequestTraffic ...
	LogMetricOriginRequestTraffic LogMetric = "originRequestTraffic"
	// LogMetricTotalLatency ...
	LogMetricTotalLatency LogMetric = "totalLatency"
)

func PossibleLogMetricValues

func PossibleLogMetricValues() []LogMetric

PossibleLogMetricValues returns an array of possible values for the LogMetric const type.

type LogMetricsGranularity

type LogMetricsGranularity string

LogMetricsGranularity enumerates the values for log metrics granularity.

const (
	// LogMetricsGranularityP1D ...
	LogMetricsGranularityP1D LogMetricsGranularity = "P1D"
	// LogMetricsGranularityPT1H ...
	LogMetricsGranularityPT1H LogMetricsGranularity = "PT1H"
	// LogMetricsGranularityPT5M ...
	LogMetricsGranularityPT5M LogMetricsGranularity = "PT5M"
)

func PossibleLogMetricsGranularityValues

func PossibleLogMetricsGranularityValues() []LogMetricsGranularity

PossibleLogMetricsGranularityValues returns an array of possible values for the LogMetricsGranularity const type.

type LogMetricsGroupBy

type LogMetricsGroupBy string

LogMetricsGroupBy enumerates the values for log metrics group by.

const (
	// LogMetricsGroupByCacheStatus ...
	LogMetricsGroupByCacheStatus LogMetricsGroupBy = "cacheStatus"
	// LogMetricsGroupByCountry ...
	LogMetricsGroupByCountry LogMetricsGroupBy = "country"
	// LogMetricsGroupByCustomDomain ...
	LogMetricsGroupByCustomDomain LogMetricsGroupBy = "customDomain"
	// LogMetricsGroupByHTTPStatusCode ...
	LogMetricsGroupByHTTPStatusCode LogMetricsGroupBy = "httpStatusCode"
	// LogMetricsGroupByProtocol ...
	LogMetricsGroupByProtocol LogMetricsGroupBy = "protocol"
)

func PossibleLogMetricsGroupByValues

func PossibleLogMetricsGroupByValues() []LogMetricsGroupBy

PossibleLogMetricsGroupByValues returns an array of possible values for the LogMetricsGroupBy const type.

type LogRanking

type LogRanking string

LogRanking enumerates the values for log ranking.

const (
	// LogRankingBrowser ...
	LogRankingBrowser LogRanking = "browser"
	// LogRankingCountryOrRegion ...
	LogRankingCountryOrRegion LogRanking = "countryOrRegion"
	// LogRankingReferrer ...
	LogRankingReferrer LogRanking = "referrer"
	// LogRankingURL ...
	LogRankingURL LogRanking = "url"
	// LogRankingUserAgent ...
	LogRankingUserAgent LogRanking = "userAgent"
)

func PossibleLogRankingValues

func PossibleLogRankingValues() []LogRanking

PossibleLogRankingValues returns an array of possible values for the LogRanking const type.

type LogRankingMetric

type LogRankingMetric string

LogRankingMetric enumerates the values for log ranking metric.

const (
	// LogRankingMetricClientRequestCount ...
	LogRankingMetricClientRequestCount LogRankingMetric = "clientRequestCount"
	// LogRankingMetricClientRequestTraffic ...
	LogRankingMetricClientRequestTraffic LogRankingMetric = "clientRequestTraffic"
	// LogRankingMetricErrorCount ...
	LogRankingMetricErrorCount LogRankingMetric = "errorCount"
	// LogRankingMetricHitCount ...
	LogRankingMetricHitCount LogRankingMetric = "hitCount"
	// LogRankingMetricMissCount ...
	LogRankingMetricMissCount LogRankingMetric = "missCount"
	// LogRankingMetricUserErrorCount ...
	LogRankingMetricUserErrorCount LogRankingMetric = "userErrorCount"
)

func PossibleLogRankingMetricValues

func PossibleLogRankingMetricValues() []LogRankingMetric

PossibleLogRankingMetricValues returns an array of possible values for the LogRankingMetric const type.

type ManagedCertificate

type ManagedCertificate struct {
	// Subject - Subject name in the certificate.
	Subject *string `json:"subject,omitempty"`
	// ExpirationDate - Certificate expiration date.
	ExpirationDate *string `json:"expirationDate,omitempty"`
	// Thumbprint - Certificate thumbprint.
	Thumbprint *string `json:"thumbprint,omitempty"`
}

ManagedCertificate managed Certificate used for https

type ManagedCertificateParameters

type ManagedCertificateParameters struct {
	// Type - Possible values include: 'TypeBasicSecretParametersTypeSecretParameters', 'TypeBasicSecretParametersTypeURLSigningKey', 'TypeBasicSecretParametersTypeManagedCertificate', 'TypeBasicSecretParametersTypeCustomerCertificate'
	Type TypeBasicSecretParameters `json:"type,omitempty"`
}

ManagedCertificateParameters managed Certificate used for https

func (ManagedCertificateParameters) AsBasicSecretParameters

func (mcp ManagedCertificateParameters) AsBasicSecretParameters() (BasicSecretParameters, bool)

AsBasicSecretParameters is the BasicSecretParameters implementation for ManagedCertificateParameters.

func (ManagedCertificateParameters) AsCustomerCertificateParameters

func (mcp ManagedCertificateParameters) AsCustomerCertificateParameters() (*CustomerCertificateParameters, bool)

AsCustomerCertificateParameters is the BasicSecretParameters implementation for ManagedCertificateParameters.

func (ManagedCertificateParameters) AsManagedCertificateParameters

func (mcp ManagedCertificateParameters) AsManagedCertificateParameters() (*ManagedCertificateParameters, bool)

AsManagedCertificateParameters is the BasicSecretParameters implementation for ManagedCertificateParameters.

func (ManagedCertificateParameters) AsSecretParameters

func (mcp ManagedCertificateParameters) AsSecretParameters() (*SecretParameters, bool)

AsSecretParameters is the BasicSecretParameters implementation for ManagedCertificateParameters.

func (ManagedCertificateParameters) AsURLSigningKeyParameters

func (mcp ManagedCertificateParameters) AsURLSigningKeyParameters() (*URLSigningKeyParameters, bool)

AsURLSigningKeyParameters is the BasicSecretParameters implementation for ManagedCertificateParameters.

func (ManagedCertificateParameters) MarshalJSON

func (mcp ManagedCertificateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagedCertificateParameters.

type ManagedHTTPSParameters

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: 'ProtocolTypeServerNameIndication', 'ProtocolTypeIPBased'
	ProtocolType ProtocolType `json:"protocolType,omitempty"`
	// MinimumTLSVersion - TLS protocol version that will be used for Https. Possible values include: 'MinimumTLSVersionNone', 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS12'
	MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,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

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

AsBasicCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) AsCustomDomainHTTPSParameters

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

AsCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) AsManagedHTTPSParameters

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

AsManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) AsUserManagedHTTPSParameters

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

AsUserManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for ManagedHTTPSParameters.

func (ManagedHTTPSParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedHTTPSParameters.

type ManagedRuleDefinition

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.

func (ManagedRuleDefinition) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedRuleDefinition.

type ManagedRuleEnabledState

type ManagedRuleEnabledState string

ManagedRuleEnabledState enumerates the values for managed rule enabled state.

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

func PossibleManagedRuleEnabledStateValues

func PossibleManagedRuleEnabledStateValues() []ManagedRuleEnabledState

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

type ManagedRuleGroupDefinition

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.

func (ManagedRuleGroupDefinition) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedRuleGroupDefinition.

type ManagedRuleGroupOverride

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

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

ManagedRuleOverride defines a managed rule group override setting.

type ManagedRuleSet

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

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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

ManagedRuleSetDefinition describes a managed rule set definition.

func (ManagedRuleSetDefinition) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedRuleSetDefinition.

func (*ManagedRuleSetDefinition) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ManagedRuleSetDefinition struct.

type ManagedRuleSetDefinitionList

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

func (mrsdl ManagedRuleSetDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ManagedRuleSetDefinitionList) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedRuleSetDefinitionList.

type ManagedRuleSetDefinitionListIterator

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

ManagedRuleSetDefinitionListIterator provides access to a complete listing of ManagedRuleSetDefinition values.

func NewManagedRuleSetDefinitionListIterator

func NewManagedRuleSetDefinitionListIterator(page ManagedRuleSetDefinitionListPage) ManagedRuleSetDefinitionListIterator

Creates a new instance of the ManagedRuleSetDefinitionListIterator type.

func (*ManagedRuleSetDefinitionListIterator) Next

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

func (*ManagedRuleSetDefinitionListIterator) NextWithContext

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

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

func (ManagedRuleSetDefinitionListIterator) NotDone

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

func (ManagedRuleSetDefinitionListIterator) Response

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

func (ManagedRuleSetDefinitionListIterator) Value

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

type ManagedRuleSetDefinitionListPage

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

ManagedRuleSetDefinitionListPage contains a page of ManagedRuleSetDefinition values.

func NewManagedRuleSetDefinitionListPage

Creates a new instance of the ManagedRuleSetDefinitionListPage type.

func (*ManagedRuleSetDefinitionListPage) Next

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

func (*ManagedRuleSetDefinitionListPage) NextWithContext

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

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

func (ManagedRuleSetDefinitionListPage) NotDone

func (page ManagedRuleSetDefinitionListPage) NotDone() bool

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

func (ManagedRuleSetDefinitionListPage) Response

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

func (ManagedRuleSetDefinitionListPage) Values

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

type ManagedRuleSetDefinitionProperties

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.

func (ManagedRuleSetDefinitionProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for ManagedRuleSetDefinitionProperties.

type ManagedRuleSetList

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

type ManagedRuleSetsClient struct {
	BaseClient
}

ManagedRuleSetsClient is the cdn Management Client

func NewManagedRuleSetsClient

func NewManagedRuleSetsClient(subscriptionID string) ManagedRuleSetsClient

NewManagedRuleSetsClient creates an instance of the ManagedRuleSetsClient client.

func NewManagedRuleSetsClientWithBaseURI

func NewManagedRuleSetsClientWithBaseURI(baseURI string, subscriptionID string) ManagedRuleSetsClient

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

func (ManagedRuleSetsClient) List

List lists all available managed rule sets.

func (ManagedRuleSetsClient) ListComplete

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

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

func (ManagedRuleSetsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ManagedRuleSetsClient) ListResponder

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

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

func (ManagedRuleSetsClient) ListSender

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

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

type MatchCondition

type MatchCondition struct {
	// MatchVariable - Match variable to compare against. Possible values include: 'MatchVariableRemoteAddr', 'MatchVariableSocketAddr', 'MatchVariableRequestMethod', 'MatchVariableRequestHeader', 'MatchVariableRequestURI', 'MatchVariableQueryString', 'MatchVariableRequestBody', 'MatchVariableCookies', 'MatchVariablePostArgs'
	MatchVariable MatchVariable `json:"matchVariable,omitempty"`
	// Selector - Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
	Selector *string `json:"selector,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'OperatorAny', 'OperatorIPMatch', 'OperatorGeoMatch', 'OperatorEqual', 'OperatorContains', 'OperatorLessThan', 'OperatorGreaterThan', 'OperatorLessThanOrEqual', 'OperatorGreaterThanOrEqual', 'OperatorBeginsWith', 'OperatorEndsWith', 'OperatorRegEx'
	Operator Operator `json:"operator,omitempty"`
	// NegateCondition - Describes if the result of this condition should be negated.
	NegateCondition *bool `json:"negateCondition,omitempty"`
	// MatchValue - List of possible match values.
	MatchValue *[]string `json:"matchValue,omitempty"`
	// Transforms - List of transforms.
	Transforms *[]TransformType `json:"transforms,omitempty"`
}

MatchCondition define match conditions

type MatchProcessingBehavior

type MatchProcessingBehavior string

MatchProcessingBehavior enumerates the values for match processing behavior.

const (
	// MatchProcessingBehaviorContinue ...
	MatchProcessingBehaviorContinue MatchProcessingBehavior = "Continue"
	// MatchProcessingBehaviorStop ...
	MatchProcessingBehaviorStop MatchProcessingBehavior = "Stop"
)

func PossibleMatchProcessingBehaviorValues

func PossibleMatchProcessingBehaviorValues() []MatchProcessingBehavior

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

type MatchVariable

type MatchVariable string

MatchVariable enumerates the values for match variable.

const (
	// MatchVariableCookies ...
	MatchVariableCookies MatchVariable = "Cookies"
	// MatchVariablePostArgs ...
	MatchVariablePostArgs MatchVariable = "PostArgs"
	// MatchVariableQueryString ...
	MatchVariableQueryString MatchVariable = "QueryString"
	// MatchVariableRemoteAddr ...
	MatchVariableRemoteAddr MatchVariable = "RemoteAddr"
	// MatchVariableRequestBody ...
	MatchVariableRequestBody MatchVariable = "RequestBody"
	// MatchVariableRequestHeader ...
	MatchVariableRequestHeader MatchVariable = "RequestHeader"
	// MatchVariableRequestMethod ...
	MatchVariableRequestMethod MatchVariable = "RequestMethod"
	// MatchVariableRequestURI ...
	MatchVariableRequestURI MatchVariable = "RequestUri"
	// MatchVariableSocketAddr ...
	MatchVariableSocketAddr MatchVariable = "SocketAddr"
)

func PossibleMatchVariableValues

func PossibleMatchVariableValues() []MatchVariable

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

type MetricsResponse

type MetricsResponse struct {
	autorest.Response `json:"-"`
	DateTimeBegin     *date.Time `json:"dateTimeBegin,omitempty"`
	DateTimeEnd       *date.Time `json:"dateTimeEnd,omitempty"`
	// Granularity - Possible values include: 'GranularityPT5M', 'GranularityPT1H', 'GranularityP1D'
	Granularity Granularity                  `json:"granularity,omitempty"`
	Series      *[]MetricsResponseSeriesItem `json:"series,omitempty"`
}

MetricsResponse metrics Response

type MetricsResponseSeriesItem

type MetricsResponseSeriesItem struct {
	Metric *string `json:"metric,omitempty"`
	// Unit - Possible values include: 'UnitCount', 'UnitBytes', 'UnitBitsPerSecond'
	Unit   Unit                                   `json:"unit,omitempty"`
	Groups *[]MetricsResponseSeriesItemGroupsItem `json:"groups,omitempty"`
	Data   *[]MetricsResponseSeriesItemDataItem   `json:"data,omitempty"`
}

MetricsResponseSeriesItem ...

type MetricsResponseSeriesItemDataItem

type MetricsResponseSeriesItemDataItem struct {
	DateTime *date.Time `json:"dateTime,omitempty"`
	Value    *float64   `json:"value,omitempty"`
}

MetricsResponseSeriesItemDataItem ...

type MetricsResponseSeriesItemGroupsItem

type MetricsResponseSeriesItemGroupsItem struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

MetricsResponseSeriesItemGroupsItem ...

type MinimumTLSVersion

type MinimumTLSVersion string

MinimumTLSVersion enumerates the values for minimum tls version.

const (
	// MinimumTLSVersionNone ...
	MinimumTLSVersionNone MinimumTLSVersion = "None"
	// MinimumTLSVersionTLS10 ...
	MinimumTLSVersionTLS10 MinimumTLSVersion = "TLS10"
	// MinimumTLSVersionTLS12 ...
	MinimumTLSVersionTLS12 MinimumTLSVersion = "TLS12"
)

func PossibleMinimumTLSVersionValues

func PossibleMinimumTLSVersionValues() []MinimumTLSVersion

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

type Name

type Name string

Name enumerates the values for name.

const (
	// NameCookies ...
	NameCookies Name = "Cookies"
	// NameDeliveryRuleCondition ...
	NameDeliveryRuleCondition Name = "DeliveryRuleCondition"
	// NameHTTPVersion ...
	NameHTTPVersion Name = "HttpVersion"
	// 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

func PossibleNameValues() []Name

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

type NameBasicDeliveryRuleAction

type NameBasicDeliveryRuleAction string

NameBasicDeliveryRuleAction enumerates the values for name basic delivery rule action.

const (
	// NameBasicDeliveryRuleActionNameCacheExpiration ...
	NameBasicDeliveryRuleActionNameCacheExpiration NameBasicDeliveryRuleAction = "CacheExpiration"
	// NameBasicDeliveryRuleActionNameCacheKeyQueryString ...
	NameBasicDeliveryRuleActionNameCacheKeyQueryString NameBasicDeliveryRuleAction = "CacheKeyQueryString"
	// NameBasicDeliveryRuleActionNameDeliveryRuleAction ...
	NameBasicDeliveryRuleActionNameDeliveryRuleAction NameBasicDeliveryRuleAction = "DeliveryRuleAction"
	// NameBasicDeliveryRuleActionNameModifyRequestHeader ...
	NameBasicDeliveryRuleActionNameModifyRequestHeader NameBasicDeliveryRuleAction = "ModifyRequestHeader"
	// NameBasicDeliveryRuleActionNameModifyResponseHeader ...
	NameBasicDeliveryRuleActionNameModifyResponseHeader NameBasicDeliveryRuleAction = "ModifyResponseHeader"
	// NameBasicDeliveryRuleActionNameOriginGroupOverride ...
	NameBasicDeliveryRuleActionNameOriginGroupOverride NameBasicDeliveryRuleAction = "OriginGroupOverride"
	// NameBasicDeliveryRuleActionNameURLRedirect ...
	NameBasicDeliveryRuleActionNameURLRedirect NameBasicDeliveryRuleAction = "UrlRedirect"
	// NameBasicDeliveryRuleActionNameURLRewrite ...
	NameBasicDeliveryRuleActionNameURLRewrite NameBasicDeliveryRuleAction = "UrlRewrite"
	// NameBasicDeliveryRuleActionNameURLSigning ...
	NameBasicDeliveryRuleActionNameURLSigning NameBasicDeliveryRuleAction = "UrlSigning"
)

func PossibleNameBasicDeliveryRuleActionValues

func PossibleNameBasicDeliveryRuleActionValues() []NameBasicDeliveryRuleAction

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

type Operation

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

func (Operation) MarshalJSON

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

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

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.

func (OperationDisplay) MarshalJSON

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

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the cdn Management Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

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

func (OperationsClient) List

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

List lists all of the available CDN REST API operations.

func (OperationsClient) ListComplete

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

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

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

func (olr OperationsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationsListResult) MarshalJSON

func (olr OperationsListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationsListResult.

type OperationsListResultIterator

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

OperationsListResultIterator provides access to a complete listing of Operation values.

func NewOperationsListResultIterator

func NewOperationsListResultIterator(page OperationsListResultPage) OperationsListResultIterator

Creates a new instance of the OperationsListResultIterator type.

func (*OperationsListResultIterator) Next

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

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

func (iter OperationsListResultIterator) NotDone() bool

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

func (OperationsListResultIterator) Response

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

func (OperationsListResultIterator) Value

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

type OperationsListResultPage

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

OperationsListResultPage contains a page of Operation values.

func NewOperationsListResultPage

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

Creates a new instance of the OperationsListResultPage type.

func (*OperationsListResultPage) Next

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

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

func (page OperationsListResultPage) NotDone() bool

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

func (OperationsListResultPage) Response

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

func (OperationsListResultPage) Values

func (page OperationsListResultPage) Values() []Operation

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

type Operator

type Operator string

Operator enumerates the values for operator.

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

func PossibleOperatorValues

func PossibleOperatorValues() []Operator

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

type OptimizationType

type OptimizationType string

OptimizationType enumerates the values for optimization type.

const (
	// OptimizationTypeDynamicSiteAcceleration ...
	OptimizationTypeDynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration"
	// OptimizationTypeGeneralMediaStreaming ...
	OptimizationTypeGeneralMediaStreaming OptimizationType = "GeneralMediaStreaming"
	// OptimizationTypeGeneralWebDelivery ...
	OptimizationTypeGeneralWebDelivery OptimizationType = "GeneralWebDelivery"
	// OptimizationTypeLargeFileDownload ...
	OptimizationTypeLargeFileDownload OptimizationType = "LargeFileDownload"
	// OptimizationTypeVideoOnDemandMediaStreaming ...
	OptimizationTypeVideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming"
)

func PossibleOptimizationTypeValues

func PossibleOptimizationTypeValues() []OptimizationType

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

type Origin

type Origin struct {
	autorest.Response `json:"-"`
	*OriginProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,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

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

MarshalJSON is the custom marshaler for Origin.

func (*Origin) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Origin struct.

type OriginGroup

type OriginGroup struct {
	autorest.Response      `json:"-"`
	*OriginGroupProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

OriginGroup origin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

func (OriginGroup) MarshalJSON

func (og OriginGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginGroup.

func (*OriginGroup) UnmarshalJSON

func (og *OriginGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OriginGroup struct.

type OriginGroupListResult

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

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

func (OriginGroupListResult) IsEmpty

func (oglr OriginGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OriginGroupListResult) MarshalJSON

func (oglr OriginGroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginGroupListResult.

type OriginGroupListResultIterator

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

OriginGroupListResultIterator provides access to a complete listing of OriginGroup values.

func NewOriginGroupListResultIterator

func NewOriginGroupListResultIterator(page OriginGroupListResultPage) OriginGroupListResultIterator

Creates a new instance of the OriginGroupListResultIterator type.

func (*OriginGroupListResultIterator) Next

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

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

func (iter OriginGroupListResultIterator) NotDone() bool

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

func (OriginGroupListResultIterator) Response

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

func (OriginGroupListResultIterator) Value

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

type OriginGroupListResultPage

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

OriginGroupListResultPage contains a page of OriginGroup values.

func NewOriginGroupListResultPage

Creates a new instance of the OriginGroupListResultPage type.

func (*OriginGroupListResultPage) Next

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

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

func (page OriginGroupListResultPage) NotDone() bool

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

func (OriginGroupListResultPage) Response

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

func (OriginGroupListResultPage) Values

func (page OriginGroupListResultPage) Values() []OriginGroup

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

type OriginGroupOverrideAction

type OriginGroupOverrideAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *OriginGroupOverrideActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

OriginGroupOverrideAction defines the origin group override action for the delivery rule.

func (OriginGroupOverrideAction) AsBasicDeliveryRuleAction

func (ogoa OriginGroupOverrideAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsDeliveryRuleAction

func (ogoa OriginGroupOverrideAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsDeliveryRuleCacheExpirationAction

func (ogoa OriginGroupOverrideAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsDeliveryRuleCacheKeyQueryStringAction

func (ogoa OriginGroupOverrideAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsDeliveryRuleRequestHeaderAction

func (ogoa OriginGroupOverrideAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsDeliveryRuleResponseHeaderAction

func (ogoa OriginGroupOverrideAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsOriginGroupOverrideAction

func (ogoa OriginGroupOverrideAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsURLRedirectAction

func (ogoa OriginGroupOverrideAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsURLRewriteAction

func (ogoa OriginGroupOverrideAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) AsURLSigningAction

func (ogoa OriginGroupOverrideAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for OriginGroupOverrideAction.

func (OriginGroupOverrideAction) MarshalJSON

func (ogoa OriginGroupOverrideAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginGroupOverrideAction.

type OriginGroupOverrideActionParameters

type OriginGroupOverrideActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// OriginGroup - defines the OriginGroup that would override the DefaultOriginGroup.
	OriginGroup *ResourceReference `json:"originGroup,omitempty"`
}

OriginGroupOverrideActionParameters defines the parameters for the origin group override action.

type OriginGroupProperties

type OriginGroupProperties struct {
	// ResourceState - READ-ONLY; Resource status of the origin group. Possible values include: 'OriginGroupResourceStateCreating', 'OriginGroupResourceStateActive', 'OriginGroupResourceStateDeleting'
	ResourceState OriginGroupResourceState `json:"resourceState,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status of the origin group.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// HealthProbeSettings - Health probe settings to the origin that is used to determine the health of the origin.
	HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"`
	// Origins - The source of the content being delivered via CDN within given origin group.
	Origins *[]ResourceReference `json:"origins,omitempty"`
	// TrafficRestorationTimeToHealedOrNewEndpointsInMinutes - Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"`
	// ResponseBasedOriginErrorDetectionSettings - The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
	ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"`
}

OriginGroupProperties the JSON object that contains the properties of the origin group.

func (OriginGroupProperties) MarshalJSON

func (ogp OriginGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginGroupProperties.

type OriginGroupResourceState

type OriginGroupResourceState string

OriginGroupResourceState enumerates the values for origin group resource state.

const (
	// OriginGroupResourceStateActive ...
	OriginGroupResourceStateActive OriginGroupResourceState = "Active"
	// OriginGroupResourceStateCreating ...
	OriginGroupResourceStateCreating OriginGroupResourceState = "Creating"
	// OriginGroupResourceStateDeleting ...
	OriginGroupResourceStateDeleting OriginGroupResourceState = "Deleting"
)

func PossibleOriginGroupResourceStateValues

func PossibleOriginGroupResourceStateValues() []OriginGroupResourceState

PossibleOriginGroupResourceStateValues returns an array of possible values for the OriginGroupResourceState const type.

type OriginGroupUpdateParameters

type OriginGroupUpdateParameters struct {
	*OriginGroupUpdatePropertiesParameters `json:"properties,omitempty"`
}

OriginGroupUpdateParameters origin group properties needed for origin group creation or update.

func (OriginGroupUpdateParameters) MarshalJSON

func (ogup OriginGroupUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginGroupUpdateParameters.

func (*OriginGroupUpdateParameters) UnmarshalJSON

func (ogup *OriginGroupUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OriginGroupUpdateParameters struct.

type OriginGroupUpdatePropertiesParameters

type OriginGroupUpdatePropertiesParameters struct {
	// HealthProbeSettings - Health probe settings to the origin that is used to determine the health of the origin.
	HealthProbeSettings *HealthProbeParameters `json:"healthProbeSettings,omitempty"`
	// Origins - The source of the content being delivered via CDN within given origin group.
	Origins *[]ResourceReference `json:"origins,omitempty"`
	// TrafficRestorationTimeToHealedOrNewEndpointsInMinutes - Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
	TrafficRestorationTimeToHealedOrNewEndpointsInMinutes *int32 `json:"trafficRestorationTimeToHealedOrNewEndpointsInMinutes,omitempty"`
	// ResponseBasedOriginErrorDetectionSettings - The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
	ResponseBasedOriginErrorDetectionSettings *ResponseBasedOriginErrorDetectionParameters `json:"responseBasedOriginErrorDetectionSettings,omitempty"`
}

OriginGroupUpdatePropertiesParameters the JSON object that contains the properties of the origin group.

type OriginGroupsClient

type OriginGroupsClient struct {
	BaseClient
}

OriginGroupsClient is the cdn Management Client

func NewOriginGroupsClient

func NewOriginGroupsClient(subscriptionID string) OriginGroupsClient

NewOriginGroupsClient creates an instance of the OriginGroupsClient client.

func NewOriginGroupsClientWithBaseURI

func NewOriginGroupsClientWithBaseURI(baseURI string, subscriptionID string) OriginGroupsClient

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

func (OriginGroupsClient) Create

func (client OriginGroupsClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroup OriginGroup) (result OriginGroupsCreateFuture, err error)

Create creates a new origin group within the specified 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. originGroupName - name of the origin group which is unique within the endpoint. originGroup - origin group properties

func (OriginGroupsClient) CreatePreparer

func (client OriginGroupsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroup OriginGroup) (*http.Request, error)

CreatePreparer prepares the Create request.

func (OriginGroupsClient) CreateResponder

func (client OriginGroupsClient) CreateResponder(resp *http.Response) (result OriginGroup, err error)

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

func (OriginGroupsClient) CreateSender

func (client OriginGroupsClient) CreateSender(req *http.Request) (future OriginGroupsCreateFuture, err error)

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

func (OriginGroupsClient) Delete

func (client OriginGroupsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string) (result OriginGroupsDeleteFuture, err error)

Delete deletes an existing origin group 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. originGroupName - name of the origin group which is unique within the endpoint.

func (OriginGroupsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (OriginGroupsClient) DeleteResponder

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

func (client OriginGroupsClient) DeleteSender(req *http.Request) (future OriginGroupsDeleteFuture, err error)

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

func (OriginGroupsClient) Get

func (client OriginGroupsClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string) (result OriginGroup, err error)

Get gets an existing origin group 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. originGroupName - name of the origin group which is unique within the endpoint.

func (OriginGroupsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (OriginGroupsClient) GetResponder

func (client OriginGroupsClient) GetResponder(resp *http.Response) (result OriginGroup, err error)

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

func (OriginGroupsClient) GetSender

func (client OriginGroupsClient) 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 (OriginGroupsClient) ListByEndpoint

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

ListByEndpoint lists all of the existing origin groups 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 (OriginGroupsClient) ListByEndpointComplete

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

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

func (OriginGroupsClient) ListByEndpointPreparer

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

ListByEndpointPreparer prepares the ListByEndpoint request.

func (OriginGroupsClient) ListByEndpointResponder

func (client OriginGroupsClient) ListByEndpointResponder(resp *http.Response) (result OriginGroupListResult, err error)

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

func (OriginGroupsClient) ListByEndpointSender

func (client OriginGroupsClient) 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 (OriginGroupsClient) Update

func (client OriginGroupsClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroupUpdateProperties OriginGroupUpdateParameters) (result OriginGroupsUpdateFuture, err error)

Update updates an existing origin group 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. originGroupName - name of the origin group which is unique within the endpoint. originGroupUpdateProperties - origin group properties

func (OriginGroupsClient) UpdatePreparer

func (client OriginGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, originGroupName string, originGroupUpdateProperties OriginGroupUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (OriginGroupsClient) UpdateResponder

func (client OriginGroupsClient) UpdateResponder(resp *http.Response) (result OriginGroup, err error)

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

func (OriginGroupsClient) UpdateSender

func (client OriginGroupsClient) UpdateSender(req *http.Request) (future OriginGroupsUpdateFuture, err error)

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

type OriginGroupsCreateFuture

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

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

func (*OriginGroupsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OriginGroupsDeleteFuture

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

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

func (*OriginGroupsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OriginGroupsUpdateFuture

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

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

func (*OriginGroupsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OriginListResult

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

func (olr OriginListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OriginListResult) MarshalJSON

func (olr OriginListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginListResult.

type OriginListResultIterator

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

OriginListResultIterator provides access to a complete listing of Origin values.

func NewOriginListResultIterator

func NewOriginListResultIterator(page OriginListResultPage) OriginListResultIterator

Creates a new instance of the OriginListResultIterator type.

func (*OriginListResultIterator) Next

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

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

func (iter OriginListResultIterator) NotDone() bool

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

func (OriginListResultIterator) Response

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

func (OriginListResultIterator) Value

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

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

OriginListResultPage contains a page of Origin values.

func NewOriginListResultPage

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

Creates a new instance of the OriginListResultPage type.

func (*OriginListResultPage) Next

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

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

func (page OriginListResultPage) NotDone() bool

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

func (OriginListResultPage) Response

func (page OriginListResultPage) Response() OriginListResult

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

func (OriginListResultPage) Values

func (page OriginListResultPage) Values() []Origin

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

type OriginProperties

type OriginProperties struct {
	// 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"`
	// PrivateEndpointStatus - READ-ONLY; The approval status for the connection to the Private Link. Possible values include: 'PrivateEndpointStatusPending', 'PrivateEndpointStatusApproved', 'PrivateEndpointStatusRejected', 'PrivateEndpointStatusDisconnected', 'PrivateEndpointStatusTimeout'
	PrivateEndpointStatus PrivateEndpointStatus `json:"privateEndpointStatus,omitempty"`
	// HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
	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"`
	// 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. This overrides the host header defined at Endpoint
	OriginHostHeader *string `json:"originHostHeader,omitempty"`
	// Priority - Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5
	Priority *int32 `json:"priority,omitempty"`
	// Weight - Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
	Weight *int32 `json:"weight,omitempty"`
	// Enabled - Origin is enabled for load balancing or not
	Enabled *bool `json:"enabled,omitempty"`
	// PrivateLinkAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
	PrivateLinkAlias *string `json:"privateLinkAlias,omitempty"`
	// PrivateLinkResourceID - The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
	PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"`
	// PrivateLinkLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
	PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"`
	// PrivateLinkApprovalMessage - A custom message to be included in the approval request to connect to the Private Link.
	PrivateLinkApprovalMessage *string `json:"privateLinkApprovalMessage,omitempty"`
}

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

func (OriginProperties) MarshalJSON

func (op OriginProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OriginProperties.

type OriginResourceState

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

func PossibleOriginResourceStateValues() []OriginResourceState

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

type OriginUpdateParameters

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

OriginUpdateParameters origin properties needed for origin update.

func (OriginUpdateParameters) MarshalJSON

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

MarshalJSON is the custom marshaler for OriginUpdateParameters.

func (*OriginUpdateParameters) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for OriginUpdateParameters struct.

type OriginUpdatePropertiesParameters

type OriginUpdatePropertiesParameters struct {
	// HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint.
	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"`
	// 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. This overrides the host header defined at Endpoint
	OriginHostHeader *string `json:"originHostHeader,omitempty"`
	// Priority - Priority of origin in given origin group for load balancing. Higher priorities will not be used for load balancing if any lower priority origin is healthy.Must be between 1 and 5
	Priority *int32 `json:"priority,omitempty"`
	// Weight - Weight of the origin in given origin group for load balancing. Must be between 1 and 1000
	Weight *int32 `json:"weight,omitempty"`
	// Enabled - Origin is enabled for load balancing or not
	Enabled *bool `json:"enabled,omitempty"`
	// PrivateLinkAlias - The Alias of the Private Link resource. Populating this optional field indicates that this origin is 'Private'
	PrivateLinkAlias *string `json:"privateLinkAlias,omitempty"`
	// PrivateLinkResourceID - The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'
	PrivateLinkResourceID *string `json:"privateLinkResourceId,omitempty"`
	// PrivateLinkLocation - The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated
	PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"`
	// PrivateLinkApprovalMessage - A custom message to be included in the approval request to connect to the Private Link.
	PrivateLinkApprovalMessage *string `json:"privateLinkApprovalMessage,omitempty"`
}

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

type OriginsClient

type OriginsClient struct {
	BaseClient
}

OriginsClient is the cdn Management Client

func NewOriginsClient

func NewOriginsClient(subscriptionID string) OriginsClient

NewOriginsClient creates an instance of the OriginsClient client.

func NewOriginsClientWithBaseURI

func NewOriginsClientWithBaseURI(baseURI string, subscriptionID string) OriginsClient

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

func (OriginsClient) Create

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

Create creates a new origin within the specified 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 that is unique within the endpoint. origin - origin properties

func (OriginsClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (OriginsClient) CreateResponder

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

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

func (OriginsClient) CreateSender

func (client OriginsClient) CreateSender(req *http.Request) (future OriginsCreateFuture, err error)

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

func (OriginsClient) Delete

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

Delete deletes 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) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (OriginsClient) DeleteResponder

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

func (client OriginsClient) DeleteSender(req *http.Request) (future OriginsDeleteFuture, err error)

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

func (OriginsClient) Get

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

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

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

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

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

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

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

ListByEndpointPreparer prepares the ListByEndpoint request.

func (OriginsClient) ListByEndpointResponder

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

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

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

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

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

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 OriginsCreateFuture

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

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

func (*OriginsCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OriginsDeleteFuture

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

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

func (*OriginsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OriginsUpdateFuture

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

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

func (*OriginsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ParamIndicator

type ParamIndicator string

ParamIndicator enumerates the values for param indicator.

const (
	// ParamIndicatorExpires ...
	ParamIndicatorExpires ParamIndicator = "Expires"
	// ParamIndicatorKeyID ...
	ParamIndicatorKeyID ParamIndicator = "KeyId"
	// ParamIndicatorSignature ...
	ParamIndicatorSignature ParamIndicator = "Signature"
)

func PossibleParamIndicatorValues

func PossibleParamIndicatorValues() []ParamIndicator

PossibleParamIndicatorValues returns an array of possible values for the ParamIndicator const type.

type PoliciesClient

type PoliciesClient struct {
	BaseClient
}

PoliciesClient is the cdn Management Client

func NewPoliciesClient

func NewPoliciesClient(subscriptionID string) PoliciesClient

NewPoliciesClient creates an instance of the PoliciesClient client.

func NewPoliciesClientWithBaseURI

func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient

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

func (PoliciesClient) CreateOrUpdate

func (client PoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, policyName string, 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

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PoliciesClient) CreateOrUpdateResponder

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

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

func (PoliciesClient) CreateOrUpdateSender

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

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

func (PoliciesClient) Delete

func (client PoliciesClient) Delete(ctx context.Context, resourceGroupName string, policyName string) (result 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

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

DeletePreparer prepares the Delete request.

func (PoliciesClient) DeleteResponder

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

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

func (PoliciesClient) DeleteSender

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

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

func (PoliciesClient) Get

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

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

func (PoliciesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (PoliciesClient) GetResponder

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

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

func (PoliciesClient) GetSender

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

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

func (PoliciesClient) List

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

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

func (PoliciesClient) ListComplete

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

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

func (PoliciesClient) ListPreparer

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

ListPreparer prepares the List request.

func (PoliciesClient) ListResponder

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

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

func (PoliciesClient) ListSender

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

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

func (PoliciesClient) Update

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

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

UpdatePreparer prepares the Update request.

func (PoliciesClient) UpdateResponder

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

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

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

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

func (*PoliciesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PoliciesUpdateFuture

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

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

func (*PoliciesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PolicyEnabledState

type PolicyEnabledState string

PolicyEnabledState enumerates the values for policy enabled state.

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

func PossiblePolicyEnabledStateValues

func PossiblePolicyEnabledStateValues() []PolicyEnabledState

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

type PolicyMode

type PolicyMode string

PolicyMode enumerates the values for policy mode.

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

func PossiblePolicyModeValues

func PossiblePolicyModeValues() []PolicyMode

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

type PolicyResourceState

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

func PossiblePolicyResourceStateValues() []PolicyResourceState

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

type PolicySettings

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: 'PolicyModePrevention', 'PolicyModeDetection'
	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

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', 'PostArgsOperatorRegEx'
	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

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"
	// PostArgsOperatorRegEx ...
	PostArgsOperatorRegEx PostArgsOperator = "RegEx"
)

func PossiblePostArgsOperatorValues

func PossiblePostArgsOperatorValues() []PostArgsOperator

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

type PrivateEndpointStatus

type PrivateEndpointStatus string

PrivateEndpointStatus enumerates the values for private endpoint status.

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

func PossiblePrivateEndpointStatusValues

func PossiblePrivateEndpointStatusValues() []PrivateEndpointStatus

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

type ProbeProtocol

type ProbeProtocol string

ProbeProtocol enumerates the values for probe protocol.

const (
	// ProbeProtocolHTTP ...
	ProbeProtocolHTTP ProbeProtocol = "Http"
	// ProbeProtocolHTTPS ...
	ProbeProtocolHTTPS ProbeProtocol = "Https"
	// ProbeProtocolNotSet ...
	ProbeProtocolNotSet ProbeProtocol = "NotSet"
)

func PossibleProbeProtocolValues

func PossibleProbeProtocolValues() []ProbeProtocol

PossibleProbeProtocolValues returns an array of possible values for the ProbeProtocol const type.

type Profile

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,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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

Profile CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.

func (Profile) MarshalJSON

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

MarshalJSON is the custom marshaler for Profile.

func (*Profile) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for Profile struct.

type ProfileListResult

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

ProfileListResult result of the request to list profiles. It contains a list of profile objects and a URL link to get the next set of results.

func (ProfileListResult) IsEmpty

func (plr ProfileListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ProfileListResult) MarshalJSON

func (plr ProfileListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileListResult.

type ProfileListResultIterator

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

ProfileListResultIterator provides access to a complete listing of Profile values.

func NewProfileListResultIterator

func NewProfileListResultIterator(page ProfileListResultPage) ProfileListResultIterator

Creates a new instance of the ProfileListResultIterator type.

func (*ProfileListResultIterator) Next

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

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

func (iter ProfileListResultIterator) NotDone() bool

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

func (ProfileListResultIterator) Response

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

func (ProfileListResultIterator) Value

func (iter ProfileListResultIterator) Value() Profile

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

type ProfileListResultPage

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

ProfileListResultPage contains a page of Profile values.

func NewProfileListResultPage

func NewProfileListResultPage(cur ProfileListResult, getNextPage func(context.Context, ProfileListResult) (ProfileListResult, error)) ProfileListResultPage

Creates a new instance of the ProfileListResultPage type.

func (*ProfileListResultPage) Next

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

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

func (page ProfileListResultPage) NotDone() bool

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

func (ProfileListResultPage) Response

func (page ProfileListResultPage) Response() ProfileListResult

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

func (ProfileListResultPage) Values

func (page ProfileListResultPage) Values() []Profile

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

type ProfileProperties

type ProfileProperties struct {
	// ResourceState - READ-ONLY; Resource status of the profile. Possible values include: 'ProfileResourceStateCreating', 'ProfileResourceStateActive', 'ProfileResourceStateDeleting', 'ProfileResourceStateDisabled'
	ResourceState ProfileResourceState `json:"resourceState,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status of the profile.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// FrontdoorID - READ-ONLY; The Id of the frontdoor.
	FrontdoorID *string `json:"frontdoorId,omitempty"`
}

ProfileProperties the JSON object that contains the properties required to create a profile.

func (ProfileProperties) MarshalJSON

func (pp ProfileProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileProperties.

type ProfileResourceState

type ProfileResourceState string

ProfileResourceState enumerates the values for profile resource state.

const (
	// ProfileResourceStateActive ...
	ProfileResourceStateActive ProfileResourceState = "Active"
	// ProfileResourceStateCreating ...
	ProfileResourceStateCreating ProfileResourceState = "Creating"
	// ProfileResourceStateDeleting ...
	ProfileResourceStateDeleting ProfileResourceState = "Deleting"
	// ProfileResourceStateDisabled ...
	ProfileResourceStateDisabled ProfileResourceState = "Disabled"
)

func PossibleProfileResourceStateValues

func PossibleProfileResourceStateValues() []ProfileResourceState

PossibleProfileResourceStateValues returns an array of possible values for the ProfileResourceState const type.

type ProfileUpdateParameters

type ProfileUpdateParameters struct {
	// Tags - Profile tags
	Tags map[string]*string `json:"tags"`
}

ProfileUpdateParameters properties required to update a profile.

func (ProfileUpdateParameters) MarshalJSON

func (pup ProfileUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProfileUpdateParameters.

type ProfilesClient

type ProfilesClient struct {
	BaseClient
}

ProfilesClient is the cdn Management Client

func NewProfilesClient

func NewProfilesClient(subscriptionID string) ProfilesClient

NewProfilesClient creates an instance of the ProfilesClient client.

func NewProfilesClientWithBaseURI

func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient

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

func (ProfilesClient) Create

func (client ProfilesClient) Create(ctx context.Context, resourceGroupName string, profileName string, profile Profile) (result ProfilesCreateFuture, err error)

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

func (ProfilesClient) CreatePreparer

func (client ProfilesClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, profile Profile) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ProfilesClient) CreateResponder

func (client ProfilesClient) CreateResponder(resp *http.Response) (result Profile, err error)

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

func (ProfilesClient) CreateSender

func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error)

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

func (ProfilesClient) Delete

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

Delete deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains. 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 (ProfilesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ProfilesClient) DeleteResponder

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

func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)

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

func (ProfilesClient) GenerateSsoURI

func (client ProfilesClient) GenerateSsoURI(ctx context.Context, resourceGroupName string, profileName string) (result SsoURI, err error)

GenerateSsoURI generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes. 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 (ProfilesClient) GenerateSsoURIPreparer

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

GenerateSsoURIPreparer prepares the GenerateSsoURI request.

func (ProfilesClient) GenerateSsoURIResponder

func (client ProfilesClient) GenerateSsoURIResponder(resp *http.Response) (result SsoURI, err error)

GenerateSsoURIResponder handles the response to the GenerateSsoURI request. The method always closes the http.Response Body.

func (ProfilesClient) GenerateSsoURISender

func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error)

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

func (ProfilesClient) Get

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

Get gets a CDN profile with the specified profile name under the specified subscription and resource group. 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 (ProfilesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ProfilesClient) GetResponder

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

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

func (ProfilesClient) GetSender

func (client ProfilesClient) 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 (ProfilesClient) List

func (client ProfilesClient) List(ctx context.Context) (result ProfileListResultPage, err error)

List lists all of the CDN profiles within an Azure subscription.

func (ProfilesClient) ListByResourceGroup

func (client ProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListResultPage, err error)

ListByResourceGroup lists all of the CDN profiles within a resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription.

func (ProfilesClient) ListByResourceGroupComplete

func (client ProfilesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProfileListResultIterator, err error)

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

func (ProfilesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ProfilesClient) ListByResourceGroupResponder

func (client ProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ProfileListResult, err error)

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

func (ProfilesClient) ListByResourceGroupSender

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

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

func (ProfilesClient) ListComplete

func (client ProfilesClient) ListComplete(ctx context.Context) (result ProfileListResultIterator, err error)

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

func (ProfilesClient) ListPreparer

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

ListPreparer prepares the List request.

func (ProfilesClient) ListResourceUsage

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

ListResourceUsage checks the quota and actual usage of endpoints under the given CDN 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.

func (ProfilesClient) ListResourceUsageComplete

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

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

func (ProfilesClient) ListResourceUsagePreparer

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

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (ProfilesClient) ListResourceUsageResponder

func (client ProfilesClient) 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 (ProfilesClient) ListResourceUsageSender

func (client ProfilesClient) 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 (ProfilesClient) ListResponder

func (client ProfilesClient) ListResponder(resp *http.Response) (result ProfileListResult, err error)

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

func (ProfilesClient) ListSender

func (client ProfilesClient) 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 (ProfilesClient) ListSupportedOptimizationTypes

func (client ProfilesClient) ListSupportedOptimizationTypes(ctx context.Context, resourceGroupName string, profileName string) (result SupportedOptimizationTypesListResult, err error)

ListSupportedOptimizationTypes gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values. 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 (ProfilesClient) ListSupportedOptimizationTypesPreparer

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

ListSupportedOptimizationTypesPreparer prepares the ListSupportedOptimizationTypes request.

func (ProfilesClient) ListSupportedOptimizationTypesResponder

func (client ProfilesClient) ListSupportedOptimizationTypesResponder(resp *http.Response) (result SupportedOptimizationTypesListResult, err error)

ListSupportedOptimizationTypesResponder handles the response to the ListSupportedOptimizationTypes request. The method always closes the http.Response Body.

func (ProfilesClient) ListSupportedOptimizationTypesSender

func (client ProfilesClient) ListSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error)

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

func (ProfilesClient) Update

func (client ProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, profileUpdateParameters ProfileUpdateParameters) (result ProfilesUpdateFuture, err error)

Update updates an existing CDN profile with the specified profile name under the specified subscription and resource group. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. profileUpdateParameters - profile properties needed to update an existing profile.

func (ProfilesClient) UpdatePreparer

func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, profileUpdateParameters ProfileUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ProfilesClient) UpdateResponder

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

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

func (ProfilesClient) UpdateSender

func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error)

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

type ProfilesCreateFuture

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

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

func (*ProfilesCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ProfilesDeleteFuture

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

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

func (*ProfilesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ProfilesUpdateFuture

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

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

func (*ProfilesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ProtocolType

type ProtocolType string

ProtocolType enumerates the values for protocol type.

const (
	// ProtocolTypeIPBased ...
	ProtocolTypeIPBased ProtocolType = "IPBased"
	// ProtocolTypeServerNameIndication ...
	ProtocolTypeServerNameIndication ProtocolType = "ServerNameIndication"
)

func PossibleProtocolTypeValues

func PossibleProtocolTypeValues() []ProtocolType

PossibleProtocolTypeValues returns an array of possible values for the ProtocolType const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateCreating ...
	ProvisioningStateCreating ProvisioningState = "Creating"
	// ProvisioningStateFailed ...
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

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

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PurgeParameters

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

PurgeParameters parameters required for content purge.

type QueryStringBehavior

type QueryStringBehavior string

QueryStringBehavior enumerates the values for query string behavior.

const (
	// QueryStringBehaviorExclude ...
	QueryStringBehaviorExclude QueryStringBehavior = "Exclude"
	// QueryStringBehaviorExcludeAll ...
	QueryStringBehaviorExcludeAll QueryStringBehavior = "ExcludeAll"
	// QueryStringBehaviorInclude ...
	QueryStringBehaviorInclude QueryStringBehavior = "Include"
	// QueryStringBehaviorIncludeAll ...
	QueryStringBehaviorIncludeAll QueryStringBehavior = "IncludeAll"
)

func PossibleQueryStringBehaviorValues

func PossibleQueryStringBehaviorValues() []QueryStringBehavior

PossibleQueryStringBehaviorValues returns an array of possible values for the QueryStringBehavior const type.

type QueryStringCachingBehavior

type QueryStringCachingBehavior string

QueryStringCachingBehavior enumerates the values for query string caching behavior.

const (
	// QueryStringCachingBehaviorBypassCaching ...
	QueryStringCachingBehaviorBypassCaching QueryStringCachingBehavior = "BypassCaching"
	// QueryStringCachingBehaviorIgnoreQueryString ...
	QueryStringCachingBehaviorIgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString"
	// QueryStringCachingBehaviorNotSet ...
	QueryStringCachingBehaviorNotSet QueryStringCachingBehavior = "NotSet"
	// QueryStringCachingBehaviorUseQueryString ...
	QueryStringCachingBehaviorUseQueryString QueryStringCachingBehavior = "UseQueryString"
)

func PossibleQueryStringCachingBehaviorValues

func PossibleQueryStringCachingBehaviorValues() []QueryStringCachingBehavior

PossibleQueryStringCachingBehaviorValues returns an array of possible values for the QueryStringCachingBehavior const type.

type QueryStringMatchConditionParameters

type QueryStringMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'QueryStringOperatorAny', 'QueryStringOperatorEqual', 'QueryStringOperatorContains', 'QueryStringOperatorBeginsWith', 'QueryStringOperatorEndsWith', 'QueryStringOperatorLessThan', 'QueryStringOperatorLessThanOrEqual', 'QueryStringOperatorGreaterThan', 'QueryStringOperatorGreaterThanOrEqual', 'QueryStringOperatorRegEx'
	Operator QueryStringOperator `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"`
}

QueryStringMatchConditionParameters defines the parameters for QueryString match conditions

type QueryStringOperator

type QueryStringOperator string

QueryStringOperator enumerates the values for query string operator.

const (
	// QueryStringOperatorAny ...
	QueryStringOperatorAny QueryStringOperator = "Any"
	// QueryStringOperatorBeginsWith ...
	QueryStringOperatorBeginsWith QueryStringOperator = "BeginsWith"
	// QueryStringOperatorContains ...
	QueryStringOperatorContains QueryStringOperator = "Contains"
	// QueryStringOperatorEndsWith ...
	QueryStringOperatorEndsWith QueryStringOperator = "EndsWith"
	// QueryStringOperatorEqual ...
	QueryStringOperatorEqual QueryStringOperator = "Equal"
	// QueryStringOperatorGreaterThan ...
	QueryStringOperatorGreaterThan QueryStringOperator = "GreaterThan"
	// QueryStringOperatorGreaterThanOrEqual ...
	QueryStringOperatorGreaterThanOrEqual QueryStringOperator = "GreaterThanOrEqual"
	// QueryStringOperatorLessThan ...
	QueryStringOperatorLessThan QueryStringOperator = "LessThan"
	// QueryStringOperatorLessThanOrEqual ...
	QueryStringOperatorLessThanOrEqual QueryStringOperator = "LessThanOrEqual"
	// QueryStringOperatorRegEx ...
	QueryStringOperatorRegEx QueryStringOperator = "RegEx"
)

func PossibleQueryStringOperatorValues

func PossibleQueryStringOperatorValues() []QueryStringOperator

PossibleQueryStringOperatorValues returns an array of possible values for the QueryStringOperator const type.

type RankingsResponse

type RankingsResponse struct {
	autorest.Response `json:"-"`
	DateTimeBegin     *date.Time                    `json:"dateTimeBegin,omitempty"`
	DateTimeEnd       *date.Time                    `json:"dateTimeEnd,omitempty"`
	Tables            *[]RankingsResponseTablesItem `json:"tables,omitempty"`
}

RankingsResponse rankings Response

type RankingsResponseTablesItem

type RankingsResponseTablesItem struct {
	Ranking *string                               `json:"ranking,omitempty"`
	Data    *[]RankingsResponseTablesItemDataItem `json:"data,omitempty"`
}

RankingsResponseTablesItem ...

type RankingsResponseTablesItemDataItem

type RankingsResponseTablesItemDataItem struct {
	Name    *string                                          `json:"name,omitempty"`
	Metrics *[]RankingsResponseTablesItemDataItemMetricsItem `json:"metrics,omitempty"`
}

RankingsResponseTablesItemDataItem ...

type RankingsResponseTablesItemDataItemMetricsItem

type RankingsResponseTablesItemDataItemMetricsItem struct {
	Metric     *string  `json:"metric,omitempty"`
	Value      *int64   `json:"value,omitempty"`
	Percentage *float64 `json:"percentage,omitempty"`
}

RankingsResponseTablesItemDataItemMetricsItem ...

type RateLimitRule

type RateLimitRule struct {
	// RateLimitThreshold - Defines rate limit threshold.
	RateLimitThreshold *int32 `json:"rateLimitThreshold,omitempty"`
	// RateLimitDurationInMinutes - Defines rate limit duration. Default is 1 minute.
	RateLimitDurationInMinutes *int32 `json:"rateLimitDurationInMinutes,omitempty"`
	// 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. Possible values include: 'ActionTypeAllow', 'ActionTypeBlock', 'ActionTypeLog', 'ActionTypeRedirect'
	Action ActionType `json:"action,omitempty"`
}

RateLimitRule defines a rate limiting rule that can be included in a waf policy

type RateLimitRuleList

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

RateLimitRuleList defines contents of rate limit rules

type RedirectType

type RedirectType string

RedirectType enumerates the values for redirect type.

const (
	// RedirectTypeFound ...
	RedirectTypeFound RedirectType = "Found"
	// RedirectTypeMoved ...
	RedirectTypeMoved RedirectType = "Moved"
	// RedirectTypePermanentRedirect ...
	RedirectTypePermanentRedirect RedirectType = "PermanentRedirect"
	// RedirectTypeTemporaryRedirect ...
	RedirectTypeTemporaryRedirect RedirectType = "TemporaryRedirect"
)

func PossibleRedirectTypeValues

func PossibleRedirectTypeValues() []RedirectType

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

type RemoteAddressMatchConditionParameters

type RemoteAddressMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'RemoteAddressOperatorAny', 'RemoteAddressOperatorIPMatch', 'RemoteAddressOperatorGeoMatch'
	Operator RemoteAddressOperator `json:"operator,omitempty"`
	// NegateCondition - Describes if this is negate condition or not
	NegateCondition *bool `json:"negateCondition,omitempty"`
	// MatchValues - Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.
	MatchValues *[]string `json:"matchValues,omitempty"`
	// Transforms - List of transforms
	Transforms *[]Transform `json:"transforms,omitempty"`
}

RemoteAddressMatchConditionParameters defines the parameters for RemoteAddress match conditions

type RemoteAddressOperator

type RemoteAddressOperator string

RemoteAddressOperator enumerates the values for remote address operator.

const (
	// RemoteAddressOperatorAny ...
	RemoteAddressOperatorAny RemoteAddressOperator = "Any"
	// RemoteAddressOperatorGeoMatch ...
	RemoteAddressOperatorGeoMatch RemoteAddressOperator = "GeoMatch"
	// RemoteAddressOperatorIPMatch ...
	RemoteAddressOperatorIPMatch RemoteAddressOperator = "IPMatch"
)

func PossibleRemoteAddressOperatorValues

func PossibleRemoteAddressOperatorValues() []RemoteAddressOperator

PossibleRemoteAddressOperatorValues returns an array of possible values for the RemoteAddressOperator const type.

type RequestBodyMatchConditionParameters

type RequestBodyMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'RequestBodyOperatorAny', 'RequestBodyOperatorEqual', 'RequestBodyOperatorContains', 'RequestBodyOperatorBeginsWith', 'RequestBodyOperatorEndsWith', 'RequestBodyOperatorLessThan', 'RequestBodyOperatorLessThanOrEqual', 'RequestBodyOperatorGreaterThan', 'RequestBodyOperatorGreaterThanOrEqual', 'RequestBodyOperatorRegEx'
	Operator RequestBodyOperator `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"`
}

RequestBodyMatchConditionParameters defines the parameters for RequestBody match conditions

type RequestBodyOperator

type RequestBodyOperator string

RequestBodyOperator enumerates the values for request body operator.

const (
	// RequestBodyOperatorAny ...
	RequestBodyOperatorAny RequestBodyOperator = "Any"
	// RequestBodyOperatorBeginsWith ...
	RequestBodyOperatorBeginsWith RequestBodyOperator = "BeginsWith"
	// RequestBodyOperatorContains ...
	RequestBodyOperatorContains RequestBodyOperator = "Contains"
	// RequestBodyOperatorEndsWith ...
	RequestBodyOperatorEndsWith RequestBodyOperator = "EndsWith"
	// RequestBodyOperatorEqual ...
	RequestBodyOperatorEqual RequestBodyOperator = "Equal"
	// RequestBodyOperatorGreaterThan ...
	RequestBodyOperatorGreaterThan RequestBodyOperator = "GreaterThan"
	// RequestBodyOperatorGreaterThanOrEqual ...
	RequestBodyOperatorGreaterThanOrEqual RequestBodyOperator = "GreaterThanOrEqual"
	// RequestBodyOperatorLessThan ...
	RequestBodyOperatorLessThan RequestBodyOperator = "LessThan"
	// RequestBodyOperatorLessThanOrEqual ...
	RequestBodyOperatorLessThanOrEqual RequestBodyOperator = "LessThanOrEqual"
	// RequestBodyOperatorRegEx ...
	RequestBodyOperatorRegEx RequestBodyOperator = "RegEx"
)

func PossibleRequestBodyOperatorValues

func PossibleRequestBodyOperatorValues() []RequestBodyOperator

PossibleRequestBodyOperatorValues returns an array of possible values for the RequestBodyOperator const type.

type RequestHeaderMatchConditionParameters

type RequestHeaderMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Selector - Name of Header to be matched
	Selector *string `json:"selector,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'RequestHeaderOperatorAny', 'RequestHeaderOperatorEqual', 'RequestHeaderOperatorContains', 'RequestHeaderOperatorBeginsWith', 'RequestHeaderOperatorEndsWith', 'RequestHeaderOperatorLessThan', 'RequestHeaderOperatorLessThanOrEqual', 'RequestHeaderOperatorGreaterThan', 'RequestHeaderOperatorGreaterThanOrEqual', 'RequestHeaderOperatorRegEx'
	Operator RequestHeaderOperator `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"`
}

RequestHeaderMatchConditionParameters defines the parameters for RequestHeader match conditions

type RequestHeaderOperator

type RequestHeaderOperator string

RequestHeaderOperator enumerates the values for request header operator.

const (
	// RequestHeaderOperatorAny ...
	RequestHeaderOperatorAny RequestHeaderOperator = "Any"
	// RequestHeaderOperatorBeginsWith ...
	RequestHeaderOperatorBeginsWith RequestHeaderOperator = "BeginsWith"
	// RequestHeaderOperatorContains ...
	RequestHeaderOperatorContains RequestHeaderOperator = "Contains"
	// RequestHeaderOperatorEndsWith ...
	RequestHeaderOperatorEndsWith RequestHeaderOperator = "EndsWith"
	// RequestHeaderOperatorEqual ...
	RequestHeaderOperatorEqual RequestHeaderOperator = "Equal"
	// RequestHeaderOperatorGreaterThan ...
	RequestHeaderOperatorGreaterThan RequestHeaderOperator = "GreaterThan"
	// RequestHeaderOperatorGreaterThanOrEqual ...
	RequestHeaderOperatorGreaterThanOrEqual RequestHeaderOperator = "GreaterThanOrEqual"
	// RequestHeaderOperatorLessThan ...
	RequestHeaderOperatorLessThan RequestHeaderOperator = "LessThan"
	// RequestHeaderOperatorLessThanOrEqual ...
	RequestHeaderOperatorLessThanOrEqual RequestHeaderOperator = "LessThanOrEqual"
	// RequestHeaderOperatorRegEx ...
	RequestHeaderOperatorRegEx RequestHeaderOperator = "RegEx"
)

func PossibleRequestHeaderOperatorValues

func PossibleRequestHeaderOperatorValues() []RequestHeaderOperator

PossibleRequestHeaderOperatorValues returns an array of possible values for the RequestHeaderOperator const type.

type RequestMethodMatchConditionParameters

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

RequestMethodMatchConditionParameters defines the parameters for RequestMethod match conditions

type RequestSchemeMatchConditionParameters

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

RequestSchemeMatchConditionParameters defines the parameters for RequestScheme match conditions

type RequestURIMatchConditionParameters

type RequestURIMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'RequestURIOperatorAny', 'RequestURIOperatorEqual', 'RequestURIOperatorContains', 'RequestURIOperatorBeginsWith', 'RequestURIOperatorEndsWith', 'RequestURIOperatorLessThan', 'RequestURIOperatorLessThanOrEqual', 'RequestURIOperatorGreaterThan', 'RequestURIOperatorGreaterThanOrEqual', 'RequestURIOperatorRegEx'
	Operator RequestURIOperator `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"`
}

RequestURIMatchConditionParameters defines the parameters for RequestUri match conditions

type RequestURIOperator

type RequestURIOperator string

RequestURIOperator enumerates the values for request uri operator.

const (
	// RequestURIOperatorAny ...
	RequestURIOperatorAny RequestURIOperator = "Any"
	// RequestURIOperatorBeginsWith ...
	RequestURIOperatorBeginsWith RequestURIOperator = "BeginsWith"
	// RequestURIOperatorContains ...
	RequestURIOperatorContains RequestURIOperator = "Contains"
	// RequestURIOperatorEndsWith ...
	RequestURIOperatorEndsWith RequestURIOperator = "EndsWith"
	// RequestURIOperatorEqual ...
	RequestURIOperatorEqual RequestURIOperator = "Equal"
	// RequestURIOperatorGreaterThan ...
	RequestURIOperatorGreaterThan RequestURIOperator = "GreaterThan"
	// RequestURIOperatorGreaterThanOrEqual ...
	RequestURIOperatorGreaterThanOrEqual RequestURIOperator = "GreaterThanOrEqual"
	// RequestURIOperatorLessThan ...
	RequestURIOperatorLessThan RequestURIOperator = "LessThan"
	// RequestURIOperatorLessThanOrEqual ...
	RequestURIOperatorLessThanOrEqual RequestURIOperator = "LessThanOrEqual"
	// RequestURIOperatorRegEx ...
	RequestURIOperatorRegEx RequestURIOperator = "RegEx"
)

func PossibleRequestURIOperatorValues

func PossibleRequestURIOperatorValues() []RequestURIOperator

PossibleRequestURIOperatorValues returns an array of possible values for the RequestURIOperator const type.

type Resource

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

Resource the core properties of ARM resources

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceReference

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

ResourceReference reference to another resource.

type ResourceType

type ResourceType string

ResourceType enumerates the values for resource type.

const (
	// ResourceTypeMicrosoftCdnProfilesEndpoints ...
	ResourceTypeMicrosoftCdnProfilesEndpoints ResourceType = "Microsoft.Cdn/Profiles/Endpoints"
)

func PossibleResourceTypeValues

func PossibleResourceTypeValues() []ResourceType

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

type ResourceUsage

type ResourceUsage struct {
	// ResourceType - READ-ONLY; Resource type for which the usage is provided.
	ResourceType *string `json:"resourceType,omitempty"`
	// Unit - READ-ONLY; Unit of the usage. e.g. Count.
	Unit *string `json:"unit,omitempty"`
	// CurrentValue - READ-ONLY; Actual value of usage on the specified resource type.
	CurrentValue *int32 `json:"currentValue,omitempty"`
	// Limit - READ-ONLY; Quota of the specified resource type.
	Limit *int32 `json:"limit,omitempty"`
}

ResourceUsage output of check resource usage API.

func (ResourceUsage) MarshalJSON

func (ru ResourceUsage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceUsage.

type ResourceUsageClient

type ResourceUsageClient struct {
	BaseClient
}

ResourceUsageClient is the cdn Management Client

func NewResourceUsageClient

func NewResourceUsageClient(subscriptionID string) ResourceUsageClient

NewResourceUsageClient creates an instance of the ResourceUsageClient client.

func NewResourceUsageClientWithBaseURI

func NewResourceUsageClientWithBaseURI(baseURI string, subscriptionID string) ResourceUsageClient

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

func (ResourceUsageClient) List

func (client ResourceUsageClient) List(ctx context.Context) (result ResourceUsageListResultPage, err error)

List check the quota and actual usage of the CDN profiles under the given subscription.

func (ResourceUsageClient) ListComplete

func (client ResourceUsageClient) ListComplete(ctx context.Context) (result ResourceUsageListResultIterator, err error)

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

func (ResourceUsageClient) ListPreparer

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

ListPreparer prepares the List request.

func (ResourceUsageClient) ListResponder

func (client ResourceUsageClient) ListResponder(resp *http.Response) (result ResourceUsageListResult, err error)

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

func (ResourceUsageClient) ListSender

func (client ResourceUsageClient) 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 ResourceUsageListResult

type ResourceUsageListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of resource usages.
	Value *[]ResourceUsage `json:"value,omitempty"`
	// NextLink - URL to get the next set of custom domain objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

ResourceUsageListResult output of check resource usage API.

func (ResourceUsageListResult) IsEmpty

func (rulr ResourceUsageListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ResourceUsageListResult) MarshalJSON

func (rulr ResourceUsageListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceUsageListResult.

type ResourceUsageListResultIterator

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

ResourceUsageListResultIterator provides access to a complete listing of ResourceUsage values.

func NewResourceUsageListResultIterator

func NewResourceUsageListResultIterator(page ResourceUsageListResultPage) ResourceUsageListResultIterator

Creates a new instance of the ResourceUsageListResultIterator type.

func (*ResourceUsageListResultIterator) Next

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 (*ResourceUsageListResultIterator) NextWithContext

func (iter *ResourceUsageListResultIterator) 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 (ResourceUsageListResultIterator) NotDone

func (iter ResourceUsageListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceUsageListResultIterator) Response

Response returns the raw server response from the last page request.

func (ResourceUsageListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceUsageListResultPage

type ResourceUsageListResultPage struct {
	// contains filtered or unexported fields
}

ResourceUsageListResultPage contains a page of ResourceUsage values.

func NewResourceUsageListResultPage

Creates a new instance of the ResourceUsageListResultPage type.

func (*ResourceUsageListResultPage) Next

func (page *ResourceUsageListResultPage) 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 (*ResourceUsageListResultPage) NextWithContext

func (page *ResourceUsageListResultPage) 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 (ResourceUsageListResultPage) NotDone

func (page ResourceUsageListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceUsageListResultPage) Response

Response returns the raw server response from the last page request.

func (ResourceUsageListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ResourcesResponse

type ResourcesResponse struct {
	autorest.Response `json:"-"`
	Endpoints         *[]ResourcesResponseEndpointsItem     `json:"endpoints,omitempty"`
	CustomDomains     *[]ResourcesResponseCustomDomainsItem `json:"customDomains,omitempty"`
}

ResourcesResponse resources Response

type ResourcesResponseCustomDomainsItem

type ResourcesResponseCustomDomainsItem struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	EndpointID *string `json:"endpointId,omitempty"`
	History    *bool   `json:"history,omitempty"`
}

ResourcesResponseCustomDomainsItem ...

type ResourcesResponseEndpointsItem

type ResourcesResponseEndpointsItem struct {
	ID            *string                                            `json:"id,omitempty"`
	Name          *string                                            `json:"name,omitempty"`
	History       *bool                                              `json:"history,omitempty"`
	CustomDomains *[]ResourcesResponseEndpointsItemCustomDomainsItem `json:"customDomains,omitempty"`
}

ResourcesResponseEndpointsItem ...

type ResourcesResponseEndpointsItemCustomDomainsItem

type ResourcesResponseEndpointsItemCustomDomainsItem struct {
	ID         *string `json:"id,omitempty"`
	Name       *string `json:"name,omitempty"`
	EndpointID *string `json:"endpointId,omitempty"`
	History    *bool   `json:"history,omitempty"`
}

ResourcesResponseEndpointsItemCustomDomainsItem ...

type ResponseBasedDetectedErrorTypes

type ResponseBasedDetectedErrorTypes string

ResponseBasedDetectedErrorTypes enumerates the values for response based detected error types.

const (
	// ResponseBasedDetectedErrorTypesNone ...
	ResponseBasedDetectedErrorTypesNone ResponseBasedDetectedErrorTypes = "None"
	// ResponseBasedDetectedErrorTypesTCPAndHTTPErrors ...
	ResponseBasedDetectedErrorTypesTCPAndHTTPErrors ResponseBasedDetectedErrorTypes = "TcpAndHttpErrors"
	// ResponseBasedDetectedErrorTypesTCPErrorsOnly ...
	ResponseBasedDetectedErrorTypesTCPErrorsOnly ResponseBasedDetectedErrorTypes = "TcpErrorsOnly"
)

func PossibleResponseBasedDetectedErrorTypesValues

func PossibleResponseBasedDetectedErrorTypesValues() []ResponseBasedDetectedErrorTypes

PossibleResponseBasedDetectedErrorTypesValues returns an array of possible values for the ResponseBasedDetectedErrorTypes const type.

type ResponseBasedOriginErrorDetectionParameters

type ResponseBasedOriginErrorDetectionParameters struct {
	// ResponseBasedDetectedErrorTypes - Type of response errors for real user requests for which origin will be deemed unhealthy. Possible values include: 'ResponseBasedDetectedErrorTypesNone', 'ResponseBasedDetectedErrorTypesTCPErrorsOnly', 'ResponseBasedDetectedErrorTypesTCPAndHTTPErrors'
	ResponseBasedDetectedErrorTypes ResponseBasedDetectedErrorTypes `json:"responseBasedDetectedErrorTypes,omitempty"`
	// ResponseBasedFailoverThresholdPercentage - The percentage of failed requests in the sample where failover should trigger.
	ResponseBasedFailoverThresholdPercentage *int32 `json:"responseBasedFailoverThresholdPercentage,omitempty"`
	// HTTPErrorRanges - The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.
	HTTPErrorRanges *[]HTTPErrorRangeParameters `json:"httpErrorRanges,omitempty"`
}

ResponseBasedOriginErrorDetectionParameters the JSON object that contains the properties to determine origin health using real requests/responses.

type Route

type Route struct {
	autorest.Response `json:"-"`
	*RouteProperties  `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

Route friendly Routes name mapping to the any Routes or secret related information.

func (Route) MarshalJSON

func (r Route) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Route.

func (*Route) UnmarshalJSON

func (r *Route) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Route struct.

type RouteListResult

type RouteListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of AzureFrontDoor routes within a profile.
	Value *[]Route `json:"value,omitempty"`
	// NextLink - URL to get the next set of route objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

RouteListResult result of the request to list routes. It contains a list of route objects and a URL link to get the next set of results.

func (RouteListResult) IsEmpty

func (rlr RouteListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (RouteListResult) MarshalJSON

func (rlr RouteListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteListResult.

type RouteListResultIterator

type RouteListResultIterator struct {
	// contains filtered or unexported fields
}

RouteListResultIterator provides access to a complete listing of Route values.

func NewRouteListResultIterator

func NewRouteListResultIterator(page RouteListResultPage) RouteListResultIterator

Creates a new instance of the RouteListResultIterator type.

func (*RouteListResultIterator) Next

func (iter *RouteListResultIterator) 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 (*RouteListResultIterator) NextWithContext

func (iter *RouteListResultIterator) 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 (RouteListResultIterator) NotDone

func (iter RouteListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RouteListResultIterator) Response

func (iter RouteListResultIterator) Response() RouteListResult

Response returns the raw server response from the last page request.

func (RouteListResultIterator) Value

func (iter RouteListResultIterator) Value() Route

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RouteListResultPage

type RouteListResultPage struct {
	// contains filtered or unexported fields
}

RouteListResultPage contains a page of Route values.

func NewRouteListResultPage

func NewRouteListResultPage(cur RouteListResult, getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage

Creates a new instance of the RouteListResultPage type.

func (*RouteListResultPage) Next

func (page *RouteListResultPage) 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 (*RouteListResultPage) NextWithContext

func (page *RouteListResultPage) 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 (RouteListResultPage) NotDone

func (page RouteListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RouteListResultPage) Response

func (page RouteListResultPage) Response() RouteListResult

Response returns the raw server response from the last page request.

func (RouteListResultPage) Values

func (page RouteListResultPage) Values() []Route

Values returns the slice of values for the current page or nil if there are no values.

type RouteProperties

type RouteProperties struct {
	// CustomDomains - Domains referenced by this endpoint.
	CustomDomains *[]ResourceReference `json:"customDomains,omitempty"`
	// OriginGroup - A reference to the origin group.
	OriginGroup *ResourceReference `json:"originGroup,omitempty"`
	// OriginPath - A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
	OriginPath *string `json:"originPath,omitempty"`
	// RuleSets - rule sets referenced by this endpoint.
	RuleSets *[]ResourceReference `json:"ruleSets,omitempty"`
	// SupportedProtocols - List of supported protocols for this route.
	SupportedProtocols *[]AFDEndpointProtocols `json:"supportedProtocols,omitempty"`
	// PatternsToMatch - The route patterns of the rule.
	PatternsToMatch *[]string `json:"patternsToMatch,omitempty"`
	// CompressionSettings - compression settings.
	CompressionSettings interface{} `json:"compressionSettings,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: 'AfdQueryStringCachingBehaviorIgnoreQueryString', 'AfdQueryStringCachingBehaviorUseQueryString', 'AfdQueryStringCachingBehaviorNotSet'
	QueryStringCachingBehavior AfdQueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"`
	// ForwardingProtocol - Protocol this rule will use when forwarding traffic to backends. Possible values include: 'ForwardingProtocolHTTPOnly', 'ForwardingProtocolHTTPSOnly', 'ForwardingProtocolMatchRequest'
	ForwardingProtocol ForwardingProtocol `json:"forwardingProtocol,omitempty"`
	// LinkToDefaultDomain - whether this route will be linked to the default endpoint domain. Possible values include: 'LinkToDefaultDomainEnabled', 'LinkToDefaultDomainDisabled'
	LinkToDefaultDomain LinkToDefaultDomain `json:"linkToDefaultDomain,omitempty"`
	// HTTPSRedirect - Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. Possible values include: 'HTTPSRedirectEnabled', 'HTTPSRedirectDisabled'
	HTTPSRedirect HTTPSRedirect `json:"httpsRedirect,omitempty"`
	// EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	EnabledState EnabledState `json:"enabledState,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

RouteProperties the JSON object that contains the properties of the Routes to create.

func (RouteProperties) MarshalJSON

func (rp RouteProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteProperties.

type RouteUpdateParameters

type RouteUpdateParameters struct {
	*RouteUpdatePropertiesParameters `json:"properties,omitempty"`
}

RouteUpdateParameters the domain JSON object required for domain creation or update.

func (RouteUpdateParameters) MarshalJSON

func (rup RouteUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RouteUpdateParameters.

func (*RouteUpdateParameters) UnmarshalJSON

func (rup *RouteUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RouteUpdateParameters struct.

type RouteUpdatePropertiesParameters

type RouteUpdatePropertiesParameters struct {
	// CustomDomains - Domains referenced by this endpoint.
	CustomDomains *[]ResourceReference `json:"customDomains,omitempty"`
	// OriginGroup - A reference to the origin group.
	OriginGroup *ResourceReference `json:"originGroup,omitempty"`
	// OriginPath - A directory path on the origin that AzureFrontDoor can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
	OriginPath *string `json:"originPath,omitempty"`
	// RuleSets - rule sets referenced by this endpoint.
	RuleSets *[]ResourceReference `json:"ruleSets,omitempty"`
	// SupportedProtocols - List of supported protocols for this route.
	SupportedProtocols *[]AFDEndpointProtocols `json:"supportedProtocols,omitempty"`
	// PatternsToMatch - The route patterns of the rule.
	PatternsToMatch *[]string `json:"patternsToMatch,omitempty"`
	// CompressionSettings - compression settings.
	CompressionSettings interface{} `json:"compressionSettings,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: 'AfdQueryStringCachingBehaviorIgnoreQueryString', 'AfdQueryStringCachingBehaviorUseQueryString', 'AfdQueryStringCachingBehaviorNotSet'
	QueryStringCachingBehavior AfdQueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"`
	// ForwardingProtocol - Protocol this rule will use when forwarding traffic to backends. Possible values include: 'ForwardingProtocolHTTPOnly', 'ForwardingProtocolHTTPSOnly', 'ForwardingProtocolMatchRequest'
	ForwardingProtocol ForwardingProtocol `json:"forwardingProtocol,omitempty"`
	// LinkToDefaultDomain - whether this route will be linked to the default endpoint domain. Possible values include: 'LinkToDefaultDomainEnabled', 'LinkToDefaultDomainDisabled'
	LinkToDefaultDomain LinkToDefaultDomain `json:"linkToDefaultDomain,omitempty"`
	// HTTPSRedirect - Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed. Possible values include: 'HTTPSRedirectEnabled', 'HTTPSRedirectDisabled'
	HTTPSRedirect HTTPSRedirect `json:"httpsRedirect,omitempty"`
	// EnabledState - Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'EnabledStateEnabled', 'EnabledStateDisabled'
	EnabledState EnabledState `json:"enabledState,omitempty"`
}

RouteUpdatePropertiesParameters the JSON object that contains the properties of the domain to create.

type RoutesClient

type RoutesClient struct {
	BaseClient
}

RoutesClient is the cdn Management Client

func NewRoutesClient

func NewRoutesClient(subscriptionID string) RoutesClient

NewRoutesClient creates an instance of the RoutesClient client.

func NewRoutesClientWithBaseURI

func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient

NewRoutesClientWithBaseURI creates an instance of the RoutesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RoutesClient) Create

func (client RoutesClient) Create(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, route Route) (result RoutesCreateFuture, err error)

Create creates a new route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor 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. routeName - name of the routing rule. route - route properties

func (RoutesClient) CreatePreparer

func (client RoutesClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, route Route) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RoutesClient) CreateResponder

func (client RoutesClient) CreateResponder(resp *http.Response) (result Route, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RoutesClient) CreateSender

func (client RoutesClient) CreateSender(req *http.Request) (future RoutesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RoutesClient) Delete

func (client RoutesClient) Delete(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string) (result RoutesDeleteFuture, err error)

Delete deletes an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor 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. routeName - name of the routing rule.

func (RoutesClient) DeletePreparer

func (client RoutesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RoutesClient) DeleteResponder

func (client RoutesClient) 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 (RoutesClient) DeleteSender

func (client RoutesClient) DeleteSender(req *http.Request) (future RoutesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RoutesClient) Get

func (client RoutesClient) Get(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string) (result Route, err error)

Get gets an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor 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. routeName - name of the routing rule.

func (RoutesClient) GetPreparer

func (client RoutesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RoutesClient) GetResponder

func (client RoutesClient) GetResponder(resp *http.Response) (result Route, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RoutesClient) GetSender

func (client RoutesClient) 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 (RoutesClient) ListByEndpoint

func (client RoutesClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result RouteListResultPage, err error)

ListByEndpoint lists all of the existing origins within a 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 (RoutesClient) ListByEndpointComplete

func (client RoutesClient) ListByEndpointComplete(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (result RouteListResultIterator, err error)

ListByEndpointComplete enumerates all values, automatically crossing page boundaries as required.

func (RoutesClient) ListByEndpointPreparer

func (client RoutesClient) ListByEndpointPreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string) (*http.Request, error)

ListByEndpointPreparer prepares the ListByEndpoint request.

func (RoutesClient) ListByEndpointResponder

func (client RoutesClient) ListByEndpointResponder(resp *http.Response) (result RouteListResult, err error)

ListByEndpointResponder handles the response to the ListByEndpoint request. The method always closes the http.Response Body.

func (RoutesClient) ListByEndpointSender

func (client RoutesClient) 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 (RoutesClient) Update

func (client RoutesClient) Update(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, routeUpdateProperties RouteUpdateParameters) (result RoutesUpdateFuture, err error)

Update updates an existing route with the specified route name under the specified subscription, resource group, profile, and AzureFrontDoor 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. routeName - name of the routing rule. routeUpdateProperties - route update properties

func (RoutesClient) UpdatePreparer

func (client RoutesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, endpointName string, routeName string, routeUpdateProperties RouteUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RoutesClient) UpdateResponder

func (client RoutesClient) UpdateResponder(resp *http.Response) (result Route, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RoutesClient) UpdateSender

func (client RoutesClient) UpdateSender(req *http.Request) (future RoutesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RoutesCreateFuture

type RoutesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RoutesClient) (Route, error)
}

RoutesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RoutesCreateFuture) UnmarshalJSON

func (future *RoutesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RoutesDeleteFuture

type RoutesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RoutesClient) (autorest.Response, error)
}

RoutesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RoutesDeleteFuture) UnmarshalJSON

func (future *RoutesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RoutesUpdateFuture

type RoutesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RoutesClient) (Route, error)
}

RoutesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RoutesUpdateFuture) UnmarshalJSON

func (future *RoutesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Rule

type Rule struct {
	autorest.Response `json:"-"`
	*RuleProperties   `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

Rule friendly Rules name mapping to the any Rules or secret related information.

func (Rule) MarshalJSON

func (r Rule) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Rule.

func (*Rule) UnmarshalJSON

func (r *Rule) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Rule struct.

type RuleListResult

type RuleListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of AzureFrontDoor rules within a rule set.
	Value *[]Rule `json:"value,omitempty"`
	// NextLink - URL to get the next set of rule objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

RuleListResult result of the request to list rules. It contains a list of rule objects and a URL link to get the next set of results.

func (RuleListResult) IsEmpty

func (rlr RuleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (RuleListResult) MarshalJSON

func (rlr RuleListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleListResult.

type RuleListResultIterator

type RuleListResultIterator struct {
	// contains filtered or unexported fields
}

RuleListResultIterator provides access to a complete listing of Rule values.

func NewRuleListResultIterator

func NewRuleListResultIterator(page RuleListResultPage) RuleListResultIterator

Creates a new instance of the RuleListResultIterator type.

func (*RuleListResultIterator) Next

func (iter *RuleListResultIterator) 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 (*RuleListResultIterator) NextWithContext

func (iter *RuleListResultIterator) 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 (RuleListResultIterator) NotDone

func (iter RuleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RuleListResultIterator) Response

func (iter RuleListResultIterator) Response() RuleListResult

Response returns the raw server response from the last page request.

func (RuleListResultIterator) Value

func (iter RuleListResultIterator) Value() Rule

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RuleListResultPage

type RuleListResultPage struct {
	// contains filtered or unexported fields
}

RuleListResultPage contains a page of Rule values.

func NewRuleListResultPage

func NewRuleListResultPage(cur RuleListResult, getNextPage func(context.Context, RuleListResult) (RuleListResult, error)) RuleListResultPage

Creates a new instance of the RuleListResultPage type.

func (*RuleListResultPage) Next

func (page *RuleListResultPage) 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 (*RuleListResultPage) NextWithContext

func (page *RuleListResultPage) 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 (RuleListResultPage) NotDone

func (page RuleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RuleListResultPage) Response

func (page RuleListResultPage) Response() RuleListResult

Response returns the raw server response from the last page request.

func (RuleListResultPage) Values

func (page RuleListResultPage) Values() []Rule

Values returns the slice of values for the current page or nil if there are no values.

type RuleProperties

type RuleProperties struct {
	// 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"`
	// MatchProcessingBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'MatchProcessingBehaviorContinue', 'MatchProcessingBehaviorStop'
	MatchProcessingBehavior MatchProcessingBehavior `json:"matchProcessingBehavior,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

RuleProperties the JSON object that contains the properties of the Rules to create.

func (RuleProperties) MarshalJSON

func (rp RuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleProperties.

func (*RuleProperties) UnmarshalJSON

func (rp *RuleProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleProperties struct.

type RuleSet

type RuleSet struct {
	autorest.Response  `json:"-"`
	*RuleSetProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

RuleSet friendly RuleSet name mapping to the any RuleSet or secret related information.

func (RuleSet) MarshalJSON

func (rs RuleSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleSet.

func (*RuleSet) UnmarshalJSON

func (rs *RuleSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleSet struct.

type RuleSetListResult

type RuleSetListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of AzureFrontDoor rule sets within a profile.
	Value *[]RuleSet `json:"value,omitempty"`
	// NextLink - URL to get the next set of rule set objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

RuleSetListResult result of the request to list rule sets. It contains a list of rule set objects and a URL link to get the next set of results.

func (RuleSetListResult) IsEmpty

func (rslr RuleSetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (RuleSetListResult) MarshalJSON

func (rslr RuleSetListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleSetListResult.

type RuleSetListResultIterator

type RuleSetListResultIterator struct {
	// contains filtered or unexported fields
}

RuleSetListResultIterator provides access to a complete listing of RuleSet values.

func NewRuleSetListResultIterator

func NewRuleSetListResultIterator(page RuleSetListResultPage) RuleSetListResultIterator

Creates a new instance of the RuleSetListResultIterator type.

func (*RuleSetListResultIterator) Next

func (iter *RuleSetListResultIterator) 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 (*RuleSetListResultIterator) NextWithContext

func (iter *RuleSetListResultIterator) 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 (RuleSetListResultIterator) NotDone

func (iter RuleSetListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RuleSetListResultIterator) Response

Response returns the raw server response from the last page request.

func (RuleSetListResultIterator) Value

func (iter RuleSetListResultIterator) Value() RuleSet

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RuleSetListResultPage

type RuleSetListResultPage struct {
	// contains filtered or unexported fields
}

RuleSetListResultPage contains a page of RuleSet values.

func NewRuleSetListResultPage

func NewRuleSetListResultPage(cur RuleSetListResult, getNextPage func(context.Context, RuleSetListResult) (RuleSetListResult, error)) RuleSetListResultPage

Creates a new instance of the RuleSetListResultPage type.

func (*RuleSetListResultPage) Next

func (page *RuleSetListResultPage) 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 (*RuleSetListResultPage) NextWithContext

func (page *RuleSetListResultPage) 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 (RuleSetListResultPage) NotDone

func (page RuleSetListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RuleSetListResultPage) Response

func (page RuleSetListResultPage) Response() RuleSetListResult

Response returns the raw server response from the last page request.

func (RuleSetListResultPage) Values

func (page RuleSetListResultPage) Values() []RuleSet

Values returns the slice of values for the current page or nil if there are no values.

type RuleSetProperties

type RuleSetProperties struct {
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

RuleSetProperties the JSON object that contains the properties of the Rule Set to create.

func (RuleSetProperties) MarshalJSON

func (rsp RuleSetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleSetProperties.

type RuleSetsClient

type RuleSetsClient struct {
	BaseClient
}

RuleSetsClient is the cdn Management Client

func NewRuleSetsClient

func NewRuleSetsClient(subscriptionID string) RuleSetsClient

NewRuleSetsClient creates an instance of the RuleSetsClient client.

func NewRuleSetsClientWithBaseURI

func NewRuleSetsClientWithBaseURI(baseURI string, subscriptionID string) RuleSetsClient

NewRuleSetsClientWithBaseURI creates an instance of the RuleSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RuleSetsClient) Create

func (client RuleSetsClient) Create(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result RuleSetsCreateFuture, err error)

Create creates a new rule set within the specified 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. ruleSetName - name of the rule set under the profile which is unique globally

func (RuleSetsClient) CreatePreparer

func (client RuleSetsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RuleSetsClient) CreateResponder

func (client RuleSetsClient) CreateResponder(resp *http.Response) (result RuleSet, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RuleSetsClient) CreateSender

func (client RuleSetsClient) CreateSender(req *http.Request) (future RuleSetsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RuleSetsClient) Delete

func (client RuleSetsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result RuleSetsDeleteFuture, err error)

Delete deletes an existing AzureFrontDoor rule set with the specified rule set 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. ruleSetName - name of the rule set under the profile which is unique globally.

func (RuleSetsClient) DeletePreparer

func (client RuleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RuleSetsClient) DeleteResponder

func (client RuleSetsClient) 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 (RuleSetsClient) DeleteSender

func (client RuleSetsClient) DeleteSender(req *http.Request) (future RuleSetsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RuleSetsClient) Get

func (client RuleSetsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result RuleSet, err error)

Get gets an existing AzureFrontDoor rule set with the specified rule set 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. ruleSetName - name of the rule set under the profile which is unique globally.

func (RuleSetsClient) GetPreparer

func (client RuleSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RuleSetsClient) GetResponder

func (client RuleSetsClient) GetResponder(resp *http.Response) (result RuleSet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RuleSetsClient) GetSender

func (client RuleSetsClient) 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 (RuleSetsClient) ListByProfile

func (client RuleSetsClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result RuleSetListResultPage, err error)

ListByProfile lists existing AzureFrontDoor rule sets within a 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.

func (RuleSetsClient) ListByProfileComplete

func (client RuleSetsClient) ListByProfileComplete(ctx context.Context, resourceGroupName string, profileName string) (result RuleSetListResultIterator, err error)

ListByProfileComplete enumerates all values, automatically crossing page boundaries as required.

func (RuleSetsClient) ListByProfilePreparer

func (client RuleSetsClient) ListByProfilePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

ListByProfilePreparer prepares the ListByProfile request.

func (RuleSetsClient) ListByProfileResponder

func (client RuleSetsClient) ListByProfileResponder(resp *http.Response) (result RuleSetListResult, err error)

ListByProfileResponder handles the response to the ListByProfile request. The method always closes the http.Response Body.

func (RuleSetsClient) ListByProfileSender

func (client RuleSetsClient) 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 (RuleSetsClient) ListResourceUsage

func (client RuleSetsClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result UsagesListResultPage, err error)

ListResourceUsage checks the quota and actual usage of endpoints under the given CDN 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. ruleSetName - name of the rule set under the profile which is unique globally.

func (RuleSetsClient) ListResourceUsageComplete

func (client RuleSetsClient) ListResourceUsageComplete(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result UsagesListResultIterator, err error)

ListResourceUsageComplete enumerates all values, automatically crossing page boundaries as required.

func (RuleSetsClient) ListResourceUsagePreparer

func (client RuleSetsClient) ListResourceUsagePreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (*http.Request, error)

ListResourceUsagePreparer prepares the ListResourceUsage request.

func (RuleSetsClient) ListResourceUsageResponder

func (client RuleSetsClient) ListResourceUsageResponder(resp *http.Response) (result UsagesListResult, err error)

ListResourceUsageResponder handles the response to the ListResourceUsage request. The method always closes the http.Response Body.

func (RuleSetsClient) ListResourceUsageSender

func (client RuleSetsClient) 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.

type RuleSetsCreateFuture

type RuleSetsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RuleSetsClient) (RuleSet, error)
}

RuleSetsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RuleSetsCreateFuture) UnmarshalJSON

func (future *RuleSetsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RuleSetsDeleteFuture

type RuleSetsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RuleSetsClient) (autorest.Response, error)
}

RuleSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RuleSetsDeleteFuture) UnmarshalJSON

func (future *RuleSetsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RuleUpdateParameters

type RuleUpdateParameters struct {
	*RuleUpdatePropertiesParameters `json:"properties,omitempty"`
}

RuleUpdateParameters the domain JSON object required for domain creation or update.

func (RuleUpdateParameters) MarshalJSON

func (rup RuleUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RuleUpdateParameters.

func (*RuleUpdateParameters) UnmarshalJSON

func (rup *RuleUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleUpdateParameters struct.

type RuleUpdatePropertiesParameters

type RuleUpdatePropertiesParameters struct {
	// 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"`
	// MatchProcessingBehavior - If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: 'MatchProcessingBehaviorContinue', 'MatchProcessingBehaviorStop'
	MatchProcessingBehavior MatchProcessingBehavior `json:"matchProcessingBehavior,omitempty"`
}

RuleUpdatePropertiesParameters the JSON object that contains the properties of the domain to create.

func (*RuleUpdatePropertiesParameters) UnmarshalJSON

func (rupp *RuleUpdatePropertiesParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RuleUpdatePropertiesParameters struct.

type RulesClient

type RulesClient struct {
	BaseClient
}

RulesClient is the cdn Management Client

func NewRulesClient

func NewRulesClient(subscriptionID string) RulesClient

NewRulesClient creates an instance of the RulesClient client.

func NewRulesClientWithBaseURI

func NewRulesClientWithBaseURI(baseURI string, subscriptionID string) RulesClient

NewRulesClientWithBaseURI creates an instance of the RulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RulesClient) Create

func (client RulesClient) Create(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, rule Rule) (result RulesCreateFuture, err error)

Create creates a new delivery rule within the specified rule set. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. ruleSetName - name of the rule set under the profile. ruleName - name of the delivery rule which is unique within the endpoint. rule - the delivery rule properties.

func (RulesClient) CreatePreparer

func (client RulesClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, rule Rule) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RulesClient) CreateResponder

func (client RulesClient) CreateResponder(resp *http.Response) (result Rule, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RulesClient) CreateSender

func (client RulesClient) CreateSender(req *http.Request) (future RulesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Delete

func (client RulesClient) Delete(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string) (result RulesDeleteFuture, err error)

Delete deletes an existing delivery rule within a rule set. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. ruleSetName - name of the rule set under the profile. ruleName - name of the delivery rule which is unique within the endpoint.

func (RulesClient) DeletePreparer

func (client RulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RulesClient) DeleteResponder

func (client RulesClient) 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 (RulesClient) DeleteSender

func (client RulesClient) DeleteSender(req *http.Request) (future RulesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Get

func (client RulesClient) Get(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string) (result Rule, err error)

Get gets an existing delivery rule within a rule set. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. ruleSetName - name of the rule set under the profile. ruleName - name of the delivery rule which is unique within the endpoint.

func (RulesClient) GetPreparer

func (client RulesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RulesClient) GetResponder

func (client RulesClient) GetResponder(resp *http.Response) (result Rule, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RulesClient) GetSender

func (client RulesClient) 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 (RulesClient) ListByRuleSet

func (client RulesClient) ListByRuleSet(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result RuleListResultPage, err error)

ListByRuleSet lists all of the existing delivery rules within a rule set. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. ruleSetName - name of the rule set under the profile.

func (RulesClient) ListByRuleSetComplete

func (client RulesClient) ListByRuleSetComplete(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (result RuleListResultIterator, err error)

ListByRuleSetComplete enumerates all values, automatically crossing page boundaries as required.

func (RulesClient) ListByRuleSetPreparer

func (client RulesClient) ListByRuleSetPreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string) (*http.Request, error)

ListByRuleSetPreparer prepares the ListByRuleSet request.

func (RulesClient) ListByRuleSetResponder

func (client RulesClient) ListByRuleSetResponder(resp *http.Response) (result RuleListResult, err error)

ListByRuleSetResponder handles the response to the ListByRuleSet request. The method always closes the http.Response Body.

func (RulesClient) ListByRuleSetSender

func (client RulesClient) ListByRuleSetSender(req *http.Request) (*http.Response, error)

ListByRuleSetSender sends the ListByRuleSet request. The method will close the http.Response Body if it receives an error.

func (RulesClient) Update

func (client RulesClient) Update(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, ruleUpdateProperties RuleUpdateParameters) (result RulesUpdateFuture, err error)

Update updates an existing delivery rule within a rule set. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. ruleSetName - name of the rule set under the profile. ruleName - name of the delivery rule which is unique within the endpoint. ruleUpdateProperties - delivery rule properties

func (RulesClient) UpdatePreparer

func (client RulesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, ruleSetName string, ruleName string, ruleUpdateProperties RuleUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RulesClient) UpdateResponder

func (client RulesClient) UpdateResponder(resp *http.Response) (result Rule, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RulesClient) UpdateSender

func (client RulesClient) UpdateSender(req *http.Request) (future RulesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RulesCreateFuture

type RulesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RulesClient) (Rule, error)
}

RulesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RulesCreateFuture) UnmarshalJSON

func (future *RulesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RulesDeleteFuture

type RulesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RulesClient) (autorest.Response, error)
}

RulesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RulesDeleteFuture) UnmarshalJSON

func (future *RulesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RulesUpdateFuture

type RulesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(RulesClient) (Rule, error)
}

RulesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*RulesUpdateFuture) UnmarshalJSON

func (future *RulesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Secret

type Secret struct {
	autorest.Response `json:"-"`
	*SecretProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

Secret friendly Secret name mapping to the any Secret or secret related information.

func (Secret) MarshalJSON

func (s Secret) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Secret.

func (*Secret) UnmarshalJSON

func (s *Secret) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Secret struct.

type SecretListResult

type SecretListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of AzureFrontDoor secrets within a profile.
	Value *[]Secret `json:"value,omitempty"`
	// NextLink - URL to get the next set of Secret objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

SecretListResult result of the request to list secrets. It contains a list of Secret objects and a URL link to get the next set of results.

func (SecretListResult) IsEmpty

func (slr SecretListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SecretListResult) MarshalJSON

func (slr SecretListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecretListResult.

type SecretListResultIterator

type SecretListResultIterator struct {
	// contains filtered or unexported fields
}

SecretListResultIterator provides access to a complete listing of Secret values.

func NewSecretListResultIterator

func NewSecretListResultIterator(page SecretListResultPage) SecretListResultIterator

Creates a new instance of the SecretListResultIterator type.

func (*SecretListResultIterator) Next

func (iter *SecretListResultIterator) 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 (*SecretListResultIterator) NextWithContext

func (iter *SecretListResultIterator) 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 (SecretListResultIterator) NotDone

func (iter SecretListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecretListResultIterator) Response

Response returns the raw server response from the last page request.

func (SecretListResultIterator) Value

func (iter SecretListResultIterator) Value() Secret

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecretListResultPage

type SecretListResultPage struct {
	// contains filtered or unexported fields
}

SecretListResultPage contains a page of Secret values.

func NewSecretListResultPage

func NewSecretListResultPage(cur SecretListResult, getNextPage func(context.Context, SecretListResult) (SecretListResult, error)) SecretListResultPage

Creates a new instance of the SecretListResultPage type.

func (*SecretListResultPage) Next

func (page *SecretListResultPage) 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 (*SecretListResultPage) NextWithContext

func (page *SecretListResultPage) 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 (SecretListResultPage) NotDone

func (page SecretListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecretListResultPage) Response

func (page SecretListResultPage) Response() SecretListResult

Response returns the raw server response from the last page request.

func (SecretListResultPage) Values

func (page SecretListResultPage) Values() []Secret

Values returns the slice of values for the current page or nil if there are no values.

type SecretParameters

type SecretParameters struct {
	// Type - Possible values include: 'TypeBasicSecretParametersTypeSecretParameters', 'TypeBasicSecretParametersTypeURLSigningKey', 'TypeBasicSecretParametersTypeManagedCertificate', 'TypeBasicSecretParametersTypeCustomerCertificate'
	Type TypeBasicSecretParameters `json:"type,omitempty"`
}

SecretParameters the json object containing secret parameters

func (SecretParameters) AsBasicSecretParameters

func (sp SecretParameters) AsBasicSecretParameters() (BasicSecretParameters, bool)

AsBasicSecretParameters is the BasicSecretParameters implementation for SecretParameters.

func (SecretParameters) AsCustomerCertificateParameters

func (sp SecretParameters) AsCustomerCertificateParameters() (*CustomerCertificateParameters, bool)

AsCustomerCertificateParameters is the BasicSecretParameters implementation for SecretParameters.

func (SecretParameters) AsManagedCertificateParameters

func (sp SecretParameters) AsManagedCertificateParameters() (*ManagedCertificateParameters, bool)

AsManagedCertificateParameters is the BasicSecretParameters implementation for SecretParameters.

func (SecretParameters) AsSecretParameters

func (sp SecretParameters) AsSecretParameters() (*SecretParameters, bool)

AsSecretParameters is the BasicSecretParameters implementation for SecretParameters.

func (SecretParameters) AsURLSigningKeyParameters

func (sp SecretParameters) AsURLSigningKeyParameters() (*URLSigningKeyParameters, bool)

AsURLSigningKeyParameters is the BasicSecretParameters implementation for SecretParameters.

func (SecretParameters) MarshalJSON

func (sp SecretParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecretParameters.

type SecretProperties

type SecretProperties struct {
	// Parameters - object which contains secret parameters
	Parameters BasicSecretParameters `json:"parameters,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

SecretProperties the JSON object that contains the properties of the Secret to create.

func (SecretProperties) MarshalJSON

func (sp SecretProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecretProperties.

func (*SecretProperties) UnmarshalJSON

func (sp *SecretProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecretProperties struct.

type SecretsClient

type SecretsClient struct {
	BaseClient
}

SecretsClient is the cdn Management Client

func NewSecretsClient

func NewSecretsClient(subscriptionID string) SecretsClient

NewSecretsClient creates an instance of the SecretsClient client.

func NewSecretsClientWithBaseURI

func NewSecretsClientWithBaseURI(baseURI string, subscriptionID string) SecretsClient

NewSecretsClientWithBaseURI creates an instance of the SecretsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecretsClient) Create

func (client SecretsClient) Create(ctx context.Context, resourceGroupName string, profileName string, secretName string, secret Secret) (result SecretsCreateFuture, err error)

Create creates a new Secret within the specified 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. secretName - name of the Secret under the profile. secret - the Secret properties.

func (SecretsClient) CreatePreparer

func (client SecretsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, secretName string, secret Secret) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SecretsClient) CreateResponder

func (client SecretsClient) CreateResponder(resp *http.Response) (result Secret, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SecretsClient) CreateSender

func (client SecretsClient) CreateSender(req *http.Request) (future SecretsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SecretsClient) Delete

func (client SecretsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, secretName string) (result SecretsDeleteFuture, err error)

Delete deletes an existing Secret within 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. secretName - name of the Secret under the profile.

func (SecretsClient) DeletePreparer

func (client SecretsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, secretName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecretsClient) DeleteResponder

func (client SecretsClient) 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 (SecretsClient) DeleteSender

func (client SecretsClient) DeleteSender(req *http.Request) (future SecretsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SecretsClient) Get

func (client SecretsClient) Get(ctx context.Context, resourceGroupName string, profileName string, secretName string) (result Secret, err error)

Get gets an existing Secret within a 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. secretName - name of the Secret under the profile.

func (SecretsClient) GetPreparer

func (client SecretsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, secretName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecretsClient) GetResponder

func (client SecretsClient) GetResponder(resp *http.Response) (result Secret, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SecretsClient) GetSender

func (client SecretsClient) 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 (SecretsClient) ListByProfile

func (client SecretsClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result SecretListResultPage, err error)

ListByProfile lists existing AzureFrontDoor secrets. 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 (SecretsClient) ListByProfileComplete

func (client SecretsClient) ListByProfileComplete(ctx context.Context, resourceGroupName string, profileName string) (result SecretListResultIterator, err error)

ListByProfileComplete enumerates all values, automatically crossing page boundaries as required.

func (SecretsClient) ListByProfilePreparer

func (client SecretsClient) ListByProfilePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

ListByProfilePreparer prepares the ListByProfile request.

func (SecretsClient) ListByProfileResponder

func (client SecretsClient) ListByProfileResponder(resp *http.Response) (result SecretListResult, err error)

ListByProfileResponder handles the response to the ListByProfile request. The method always closes the http.Response Body.

func (SecretsClient) ListByProfileSender

func (client SecretsClient) 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 (SecretsClient) Update

func (client SecretsClient) Update(ctx context.Context, resourceGroupName string, profileName string, secretName string, secretProperties SecretProperties) (result SecretsUpdateFuture, err error)

Update updates an existing Secret within a 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. secretName - name of the Secret under the profile. secretProperties - secret properties

func (SecretsClient) UpdatePreparer

func (client SecretsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, secretName string, secretProperties SecretProperties) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SecretsClient) UpdateResponder

func (client SecretsClient) UpdateResponder(resp *http.Response) (result Secret, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SecretsClient) UpdateSender

func (client SecretsClient) UpdateSender(req *http.Request) (future SecretsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SecretsCreateFuture

type SecretsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecretsClient) (Secret, error)
}

SecretsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecretsCreateFuture) UnmarshalJSON

func (future *SecretsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecretsDeleteFuture

type SecretsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecretsClient) (autorest.Response, error)
}

SecretsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecretsDeleteFuture) UnmarshalJSON

func (future *SecretsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecretsUpdateFuture

type SecretsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecretsClient) (Secret, error)
}

SecretsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecretsUpdateFuture) UnmarshalJSON

func (future *SecretsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecurityPoliciesClient

type SecurityPoliciesClient struct {
	BaseClient
}

SecurityPoliciesClient is the cdn Management Client

func NewSecurityPoliciesClient

func NewSecurityPoliciesClient(subscriptionID string) SecurityPoliciesClient

NewSecurityPoliciesClient creates an instance of the SecurityPoliciesClient client.

func NewSecurityPoliciesClientWithBaseURI

func NewSecurityPoliciesClientWithBaseURI(baseURI string, subscriptionID string) SecurityPoliciesClient

NewSecurityPoliciesClientWithBaseURI creates an instance of the SecurityPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecurityPoliciesClient) Create

func (client SecurityPoliciesClient) Create(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicy SecurityPolicy) (result SecurityPoliciesCreateFuture, err error)

Create creates a new security policy within the specified 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. securityPolicyName - name of the security policy under the profile. securityPolicy - the security policy properties.

func (SecurityPoliciesClient) CreatePreparer

func (client SecurityPoliciesClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicy SecurityPolicy) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SecurityPoliciesClient) CreateResponder

func (client SecurityPoliciesClient) CreateResponder(resp *http.Response) (result SecurityPolicy, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SecurityPoliciesClient) CreateSender

func (client SecurityPoliciesClient) CreateSender(req *http.Request) (future SecurityPoliciesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SecurityPoliciesClient) Delete

func (client SecurityPoliciesClient) Delete(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string) (result SecurityPoliciesDeleteFuture, err error)

Delete deletes an existing security policy within 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. securityPolicyName - name of the Secret under the profile.

func (SecurityPoliciesClient) DeletePreparer

func (client SecurityPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecurityPoliciesClient) DeleteResponder

func (client SecurityPoliciesClient) 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 (SecurityPoliciesClient) DeleteSender

func (client SecurityPoliciesClient) DeleteSender(req *http.Request) (future SecurityPoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SecurityPoliciesClient) Get

func (client SecurityPoliciesClient) Get(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string) (result SecurityPolicy, err error)

Get gets an existing security policy within a 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. securityPolicyName - name of the security policy under the profile.

func (SecurityPoliciesClient) GetPreparer

func (client SecurityPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecurityPoliciesClient) GetResponder

func (client SecurityPoliciesClient) GetResponder(resp *http.Response) (result SecurityPolicy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SecurityPoliciesClient) GetSender

func (client SecurityPoliciesClient) 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 (SecurityPoliciesClient) ListByProfile

func (client SecurityPoliciesClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result SecurityPolicyListResultPage, err error)

ListByProfile lists security policies associated with the 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.

func (SecurityPoliciesClient) ListByProfileComplete

func (client SecurityPoliciesClient) ListByProfileComplete(ctx context.Context, resourceGroupName string, profileName string) (result SecurityPolicyListResultIterator, err error)

ListByProfileComplete enumerates all values, automatically crossing page boundaries as required.

func (SecurityPoliciesClient) ListByProfilePreparer

func (client SecurityPoliciesClient) ListByProfilePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)

ListByProfilePreparer prepares the ListByProfile request.

func (SecurityPoliciesClient) ListByProfileResponder

func (client SecurityPoliciesClient) ListByProfileResponder(resp *http.Response) (result SecurityPolicyListResult, err error)

ListByProfileResponder handles the response to the ListByProfile request. The method always closes the http.Response Body.

func (SecurityPoliciesClient) ListByProfileSender

func (client SecurityPoliciesClient) 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 (SecurityPoliciesClient) Patch

func (client SecurityPoliciesClient) Patch(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicyProperties SecurityPolicyProperties) (result SecurityPoliciesPatchFuture, err error)

Patch updates an existing Secret within a 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. securityPolicyName - name of the security policy under the profile. securityPolicyProperties - security policy update properties

func (SecurityPoliciesClient) PatchPreparer

func (client SecurityPoliciesClient) PatchPreparer(ctx context.Context, resourceGroupName string, profileName string, securityPolicyName string, securityPolicyProperties SecurityPolicyProperties) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (SecurityPoliciesClient) PatchResponder

func (client SecurityPoliciesClient) PatchResponder(resp *http.Response) (result SecurityPolicy, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (SecurityPoliciesClient) PatchSender

func (client SecurityPoliciesClient) PatchSender(req *http.Request) (future SecurityPoliciesPatchFuture, err error)

PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.

type SecurityPoliciesCreateFuture

type SecurityPoliciesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityPoliciesClient) (SecurityPolicy, error)
}

SecurityPoliciesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityPoliciesCreateFuture) UnmarshalJSON

func (future *SecurityPoliciesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecurityPoliciesDeleteFuture

type SecurityPoliciesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityPoliciesClient) (autorest.Response, error)
}

SecurityPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityPoliciesDeleteFuture) UnmarshalJSON

func (future *SecurityPoliciesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecurityPoliciesPatchFuture

type SecurityPoliciesPatchFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(SecurityPoliciesClient) (SecurityPolicy, error)
}

SecurityPoliciesPatchFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*SecurityPoliciesPatchFuture) UnmarshalJSON

func (future *SecurityPoliciesPatchFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SecurityPolicy

type SecurityPolicy struct {
	autorest.Response         `json:"-"`
	*SecurityPolicyProperties `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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

SecurityPolicy securityPolicy association for AzureFrontDoor profile

func (SecurityPolicy) MarshalJSON

func (sp SecurityPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityPolicy.

func (*SecurityPolicy) UnmarshalJSON

func (sp *SecurityPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecurityPolicy struct.

type SecurityPolicyListResult

type SecurityPolicyListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Security policies within a profile
	Value *[]SecurityPolicy `json:"value,omitempty"`
	// NextLink - URL to get the next set of security policy objects if there is any.
	NextLink *string `json:"nextLink,omitempty"`
}

SecurityPolicyListResult result of the request to list security policies. It contains a list of security policy objects and a URL link to get the next set of results.

func (SecurityPolicyListResult) IsEmpty

func (splr SecurityPolicyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (SecurityPolicyListResult) MarshalJSON

func (splr SecurityPolicyListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityPolicyListResult.

type SecurityPolicyListResultIterator

type SecurityPolicyListResultIterator struct {
	// contains filtered or unexported fields
}

SecurityPolicyListResultIterator provides access to a complete listing of SecurityPolicy values.

func NewSecurityPolicyListResultIterator

func NewSecurityPolicyListResultIterator(page SecurityPolicyListResultPage) SecurityPolicyListResultIterator

Creates a new instance of the SecurityPolicyListResultIterator type.

func (*SecurityPolicyListResultIterator) Next

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 (*SecurityPolicyListResultIterator) NextWithContext

func (iter *SecurityPolicyListResultIterator) 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 (SecurityPolicyListResultIterator) NotDone

func (iter SecurityPolicyListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SecurityPolicyListResultIterator) Response

Response returns the raw server response from the last page request.

func (SecurityPolicyListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SecurityPolicyListResultPage

type SecurityPolicyListResultPage struct {
	// contains filtered or unexported fields
}

SecurityPolicyListResultPage contains a page of SecurityPolicy values.

func NewSecurityPolicyListResultPage

Creates a new instance of the SecurityPolicyListResultPage type.

func (*SecurityPolicyListResultPage) Next

func (page *SecurityPolicyListResultPage) 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 (*SecurityPolicyListResultPage) NextWithContext

func (page *SecurityPolicyListResultPage) 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 (SecurityPolicyListResultPage) NotDone

func (page SecurityPolicyListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SecurityPolicyListResultPage) Response

Response returns the raw server response from the last page request.

func (SecurityPolicyListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SecurityPolicyParameters

type SecurityPolicyParameters struct {
	// Type - Possible values include: 'TypeSecurityPolicyParameters', 'TypeWebApplicationFirewall'
	Type Type `json:"type,omitempty"`
}

SecurityPolicyParameters the json object containing security policy parameters

func (SecurityPolicyParameters) AsBasicSecurityPolicyParameters

func (spp SecurityPolicyParameters) AsBasicSecurityPolicyParameters() (BasicSecurityPolicyParameters, bool)

AsBasicSecurityPolicyParameters is the BasicSecurityPolicyParameters implementation for SecurityPolicyParameters.

func (SecurityPolicyParameters) AsSecurityPolicyParameters

func (spp SecurityPolicyParameters) AsSecurityPolicyParameters() (*SecurityPolicyParameters, bool)

AsSecurityPolicyParameters is the BasicSecurityPolicyParameters implementation for SecurityPolicyParameters.

func (SecurityPolicyParameters) AsSecurityPolicyWebApplicationFirewallParameters

func (spp SecurityPolicyParameters) AsSecurityPolicyWebApplicationFirewallParameters() (*SecurityPolicyWebApplicationFirewallParameters, bool)

AsSecurityPolicyWebApplicationFirewallParameters is the BasicSecurityPolicyParameters implementation for SecurityPolicyParameters.

func (SecurityPolicyParameters) MarshalJSON

func (spp SecurityPolicyParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityPolicyParameters.

type SecurityPolicyProperties

type SecurityPolicyProperties struct {
	// Parameters - object which contains security policy parameters
	Parameters BasicSecurityPolicyParameters `json:"parameters,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning status. Possible values include: 'AfdProvisioningStateSucceeded', 'AfdProvisioningStateFailed', 'AfdProvisioningStateUpdating', 'AfdProvisioningStateDeleting', 'AfdProvisioningStateCreating'
	ProvisioningState AfdProvisioningState `json:"provisioningState,omitempty"`
	// DeploymentStatus - READ-ONLY; Possible values include: 'DeploymentStatusNotStarted', 'DeploymentStatusInProgress', 'DeploymentStatusSucceeded', 'DeploymentStatusFailed'
	DeploymentStatus DeploymentStatus `json:"deploymentStatus,omitempty"`
}

SecurityPolicyProperties the json object that contains properties required to create a security policy

func (SecurityPolicyProperties) MarshalJSON

func (spp SecurityPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityPolicyProperties.

func (*SecurityPolicyProperties) UnmarshalJSON

func (spp *SecurityPolicyProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecurityPolicyProperties struct.

type SecurityPolicyWebApplicationFirewallAssociation

type SecurityPolicyWebApplicationFirewallAssociation struct {
	// Domains - List of domains.
	Domains *[]ResourceReference `json:"domains,omitempty"`
	// PatternsToMatch - List of paths
	PatternsToMatch *[]string `json:"patternsToMatch,omitempty"`
}

SecurityPolicyWebApplicationFirewallAssociation settings for security policy patterns to match

type SecurityPolicyWebApplicationFirewallParameters

type SecurityPolicyWebApplicationFirewallParameters struct {
	// WafPolicy - Resource ID.
	WafPolicy *ResourceReference `json:"wafPolicy,omitempty"`
	// Associations - Waf associations
	Associations *[]SecurityPolicyWebApplicationFirewallAssociation `json:"associations,omitempty"`
	// Type - Possible values include: 'TypeSecurityPolicyParameters', 'TypeWebApplicationFirewall'
	Type Type `json:"type,omitempty"`
}

SecurityPolicyWebApplicationFirewallParameters the json object containing security policy waf parameters

func (SecurityPolicyWebApplicationFirewallParameters) AsBasicSecurityPolicyParameters

func (spwafp SecurityPolicyWebApplicationFirewallParameters) AsBasicSecurityPolicyParameters() (BasicSecurityPolicyParameters, bool)

AsBasicSecurityPolicyParameters is the BasicSecurityPolicyParameters implementation for SecurityPolicyWebApplicationFirewallParameters.

func (SecurityPolicyWebApplicationFirewallParameters) AsSecurityPolicyParameters

func (spwafp SecurityPolicyWebApplicationFirewallParameters) AsSecurityPolicyParameters() (*SecurityPolicyParameters, bool)

AsSecurityPolicyParameters is the BasicSecurityPolicyParameters implementation for SecurityPolicyWebApplicationFirewallParameters.

func (SecurityPolicyWebApplicationFirewallParameters) AsSecurityPolicyWebApplicationFirewallParameters

func (spwafp SecurityPolicyWebApplicationFirewallParameters) AsSecurityPolicyWebApplicationFirewallParameters() (*SecurityPolicyWebApplicationFirewallParameters, bool)

AsSecurityPolicyWebApplicationFirewallParameters is the BasicSecurityPolicyParameters implementation for SecurityPolicyWebApplicationFirewallParameters.

func (SecurityPolicyWebApplicationFirewallParameters) MarshalJSON

func (spwafp SecurityPolicyWebApplicationFirewallParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecurityPolicyWebApplicationFirewallParameters.

type SharedPrivateLinkResourceProperties

type SharedPrivateLinkResourceProperties struct {
	// PrivateLink - The resource id of the resource the shared private link resource is for.
	PrivateLink *ResourceReference `json:"privateLink,omitempty"`
	// PrivateLinkLocation - The location of the shared private link resource
	PrivateLinkLocation *string `json:"privateLinkLocation,omitempty"`
	// GroupID - The group id from the provider of resource the shared private link resource is for.
	GroupID *string `json:"groupId,omitempty"`
	// RequestMessage - The request message for requesting approval of the shared private link resource.
	RequestMessage *string `json:"requestMessage,omitempty"`
	// Status - Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected, or Timeout. Possible values include: 'SharedPrivateLinkResourceStatusPending', 'SharedPrivateLinkResourceStatusApproved', 'SharedPrivateLinkResourceStatusRejected', 'SharedPrivateLinkResourceStatusDisconnected', 'SharedPrivateLinkResourceStatusTimeout'
	Status SharedPrivateLinkResourceStatus `json:"status,omitempty"`
}

SharedPrivateLinkResourceProperties describes the properties of an existing Shared Private Link Resource to use when connecting to a private origin.

type SharedPrivateLinkResourceStatus

type SharedPrivateLinkResourceStatus string

SharedPrivateLinkResourceStatus enumerates the values for shared private link resource status.

const (
	// SharedPrivateLinkResourceStatusApproved ...
	SharedPrivateLinkResourceStatusApproved SharedPrivateLinkResourceStatus = "Approved"
	// SharedPrivateLinkResourceStatusDisconnected ...
	SharedPrivateLinkResourceStatusDisconnected SharedPrivateLinkResourceStatus = "Disconnected"
	// SharedPrivateLinkResourceStatusPending ...
	SharedPrivateLinkResourceStatusPending SharedPrivateLinkResourceStatus = "Pending"
	// SharedPrivateLinkResourceStatusRejected ...
	SharedPrivateLinkResourceStatusRejected SharedPrivateLinkResourceStatus = "Rejected"
	// SharedPrivateLinkResourceStatusTimeout ...
	SharedPrivateLinkResourceStatusTimeout SharedPrivateLinkResourceStatus = "Timeout"
)

func PossibleSharedPrivateLinkResourceStatusValues

func PossibleSharedPrivateLinkResourceStatusValues() []SharedPrivateLinkResourceStatus

PossibleSharedPrivateLinkResourceStatusValues returns an array of possible values for the SharedPrivateLinkResourceStatus const type.

type Sku

type Sku struct {
	// Name - Name of the pricing tier. Possible values include: 'SkuNameStandardVerizon', 'SkuNamePremiumVerizon', 'SkuNameCustomVerizon', 'SkuNameStandardAkamai', 'SkuNameStandardChinaCdn', 'SkuNameStandardMicrosoft', 'SkuNamePremiumChinaCdn', 'SkuNameStandardAzureFrontDoor', 'SkuNamePremiumAzureFrontDoor', 'SkuNameStandard955BandWidthChinaCdn', 'SkuNameStandardAvgBandWidthChinaCdn', 'SkuNameStandardPlusChinaCdn', 'SkuNameStandardPlus955BandWidthChinaCdn', 'SkuNameStandardPlusAvgBandWidthChinaCdn'
	Name SkuName `json:"name,omitempty"`
}

Sku the pricing tier (defines a CDN provider, feature list and rate) of the CDN profile.

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// SkuNameCustomVerizon ...
	SkuNameCustomVerizon SkuName = "Custom_Verizon"
	// SkuNamePremiumAzureFrontDoor ...
	SkuNamePremiumAzureFrontDoor SkuName = "Premium_AzureFrontDoor"
	// SkuNamePremiumChinaCdn ...
	SkuNamePremiumChinaCdn SkuName = "Premium_ChinaCdn"
	// SkuNamePremiumVerizon ...
	SkuNamePremiumVerizon SkuName = "Premium_Verizon"
	// SkuNameStandard955BandWidthChinaCdn ...
	SkuNameStandard955BandWidthChinaCdn SkuName = "Standard_955BandWidth_ChinaCdn"
	// SkuNameStandardAkamai ...
	SkuNameStandardAkamai SkuName = "Standard_Akamai"
	// SkuNameStandardAvgBandWidthChinaCdn ...
	SkuNameStandardAvgBandWidthChinaCdn SkuName = "Standard_AvgBandWidth_ChinaCdn"
	// SkuNameStandardAzureFrontDoor ...
	SkuNameStandardAzureFrontDoor SkuName = "Standard_AzureFrontDoor"
	// SkuNameStandardChinaCdn ...
	SkuNameStandardChinaCdn SkuName = "Standard_ChinaCdn"
	// SkuNameStandardMicrosoft ...
	SkuNameStandardMicrosoft SkuName = "Standard_Microsoft"
	// SkuNameStandardPlus955BandWidthChinaCdn ...
	SkuNameStandardPlus955BandWidthChinaCdn SkuName = "StandardPlus_955BandWidth_ChinaCdn"
	// SkuNameStandardPlusAvgBandWidthChinaCdn ...
	SkuNameStandardPlusAvgBandWidthChinaCdn SkuName = "StandardPlus_AvgBandWidth_ChinaCdn"
	// SkuNameStandardPlusChinaCdn ...
	SkuNameStandardPlusChinaCdn SkuName = "StandardPlus_ChinaCdn"
	// SkuNameStandardVerizon ...
	SkuNameStandardVerizon SkuName = "Standard_Verizon"
)

func PossibleSkuNameValues

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type SsoURI

type SsoURI struct {
	autorest.Response `json:"-"`
	// SsoURIValue - READ-ONLY; The URI used to login to the supplemental portal.
	SsoURIValue *string `json:"ssoUriValue,omitempty"`
}

SsoURI the URI required to login to the supplemental portal from the Azure portal.

func (SsoURI) MarshalJSON

func (su SsoURI) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SsoURI.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusAccessDenied ...
	StatusAccessDenied Status = "AccessDenied"
	// StatusCertificateExpired ...
	StatusCertificateExpired Status = "CertificateExpired"
	// StatusInvalid ...
	StatusInvalid Status = "Invalid"
	// StatusValid ...
	StatusValid Status = "Valid"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type SupportedOptimizationTypesListResult

type SupportedOptimizationTypesListResult struct {
	autorest.Response `json:"-"`
	// SupportedOptimizationTypes - READ-ONLY; Supported optimization types for a profile.
	SupportedOptimizationTypes *[]OptimizationType `json:"supportedOptimizationTypes,omitempty"`
}

SupportedOptimizationTypesListResult the result of the GetSupportedOptimizationTypes API

func (SupportedOptimizationTypesListResult) MarshalJSON

func (sotlr SupportedOptimizationTypesListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SupportedOptimizationTypesListResult.

type SystemData

type SystemData struct {
	// CreatedBy - An identifier for the identity that created the resource
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'IdentityTypeUser', 'IdentityTypeApplication', 'IdentityTypeManagedIdentity', 'IdentityTypeKey'
	CreatedByType IdentityType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC)
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - An identifier for the identity that last modified the resource
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'IdentityTypeUser', 'IdentityTypeApplication', 'IdentityTypeManagedIdentity', 'IdentityTypeKey'
	LastModifiedByType IdentityType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData read only system data

type TrackedResource

type TrackedResource struct {
	// 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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

TrackedResource the resource model definition for a ARM tracked top level resource.

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Transform

type Transform string

Transform enumerates the values for transform.

const (
	// TransformLowercase ...
	TransformLowercase Transform = "Lowercase"
	// TransformUppercase ...
	TransformUppercase Transform = "Uppercase"
)

func PossibleTransformValues

func PossibleTransformValues() []Transform

PossibleTransformValues returns an array of possible values for the Transform const type.

type TransformType

type TransformType string

TransformType enumerates the values for transform type.

const (
	// TransformTypeLowercase ...
	TransformTypeLowercase TransformType = "Lowercase"
	// TransformTypeRemoveNulls ...
	TransformTypeRemoveNulls TransformType = "RemoveNulls"
	// TransformTypeTrim ...
	TransformTypeTrim TransformType = "Trim"
	// TransformTypeUppercase ...
	TransformTypeUppercase TransformType = "Uppercase"
	// TransformTypeURLDecode ...
	TransformTypeURLDecode TransformType = "UrlDecode"
	// TransformTypeURLEncode ...
	TransformTypeURLEncode TransformType = "UrlEncode"
)

func PossibleTransformTypeValues

func PossibleTransformTypeValues() []TransformType

PossibleTransformTypeValues returns an array of possible values for the TransformType const type.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeSecurityPolicyParameters ...
	TypeSecurityPolicyParameters Type = "SecurityPolicyParameters"
	// TypeWebApplicationFirewall ...
	TypeWebApplicationFirewall Type = "WebApplicationFirewall"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicSecretParameters

type TypeBasicSecretParameters string

TypeBasicSecretParameters enumerates the values for type basic secret parameters.

const (
	// TypeBasicSecretParametersTypeCustomerCertificate ...
	TypeBasicSecretParametersTypeCustomerCertificate TypeBasicSecretParameters = "CustomerCertificate"
	// TypeBasicSecretParametersTypeManagedCertificate ...
	TypeBasicSecretParametersTypeManagedCertificate TypeBasicSecretParameters = "ManagedCertificate"
	// TypeBasicSecretParametersTypeSecretParameters ...
	TypeBasicSecretParametersTypeSecretParameters TypeBasicSecretParameters = "SecretParameters"
	// TypeBasicSecretParametersTypeURLSigningKey ...
	TypeBasicSecretParametersTypeURLSigningKey TypeBasicSecretParameters = "UrlSigningKey"
)

func PossibleTypeBasicSecretParametersValues

func PossibleTypeBasicSecretParametersValues() []TypeBasicSecretParameters

PossibleTypeBasicSecretParametersValues returns an array of possible values for the TypeBasicSecretParameters const type.

type URLFileExtensionMatchConditionParameters

type URLFileExtensionMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'URLFileExtensionOperatorAny', 'URLFileExtensionOperatorEqual', 'URLFileExtensionOperatorContains', 'URLFileExtensionOperatorBeginsWith', 'URLFileExtensionOperatorEndsWith', 'URLFileExtensionOperatorLessThan', 'URLFileExtensionOperatorLessThanOrEqual', 'URLFileExtensionOperatorGreaterThan', 'URLFileExtensionOperatorGreaterThanOrEqual', 'URLFileExtensionOperatorRegEx'
	Operator URLFileExtensionOperator `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"`
}

URLFileExtensionMatchConditionParameters defines the parameters for UrlFileExtension match conditions

type URLFileExtensionOperator

type URLFileExtensionOperator string

URLFileExtensionOperator enumerates the values for url file extension operator.

const (
	// URLFileExtensionOperatorAny ...
	URLFileExtensionOperatorAny URLFileExtensionOperator = "Any"
	// URLFileExtensionOperatorBeginsWith ...
	URLFileExtensionOperatorBeginsWith URLFileExtensionOperator = "BeginsWith"
	// URLFileExtensionOperatorContains ...
	URLFileExtensionOperatorContains URLFileExtensionOperator = "Contains"
	// URLFileExtensionOperatorEndsWith ...
	URLFileExtensionOperatorEndsWith URLFileExtensionOperator = "EndsWith"
	// URLFileExtensionOperatorEqual ...
	URLFileExtensionOperatorEqual URLFileExtensionOperator = "Equal"
	// URLFileExtensionOperatorGreaterThan ...
	URLFileExtensionOperatorGreaterThan URLFileExtensionOperator = "GreaterThan"
	// URLFileExtensionOperatorGreaterThanOrEqual ...
	URLFileExtensionOperatorGreaterThanOrEqual URLFileExtensionOperator = "GreaterThanOrEqual"
	// URLFileExtensionOperatorLessThan ...
	URLFileExtensionOperatorLessThan URLFileExtensionOperator = "LessThan"
	// URLFileExtensionOperatorLessThanOrEqual ...
	URLFileExtensionOperatorLessThanOrEqual URLFileExtensionOperator = "LessThanOrEqual"
	// URLFileExtensionOperatorRegEx ...
	URLFileExtensionOperatorRegEx URLFileExtensionOperator = "RegEx"
)

func PossibleURLFileExtensionOperatorValues

func PossibleURLFileExtensionOperatorValues() []URLFileExtensionOperator

PossibleURLFileExtensionOperatorValues returns an array of possible values for the URLFileExtensionOperator const type.

type URLFileNameMatchConditionParameters

type URLFileNameMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'URLFileNameOperatorAny', 'URLFileNameOperatorEqual', 'URLFileNameOperatorContains', 'URLFileNameOperatorBeginsWith', 'URLFileNameOperatorEndsWith', 'URLFileNameOperatorLessThan', 'URLFileNameOperatorLessThanOrEqual', 'URLFileNameOperatorGreaterThan', 'URLFileNameOperatorGreaterThanOrEqual', 'URLFileNameOperatorRegEx'
	Operator URLFileNameOperator `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"`
}

URLFileNameMatchConditionParameters defines the parameters for UrlFilename match conditions

type URLFileNameOperator

type URLFileNameOperator string

URLFileNameOperator enumerates the values for url file name operator.

const (
	// URLFileNameOperatorAny ...
	URLFileNameOperatorAny URLFileNameOperator = "Any"
	// URLFileNameOperatorBeginsWith ...
	URLFileNameOperatorBeginsWith URLFileNameOperator = "BeginsWith"
	// URLFileNameOperatorContains ...
	URLFileNameOperatorContains URLFileNameOperator = "Contains"
	// URLFileNameOperatorEndsWith ...
	URLFileNameOperatorEndsWith URLFileNameOperator = "EndsWith"
	// URLFileNameOperatorEqual ...
	URLFileNameOperatorEqual URLFileNameOperator = "Equal"
	// URLFileNameOperatorGreaterThan ...
	URLFileNameOperatorGreaterThan URLFileNameOperator = "GreaterThan"
	// URLFileNameOperatorGreaterThanOrEqual ...
	URLFileNameOperatorGreaterThanOrEqual URLFileNameOperator = "GreaterThanOrEqual"
	// URLFileNameOperatorLessThan ...
	URLFileNameOperatorLessThan URLFileNameOperator = "LessThan"
	// URLFileNameOperatorLessThanOrEqual ...
	URLFileNameOperatorLessThanOrEqual URLFileNameOperator = "LessThanOrEqual"
	// URLFileNameOperatorRegEx ...
	URLFileNameOperatorRegEx URLFileNameOperator = "RegEx"
)

func PossibleURLFileNameOperatorValues

func PossibleURLFileNameOperatorValues() []URLFileNameOperator

PossibleURLFileNameOperatorValues returns an array of possible values for the URLFileNameOperator const type.

type URLPathMatchConditionParameters

type URLPathMatchConditionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Operator - Describes operator to be matched. Possible values include: 'URLPathOperatorAny', 'URLPathOperatorEqual', 'URLPathOperatorContains', 'URLPathOperatorBeginsWith', 'URLPathOperatorEndsWith', 'URLPathOperatorLessThan', 'URLPathOperatorLessThanOrEqual', 'URLPathOperatorGreaterThan', 'URLPathOperatorGreaterThanOrEqual', 'URLPathOperatorWildcard', 'URLPathOperatorRegEx'
	Operator URLPathOperator `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"`
}

URLPathMatchConditionParameters defines the parameters for UrlPath match conditions

type URLPathOperator

type URLPathOperator string

URLPathOperator enumerates the values for url path operator.

const (
	// URLPathOperatorAny ...
	URLPathOperatorAny URLPathOperator = "Any"
	// URLPathOperatorBeginsWith ...
	URLPathOperatorBeginsWith URLPathOperator = "BeginsWith"
	// URLPathOperatorContains ...
	URLPathOperatorContains URLPathOperator = "Contains"
	// URLPathOperatorEndsWith ...
	URLPathOperatorEndsWith URLPathOperator = "EndsWith"
	// URLPathOperatorEqual ...
	URLPathOperatorEqual URLPathOperator = "Equal"
	// URLPathOperatorGreaterThan ...
	URLPathOperatorGreaterThan URLPathOperator = "GreaterThan"
	// URLPathOperatorGreaterThanOrEqual ...
	URLPathOperatorGreaterThanOrEqual URLPathOperator = "GreaterThanOrEqual"
	// URLPathOperatorLessThan ...
	URLPathOperatorLessThan URLPathOperator = "LessThan"
	// URLPathOperatorLessThanOrEqual ...
	URLPathOperatorLessThanOrEqual URLPathOperator = "LessThanOrEqual"
	// URLPathOperatorRegEx ...
	URLPathOperatorRegEx URLPathOperator = "RegEx"
	// URLPathOperatorWildcard ...
	URLPathOperatorWildcard URLPathOperator = "Wildcard"
)

func PossibleURLPathOperatorValues

func PossibleURLPathOperatorValues() []URLPathOperator

PossibleURLPathOperatorValues returns an array of possible values for the URLPathOperator const type.

type URLRedirectAction

type URLRedirectAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *URLRedirectActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

URLRedirectAction defines the url redirect action for the delivery rule.

func (URLRedirectAction) AsBasicDeliveryRuleAction

func (ura URLRedirectAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsDeliveryRuleAction

func (ura URLRedirectAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsDeliveryRuleCacheExpirationAction

func (ura URLRedirectAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsDeliveryRuleCacheKeyQueryStringAction

func (ura URLRedirectAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsDeliveryRuleRequestHeaderAction

func (ura URLRedirectAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsDeliveryRuleResponseHeaderAction

func (ura URLRedirectAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsOriginGroupOverrideAction

func (ura URLRedirectAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsURLRedirectAction

func (ura URLRedirectAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsURLRewriteAction

func (ura URLRedirectAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) AsURLSigningAction

func (ura URLRedirectAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for URLRedirectAction.

func (URLRedirectAction) MarshalJSON

func (ura URLRedirectAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for URLRedirectAction.

type URLRedirectActionParameters

type URLRedirectActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// RedirectType - The redirect type the rule will use when redirecting traffic. Possible values include: 'RedirectTypeMoved', 'RedirectTypeFound', 'RedirectTypeTemporaryRedirect', 'RedirectTypePermanentRedirect'
	RedirectType RedirectType `json:"redirectType,omitempty"`
	// DestinationProtocol - Protocol to use for the redirect. The default value is MatchRequest. Possible values include: 'DestinationProtocolMatchRequest', 'DestinationProtocolHTTP', 'DestinationProtocolHTTPS'
	DestinationProtocol DestinationProtocol `json:"destinationProtocol,omitempty"`
	// CustomPath - The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.
	CustomPath *string `json:"customPath,omitempty"`
	// CustomHostname - Host to redirect. Leave empty to use the incoming host as the destination host.
	CustomHostname *string `json:"customHostname,omitempty"`
	// CustomQueryString - The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in <key>=<value> format. ? and & will be added automatically so do not include them.
	CustomQueryString *string `json:"customQueryString,omitempty"`
	// CustomFragment - Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.
	CustomFragment *string `json:"customFragment,omitempty"`
}

URLRedirectActionParameters defines the parameters for the url redirect action.

type URLRewriteAction

type URLRewriteAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *URLRewriteActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

URLRewriteAction defines the url rewrite action for the delivery rule.

func (URLRewriteAction) AsBasicDeliveryRuleAction

func (ura URLRewriteAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsDeliveryRuleAction

func (ura URLRewriteAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsDeliveryRuleCacheExpirationAction

func (ura URLRewriteAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsDeliveryRuleCacheKeyQueryStringAction

func (ura URLRewriteAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsDeliveryRuleRequestHeaderAction

func (ura URLRewriteAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsDeliveryRuleResponseHeaderAction

func (ura URLRewriteAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsOriginGroupOverrideAction

func (ura URLRewriteAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsURLRedirectAction

func (ura URLRewriteAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsURLRewriteAction

func (ura URLRewriteAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) AsURLSigningAction

func (ura URLRewriteAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for URLRewriteAction.

func (URLRewriteAction) MarshalJSON

func (ura URLRewriteAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for URLRewriteAction.

type URLRewriteActionParameters

type URLRewriteActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// SourcePattern - define a request URI pattern that identifies the type of requests that may be rewritten. If value is blank, all strings are matched.
	SourcePattern *string `json:"sourcePattern,omitempty"`
	// Destination - Define the relative URL to which the above requests will be rewritten by.
	Destination *string `json:"destination,omitempty"`
	// PreserveUnmatchedPath - Whether to preserve unmatched path. Default value is true.
	PreserveUnmatchedPath *bool `json:"preserveUnmatchedPath,omitempty"`
}

URLRewriteActionParameters defines the parameters for the url rewrite action.

type URLSigningAction

type URLSigningAction struct {
	// Parameters - Defines the parameters for the action.
	Parameters *URLSigningActionParameters `json:"parameters,omitempty"`
	// Name - Possible values include: 'NameBasicDeliveryRuleActionNameDeliveryRuleAction', 'NameBasicDeliveryRuleActionNameURLRedirect', 'NameBasicDeliveryRuleActionNameURLSigning', 'NameBasicDeliveryRuleActionNameOriginGroupOverride', 'NameBasicDeliveryRuleActionNameURLRewrite', 'NameBasicDeliveryRuleActionNameModifyRequestHeader', 'NameBasicDeliveryRuleActionNameModifyResponseHeader', 'NameBasicDeliveryRuleActionNameCacheExpiration', 'NameBasicDeliveryRuleActionNameCacheKeyQueryString'
	Name NameBasicDeliveryRuleAction `json:"name,omitempty"`
}

URLSigningAction defines the url signing action for the delivery rule.

func (URLSigningAction) AsBasicDeliveryRuleAction

func (usa URLSigningAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)

AsBasicDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsDeliveryRuleAction

func (usa URLSigningAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)

AsDeliveryRuleAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsDeliveryRuleCacheExpirationAction

func (usa URLSigningAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)

AsDeliveryRuleCacheExpirationAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsDeliveryRuleCacheKeyQueryStringAction

func (usa URLSigningAction) AsDeliveryRuleCacheKeyQueryStringAction() (*DeliveryRuleCacheKeyQueryStringAction, bool)

AsDeliveryRuleCacheKeyQueryStringAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsDeliveryRuleRequestHeaderAction

func (usa URLSigningAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)

AsDeliveryRuleRequestHeaderAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsDeliveryRuleResponseHeaderAction

func (usa URLSigningAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)

AsDeliveryRuleResponseHeaderAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsOriginGroupOverrideAction

func (usa URLSigningAction) AsOriginGroupOverrideAction() (*OriginGroupOverrideAction, bool)

AsOriginGroupOverrideAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsURLRedirectAction

func (usa URLSigningAction) AsURLRedirectAction() (*URLRedirectAction, bool)

AsURLRedirectAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsURLRewriteAction

func (usa URLSigningAction) AsURLRewriteAction() (*URLRewriteAction, bool)

AsURLRewriteAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) AsURLSigningAction

func (usa URLSigningAction) AsURLSigningAction() (*URLSigningAction, bool)

AsURLSigningAction is the BasicDeliveryRuleAction implementation for URLSigningAction.

func (URLSigningAction) MarshalJSON

func (usa URLSigningAction) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for URLSigningAction.

type URLSigningActionParameters

type URLSigningActionParameters struct {
	OdataType *string `json:"@odata.type,omitempty"`
	// Algorithm - Algorithm to use for URL signing. Possible values include: 'AlgorithmSHA256'
	Algorithm Algorithm `json:"algorithm,omitempty"`
	// ParameterNameOverride - Defines which query string parameters in the url to be considered for expires, key id etc.
	ParameterNameOverride *[]URLSigningParamIdentifier `json:"parameterNameOverride,omitempty"`
}

URLSigningActionParameters defines the parameters for the Url Signing action.

type URLSigningKey

type URLSigningKey struct {
	// KeyID - Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
	KeyID *string `json:"keyId,omitempty"`
	// KeySourceParameters - Defines the parameters for using customer key vault for Url Signing Key.
	KeySourceParameters *KeyVaultSigningKeyParameters `json:"keySourceParameters,omitempty"`
}

URLSigningKey url signing key

type URLSigningKeyParameters

type URLSigningKeyParameters struct {
	// KeyID - Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash.
	KeyID *string `json:"keyId,omitempty"`
	// SecretSource - Resource reference to the KV secret
	SecretSource *ResourceReference `json:"secretSource,omitempty"`
	// SecretVersion - Version of the secret to be used
	SecretVersion *string `json:"secretVersion,omitempty"`
	// Type - Possible values include: 'TypeBasicSecretParametersTypeSecretParameters', 'TypeBasicSecretParametersTypeURLSigningKey', 'TypeBasicSecretParametersTypeManagedCertificate', 'TypeBasicSecretParametersTypeCustomerCertificate'
	Type TypeBasicSecretParameters `json:"type,omitempty"`
}

URLSigningKeyParameters url signing key parameters

func (URLSigningKeyParameters) AsBasicSecretParameters

func (uskp URLSigningKeyParameters) AsBasicSecretParameters() (BasicSecretParameters, bool)

AsBasicSecretParameters is the BasicSecretParameters implementation for URLSigningKeyParameters.

func (URLSigningKeyParameters) AsCustomerCertificateParameters

func (uskp URLSigningKeyParameters) AsCustomerCertificateParameters() (*CustomerCertificateParameters, bool)

AsCustomerCertificateParameters is the BasicSecretParameters implementation for URLSigningKeyParameters.

func (URLSigningKeyParameters) AsManagedCertificateParameters

func (uskp URLSigningKeyParameters) AsManagedCertificateParameters() (*ManagedCertificateParameters, bool)

AsManagedCertificateParameters is the BasicSecretParameters implementation for URLSigningKeyParameters.

func (URLSigningKeyParameters) AsSecretParameters

func (uskp URLSigningKeyParameters) AsSecretParameters() (*SecretParameters, bool)

AsSecretParameters is the BasicSecretParameters implementation for URLSigningKeyParameters.

func (URLSigningKeyParameters) AsURLSigningKeyParameters

func (uskp URLSigningKeyParameters) AsURLSigningKeyParameters() (*URLSigningKeyParameters, bool)

AsURLSigningKeyParameters is the BasicSecretParameters implementation for URLSigningKeyParameters.

func (URLSigningKeyParameters) MarshalJSON

func (uskp URLSigningKeyParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for URLSigningKeyParameters.

type URLSigningParamIdentifier

type URLSigningParamIdentifier struct {
	// ParamIndicator - Indicates the purpose of the parameter. Possible values include: 'ParamIndicatorExpires', 'ParamIndicatorKeyID', 'ParamIndicatorSignature'
	ParamIndicator ParamIndicator `json:"paramIndicator,omitempty"`
	// ParamName - Parameter name
	ParamName *string `json:"paramName,omitempty"`
}

URLSigningParamIdentifier defines how to identify a parameter for a specific purpose e.g. expires

type Unit

type Unit string

Unit enumerates the values for unit.

const (
	// UnitBitsPerSecond ...
	UnitBitsPerSecond Unit = "bitsPerSecond"
	// UnitBytes ...
	UnitBytes Unit = "bytes"
	// UnitCount ...
	UnitCount Unit = "count"
)

func PossibleUnitValues

func PossibleUnitValues() []Unit

PossibleUnitValues returns an array of possible values for the Unit const type.

type Unit1

type Unit1 string

Unit1 enumerates the values for unit 1.

const (
	// Unit1Count ...
	Unit1Count Unit1 = "count"
)

func PossibleUnit1Values

func PossibleUnit1Values() []Unit1

PossibleUnit1Values returns an array of possible values for the Unit1 const type.

type Usage

type Usage struct {
	// ID - READ-ONLY; Resource identifier.
	ID *string `json:"id,omitempty"`
	// Unit - An enum describing the unit of measurement.
	Unit *string `json:"unit,omitempty"`
	// CurrentValue - The current value of the usage.
	CurrentValue *int64 `json:"currentValue,omitempty"`
	// Limit - The limit of usage.
	Limit *int64 `json:"limit,omitempty"`
	// Name - The name of the type of usage.
	Name *UsageName `json:"name,omitempty"`
}

Usage describes resource usage.

func (Usage) MarshalJSON

func (u Usage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Usage.

type UsageName

type UsageName struct {
	// Value - A string describing the resource name.
	Value *string `json:"value,omitempty"`
	// LocalizedValue - A localized string describing the resource name.
	LocalizedValue *string `json:"localizedValue,omitempty"`
}

UsageName the usage names.

type UsagesListResult

type UsagesListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of resource usages.
	Value *[]Usage `json:"value,omitempty"`
	// NextLink - URL to get the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

UsagesListResult the list usages operation response.

func (UsagesListResult) IsEmpty

func (ulr UsagesListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type UsagesListResultIterator

type UsagesListResultIterator struct {
	// contains filtered or unexported fields
}

UsagesListResultIterator provides access to a complete listing of Usage values.

func NewUsagesListResultIterator

func NewUsagesListResultIterator(page UsagesListResultPage) UsagesListResultIterator

Creates a new instance of the UsagesListResultIterator type.

func (*UsagesListResultIterator) Next

func (iter *UsagesListResultIterator) 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 (*UsagesListResultIterator) NextWithContext

func (iter *UsagesListResultIterator) 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 (UsagesListResultIterator) NotDone

func (iter UsagesListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (UsagesListResultIterator) Response

Response returns the raw server response from the last page request.

func (UsagesListResultIterator) Value

func (iter UsagesListResultIterator) Value() Usage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type UsagesListResultPage

type UsagesListResultPage struct {
	// contains filtered or unexported fields
}

UsagesListResultPage contains a page of Usage values.

func NewUsagesListResultPage

func NewUsagesListResultPage(cur UsagesListResult, getNextPage func(context.Context, UsagesListResult) (UsagesListResult, error)) UsagesListResultPage

Creates a new instance of the UsagesListResultPage type.

func (*UsagesListResultPage) Next

func (page *UsagesListResultPage) 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 (*UsagesListResultPage) NextWithContext

func (page *UsagesListResultPage) 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 (UsagesListResultPage) NotDone

func (page UsagesListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (UsagesListResultPage) Response

func (page UsagesListResultPage) Response() UsagesListResult

Response returns the raw server response from the last page request.

func (UsagesListResultPage) Values

func (page UsagesListResultPage) Values() []Usage

Values returns the slice of values for the current page or nil if there are no values.

type UserManagedHTTPSParameters

type UserManagedHTTPSParameters struct {
	// CertificateSourceParameters - Defines the certificate source parameters using user's keyvault certificate for enabling SSL.
	CertificateSourceParameters *KeyVaultCertificateSourceParameters `json:"certificateSourceParameters,omitempty"`
	// ProtocolType - Defines the TLS extension protocol that is used for secure delivery. Possible values include: 'ProtocolTypeServerNameIndication', 'ProtocolTypeIPBased'
	ProtocolType ProtocolType `json:"protocolType,omitempty"`
	// MinimumTLSVersion - TLS protocol version that will be used for Https. Possible values include: 'MinimumTLSVersionNone', 'MinimumTLSVersionTLS10', 'MinimumTLSVersionTLS12'
	MinimumTLSVersion MinimumTLSVersion `json:"minimumTlsVersion,omitempty"`
	// CertificateSource - Possible values include: 'CertificateSourceCustomDomainHTTPSParameters', 'CertificateSourceCdn', 'CertificateSourceAzureKeyVault'
	CertificateSource CertificateSource `json:"certificateSource,omitempty"`
}

UserManagedHTTPSParameters defines the certificate source parameters using user's keyvault certificate for enabling SSL.

func (UserManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters

func (umhp UserManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters() (BasicCustomDomainHTTPSParameters, bool)

AsBasicCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for UserManagedHTTPSParameters.

func (UserManagedHTTPSParameters) AsCustomDomainHTTPSParameters

func (umhp UserManagedHTTPSParameters) AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)

AsCustomDomainHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for UserManagedHTTPSParameters.

func (UserManagedHTTPSParameters) AsManagedHTTPSParameters

func (umhp UserManagedHTTPSParameters) AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)

AsManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for UserManagedHTTPSParameters.

func (UserManagedHTTPSParameters) AsUserManagedHTTPSParameters

func (umhp UserManagedHTTPSParameters) AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)

AsUserManagedHTTPSParameters is the BasicCustomDomainHTTPSParameters implementation for UserManagedHTTPSParameters.

func (UserManagedHTTPSParameters) MarshalJSON

func (umhp UserManagedHTTPSParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserManagedHTTPSParameters.

type ValidateClient

type ValidateClient struct {
	BaseClient
}

ValidateClient is the cdn Management Client

func NewValidateClient

func NewValidateClient(subscriptionID string) ValidateClient

NewValidateClient creates an instance of the ValidateClient client.

func NewValidateClientWithBaseURI

func NewValidateClientWithBaseURI(baseURI string, subscriptionID string) ValidateClient

NewValidateClientWithBaseURI creates an instance of the ValidateClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ValidateClient) SecretMethod

func (client ValidateClient) SecretMethod(ctx context.Context, validateSecretInput ValidateSecretInput) (result ValidateSecretOutput, err error)

SecretMethod validate a Secret in the profile. Parameters: validateSecretInput - the Secret source.

func (ValidateClient) SecretMethodPreparer

func (client ValidateClient) SecretMethodPreparer(ctx context.Context, validateSecretInput ValidateSecretInput) (*http.Request, error)

SecretMethodPreparer prepares the SecretMethod request.

func (ValidateClient) SecretMethodResponder

func (client ValidateClient) SecretMethodResponder(resp *http.Response) (result ValidateSecretOutput, err error)

SecretMethodResponder handles the response to the SecretMethod request. The method always closes the http.Response Body.

func (ValidateClient) SecretMethodSender

func (client ValidateClient) SecretMethodSender(req *http.Request) (*http.Response, error)

SecretMethodSender sends the SecretMethod request. The method will close the http.Response Body if it receives an error.

type ValidateCustomDomainInput

type ValidateCustomDomainInput struct {
	// HostName - The host name of the custom domain. Must be a domain name.
	HostName *string `json:"hostName,omitempty"`
}

ValidateCustomDomainInput input of the custom domain to be validated for DNS mapping.

type ValidateCustomDomainOutput

type ValidateCustomDomainOutput struct {
	autorest.Response `json:"-"`
	// CustomDomainValidated - READ-ONLY; Indicates whether the custom domain is valid or not.
	CustomDomainValidated *bool `json:"customDomainValidated,omitempty"`
	// Reason - READ-ONLY; The reason why the custom domain is not valid.
	Reason *string `json:"reason,omitempty"`
	// Message - READ-ONLY; Error message describing why the custom domain is not valid.
	Message *string `json:"message,omitempty"`
}

ValidateCustomDomainOutput output of custom domain validation.

func (ValidateCustomDomainOutput) MarshalJSON

func (vcdo ValidateCustomDomainOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ValidateCustomDomainOutput.

type ValidateProbeInput

type ValidateProbeInput struct {
	// ProbeURL - The probe URL to validate.
	ProbeURL *string `json:"probeURL,omitempty"`
}

ValidateProbeInput input of the validate probe API.

type ValidateProbeOutput

type ValidateProbeOutput struct {
	autorest.Response `json:"-"`
	// IsValid - READ-ONLY; Indicates whether the probe URL is accepted or not.
	IsValid *bool `json:"isValid,omitempty"`
	// ErrorCode - READ-ONLY; Specifies the error code when the probe url is not accepted.
	ErrorCode *string `json:"errorCode,omitempty"`
	// Message - READ-ONLY; The detailed error message describing why the probe URL is not accepted.
	Message *string `json:"message,omitempty"`
}

ValidateProbeOutput output of the validate probe API.

func (ValidateProbeOutput) MarshalJSON

func (vpo ValidateProbeOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ValidateProbeOutput.

type ValidateSecretInput

type ValidateSecretInput struct {
	// SecretSource - The secret source.
	SecretSource *ResourceReference `json:"secretSource,omitempty"`
	// SecretType - The secret type. Possible values include: 'ValidateSecretTypeURLSigningKey', 'ValidateSecretTypeManagedCertificate', 'ValidateSecretTypeCustomerCertificate'
	SecretType ValidateSecretType `json:"secretType,omitempty"`
}

ValidateSecretInput input of the secret to be validated.

type ValidateSecretOutput

type ValidateSecretOutput struct {
	autorest.Response `json:"-"`
	// Status - The validation status. Possible values include: 'StatusValid', 'StatusInvalid', 'StatusAccessDenied', 'StatusCertificateExpired'
	Status Status `json:"status,omitempty"`
	// Message - Detailed error message
	Message *string `json:"message,omitempty"`
}

ValidateSecretOutput output of the validated secret.

type ValidateSecretType

type ValidateSecretType string

ValidateSecretType enumerates the values for validate secret type.

const (
	// ValidateSecretTypeCustomerCertificate ...
	ValidateSecretTypeCustomerCertificate ValidateSecretType = "CustomerCertificate"
	// ValidateSecretTypeManagedCertificate ...
	ValidateSecretTypeManagedCertificate ValidateSecretType = "ManagedCertificate"
	// ValidateSecretTypeURLSigningKey ...
	ValidateSecretTypeURLSigningKey ValidateSecretType = "UrlSigningKey"
)

func PossibleValidateSecretTypeValues

func PossibleValidateSecretTypeValues() []ValidateSecretType

PossibleValidateSecretTypeValues returns an array of possible values for the ValidateSecretType const type.

type ValidationToken

type ValidationToken struct {
	autorest.Response `json:"-"`
	// Token - READ-ONLY
	Token *string `json:"token,omitempty"`
}

ValidationToken the validation token.

func (ValidationToken) MarshalJSON

func (vt ValidationToken) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ValidationToken.

type WafAction

type WafAction string

WafAction enumerates the values for waf action.

const (
	// WafActionAllow ...
	WafActionAllow WafAction = "allow"
	// WafActionBlock ...
	WafActionBlock WafAction = "block"
	// WafActionLog ...
	WafActionLog WafAction = "log"
	// WafActionRedirect ...
	WafActionRedirect WafAction = "redirect"
)

func PossibleWafActionValues

func PossibleWafActionValues() []WafAction

PossibleWafActionValues returns an array of possible values for the WafAction const type.

type WafGranularity

type WafGranularity string

WafGranularity enumerates the values for waf granularity.

const (
	// WafGranularityP1D ...
	WafGranularityP1D WafGranularity = "P1D"
	// WafGranularityPT1H ...
	WafGranularityPT1H WafGranularity = "PT1H"
	// WafGranularityPT5M ...
	WafGranularityPT5M WafGranularity = "PT5M"
)

func PossibleWafGranularityValues

func PossibleWafGranularityValues() []WafGranularity

PossibleWafGranularityValues returns an array of possible values for the WafGranularity const type.

type WafMetric

type WafMetric string

WafMetric enumerates the values for waf metric.

const (
	// WafMetricClientRequestCount ...
	WafMetricClientRequestCount WafMetric = "clientRequestCount"
)

func PossibleWafMetricValues

func PossibleWafMetricValues() []WafMetric

PossibleWafMetricValues returns an array of possible values for the WafMetric const type.

type WafMetricsResponse

type WafMetricsResponse struct {
	autorest.Response `json:"-"`
	DateTimeBegin     *date.Time `json:"dateTimeBegin,omitempty"`
	DateTimeEnd       *date.Time `json:"dateTimeEnd,omitempty"`
	// Granularity - Possible values include: 'Granularity1PT5M', 'Granularity1PT1H', 'Granularity1P1D'
	Granularity Granularity1                    `json:"granularity,omitempty"`
	Series      *[]WafMetricsResponseSeriesItem `json:"series,omitempty"`
}

WafMetricsResponse waf Metrics Response

type WafMetricsResponseSeriesItem

type WafMetricsResponseSeriesItem struct {
	Metric *string `json:"metric,omitempty"`
	// Unit - Possible values include: 'Unit1Count'
	Unit   Unit1                                     `json:"unit,omitempty"`
	Groups *[]WafMetricsResponseSeriesItemGroupsItem `json:"groups,omitempty"`
	Data   *[]WafMetricsResponseSeriesItemDataItem   `json:"data,omitempty"`
}

WafMetricsResponseSeriesItem ...

type WafMetricsResponseSeriesItemDataItem

type WafMetricsResponseSeriesItemDataItem struct {
	DateTime *date.Time `json:"dateTime,omitempty"`
	Value    *float64   `json:"value,omitempty"`
}

WafMetricsResponseSeriesItemDataItem ...

type WafMetricsResponseSeriesItemGroupsItem

type WafMetricsResponseSeriesItemGroupsItem struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

WafMetricsResponseSeriesItemGroupsItem ...

type WafRankingGroupBy

type WafRankingGroupBy string

WafRankingGroupBy enumerates the values for waf ranking group by.

const (
	// WafRankingGroupByCustomDomain ...
	WafRankingGroupByCustomDomain WafRankingGroupBy = "customDomain"
	// WafRankingGroupByHTTPStatusCode ...
	WafRankingGroupByHTTPStatusCode WafRankingGroupBy = "httpStatusCode"
)

func PossibleWafRankingGroupByValues

func PossibleWafRankingGroupByValues() []WafRankingGroupBy

PossibleWafRankingGroupByValues returns an array of possible values for the WafRankingGroupBy const type.

type WafRankingType

type WafRankingType string

WafRankingType enumerates the values for waf ranking type.

const (
	// WafRankingTypeAction ...
	WafRankingTypeAction WafRankingType = "action"
	// WafRankingTypeClientIP ...
	WafRankingTypeClientIP WafRankingType = "clientIp"
	// WafRankingTypeCountry ...
	WafRankingTypeCountry WafRankingType = "country"
	// WafRankingTypeRuleGroup ...
	WafRankingTypeRuleGroup WafRankingType = "ruleGroup"
	// WafRankingTypeRuleID ...
	WafRankingTypeRuleID WafRankingType = "ruleId"
	// WafRankingTypeRuleType ...
	WafRankingTypeRuleType WafRankingType = "ruleType"
	// WafRankingTypeURL ...
	WafRankingTypeURL WafRankingType = "url"
	// WafRankingTypeUserAgent ...
	WafRankingTypeUserAgent WafRankingType = "userAgent"
)

func PossibleWafRankingTypeValues

func PossibleWafRankingTypeValues() []WafRankingType

PossibleWafRankingTypeValues returns an array of possible values for the WafRankingType const type.

type WafRankingsResponse

type WafRankingsResponse struct {
	autorest.Response `json:"-"`
	DateTimeBegin     *date.Time                     `json:"dateTimeBegin,omitempty"`
	DateTimeEnd       *date.Time                     `json:"dateTimeEnd,omitempty"`
	Groups            *[]string                      `json:"groups,omitempty"`
	Data              *[]WafRankingsResponseDataItem `json:"data,omitempty"`
}

WafRankingsResponse waf Rankings Response

type WafRankingsResponseDataItem

type WafRankingsResponseDataItem struct {
	GroupValues *[]string                                 `json:"groupValues,omitempty"`
	Metrics     *[]WafRankingsResponseDataItemMetricsItem `json:"metrics,omitempty"`
}

WafRankingsResponseDataItem ...

type WafRankingsResponseDataItemMetricsItem

type WafRankingsResponseDataItemMetricsItem struct {
	Metric     *string  `json:"metric,omitempty"`
	Value      *int64   `json:"value,omitempty"`
	Percentage *float64 `json:"percentage,omitempty"`
}

WafRankingsResponseDataItemMetricsItem ...

type WafRuleType

type WafRuleType string

WafRuleType enumerates the values for waf rule type.

const (
	// WafRuleTypeBot ...
	WafRuleTypeBot WafRuleType = "bot"
	// WafRuleTypeCustom ...
	WafRuleTypeCustom WafRuleType = "custom"
	// WafRuleTypeManaged ...
	WafRuleTypeManaged WafRuleType = "managed"
)

func PossibleWafRuleTypeValues

func PossibleWafRuleTypeValues() []WafRuleType

PossibleWafRuleTypeValues returns an array of possible values for the WafRuleType const type.

type WebApplicationFirewallPolicy

type WebApplicationFirewallPolicy struct {
	autorest.Response `json:"-"`
	// WebApplicationFirewallPolicyProperties - Properties of the web application firewall policy.
	*WebApplicationFirewallPolicyProperties `json:"properties,omitempty"`
	// Etag - Gets a unique read-only string that changes whenever the resource is updated.
	Etag *string `json:"etag,omitempty"`
	// Sku - The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
	Sku *Sku `json:"sku,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"`
	// SystemData - READ-ONLY
	SystemData *SystemData `json:"systemData,omitempty"`
}

WebApplicationFirewallPolicy defines web application firewall policy for Azure CDN.

func (WebApplicationFirewallPolicy) MarshalJSON

func (wafp WebApplicationFirewallPolicy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicy.

func (*WebApplicationFirewallPolicy) UnmarshalJSON

func (wafp *WebApplicationFirewallPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WebApplicationFirewallPolicy struct.

type WebApplicationFirewallPolicyList

type WebApplicationFirewallPolicyList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of Azure CDN WebApplicationFirewallPolicies within a resource group.
	Value *[]WebApplicationFirewallPolicy `json:"value,omitempty"`
	// NextLink - URL to get the next set of WebApplicationFirewallPolicy objects if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

WebApplicationFirewallPolicyList defines a list of WebApplicationFirewallPolicies for Azure CDN. It contains a list of WebApplicationFirewallPolicy objects and a URL link to get the next set of results.

func (WebApplicationFirewallPolicyList) IsEmpty

func (wafpl WebApplicationFirewallPolicyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WebApplicationFirewallPolicyList) MarshalJSON

func (wafpl WebApplicationFirewallPolicyList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyList.

type WebApplicationFirewallPolicyListIterator

type WebApplicationFirewallPolicyListIterator struct {
	// contains filtered or unexported fields
}

WebApplicationFirewallPolicyListIterator provides access to a complete listing of WebApplicationFirewallPolicy values.

func NewWebApplicationFirewallPolicyListIterator

func NewWebApplicationFirewallPolicyListIterator(page WebApplicationFirewallPolicyListPage) WebApplicationFirewallPolicyListIterator

Creates a new instance of the WebApplicationFirewallPolicyListIterator type.

func (*WebApplicationFirewallPolicyListIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WebApplicationFirewallPolicyListIterator) NextWithContext

func (iter *WebApplicationFirewallPolicyListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (WebApplicationFirewallPolicyListIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (WebApplicationFirewallPolicyListIterator) Response

Response returns the raw server response from the last page request.

func (WebApplicationFirewallPolicyListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type WebApplicationFirewallPolicyListPage

type WebApplicationFirewallPolicyListPage struct {
	// contains filtered or unexported fields
}

WebApplicationFirewallPolicyListPage contains a page of WebApplicationFirewallPolicy values.

func NewWebApplicationFirewallPolicyListPage

Creates a new instance of the WebApplicationFirewallPolicyListPage type.

func (*WebApplicationFirewallPolicyListPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*WebApplicationFirewallPolicyListPage) NextWithContext

func (page *WebApplicationFirewallPolicyListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (WebApplicationFirewallPolicyListPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (WebApplicationFirewallPolicyListPage) Response

Response returns the raw server response from the last page request.

func (WebApplicationFirewallPolicyListPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type WebApplicationFirewallPolicyPatchParameters

type WebApplicationFirewallPolicyPatchParameters struct {
	// Tags - CdnWebApplicationFirewallPolicy tags
	Tags map[string]*string `json:"tags"`
}

WebApplicationFirewallPolicyPatchParameters properties required to update a CdnWebApplicationFirewallPolicy.

func (WebApplicationFirewallPolicyPatchParameters) MarshalJSON

func (wafppp WebApplicationFirewallPolicyPatchParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyPatchParameters.

type WebApplicationFirewallPolicyProperties

type WebApplicationFirewallPolicyProperties struct {
	// PolicySettings - Describes  policySettings for policy
	PolicySettings *PolicySettings `json:"policySettings,omitempty"`
	// RateLimitRules - Describes rate limit rules inside the policy.
	RateLimitRules *RateLimitRuleList `json:"rateLimitRules,omitempty"`
	// CustomRules - Describes custom rules inside the policy.
	CustomRules *CustomRuleList `json:"customRules,omitempty"`
	// ManagedRules - Describes managed rules inside the policy.
	ManagedRules *ManagedRuleSetList `json:"managedRules,omitempty"`
	// EndpointLinks - READ-ONLY; Describes Azure CDN endpoints associated with this Web Application Firewall policy.
	EndpointLinks *[]EndpointType `json:"endpointLinks,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the WebApplicationFirewallPolicy. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateSucceeded', 'ProvisioningStateFailed'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// ResourceState - READ-ONLY; Possible values include: 'PolicyResourceStateCreating', 'PolicyResourceStateEnabling', 'PolicyResourceStateEnabled', 'PolicyResourceStateDisabling', 'PolicyResourceStateDisabled', 'PolicyResourceStateDeleting'
	ResourceState PolicyResourceState `json:"resourceState,omitempty"`
}

WebApplicationFirewallPolicyProperties defines CDN web application firewall policy properties.

func (WebApplicationFirewallPolicyProperties) MarshalJSON

func (wafpp WebApplicationFirewallPolicyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebApplicationFirewallPolicyProperties.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL