Documentation ¶
Overview ¶
Package cdn implements the Azure ARM Cdn service API version 2019-04-15.
Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- func (client BaseClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)
- func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CheckNameAvailabilityWithSubscription(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckNameAvailabilityWithSubscriptionPreparer(ctx context.Context, checkNameAvailabilityInput CheckNameAvailabilityInput) (*http.Request, error)
- func (client BaseClient) CheckNameAvailabilityWithSubscriptionResponder(resp *http.Response) (result CheckNameAvailabilityOutput, err error)
- func (client BaseClient) CheckNameAvailabilityWithSubscriptionSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ValidateProbe(ctx context.Context, validateProbeInput ValidateProbeInput) (result ValidateProbeOutput, err error)
- func (client BaseClient) ValidateProbePreparer(ctx context.Context, validateProbeInput ValidateProbeInput) (*http.Request, error)
- func (client BaseClient) ValidateProbeResponder(resp *http.Response) (result ValidateProbeOutput, err error)
- func (client BaseClient) ValidateProbeSender(req *http.Request) (*http.Response, error)
- type BasicCustomDomainHTTPSParameters
- type BasicDeliveryRuleAction
- type BasicDeliveryRuleCondition
- type CacheBehavior
- type CacheExpirationActionParameters
- type CertificateSource
- type CertificateSourceParameters
- type CertificateType
- type CheckNameAvailabilityInput
- type CheckNameAvailabilityOutput
- type CidrIPAddress
- type CustomDomain
- type CustomDomainHTTPSParameters
- func (cdhp CustomDomainHTTPSParameters) AsBasicCustomDomainHTTPSParameters() (BasicCustomDomainHTTPSParameters, bool)
- func (cdhp CustomDomainHTTPSParameters) AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)
- func (cdhp CustomDomainHTTPSParameters) AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)
- func (cdhp CustomDomainHTTPSParameters) AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)
- func (cdhp CustomDomainHTTPSParameters) MarshalJSON() ([]byte, error)
- type CustomDomainListResult
- type CustomDomainListResultIterator
- func (iter *CustomDomainListResultIterator) Next() error
- func (iter *CustomDomainListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter CustomDomainListResultIterator) NotDone() bool
- func (iter CustomDomainListResultIterator) Response() CustomDomainListResult
- func (iter CustomDomainListResultIterator) Value() CustomDomain
- type CustomDomainListResultPage
- func (page *CustomDomainListResultPage) Next() error
- func (page *CustomDomainListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page CustomDomainListResultPage) NotDone() bool
- func (page CustomDomainListResultPage) Response() CustomDomainListResult
- func (page CustomDomainListResultPage) Values() []CustomDomain
- type CustomDomainParameters
- type CustomDomainProperties
- type CustomDomainPropertiesParameters
- type CustomDomainResourceState
- type CustomDomainsClient
- func (client CustomDomainsClient) Create(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomainsCreateFuture, err error)
- func (client CustomDomainsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client CustomDomainsClient) CreateResponder(resp *http.Response) (result CustomDomain, err error)
- func (client CustomDomainsClient) CreateSender(req *http.Request) (future CustomDomainsCreateFuture, err error)
- func (client CustomDomainsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomainsDeleteFuture, err error)
- func (client CustomDomainsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client CustomDomainsClient) DeleteResponder(resp *http.Response) (result CustomDomain, err error)
- func (client CustomDomainsClient) DeleteSender(req *http.Request) (future CustomDomainsDeleteFuture, err error)
- func (client CustomDomainsClient) DisableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomain, err error)
- func (client CustomDomainsClient) DisableCustomHTTPSPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client CustomDomainsClient) DisableCustomHTTPSResponder(resp *http.Response) (result CustomDomain, err error)
- func (client CustomDomainsClient) DisableCustomHTTPSSender(req *http.Request) (*http.Response, error)
- func (client CustomDomainsClient) EnableCustomHTTPS(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomain, err error)
- func (client CustomDomainsClient) EnableCustomHTTPSPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client CustomDomainsClient) EnableCustomHTTPSResponder(resp *http.Response) (result CustomDomain, err error)
- func (client CustomDomainsClient) EnableCustomHTTPSSender(req *http.Request) (*http.Response, error)
- func (client CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomain, err error)
- func (client CustomDomainsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client CustomDomainsClient) GetResponder(resp *http.Response) (result CustomDomain, err error)
- func (client CustomDomainsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client CustomDomainsClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomainListResultPage, err error)
- func (client CustomDomainsClient) ListByEndpointComplete(ctx context.Context, resourceGroupName string, profileName string, ...) (result CustomDomainListResultIterator, err error)
- func (client CustomDomainsClient) ListByEndpointPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client CustomDomainsClient) ListByEndpointResponder(resp *http.Response) (result CustomDomainListResult, err error)
- func (client CustomDomainsClient) ListByEndpointSender(req *http.Request) (*http.Response, error)
- type CustomDomainsCreateFuture
- type CustomDomainsDeleteFuture
- type CustomHTTPSProvisioningState
- type CustomHTTPSProvisioningSubstate
- type DeepCreatedOrigin
- type DeepCreatedOriginProperties
- type DeliveryRule
- type DeliveryRuleAction
- func (dra DeliveryRuleAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)
- func (dra DeliveryRuleAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
- func (dra DeliveryRuleAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
- func (dra DeliveryRuleAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
- func (dra DeliveryRuleAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
- func (dra DeliveryRuleAction) AsURLRedirectAction() (*URLRedirectAction, bool)
- func (dra DeliveryRuleAction) MarshalJSON() ([]byte, error)
- type DeliveryRuleCacheExpirationAction
- func (drcea DeliveryRuleCacheExpirationAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)
- func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
- func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
- func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
- func (drcea DeliveryRuleCacheExpirationAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
- func (drcea DeliveryRuleCacheExpirationAction) AsURLRedirectAction() (*URLRedirectAction, bool)
- func (drcea DeliveryRuleCacheExpirationAction) MarshalJSON() ([]byte, error)
- type DeliveryRuleCondition
- func (drc DeliveryRuleCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drc DeliveryRuleCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drc DeliveryRuleCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleIsDeviceCondition
- func (dridc DeliveryRuleIsDeviceCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (dridc DeliveryRuleIsDeviceCondition) MarshalJSON() ([]byte, error)
- type DeliveryRulePostArgsCondition
- func (drpac DeliveryRulePostArgsCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drpac DeliveryRulePostArgsCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleQueryStringCondition
- func (drqsc DeliveryRuleQueryStringCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drqsc DeliveryRuleQueryStringCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleRemoteAddressCondition
- func (drrac DeliveryRuleRemoteAddressCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drrac DeliveryRuleRemoteAddressCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleRequestBodyCondition
- func (drrbc DeliveryRuleRequestBodyCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drrbc DeliveryRuleRequestBodyCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleRequestHeaderAction
- func (drrha DeliveryRuleRequestHeaderAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)
- func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
- func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
- func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
- func (drrha DeliveryRuleRequestHeaderAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
- func (drrha DeliveryRuleRequestHeaderAction) AsURLRedirectAction() (*URLRedirectAction, bool)
- func (drrha DeliveryRuleRequestHeaderAction) MarshalJSON() ([]byte, error)
- type DeliveryRuleRequestHeaderCondition
- func (drrhc DeliveryRuleRequestHeaderCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drrhc DeliveryRuleRequestHeaderCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleRequestMethodCondition
- func (drrmc DeliveryRuleRequestMethodCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drrmc DeliveryRuleRequestMethodCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleRequestSchemeCondition
- func (drrsc DeliveryRuleRequestSchemeCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drrsc DeliveryRuleRequestSchemeCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleRequestURICondition
- func (drruc DeliveryRuleRequestURICondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drruc DeliveryRuleRequestURICondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleResponseHeaderAction
- func (drrha DeliveryRuleResponseHeaderAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)
- func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
- func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
- func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
- func (drrha DeliveryRuleResponseHeaderAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
- func (drrha DeliveryRuleResponseHeaderAction) AsURLRedirectAction() (*URLRedirectAction, bool)
- func (drrha DeliveryRuleResponseHeaderAction) MarshalJSON() ([]byte, error)
- type DeliveryRuleURLFileExtensionCondition
- func (drufec DeliveryRuleURLFileExtensionCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drufec DeliveryRuleURLFileExtensionCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleURLFileNameCondition
- func (drufnc DeliveryRuleURLFileNameCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drufnc DeliveryRuleURLFileNameCondition) MarshalJSON() ([]byte, error)
- type DeliveryRuleURLPathCondition
- func (drupc DeliveryRuleURLPathCondition) AsBasicDeliveryRuleCondition() (BasicDeliveryRuleCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRulePostArgsCondition() (*DeliveryRulePostArgsCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleQueryStringCondition() (*DeliveryRuleQueryStringCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRemoteAddressCondition() (*DeliveryRuleRemoteAddressCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestBodyCondition() (*DeliveryRuleRequestBodyCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestHeaderCondition() (*DeliveryRuleRequestHeaderCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestMethodCondition() (*DeliveryRuleRequestMethodCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestSchemeCondition() (*DeliveryRuleRequestSchemeCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleRequestURICondition() (*DeliveryRuleRequestURICondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileExtensionCondition() (*DeliveryRuleURLFileExtensionCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleURLFileNameCondition() (*DeliveryRuleURLFileNameCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) AsDeliveryRuleURLPathCondition() (*DeliveryRuleURLPathCondition, bool)
- func (drupc DeliveryRuleURLPathCondition) MarshalJSON() ([]byte, error)
- type DestinationProtocol
- type EdgeNode
- type EdgeNodeProperties
- type EdgeNodesClient
- func (client EdgeNodesClient) List(ctx context.Context) (result EdgenodeResultPage, err error)
- func (client EdgeNodesClient) ListComplete(ctx context.Context) (result EdgenodeResultIterator, err error)
- func (client EdgeNodesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client EdgeNodesClient) ListResponder(resp *http.Response) (result EdgenodeResult, err error)
- func (client EdgeNodesClient) ListSender(req *http.Request) (*http.Response, error)
- type EdgenodeResult
- type EdgenodeResultIterator
- type EdgenodeResultPage
- type Endpoint
- type EndpointListResult
- type EndpointListResultIterator
- func (iter *EndpointListResultIterator) Next() error
- func (iter *EndpointListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter EndpointListResultIterator) NotDone() bool
- func (iter EndpointListResultIterator) Response() EndpointListResult
- func (iter EndpointListResultIterator) Value() Endpoint
- type EndpointListResultPage
- func (page *EndpointListResultPage) Next() error
- func (page *EndpointListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page EndpointListResultPage) NotDone() bool
- func (page EndpointListResultPage) Response() EndpointListResult
- func (page EndpointListResultPage) Values() []Endpoint
- type EndpointProperties
- type EndpointPropertiesUpdateParameters
- type EndpointPropertiesUpdateParametersDeliveryPolicy
- type EndpointResourceState
- type EndpointUpdateParameters
- type EndpointsClient
- func (client EndpointsClient) Create(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsCreateFuture, err error)
- func (client EndpointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) CreateResponder(resp *http.Response) (result Endpoint, err error)
- func (client EndpointsClient) CreateSender(req *http.Request) (future EndpointsCreateFuture, err error)
- func (client EndpointsClient) Delete(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsDeleteFuture, err error)
- func (client EndpointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client EndpointsClient) DeleteSender(req *http.Request) (future EndpointsDeleteFuture, err error)
- func (client EndpointsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (result Endpoint, err error)
- func (client EndpointsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) GetResponder(resp *http.Response) (result Endpoint, err error)
- func (client EndpointsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client EndpointsClient) ListByProfile(ctx context.Context, resourceGroupName string, profileName string) (result EndpointListResultPage, err error)
- func (client EndpointsClient) ListByProfileComplete(ctx context.Context, resourceGroupName string, profileName string) (result EndpointListResultIterator, err error)
- func (client EndpointsClient) ListByProfilePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
- func (client EndpointsClient) ListByProfileResponder(resp *http.Response) (result EndpointListResult, err error)
- func (client EndpointsClient) ListByProfileSender(req *http.Request) (*http.Response, error)
- func (client EndpointsClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string, ...) (result ResourceUsageListResultPage, err error)
- func (client EndpointsClient) ListResourceUsageComplete(ctx context.Context, resourceGroupName string, profileName string, ...) (result ResourceUsageListResultIterator, err error)
- func (client EndpointsClient) ListResourceUsagePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) ListResourceUsageResponder(resp *http.Response) (result ResourceUsageListResult, err error)
- func (client EndpointsClient) ListResourceUsageSender(req *http.Request) (*http.Response, error)
- func (client EndpointsClient) LoadContent(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsLoadContentFuture, err error)
- func (client EndpointsClient) LoadContentPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) LoadContentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client EndpointsClient) LoadContentSender(req *http.Request) (future EndpointsLoadContentFuture, err error)
- func (client EndpointsClient) PurgeContent(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsPurgeContentFuture, err error)
- func (client EndpointsClient) PurgeContentPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) PurgeContentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client EndpointsClient) PurgeContentSender(req *http.Request) (future EndpointsPurgeContentFuture, err error)
- func (client EndpointsClient) Start(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsStartFuture, err error)
- func (client EndpointsClient) StartPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) StartResponder(resp *http.Response) (result Endpoint, err error)
- func (client EndpointsClient) StartSender(req *http.Request) (future EndpointsStartFuture, err error)
- func (client EndpointsClient) Stop(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsStopFuture, err error)
- func (client EndpointsClient) StopPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) StopResponder(resp *http.Response) (result Endpoint, err error)
- func (client EndpointsClient) StopSender(req *http.Request) (future EndpointsStopFuture, err error)
- func (client EndpointsClient) Update(ctx context.Context, resourceGroupName string, profileName string, ...) (result EndpointsUpdateFuture, err error)
- func (client EndpointsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) UpdateResponder(resp *http.Response) (result Endpoint, err error)
- func (client EndpointsClient) UpdateSender(req *http.Request) (future EndpointsUpdateFuture, err error)
- func (client EndpointsClient) ValidateCustomDomain(ctx context.Context, resourceGroupName string, profileName string, ...) (result ValidateCustomDomainOutput, err error)
- func (client EndpointsClient) ValidateCustomDomainPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client EndpointsClient) ValidateCustomDomainResponder(resp *http.Response) (result ValidateCustomDomainOutput, err error)
- func (client EndpointsClient) ValidateCustomDomainSender(req *http.Request) (*http.Response, error)
- type EndpointsCreateFuture
- type EndpointsDeleteFuture
- type EndpointsLoadContentFuture
- type EndpointsPurgeContentFuture
- type EndpointsStartFuture
- type EndpointsStopFuture
- type EndpointsUpdateFuture
- type ErrorResponse
- type GeoFilter
- type GeoFilterActions
- type HeaderAction
- type HeaderActionParameters
- type IPAddressGroup
- type IsDeviceMatchConditionParameters
- type KeyVaultCertificateSourceParameters
- type LoadParameters
- type ManagedHTTPSParameters
- func (mhp ManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters() (BasicCustomDomainHTTPSParameters, bool)
- func (mhp ManagedHTTPSParameters) AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)
- func (mhp ManagedHTTPSParameters) AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)
- func (mhp ManagedHTTPSParameters) AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)
- func (mhp ManagedHTTPSParameters) MarshalJSON() ([]byte, error)
- type Name
- type NameBasicDeliveryRuleAction
- type Operation
- type OperationDisplay
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationsListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationsListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OperationsListResult
- type OperationsListResultIterator
- func (iter *OperationsListResultIterator) Next() error
- func (iter *OperationsListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationsListResultIterator) NotDone() bool
- func (iter OperationsListResultIterator) Response() OperationsListResult
- func (iter OperationsListResultIterator) Value() Operation
- type OperationsListResultPage
- func (page *OperationsListResultPage) Next() error
- func (page *OperationsListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationsListResultPage) NotDone() bool
- func (page OperationsListResultPage) Response() OperationsListResult
- func (page OperationsListResultPage) Values() []Operation
- type OptimizationType
- type Origin
- type OriginListResult
- type OriginListResultIterator
- func (iter *OriginListResultIterator) Next() error
- func (iter *OriginListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OriginListResultIterator) NotDone() bool
- func (iter OriginListResultIterator) Response() OriginListResult
- func (iter OriginListResultIterator) Value() Origin
- type OriginListResultPage
- type OriginProperties
- type OriginPropertiesParameters
- type OriginResourceState
- type OriginUpdateParameters
- type OriginsClient
- func (client OriginsClient) Get(ctx context.Context, resourceGroupName string, profileName string, ...) (result Origin, err error)
- func (client OriginsClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client OriginsClient) GetResponder(resp *http.Response) (result Origin, err error)
- func (client OriginsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client OriginsClient) ListByEndpoint(ctx context.Context, resourceGroupName string, profileName string, ...) (result OriginListResultPage, err error)
- func (client OriginsClient) ListByEndpointComplete(ctx context.Context, resourceGroupName string, profileName string, ...) (result OriginListResultIterator, err error)
- func (client OriginsClient) ListByEndpointPreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client OriginsClient) ListByEndpointResponder(resp *http.Response) (result OriginListResult, err error)
- func (client OriginsClient) ListByEndpointSender(req *http.Request) (*http.Response, error)
- func (client OriginsClient) Update(ctx context.Context, resourceGroupName string, profileName string, ...) (result OriginsUpdateFuture, err error)
- func (client OriginsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client OriginsClient) UpdateResponder(resp *http.Response) (result Origin, err error)
- func (client OriginsClient) UpdateSender(req *http.Request) (future OriginsUpdateFuture, err error)
- type OriginsUpdateFuture
- type PostArgsMatchConditionParameters
- type PostArgsOperator
- type Profile
- type ProfileListResult
- type ProfileListResultIterator
- func (iter *ProfileListResultIterator) Next() error
- func (iter *ProfileListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ProfileListResultIterator) NotDone() bool
- func (iter ProfileListResultIterator) Response() ProfileListResult
- func (iter ProfileListResultIterator) Value() Profile
- type ProfileListResultPage
- type ProfileProperties
- type ProfileResourceState
- type ProfileUpdateParameters
- type ProfilesClient
- func (client ProfilesClient) Create(ctx context.Context, resourceGroupName string, profileName string, ...) (result ProfilesCreateFuture, err error)
- func (client ProfilesClient) CreatePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client ProfilesClient) CreateResponder(resp *http.Response) (result Profile, err error)
- func (client ProfilesClient) CreateSender(req *http.Request) (future ProfilesCreateFuture, err error)
- func (client ProfilesClient) Delete(ctx context.Context, resourceGroupName string, profileName string) (result ProfilesDeleteFuture, err error)
- func (client ProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
- func (client ProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ProfilesClient) DeleteSender(req *http.Request) (future ProfilesDeleteFuture, err error)
- func (client ProfilesClient) GenerateSsoURI(ctx context.Context, resourceGroupName string, profileName string) (result SsoURI, err error)
- func (client ProfilesClient) GenerateSsoURIPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
- func (client ProfilesClient) GenerateSsoURIResponder(resp *http.Response) (result SsoURI, err error)
- func (client ProfilesClient) GenerateSsoURISender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) Get(ctx context.Context, resourceGroupName string, profileName string) (result Profile, err error)
- func (client ProfilesClient) GetPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
- func (client ProfilesClient) GetResponder(resp *http.Response) (result Profile, err error)
- func (client ProfilesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) List(ctx context.Context) (result ProfileListResultPage, err error)
- func (client ProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProfileListResultPage, err error)
- func (client ProfilesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProfileListResultIterator, err error)
- func (client ProfilesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ProfileListResult, err error)
- func (client ProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) ListComplete(ctx context.Context) (result ProfileListResultIterator, err error)
- func (client ProfilesClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ProfilesClient) ListResourceUsage(ctx context.Context, resourceGroupName string, profileName string) (result ResourceUsageListResultPage, err error)
- func (client ProfilesClient) ListResourceUsageComplete(ctx context.Context, resourceGroupName string, profileName string) (result ResourceUsageListResultIterator, err error)
- func (client ProfilesClient) ListResourceUsagePreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
- func (client ProfilesClient) ListResourceUsageResponder(resp *http.Response) (result ResourceUsageListResult, err error)
- func (client ProfilesClient) ListResourceUsageSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) ListResponder(resp *http.Response) (result ProfileListResult, err error)
- func (client ProfilesClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) ListSupportedOptimizationTypes(ctx context.Context, resourceGroupName string, profileName string) (result SupportedOptimizationTypesListResult, err error)
- func (client ProfilesClient) ListSupportedOptimizationTypesPreparer(ctx context.Context, resourceGroupName string, profileName string) (*http.Request, error)
- func (client ProfilesClient) ListSupportedOptimizationTypesResponder(resp *http.Response) (result SupportedOptimizationTypesListResult, err error)
- func (client ProfilesClient) ListSupportedOptimizationTypesSender(req *http.Request) (*http.Response, error)
- func (client ProfilesClient) Update(ctx context.Context, resourceGroupName string, profileName string, ...) (result ProfilesUpdateFuture, err error)
- func (client ProfilesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, profileName string, ...) (*http.Request, error)
- func (client ProfilesClient) UpdateResponder(resp *http.Response) (result Profile, err error)
- func (client ProfilesClient) UpdateSender(req *http.Request) (future ProfilesUpdateFuture, err error)
- type ProfilesCreateFuture
- type ProfilesDeleteFuture
- type ProfilesUpdateFuture
- type ProtocolType
- type ProxyResource
- type PurgeParameters
- type QueryStringCachingBehavior
- type QueryStringMatchConditionParameters
- type QueryStringOperator
- type RedirectType
- type RemoteAddressMatchConditionParameters
- type RemoteAddressOperator
- type RequestBodyMatchConditionParameters
- type RequestBodyOperator
- type RequestHeaderMatchConditionParameters
- type RequestHeaderOperator
- type RequestMethodMatchConditionParameters
- type RequestSchemeMatchConditionParameters
- type RequestURIMatchConditionParameters
- type RequestURIOperator
- type Resource
- type ResourceType
- type ResourceUsage
- type ResourceUsageClient
- func (client ResourceUsageClient) List(ctx context.Context) (result ResourceUsageListResultPage, err error)
- func (client ResourceUsageClient) ListComplete(ctx context.Context) (result ResourceUsageListResultIterator, err error)
- func (client ResourceUsageClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client ResourceUsageClient) ListResponder(resp *http.Response) (result ResourceUsageListResult, err error)
- func (client ResourceUsageClient) ListSender(req *http.Request) (*http.Response, error)
- type ResourceUsageListResult
- type ResourceUsageListResultIterator
- func (iter *ResourceUsageListResultIterator) Next() error
- func (iter *ResourceUsageListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ResourceUsageListResultIterator) NotDone() bool
- func (iter ResourceUsageListResultIterator) Response() ResourceUsageListResult
- func (iter ResourceUsageListResultIterator) Value() ResourceUsage
- type ResourceUsageListResultPage
- func (page *ResourceUsageListResultPage) Next() error
- func (page *ResourceUsageListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page ResourceUsageListResultPage) NotDone() bool
- func (page ResourceUsageListResultPage) Response() ResourceUsageListResult
- func (page ResourceUsageListResultPage) Values() []ResourceUsage
- type Sku
- type SkuName
- type SsoURI
- type SupportedOptimizationTypesListResult
- type TrackedResource
- type Transform
- type URLFileExtensionMatchConditionParameters
- type URLFileExtensionOperator
- type URLFileNameMatchConditionParameters
- type URLFileNameOperator
- type URLPathMatchConditionParameters
- type URLPathOperator
- type URLRedirectAction
- func (ura URLRedirectAction) AsBasicDeliveryRuleAction() (BasicDeliveryRuleAction, bool)
- func (ura URLRedirectAction) AsDeliveryRuleAction() (*DeliveryRuleAction, bool)
- func (ura URLRedirectAction) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, bool)
- func (ura URLRedirectAction) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool)
- func (ura URLRedirectAction) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool)
- func (ura URLRedirectAction) AsURLRedirectAction() (*URLRedirectAction, bool)
- func (ura URLRedirectAction) MarshalJSON() ([]byte, error)
- type URLRedirectActionParameters
- type UserManagedHTTPSParameters
- func (umhp UserManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters() (BasicCustomDomainHTTPSParameters, bool)
- func (umhp UserManagedHTTPSParameters) AsCustomDomainHTTPSParameters() (*CustomDomainHTTPSParameters, bool)
- func (umhp UserManagedHTTPSParameters) AsManagedHTTPSParameters() (*ManagedHTTPSParameters, bool)
- func (umhp UserManagedHTTPSParameters) AsUserManagedHTTPSParameters() (*UserManagedHTTPSParameters, bool)
- func (umhp UserManagedHTTPSParameters) MarshalJSON() ([]byte, error)
- type ValidateCustomDomainInput
- type ValidateCustomDomainOutput
- type ValidateProbeInput
- type ValidateProbeOutput
Constants ¶
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 BaseClient ¶
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.
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 ¶
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 ¶
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) AsDeliveryRuleRequestHeaderAction() (*DeliveryRuleRequestHeaderAction, bool) AsDeliveryRuleResponseHeaderAction() (*DeliveryRuleResponseHeaderAction, bool) AsDeliveryRuleCacheExpirationAction() (*DeliveryRuleCacheExpirationAction, 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) AsDeliveryRuleIsDeviceCondition() (*DeliveryRuleIsDeviceCondition, bool) AsDeliveryRuleCondition() (*DeliveryRuleCondition, bool) }
BasicDeliveryRuleCondition a condition for the delivery rule.
type CacheBehavior ¶
type CacheBehavior string
CacheBehavior enumerates the values for cache behavior.
const ( // BypassCache ... BypassCache CacheBehavior = "BypassCache" // Override ... Override CacheBehavior = "Override" // SetIfMissing ... SetIfMissing CacheBehavior = "SetIfMissing" )
func PossibleCacheBehaviorValues ¶
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: 'BypassCache', 'Override', 'SetIfMissing' CacheBehavior CacheBehavior `json:"cacheBehavior,omitempty"` // CacheType - The level at which the content needs to be cached. CacheType *string `json:"cacheType,omitempty"` // CacheDuration - The duration for which the content needs to be cached. Allowed format is [d.]hh:mm:ss CacheDuration *string `json:"cacheDuration,omitempty"` }
CacheExpirationActionParameters defines the parameters for the cache expiration action.
type CertificateSource ¶
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: 'Shared', 'Dedicated' 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 ( // Dedicated ... Dedicated CertificateType = "Dedicated" Shared 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.
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 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"` }
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: 'ServerNameIndication', 'IPBased' ProtocolType ProtocolType `json:"protocolType,omitempty"` // CertificateSource - Possible values include: 'CertificateSourceCustomDomainHTTPSParameters', 'CertificateSourceCdn', 'CertificateSourceAzureKeyVault' CertificateSource CertificateSource `json:"certificateSource,omitempty"` }
CustomDomainHTTPSParameters the JSON object that contains the properties to secure a custom domain.
func (CustomDomainHTTPSParameters) AsBasicCustomDomainHTTPSParameters ¶
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.
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 ¶
func (iter *CustomDomainListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*CustomDomainListResultIterator) NextWithContext ¶
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 ¶
func (iter CustomDomainListResultIterator) Response() CustomDomainListResult
Response returns the raw server response from the last page request.
func (CustomDomainListResultIterator) Value ¶
func (iter CustomDomainListResultIterator) Value() CustomDomain
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type CustomDomainListResultPage ¶
type CustomDomainListResultPage struct {
// contains filtered or unexported fields
}
CustomDomainListResultPage contains a page of CustomDomain values.
func NewCustomDomainListResultPage ¶
func NewCustomDomainListResultPage(getNextPage func(context.Context, CustomDomainListResult) (CustomDomainListResult, error)) CustomDomainListResultPage
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 ¶
func (page CustomDomainListResultPage) Response() CustomDomainListResult
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: 'Creating', 'Active', 'Deleting' ResourceState CustomDomainResourceState `json:"resourceState,omitempty"` // CustomHTTPSProvisioningState - READ-ONLY; Provisioning status of Custom Https of the custom domain. Possible values include: 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Failed' CustomHTTPSProvisioningState CustomHTTPSProvisioningState `json:"customHttpsProvisioningState,omitempty"` // CustomHTTPSProvisioningSubstate - READ-ONLY; Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. Possible values include: 'SubmittingDomainControlValidationRequest', 'PendingDomainControlValidationREquestApproval', 'DomainControlValidationRequestApproved', 'DomainControlValidationRequestRejected', 'DomainControlValidationRequestTimedOut', 'IssuingCertificate', 'DeployingCertificate', 'CertificateDeployed', 'DeletingCertificate', 'CertificateDeleted' CustomHTTPSProvisioningSubstate CustomHTTPSProvisioningSubstate `json:"customHttpsProvisioningSubstate,omitempty"` // ValidationData - Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. ValidationData *string `json:"validationData,omitempty"` // ProvisioningState - READ-ONLY; Provisioning status of the custom domain. ProvisioningState *string `json:"provisioningState,omitempty"` }
CustomDomainProperties the JSON object that contains the properties of the custom domain to create.
type CustomDomainPropertiesParameters ¶
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 ( // Active ... Active CustomDomainResourceState = "Active" // Creating ... Creating CustomDomainResourceState = "Creating" // Deleting ... Deleting 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 use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
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.
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 CustomDomain, err error)
DisableCustomHTTPS disable https delivery of the custom domain. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint.
func (CustomDomainsClient) DisableCustomHTTPSPreparer ¶
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) (*http.Response, 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 CustomDomain, err error)
EnableCustomHTTPS enable https delivery of the custom domain. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. customDomainName - name of the custom domain within an endpoint. customDomainHTTPSParameters - the configuration specifying how to enable HTTPS for the custom domain - using CDN managed certificate or user's own certificate. If not specified, enabling ssl uses CDN managed certificate by default.
func (CustomDomainsClient) EnableCustomHTTPSPreparer ¶
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) (*http.Response, 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 ¶
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 ¶
ListByEndpointSender sends the ListByEndpoint request. The method will close the http.Response Body if it receives an error.
type CustomDomainsCreateFuture ¶
CustomDomainsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CustomDomainsCreateFuture) Result ¶
func (future *CustomDomainsCreateFuture) Result(client CustomDomainsClient) (cd CustomDomain, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type CustomDomainsDeleteFuture ¶
CustomDomainsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*CustomDomainsDeleteFuture) Result ¶
func (future *CustomDomainsDeleteFuture) Result(client CustomDomainsClient) (cd CustomDomain, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type CustomHTTPSProvisioningState ¶
type CustomHTTPSProvisioningState string
CustomHTTPSProvisioningState enumerates the values for custom https provisioning state.
const ( // Disabled ... Disabled CustomHTTPSProvisioningState = "Disabled" // Disabling ... Disabling CustomHTTPSProvisioningState = "Disabling" // Enabled ... Enabled CustomHTTPSProvisioningState = "Enabled" // Enabling ... Enabling CustomHTTPSProvisioningState = "Enabling" // Failed ... Failed CustomHTTPSProvisioningState = "Failed" )
func PossibleCustomHTTPSProvisioningStateValues ¶
func PossibleCustomHTTPSProvisioningStateValues() []CustomHTTPSProvisioningState
PossibleCustomHTTPSProvisioningStateValues returns an array of possible values for the CustomHTTPSProvisioningState const type.
type CustomHTTPSProvisioningSubstate ¶
type CustomHTTPSProvisioningSubstate string
CustomHTTPSProvisioningSubstate enumerates the values for custom https provisioning substate.
const ( // CertificateDeleted ... CertificateDeleted CustomHTTPSProvisioningSubstate = "CertificateDeleted" // CertificateDeployed ... CertificateDeployed CustomHTTPSProvisioningSubstate = "CertificateDeployed" // DeletingCertificate ... DeletingCertificate CustomHTTPSProvisioningSubstate = "DeletingCertificate" // DeployingCertificate ... DeployingCertificate CustomHTTPSProvisioningSubstate = "DeployingCertificate" // DomainControlValidationRequestApproved ... DomainControlValidationRequestApproved CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestApproved" // DomainControlValidationRequestRejected ... DomainControlValidationRequestRejected CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestRejected" // DomainControlValidationRequestTimedOut ... DomainControlValidationRequestTimedOut CustomHTTPSProvisioningSubstate = "DomainControlValidationRequestTimedOut" // IssuingCertificate ... IssuingCertificate CustomHTTPSProvisioningSubstate = "IssuingCertificate" // PendingDomainControlValidationREquestApproval ... PendingDomainControlValidationREquestApproval CustomHTTPSProvisioningSubstate = "PendingDomainControlValidationREquestApproval" // SubmittingDomainControlValidationRequest ... SubmittingDomainControlValidationRequest CustomHTTPSProvisioningSubstate = "SubmittingDomainControlValidationRequest" )
func PossibleCustomHTTPSProvisioningSubstateValues ¶
func PossibleCustomHTTPSProvisioningSubstateValues() []CustomHTTPSProvisioningSubstate
PossibleCustomHTTPSProvisioningSubstateValues returns an array of possible values for the CustomHTTPSProvisioningSubstate const type.
type DeepCreatedOrigin ¶
type DeepCreatedOrigin struct { // Name - Origin name Name *string `json:"name,omitempty"` *DeepCreatedOriginProperties `json:"properties,omitempty"` }
DeepCreatedOrigin the main origin of CDN content which is added when creating a CDN endpoint.
func (DeepCreatedOrigin) MarshalJSON ¶
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 DeepCreatedOriginProperties ¶
type DeepCreatedOriginProperties struct { // HostName - The address of the origin. It can be a domain name, IPv4 address, or IPv6 address. HostName *string `json:"hostName,omitempty"` // HTTPPort - The value of the HTTP port. Must be between 1 and 65535 HTTPPort *int32 `json:"httpPort,omitempty"` // HTTPSPort - The value of the HTTPS port. Must be between 1 and 65535 HTTPSPort *int32 `json:"httpsPort,omitempty"` }
DeepCreatedOriginProperties properties of the origin created on the CDN endpoint.
type DeliveryRule ¶
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: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration' 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) 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) AsURLRedirectAction ¶
func (dra DeliveryRuleAction) AsURLRedirectAction() (*URLRedirectAction, bool)
AsURLRedirectAction 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: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration' 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) 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) AsURLRedirectAction ¶
func (drcea DeliveryRuleCacheExpirationAction) AsURLRedirectAction() (*URLRedirectAction, bool)
AsURLRedirectAction is the BasicDeliveryRuleAction implementation for DeliveryRuleCacheExpirationAction.
func (DeliveryRuleCacheExpirationAction) MarshalJSON ¶
func (drcea DeliveryRuleCacheExpirationAction) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeliveryRuleCacheExpirationAction.
type DeliveryRuleCondition ¶
type DeliveryRuleCondition struct { // Name - Possible values include: 'NameDeliveryRuleCondition', 'NameRemoteAddress', 'NameRequestMethod', 'NameQueryString', 'NamePostArgs', 'NameRequestURI', 'NameRequestHeader', 'NameRequestBody', 'NameRequestScheme', 'NameURLPath', 'NameURLFileExtension', 'NameURLFileName', 'NameIsDevice' Name Name `json:"name,omitempty"` }
DeliveryRuleCondition a condition for the delivery rule.
func (DeliveryRuleCondition) AsBasicDeliveryRuleCondition ¶
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) 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 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', '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) 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', '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) 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', '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) 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', '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) 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', '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) 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: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration' 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) 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) AsURLRedirectAction ¶
func (drrha DeliveryRuleRequestHeaderAction) AsURLRedirectAction() (*URLRedirectAction, bool)
AsURLRedirectAction 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', '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) 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', '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) 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', '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) 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', '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) 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: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration' 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) 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) AsURLRedirectAction ¶
func (drrha DeliveryRuleResponseHeaderAction) AsURLRedirectAction() (*URLRedirectAction, bool)
AsURLRedirectAction 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', '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) 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', '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) 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', '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) 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 DestinationProtocol ¶
type DestinationProtocol string
DestinationProtocol enumerates the values for destination protocol.
const ( // HTTP ... HTTP DestinationProtocol = "Http" // HTTPS ... HTTPS DestinationProtocol = "Https" // MatchRequest ... MatchRequest DestinationProtocol = "MatchRequest" )
func PossibleDestinationProtocolValues ¶
func PossibleDestinationProtocolValues() []DestinationProtocol
PossibleDestinationProtocolValues returns an array of possible values for the DestinationProtocol 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"` }
EdgeNode edgenode is a global Point of Presence (POP) location used to deliver CDN content to end users.
func (EdgeNode) MarshalJSON ¶
MarshalJSON is the custom marshaler for EdgeNode.
func (*EdgeNode) UnmarshalJSON ¶
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 use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
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.
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 ¶
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 ¶
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.
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(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 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"` }
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 ¶
MarshalJSON is the custom marshaler for Endpoint.
func (*Endpoint) UnmarshalJSON ¶
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.
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 ¶
func (iter EndpointListResultIterator) Response() EndpointListResult
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(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 ¶
func (page EndpointListResultPage) Response() EndpointListResult
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"` // ResourceState - READ-ONLY; Resource status of the endpoint. Possible values include: 'EndpointResourceStateCreating', 'EndpointResourceStateDeleting', 'EndpointResourceStateRunning', 'EndpointResourceStateStarting', 'EndpointResourceStateStopped', 'EndpointResourceStateStopping' ResourceState EndpointResourceState `json:"resourceState,omitempty"` // ProvisioningState - READ-ONLY; Provisioning status of the endpoint. ProvisioningState *string `json:"provisioningState,omitempty"` // OriginHostHeader - The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. OriginHostHeader *string `json:"originHostHeader,omitempty"` // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"` // IsCompressionEnabled - Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"` // IsHTTPAllowed - Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. IsHTTPAllowed *bool `json:"isHttpAllowed,omitempty"` // IsHTTPSAllowed - Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. IsHTTPSAllowed *bool `json:"isHttpsAllowed,omitempty"` // QueryStringCachingBehavior - Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet' QueryStringCachingBehavior QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"` // OptimizationType - Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration' OptimizationType OptimizationType `json:"optimizationType,omitempty"` // ProbePath - Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. ProbePath *string `json:"probePath,omitempty"` // GeoFilters - List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ GeoFilters *[]GeoFilter `json:"geoFilters,omitempty"` // DeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint. DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"` }
EndpointProperties the JSON object that contains the properties required to create an endpoint.
type EndpointPropertiesUpdateParameters ¶
type EndpointPropertiesUpdateParameters struct { // OriginHostHeader - The host header value sent to the origin with each request. If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default. OriginHostHeader *string `json:"originHostHeader,omitempty"` // OriginPath - A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath. OriginPath *string `json:"originPath,omitempty"` // ContentTypesToCompress - List of content types on which compression applies. The value should be a valid MIME type. ContentTypesToCompress *[]string `json:"contentTypesToCompress,omitempty"` // IsCompressionEnabled - Indicates whether content compression is enabled on CDN. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB. IsCompressionEnabled *bool `json:"isCompressionEnabled,omitempty"` // IsHTTPAllowed - Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. IsHTTPAllowed *bool `json:"isHttpAllowed,omitempty"` // IsHTTPSAllowed - Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed. IsHTTPSAllowed *bool `json:"isHttpsAllowed,omitempty"` // QueryStringCachingBehavior - Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: 'IgnoreQueryString', 'BypassCaching', 'UseQueryString', 'NotSet' QueryStringCachingBehavior QueryStringCachingBehavior `json:"queryStringCachingBehavior,omitempty"` // OptimizationType - Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization. Possible values include: 'GeneralWebDelivery', 'GeneralMediaStreaming', 'VideoOnDemandMediaStreaming', 'LargeFileDownload', 'DynamicSiteAcceleration' OptimizationType OptimizationType `json:"optimizationType,omitempty"` // ProbePath - Path to a file hosted on the origin which helps accelerate delivery of the dynamic content and calculate the most optimal routes for the CDN. This is relative to the origin path. ProbePath *string `json:"probePath,omitempty"` // GeoFilters - List of rules defining the user's geo access within a CDN endpoint. Each geo filter defines an access rule to a specified path or content, e.g. block APAC for path /pictures/ GeoFilters *[]GeoFilter `json:"geoFilters,omitempty"` // DeliveryPolicy - A policy that specifies the delivery rules to be used for an endpoint. DeliveryPolicy *EndpointPropertiesUpdateParametersDeliveryPolicy `json:"deliveryPolicy,omitempty"` }
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 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 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 use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
func NewEndpointsClient ¶
func NewEndpointsClient(subscriptionID string) EndpointsClient
NewEndpointsClient creates an instance of the EndpointsClient client.
func NewEndpointsClientWithBaseURI ¶
func NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient
NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client.
func (EndpointsClient) 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 ¶
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 ¶
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 ¶
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 and Origin HostHeader can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update custom domains, use the Update Custom Domain operation. Parameters: resourceGroupName - name of the Resource group within the Azure subscription. profileName - name of the CDN profile which is unique within the resource group. endpointName - name of the endpoint under the profile which is unique globally. endpointUpdateProperties - endpoint update properties
func (EndpointsClient) UpdatePreparer ¶
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 ¶
ValidateCustomDomainSender sends the ValidateCustomDomain request. The method will close the http.Response Body if it receives an error.
type EndpointsCreateFuture ¶
EndpointsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsCreateFuture) Result ¶
func (future *EndpointsCreateFuture) Result(client EndpointsClient) (e Endpoint, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EndpointsDeleteFuture ¶
EndpointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsDeleteFuture) Result ¶
func (future *EndpointsDeleteFuture) Result(client EndpointsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EndpointsLoadContentFuture ¶
EndpointsLoadContentFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsLoadContentFuture) Result ¶
func (future *EndpointsLoadContentFuture) Result(client EndpointsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EndpointsPurgeContentFuture ¶
EndpointsPurgeContentFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsPurgeContentFuture) Result ¶
func (future *EndpointsPurgeContentFuture) Result(client EndpointsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EndpointsStartFuture ¶
EndpointsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsStartFuture) Result ¶
func (future *EndpointsStartFuture) Result(client EndpointsClient) (e Endpoint, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EndpointsStopFuture ¶
EndpointsStopFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsStopFuture) Result ¶
func (future *EndpointsStopFuture) Result(client EndpointsClient) (e Endpoint, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EndpointsUpdateFuture ¶
EndpointsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EndpointsUpdateFuture) Result ¶
func (future *EndpointsUpdateFuture) Result(client EndpointsClient) (e Endpoint, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ErrorResponse ¶
type ErrorResponse struct { // Code - READ-ONLY; Error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; Error message indicating why the operation failed. Message *string `json:"message,omitempty"` }
ErrorResponse error response indicates CDN service is not able to process the incoming request. The reason is provided in the error message.
type GeoFilter ¶
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: 'Block', 'Allow' 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 ( // Allow ... Allow GeoFilterActions = "Allow" // Block ... Block GeoFilterActions = "Block" )
func PossibleGeoFilterActionsValues ¶
func PossibleGeoFilterActionsValues() []GeoFilterActions
PossibleGeoFilterActionsValues returns an array of possible values for the GeoFilterActions const type.
type HeaderAction ¶
type HeaderAction string
HeaderAction enumerates the values for header action.
const ( // Append ... Append HeaderAction = "Append" // Delete ... Delete HeaderAction = "Delete" // Overwrite ... Overwrite HeaderAction = "Overwrite" )
func PossibleHeaderActionValues ¶
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: 'Append', 'Overwrite', 'Delete' HeaderAction HeaderAction `json:"headerAction,omitempty"` // HeaderName - Name of the header to modify HeaderName *string `json:"headerName,omitempty"` // Value - Value for the specified action Value *string `json:"value,omitempty"` }
HeaderActionParameters defines the parameters for the request header action.
type IPAddressGroup ¶
type IPAddressGroup struct { // DeliveryRegion - The delivery region of the ip address group DeliveryRegion *string `json:"deliveryRegion,omitempty"` // Ipv4Addresses - The list of ip v4 addresses. Ipv4Addresses *[]CidrIPAddress `json:"ipv4Addresses,omitempty"` // Ipv6Addresses - The list of ip v6 addresses. Ipv6Addresses *[]CidrIPAddress `json:"ipv6Addresses,omitempty"` }
IPAddressGroup CDN Ip address group
type IsDeviceMatchConditionParameters ¶
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 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 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: 'ServerNameIndication', 'IPBased' ProtocolType ProtocolType `json:"protocolType,omitempty"` // CertificateSource - Possible values include: 'CertificateSourceCustomDomainHTTPSParameters', 'CertificateSourceCdn', 'CertificateSourceAzureKeyVault' CertificateSource CertificateSource `json:"certificateSource,omitempty"` }
ManagedHTTPSParameters defines the certificate source parameters using CDN managed certificate for enabling SSL.
func (ManagedHTTPSParameters) AsBasicCustomDomainHTTPSParameters ¶
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 Name ¶
type Name string
Name enumerates the values for name.
const ( // NameDeliveryRuleCondition ... NameDeliveryRuleCondition Name = "DeliveryRuleCondition" // NameIsDevice ... NameIsDevice Name = "IsDevice" // NamePostArgs ... NamePostArgs Name = "PostArgs" // NameQueryString ... NameQueryString Name = "QueryString" // NameRemoteAddress ... NameRemoteAddress Name = "RemoteAddress" // NameRequestBody ... NameRequestBody Name = "RequestBody" // NameRequestHeader ... NameRequestHeader Name = "RequestHeader" // NameRequestMethod ... NameRequestMethod Name = "RequestMethod" // NameRequestScheme ... NameRequestScheme Name = "RequestScheme" // NameRequestURI ... NameRequestURI Name = "RequestUri" // NameURLFileExtension ... NameURLFileExtension Name = "UrlFileExtension" // NameURLFileName ... NameURLFileName Name = "UrlFileName" // NameURLPath ... NameURLPath Name = "UrlPath" )
func PossibleNameValues ¶
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 ( // NameCacheExpiration ... NameCacheExpiration NameBasicDeliveryRuleAction = "CacheExpiration" // NameDeliveryRuleAction ... NameDeliveryRuleAction NameBasicDeliveryRuleAction = "DeliveryRuleAction" // NameModifyRequestHeader ... NameModifyRequestHeader NameBasicDeliveryRuleAction = "ModifyRequestHeader" // NameModifyResponseHeader ... NameModifyResponseHeader NameBasicDeliveryRuleAction = "ModifyResponseHeader" // NameURLRedirect ... NameURLRedirect NameBasicDeliveryRuleAction = "UrlRedirect" )
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
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.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
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.
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 ¶
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 ¶
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.
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 ¶
func (iter OperationsListResultIterator) Response() OperationsListResult
Response returns the raw server response from the last page request.
func (OperationsListResultIterator) Value ¶
func (iter OperationsListResultIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationsListResultPage ¶
type OperationsListResultPage struct {
// contains filtered or unexported fields
}
OperationsListResultPage contains a page of Operation values.
func NewOperationsListResultPage ¶
func NewOperationsListResultPage(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 ¶
func (page OperationsListResultPage) Response() OperationsListResult
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 OptimizationType ¶
type OptimizationType string
OptimizationType enumerates the values for optimization type.
const ( // DynamicSiteAcceleration ... DynamicSiteAcceleration OptimizationType = "DynamicSiteAcceleration" // GeneralMediaStreaming ... GeneralMediaStreaming OptimizationType = "GeneralMediaStreaming" // GeneralWebDelivery ... GeneralWebDelivery OptimizationType = "GeneralWebDelivery" // LargeFileDownload ... LargeFileDownload OptimizationType = "LargeFileDownload" // VideoOnDemandMediaStreaming ... VideoOnDemandMediaStreaming OptimizationType = "VideoOnDemandMediaStreaming" )
func PossibleOptimizationTypeValues ¶
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"` // Location - Resource location. Location *string `json:"location,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // ID - READ-ONLY; Resource ID. ID *string `json:"id,omitempty"` // Name - READ-ONLY; Resource name. Name *string `json:"name,omitempty"` // Type - READ-ONLY; Resource type. Type *string `json:"type,omitempty"` }
Origin CDN origin is the source of the content being delivered via CDN. When the edge nodes represented by an endpoint do not have the requested content cached, they attempt to fetch it from one or more of the configured origins.
func (Origin) MarshalJSON ¶
MarshalJSON is the custom marshaler for Origin.
func (*Origin) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Origin struct.
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.
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 ¶
func (iter OriginListResultIterator) Response() OriginListResult
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(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 { // HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. HostName *string `json:"hostName,omitempty"` // HTTPPort - The value of the HTTP port. Must be between 1 and 65535. HTTPPort *int32 `json:"httpPort,omitempty"` // HTTPSPort - The value of the https port. Must be between 1 and 65535. HTTPSPort *int32 `json:"httpsPort,omitempty"` // ResourceState - READ-ONLY; Resource status of the origin. Possible values include: 'OriginResourceStateCreating', 'OriginResourceStateActive', 'OriginResourceStateDeleting' ResourceState OriginResourceState `json:"resourceState,omitempty"` // ProvisioningState - READ-ONLY; Provisioning status of the origin. ProvisioningState *string `json:"provisioningState,omitempty"` }
OriginProperties the JSON object that contains the properties of the origin.
type OriginPropertiesParameters ¶
type OriginPropertiesParameters struct { // HostName - The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported. HostName *string `json:"hostName,omitempty"` // HTTPPort - The value of the HTTP port. Must be between 1 and 65535. HTTPPort *int32 `json:"httpPort,omitempty"` // HTTPSPort - The value of the HTTPS port. Must be between 1 and 65535. HTTPSPort *int32 `json:"httpsPort,omitempty"` }
OriginPropertiesParameters the JSON object that contains the properties of the origin.
type OriginResourceState ¶
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 {
*OriginPropertiesParameters `json:"properties,omitempty"`
}
OriginUpdateParameters origin properties needed for origin creation or 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 OriginsClient ¶
type OriginsClient struct {
BaseClient
}
OriginsClient is the use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
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.
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 ¶
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 ¶
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 OriginsUpdateFuture ¶
OriginsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OriginsUpdateFuture) Result ¶
func (future *OriginsUpdateFuture) Result(client OriginsClient) (o Origin, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type 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: 'Any', 'Equal', 'Contains', 'BeginsWith', 'EndsWith', 'LessThan', 'LessThanOrEqual', 'GreaterThan', 'GreaterThanOrEqual' 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 ( // Any ... Any PostArgsOperator = "Any" // BeginsWith ... BeginsWith PostArgsOperator = "BeginsWith" // Contains ... Contains PostArgsOperator = "Contains" // EndsWith ... EndsWith PostArgsOperator = "EndsWith" // Equal ... Equal PostArgsOperator = "Equal" // GreaterThan ... GreaterThan PostArgsOperator = "GreaterThan" // GreaterThanOrEqual ... GreaterThanOrEqual PostArgsOperator = "GreaterThanOrEqual" // LessThan ... LessThan PostArgsOperator = "LessThan" // LessThanOrEqual ... LessThanOrEqual PostArgsOperator = "LessThanOrEqual" )
func PossiblePostArgsOperatorValues ¶
func PossiblePostArgsOperatorValues() []PostArgsOperator
PossiblePostArgsOperatorValues returns an array of possible values for the PostArgsOperator 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"` }
Profile CDN profile is a logical grouping of endpoints that share the same settings, such as CDN provider and pricing tier.
func (Profile) MarshalJSON ¶
MarshalJSON is the custom marshaler for Profile.
func (*Profile) UnmarshalJSON ¶
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.
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 ¶
func (iter ProfileListResultIterator) Response() ProfileListResult
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(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"` }
ProfileProperties the JSON object that contains the properties required to create a profile.
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 use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
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.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
ProfilesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ProfilesCreateFuture) Result ¶
func (future *ProfilesCreateFuture) Result(client ProfilesClient) (p Profile, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ProfilesDeleteFuture ¶
ProfilesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ProfilesDeleteFuture) Result ¶
func (future *ProfilesDeleteFuture) Result(client ProfilesClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ProfilesUpdateFuture ¶
ProfilesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ProfilesUpdateFuture) Result ¶
func (future *ProfilesUpdateFuture) Result(client ProfilesClient) (p Profile, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ProtocolType ¶
type ProtocolType string
ProtocolType enumerates the values for protocol type.
const ( // IPBased ... IPBased ProtocolType = "IPBased" // ServerNameIndication ... ServerNameIndication ProtocolType = "ServerNameIndication" )
func PossibleProtocolTypeValues ¶
func PossibleProtocolTypeValues() []ProtocolType
PossibleProtocolTypeValues returns an array of possible values for the ProtocolType 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"` }
ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags
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 QueryStringCachingBehavior ¶
type QueryStringCachingBehavior string
QueryStringCachingBehavior enumerates the values for query string caching behavior.
const ( // BypassCaching ... BypassCaching QueryStringCachingBehavior = "BypassCaching" // IgnoreQueryString ... IgnoreQueryString QueryStringCachingBehavior = "IgnoreQueryString" // NotSet ... NotSet QueryStringCachingBehavior = "NotSet" // UseQueryString ... UseQueryString 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' 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" )
func PossibleQueryStringOperatorValues ¶
func PossibleQueryStringOperatorValues() []QueryStringOperator
PossibleQueryStringOperatorValues returns an array of possible values for the QueryStringOperator const type.
type RedirectType ¶
type RedirectType string
RedirectType enumerates the values for redirect type.
const ( // Found ... Found RedirectType = "Found" // Moved ... Moved RedirectType = "Moved" // PermanentRedirect ... PermanentRedirect RedirectType = "PermanentRedirect" // TemporaryRedirect ... TemporaryRedirect RedirectType = "TemporaryRedirect" )
func PossibleRedirectTypeValues ¶
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' 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" )
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' 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" )
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' 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" )
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"` }
Resource the core properties of ARM resources
type ResourceType ¶
type ResourceType string
ResourceType enumerates the values for resource type.
const ( // MicrosoftCdnProfilesEndpoints ... MicrosoftCdnProfilesEndpoints 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.
type ResourceUsageClient ¶
type ResourceUsageClient struct {
BaseClient
}
ResourceUsageClient is the use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.
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.
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 ¶
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 ¶
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.
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 ¶
func (iter *ResourceUsageListResultIterator) 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 (*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 ¶
func (iter ResourceUsageListResultIterator) Response() ResourceUsageListResult
Response returns the raw server response from the last page request.
func (ResourceUsageListResultIterator) Value ¶
func (iter ResourceUsageListResultIterator) Value() ResourceUsage
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 ¶
func NewResourceUsageListResultPage(getNextPage func(context.Context, ResourceUsageListResult) (ResourceUsageListResult, error)) ResourceUsageListResultPage
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 ¶
func (page ResourceUsageListResultPage) Response() ResourceUsageListResult
Response returns the raw server response from the last page request.
func (ResourceUsageListResultPage) Values ¶
func (page ResourceUsageListResultPage) Values() []ResourceUsage
Values returns the slice of values for the current page or nil if there are no values.
type Sku ¶
type Sku struct { // Name - Name of the pricing tier. Possible values include: 'StandardVerizon', 'PremiumVerizon', 'CustomVerizon', 'StandardAkamai', 'StandardChinaCdn', 'StandardMicrosoft', 'PremiumChinaCdn' 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 ( // CustomVerizon ... CustomVerizon SkuName = "Custom_Verizon" // PremiumChinaCdn ... PremiumChinaCdn SkuName = "Premium_ChinaCdn" // PremiumVerizon ... PremiumVerizon SkuName = "Premium_Verizon" // StandardAkamai ... StandardAkamai SkuName = "Standard_Akamai" // StandardChinaCdn ... StandardChinaCdn SkuName = "Standard_ChinaCdn" // StandardMicrosoft ... StandardMicrosoft SkuName = "Standard_Microsoft" // StandardVerizon ... StandardVerizon 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.
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
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"` }
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.
func PossibleTransformValues ¶
func PossibleTransformValues() []Transform
PossibleTransformValues returns an array of possible values for the Transform 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' 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" )
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' 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" )
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' 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" // 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: 'NameDeliveryRuleAction', 'NameURLRedirect', 'NameModifyRequestHeader', 'NameModifyResponseHeader', 'NameCacheExpiration' 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) 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) AsURLRedirectAction ¶
func (ura URLRedirectAction) AsURLRedirectAction() (*URLRedirectAction, bool)
AsURLRedirectAction 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: 'Moved', 'Found', 'TemporaryRedirect', 'PermanentRedirect' RedirectType RedirectType `json:"redirectType,omitempty"` // DestinationProtocol - Protocol to use for the redirect. The default value is MatchRequest. Possible values include: 'MatchRequest', 'HTTP', 'HTTPS' 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 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 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: 'ServerNameIndication', 'IPBased' ProtocolType ProtocolType `json:"protocolType,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 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.
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.